Hello,
I am trying to access data on Ads campaigns from my Google Ads Manager account.
So far I have:
- Linked my Ad Manager account with the AdWords account I need access to
- Gained approval for the application and access to the developer token
- Set up a service account
- Created a google-ads.yaml file containing my private key, delegate account and developer token
However, when I attempt to access the data from the Python SDK I still get the following error:
google.ads.google_ads.errors.GoogleAdsException: (<_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAUTHENTICATED
debug_error_string = "{"created":"@1601896655.920000000","description":"Error received from peer ipv4:xx.xx.xx.xx:xxx","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.","grpc_status":16}" >, <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAUTHENTICATED
debug_error_string = "{"created":"@1601896655.920000000","description":"Error received from peer ipv4:
xx.xx.xx.xx:xxx","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.","grpc_status":16}" >, errors {
error_code {
authentication_error: NOT_ADS_USER
}
message: "User in the cookie is not a valid Ads user."
}
, 'xxxxxxxxxxxxxxxx')
Any idea what's going on?