Solved.

On Thursday, September 29, 2022 at 10:38:16 AM UTC-4 Jaime Oliver wrote:

> Hello Ernie,
>
> I have followed basically all the guides you have available on this issue. 
>
> 1) I created a test manager account in order to be able to create test 
> user accounts because this is the only way of doing that correct?
> 2) I have a live manager account with a dev token which is what I am using 
> in order to query the test accounts. However I still get access denied.
> 3) I have a GCP project where I have the OAUTH credentials and consent 
> screen setup.
> 4) I am using the following data:
>
> *developerToken* - Unapproved token from the live manager account
> *clientId* - Coming from the OAuth credentials
> *clientSecret* - Coming from the OAuth credentials
> *refreshToken* - Taken by authorizing APIs using OAuth Playground
> *clientId* - Using the client ID from the test account that I want to 
> query. See screenshot below.
> [image: image.png]
>
> I have already asked for a dev token review. However I would like to be 
> able to understand the system and query test accounts for future 
> development cases. Some guidance would be greatly appreciated. Thanks for 
> your time.
>
>
> On Thu, Sep 29, 2022 at 2:24 AM Google Ads API Forum Advisor 
> <ads...@forumsupport.google> wrote:
>
>> Hi Jaime,
>>
>> Thank you for raising your concern. Allow me to provide support.
>>
>> As the error message said, the developer token is not approved. 
>> Non-approved developer tokens can only be used with test accounts. With 
>> this, in order to create a test Google Ads account, where the non-approved 
>> developer token can be used and to know more information about the test 
>> account, you may refer to this document 
>> <https://developers.google.com/google-ads/api/docs/first-call/test-accounts>.
>>  
>> The IDs that you should be using in the API requests, not just in the 
>> *login-customer-id* and *customer_id, *should belong to the created test 
>> account.
>>
>> However, if you require using developer token in a production Google Ads 
>> account, you will need to request a basic access level for developer token 
>> by following this guide 
>> <https://developers.google.com/google-ads/api/docs/access-levels#applying_for_basic_access>
>> .
>>
>> Regards,
>> [image: Google Logo] 
>> Ernie John 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2euQbM: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fc19fee7-3967-4742-b4c1-c55d1d24fc21n%40googlegroups.com.

Reply via email to