Webmaster Key File
To add webmaster key file you need:
- Login to your google account.
- Visit page https://console.developers.google.com/apis/credentials
- Create project
- Create creditionals->Service account key
- Save "Service account ID". It will be needed in step 14.
- Push "Create"
Save creted key. It will be needed in step 15.
- Enable Search Console API
- Add site in webmaster https://www.google.com/webmasters/tools/user-admin
http://www.exaple.com/at your store.
- If site is not verified you'll need verify it.
- Visit https://www.google.com/webmasters/tools/user-admin
- Push "Add property new"
- Chose from "Properties" your store.
- Push "Add an owner"
You can get owner here
For our example owner is "Service account ID" ( email@example.com )
- Push "Continue"
- Add downloaded in step 6 "Webmaster Key File" in magento admin panel Stores->Configuration->Seo Reports