Hi,

The OAUTH_ 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.OAUTH_TOKEN_INVALID>
TOKEN_INVALID 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.OAUTH_TOKEN_INVALID>
 error 
means the OAuth access token in the header is not valid. Make sure you are 
using the correct token associated for your account. You can use the OAuth2 
Credentials generated using an email address which has access to your Test 
Manager Account and not the Production MCC account when doing a service 
call.

Once you applied the correct OAuth2 Credentials in making a request to your 
test client account, and still, this error persists, then kindly provide 
your complete SOAP request and response logs as well as the email address 
of your API user via *Reply privately to author *so I can further 
investigate.

Regards,
Dannison
AdWords API Team

On Friday, September 28, 2018 at 12:21:25 PM UTC+8, parvath...@iinerds.com 
wrote:
>
> Hi,
>
> I tried to create campaign using a test account:
> The credential details are given as below:
>
> 1.The client id, secret id and refresh token used was of *Production MCC 
> account*.
> 2.The developer token used is of the same *Production MCC account* mentioned 
> above which is in *pending approval*.
> 3.The *client_customer_id *to which the campaign needs to be pushed is 
> the "client customer id" of the *test account in test manager account.*
>
>
> But after doing all this still when accessing the 
> *LocationCriterionService*  i am getting the following error:
>
> { Error: soap:Client: [AuthenticationError.*OAUTH_TOKEN_INVALID* @ ; 
> trigger:'<null>']
>     at finish 
> (C:\Parvathy\devSupernova\supernova-channel-integrator-parvathy\channel-integrator\node_modules\soap\lib\wsdl.js:1518:21)
>     at WSDL.xmlToObject 
> (C:\Parvathy\devSupernova\supernova-channel-integrator-parvathy\channel-integrator\node_modules\soap\lib\wsdl.js:1501:10)
>     at parseSync 
> (C:\Parvathy\devSupernova\supernova-channel-integrator-parvathy\channel-integrator\node_modules\soap\lib\client.js:368:23)
>     at 
> C:\Parvathy\devSupernova\supernova-channel-integrator-parvathy\channel-integrator\node_modules\soap\lib\client.js:361:14
>     at Request._callback 
> (C:\Parvathy\devSupernova\supernova-channel-integrator-parvathy\channel-integrator\node_modules\soap\lib\http.js:117:5)
>     at Request.self.callback 
> (C:\Parvathy\devSupernova\supernova-channel-integrator-parvathy\channel-integrator\node_modules\request\request.js:186:22)
>     at emitTwo (events.js:126:13)
>     at Request.emit (events.js:214:7)
>     at Request.<anonymous> 
> (C:\Parvathy\devSupernova\supernova-channel-integrator-parvathy\channel-integrator\node_modules\request\request.js:1163:10)
>     at emitOne (events.js:116:13)
>     at Request.emit (events.js:211:7)
>     at IncomingMessage.<anonymous> 
> (C:\Parvathy\devSupernova\supernova-channel-integrator-parvathy\channel-integrator\node_modules\request\request.js:1085:12)
>     at Object.onceWrapper (events.js:313:30)
>     at emitNone (events.js:111:20)
>     at IncomingMessage.emit (events.js:208:7)
>     at endReadableNT (_stream_readable.js:1064:12)
>     at _combinedTickCallback (internal/process/next_tick.js:138:11)
>     at process._tickDomainCallback (internal/process/next_tick.js:218:9)
>
>
> Thank you
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/48b1a623-010e-4cec-99d7-bcdc61416a27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... parvathy . h
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... parvathy . h
    • ... parvathy . h
      • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... nikhil almeida
      • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... Parvathy H
      • ... Parvathy H
        • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to