Hello,

Thanks for reaching out. Please see this blog post 
<https://ads-developers.googleblog.com/2021/04/upgrade-to-google-ads-api-from-adwords.html>
 regarding 
the sunset of the AdWords API. If you have obtained your developer token 
after April 29, you will not be able to use the AdWords API. Instead, 
please use the new Google Ads API 
<https://developers.google.com/google-ads/api/docs/start>.

Enable  library in your application Google Ads API - 
https://console.cloud.google.com/apis/api/googleads.googleapis.com/overview

суббота, 22 мая 2021 г. в 07:32:16 UTC+3, [email protected]: 

> Hi Team,
> Any update on this.
>
> On Fri, May 21, 2021 at 6:19 PM ecommerce powerweave <
> [email protected]> wrote:
>
>> Hi Team,
>>
>> I've tried User authorization and generated the Refresh token. Next, I 
>> tried to fetch Campaign for AdWords API using 'OAuth 2.0 Client IDs' 
>> credentials and TestAccount details but its failing with the error 
>> 'INVALID_TOKEN_HEADER (Error: QuotaCheckError.INVALID_TOKEN_HEADER, 
>> FieldPath: Trigger: New developers must use the Google Ads API)
>>
>> The sequence of steps as follows:
>> 1. Obtained credential details from https://console.cloud.google.com/apis
>> .
>>
>> 2. Used above Client ID & Client secret credentials in 
>> 'AdWords.Examples.CSharp.OAuth.csproj'->web.config' .
>>
>> 3.Since there is no developer token available in test accounts hence 
>> created the developer token by signing in to the manager account and 
>> fetched the Developer and Customer token from the API Center (TOOLS > MORE 
>> TOOLS > API Center). Set these details on 'web.config' file as mentioned 
>> above in step 2.
>>
>> 4. Created Test Account for customer client and linked that to another 
>> account. Then added AD Campaign.
>> 5. Tried to get the campaign using these details and got the error below:
>> • Failed to get campaigns. Exception says "AdWordsApiException: 
>> Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was 
>> thrown. Customer passed in an invalid token in the header.. (Error: 
>> QuotaCheckError.INVALID_TOKEN_HEADER, FieldPath: Trigger: New developers 
>> must use the Google Ads API.) "
>>
>> Please advise 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/8a92f365-7fb2-4266-826f-19eceb17d418n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/adwords-api/8a92f365-7fb2-4266-826f-19eceb17d418n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c8147b2c-338d-4648-8204-54974f88788dn%40googlegroups.com.

Reply via email to