Webmaster Key File

To add webmaster key file you need:

  1. Login to your google account.
  2. Visit page https://console.developers.google.com/apis/credentials
  3. Create project
  4. Create creditionals->Service account key
    service_account_key
  5. Save "Service account ID". It will be needed in step 14.
  6. Push "Create"
    creted_key
    Save creted key. It will be needed in step 15.
  7. Enable Search Console API
    search_console_api_0
    search_console_api_0
    search_console_api_0
  8. Add site in webmaster https://www.google.com/webmasters/tools/user-admin
    site_in_webmaster.png
    Change http://www.exaple.com/ at your store.
  9. If site is not verified you'll need verify it.
    verification.png
  10. Visit https://www.google.com/webmasters/tools/user-admin
  11. Push "Add property new"
  12. Chose from "Properties" your store.
  13. Push "Add an owner"
    You can get owner here
    service_account_key
    For our example owner is "Service account ID" ( test-800@active-gasket-172608.iam.gserviceaccount.com )
  14. Push "Continue"
    create_owner
  15. Add downloaded in step 6 "Webmaster Key File" in magento admin panel Stores->Configuration->Seo Reports