Hi,

I am successfully generating OAuth 2 Access Tokens for the Google Ads API 
but when I try to access the API access is denied. Below is my setup - what 
am I missing?

Manager Ad Account        Id: mgr-acc-idid    email: 
[email protected]

Developer Token    Access: Basic    Id: developer_token_id    Owner: 
mgr-acc-idid

Service Account    Name: My Domain Service Account    Id: 
service_account_id    Email: 
my-domain-service-acco...@my-domain-ads-interface.iam.gserviceaccount.com

Project    Id: my-domain-ads-interface    Domain: mydomain.com
    Admin User: Martin Levi    Email: [email protected]    
    Enabled APIs and Services    Google Ads API    
    Domain Wide Delegation    Client Id:  service_account_id    Scope: 
https://www.googleapis.com/auth/adwords
    API Credentials: Oauth 2.0    Client Id:  service_account_id    
    API Credentials: Service Account    Client Id:  service_account_id    
    Service Account Key    Client Id:  service_account_id    Key Id: 
service_acc_key_id

Access Token    Method: REST PHP    $keyDataJsonFile:     Service Account 
Key file downloaded from Google 
        $iss:     
my-domain-service-acco...@my-domain-ads-interface.iam.gserviceaccount.com
        $sub:     [email protected]
        $scope:     https://www.googleapis.com/auth/adwords

Access Google Ads API    Method: REST PHP (CURL log)    :path:   
 /v11/customers:listAccessibleCustomers
        :authority:    googleads.googleapis.co
        :authorization:    "Bearer " + $access_token
        developer-token:    developer_token_id
        login-customer-id:    mgraccidid
Response log    code:    401
    message:    Request is missing required authentication credential. 
Expected OAuth 2 access token, login cookie or other valid authentication 
credential.
    status:    UNAUTHENTICATED
    errorCode:    "authenticationError": "NOT_ADS_USER"

Thanks in advance,
Martin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/80dfd942-4a0c-4b5e-a77a-f38273b70ee7n%40googlegroups.com.
  • OA... Martin Levi
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Martin Levi
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Martin Levi

Reply via email to