Google ads api access using service account is failing

22 views
Skip to first unread message

Anum Hassan

unread,
Aug 11, 2021, 12:48:41 PM8/11/21
to AdWords API and Google Ads API Forum
Hi I have followed the instructions given here: https://developers.google.com/google-ads/api/docs/oauth/service-accounts
I get this error

Request made: ClientCustomerId: XXXXXX, Host: googleads.googleapis.com, Method: /google.ads.googleads.v8.services.GoogleAdsService/SearchStream, RequestId: AvnVm6qwMXC0sIzgD-T_Cw, IsFault: True, FaultMessage: User in the cookie is not a valid Ads user.


Please help!

Google Ads API Forum Advisor

unread,
Aug 11, 2021, 5:22:14 PM8/11/21
to anum.ha...@gmail.com, adwor...@googlegroups.com
Hi,

Do you have the following requirements:
  1. Service account that you created needs to be granted domain wide delegation access by a super administrator for the domain.
  2. Using a Google Ads user with permissions on the Google Ads account you want to access. 
Thanks,
Google Logo
Lakshmi Prathipati
Google Ads API Team
 


ref:_00D1U1174p._5004Q2LmQ34:ref
Reply all
Reply to author
Forward
0 new messages