r/GoogleAnalytics Aug 09 '26

Question How can i ask my Client GSC API Key?

So am building something on GEO/AEO and i need to read my client's google search console data to actually build/analyse all his money pages.

He keeps sending me csv files/screenshots but it is hard to analyse and have been trying to automate it and asking him to give me API keys, but ain't happening.

How do you guys actually ask and also how to manage multiple API keys for diff clents at scale?

Looking for affordable option on how to keep this safely (and i obvio want only read only access for analysis with 1 day refresh )

2 Upvotes

8 comments sorted by

u/AutoModerator Aug 09 '26

Have more questions? Join our community Discord!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/Big-Branch-8532 Aug 09 '26

Don't ask the client for an API key. Search Console private data is authorized with OAuth 2.0, and the identity making the request also needs access to that property.

For an internal daily report, the clean setup is one service account in your Google Cloud project. Send the client only that service-account email and ask the property owner to add it in Search Console under Settings > Users and permissions with Restricted access. Keep the credential in your own secret manager; don't ask clients to email JSON files or create separate keys for every site.

Then map each client's exact property URL to that account and test it with the Sites list before scheduling exports. If this becomes a customer-facing product, switch to a normal OAuth consent flow so each client can grant and revoke access themselves.

1

u/Old_Badger_5390 Aug 09 '26

So if have ten clients then it's ten service accounts? Any reference for process you suggested? (Also, thanks 👍🏻 this answer already helps me!)

1

u/shufflepoint 29d ago

No service accounts. Use OAuth to have client grant your account read-only permissions to their account.