Search consol API

11 views
Skip to first unread message

Vincent

unread,
Feb 9, 2024, 2:58:30 AM2/9/24
to Google APIs Discovery Service Users
hello, I am configuring a service that uses the search console API to add sites. validate them..
I therefore use a service account linked to a project with a json file for authentication.
When I add a site and validate it, it is present when I list the sites from my script which uses the service account, but on the main search console account, the site is not present.
do you know anything about this?
THANKS

David Lara

unread,
Oct 17, 2024, 2:20:12 AM10/17/24
to Google APIs Discovery Service Users

Hi,

This happens because the service account operates separately from the main user account. When you add a site via the service account, it doesn’t automatically show up in the main Search Console account. To fix this, you need to add the service account email as an owner or user in the main Search Console account for the site to appear there.

Best Regards
top follow app download

Reply all
Reply to author
Forward
0 new messages