Problem with content api "User cannot access account 101616661"

86 views
Skip to first unread message

roistat....@gmail.com

unread,
Mar 26, 2019, 12:48:07 PM3/26/19
to AdWords API and Google Ads API Forum

When trying to access the GET method https://www.googleapis.com/content/v2/101616661/products/1212515
We get the following error in reply:

{
   "error":{
      "errors":[
         {
            "domain":"content.ContentErrorDomain",
            "reason":"auth/account_access_denied",
            "message":"User cannot access account 101616661"
         }
      ],
      "code":401,
      "message":"User cannot access account 101616661"
   }
}

But at the same time, if you execute a request (with the same access token) to the GET method https://www.googleapis.com/content/v2/accounts/authinfo, then we get the answer:

{
   "kind":"content#accountsAuthInfoResponse",
   "accountIdentifiers":[
      {
         "merchantId":"101616661"
      }
   ]
}

Those access to the account 101616661 is, but we still get an error.

Is it possible to solve the problem?

googleadsapi...@google.com

unread,
Mar 26, 2019, 2:41:08 PM3/26/19
to roistat....@gmail.com, AdWords API and Google Ads API Forum
Hi,

This forum is specifically for Google Ads API related questions. You can get assistance on the Content API forum here.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
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 adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/86912141-76df-4427-8670-cc333074995c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages