Hi Team, Thank you for your response. The sequence of steps as follows: 1. Obtained credential details from https://console.cloud.google.com/apis 2. Used above credentials in 'AdWords.Examples.CSharp.OAuth.csproj'->web.config' as below: • Client ID: 454724745580-spfpvqbssfjtfuv63a208uvfc09636ub.apps.googleusercontent.com • Client secret: zwPVQTFQyzNA9vmKroIF0Wtf 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. • Production Manager account customer ID: 204-576-1531 • Developer Token: tCswbl5yHPJ2oiEVXYopCQ 4. Created Test Account(564-328-9470) for customer client and linked that to another account(484-489-6005). Then added ad campaign. • TestAccount account customer ID: 564-328-9470 • Linked manager account customer ID: 484-489-6005 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.) "
On Fri, 21 May 2021 at 00:06, Google Ads API Forum Advisor Prod < adsapiforumadvi...@gmail.com> wrote: > Hi Manisha, > > Thank you for reaching out. Could you please share the code and link you > used to generate the OAuth2 credentials along with the complete request and > response logs via the *Reply privately to author* option for us to > further investigate? > > Thanks and regards, > Xiaoming, Google Ads API Team > > [image: Google Logo] > Xiaoming > Google Ads API Team > > > ref:_00D1U1174p._5004Q2HCJYP: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/CAGLyO%2Baw1VKfK5f9XJ-xwO4bXUzcWXaVqMe451GHu2zAcoSKEw%40mail.gmail.com.