RE: INVALID_TOKEN_HEADER, Trigger: New developers must use the Google Ads API

2021-06-24 Thread Google Ads API Forum Advisor
Hi,

Our team has now identified the cause of this error. That said, in order to 
avoid encountering this, you may refer to this guide when using newly created 
developer tokens.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2HCfbw: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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/wRvOe0QV7AZI00tQnCXwgWSP-99xKhqtI7sQ%40sfdc.net.


RE: INVALID_TOKEN_HEADER, Trigger: New developers must use the Google Ads API

2021-05-25 Thread Google Ads API Forum Advisor Prod
Greetings!

In April, we announced the sunset of the AdWords API 
(https://ads-developers.googleblog.com/2021/04/upgrade-to-google-ads-api-from-adwords.html).
 In that blog post, we say, "Any developers applying for a new developer token 
after today will only be given access to the Google Ads API. " You can take a 
look at the Google Ads API here 
(https://developers.google.com/google-ads/api/docs/start). You can use the same 
developer token and OAuth credentials.

Cheers,
Nadine Wang, Google Ads API Team
ref:_00D1U1174p._5004Q2HCtXm: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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6M5Iw0QTOKI100uPSKAOdwS8mdS7USh6j5Yw%40sfdc.net.


RE: INVALID_TOKEN_HEADER, Trigger: New developers must use the Google Ads API

2021-05-24 Thread Google Ads API Forum Advisor Prod
Hello,

I'll take a look and see if this error message is intended or not. I will 
provide an update as soon as I hear any updates.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2HCtXm: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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/Fuzwe0QTMJBK001lZKpvuFRsW8RdVVSpv6MQ%40sfdc.net.


RE: INVALID_TOKEN_HEADER, Trigger: New developers must use the Google Ads API

2021-05-23 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out to our API support team.

Can you clarify when the developer token you used for these queries was 
created? Our team is currently looking into this, but it's possible that, since 
the AdWords API deprecation notice was announced, limitations have been placed 
on the usage of the AdWords API for new developer tokens.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2HCfbw: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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/hnx-_0QTLLR400F_SVrtX3QbqZHoyIdNiMoQ%40sfdc.net.


Re: INVALID_TOKEN_HEADER, Trigger: New developers must use the Google Ads API

2021-05-22 Thread Sergey Morozov
 Hello,

Thanks for reaching out. Please see this blog post 

 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 
.

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, powerweav...@gmail.com: 

> Hi Team,
> Any update on this.
>
> On Fri, May 21, 2021 at 6:19 PM ecommerce powerweave <
> powerweav...@gmail.com> 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 adwor...@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api...@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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/adwords-api/8a92f365-7fb2-4266-826f-19eceb17d418n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c8147b2c-338d-4648-8204-54974f88788dn%40googlegroups.com.


Re: INVALID_TOKEN_HEADER, Trigger: New developers must use the Google Ads API

2021-05-21 Thread ecommerce powerweave
Hi Team,
Any update on this.

On Fri, May 21, 2021 at 6:19 PM ecommerce powerweave <
powerweaveecomme...@gmail.com> 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 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
> "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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/8a92f365-7fb2-4266-826f-19eceb17d418n%40googlegroups.com
> 
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAMJD8rD0oeDtVpCmUkfwpbsu-QKN1FUbb0RWgjZCrknjFQpe7A%40mail.gmail.com.