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.

Reply via email to