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*
* details = "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."*
* 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*
* details = "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."*
* 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?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b64cf9d9-9c89-40a2-9618-67b16258abd3n%40googlegroups.com.

Reply via email to