Hi Yasar,

Thanks for your reply. I'm afraid there was a misunderstanding. I don't 
need to list production accounts with a test developer token. What I'd like 
to do is to list all accessible test accounts. At the moment, this is not 
possible because the method "List Accessible accounts" lists all account 
IDs including production accounts. Then, when I want to fetch account 
detail, I get an error when accessing production accounts. It seems like 
there's no way to find out which account is testing and which is for 
production to avoid this exception.

Best regards,
Katerina

On Friday, July 23, 2021 at 5:10:46 AM UTC+2 adsapi wrote:

> Hi Katerina,
>
> Thanks for reaching out to us.
>
> It appears that you received the *DEVELOPER_TOKEN_NOT_APPROVED* 
> <https://developers.google.com/google-ads/api/reference/rpc/v8/AuthorizationErrorEnum.AuthorizationError#developer_token_not_approved>
>  when 
> you tried to access the production accounts with the test *account* access. 
> It is intended to get the error DEVELOPER_TOKEN_NOT_APPROVED, since you 
> would need to request for at least a basic access level 
> <https://developers.google.com/google-ads/api/docs/access-levels?hl=en#basic_access>
>  for 
> your developer token if you would be making calls to your production Google 
> Ads accounts. 
>
> You can’t use the test developer token to list all the production 
> accounts. For this I suggest you use a production developer token holding 
> at least a basic access level. 
>
> Let us know if you have any further questions.
>
> Regards,
>  
> [image: Google Logo] 
> Yasar Ramjan Makandar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2JCpWM:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/21f96ac9-b396-4de6-bf8e-ff4b116fdd9cn%40googlegroups.com.
  • List access... 'Kateřina Henzlová' via AdWords API and Google Ads API Forum
    • RE: Li... Google Ads API Forum Advisor
      • Re... 'Kateřina Henzlová' via AdWords API and Google Ads API Forum
        • ... Google Ads API Forum Advisor
          • ... 'Kateřina Henzlová' via AdWords API and Google Ads API Forum
            • ... Google Ads API Forum Advisor

Reply via email to