I'm getting Developer Token Not Approved in soap api response.
This is my soap api request in nodejs

var 
url='https://adwords.google.com/api/adwords/mcm/v201506/CustomerService?wsdl';
soap.createClient(url,function(err,client) {
  if (err) throw err;
  // console.log(client);
   client.addSoapHeader({RequestHeader: {
      developerToken: "MyDevToken", //Developer Token of my mcc production 
acc 
      userAgent: "XXXXX"
   }},"","ns1","https://adwords.google.com/api/adwords/mcm/v201506";);
   client.setSecurity(new soap.BearerSecurity(accessToken));
   client.get({},function(err,res){
      console.log(err);
      console.log(res);
   })

I'm getting this xml response as "Developer Token Not Approved"

<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns:ns2="https://adw
ords.google.com/api/adwords/cm/v201506" 
xmlns="https://adwords.google.com/api/adwords/mcm/v201506";><ns2:requestId>0005208bc933a020
0abcd4491f069f57</ns2:requestId><ns2:serviceName>CustomerService</ns2:serviceName><ns2:methodName>get</ns2:methodName><ns2:operati
ons>0</ns2:operations><ns2:responseTime>342</ns2:responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soa
p:Server</faultcode><faultstring>[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED 
@ ; trigger:\'&lt;null&gt;\']</faultstring><detail>
<ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/mcm/v201506"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm
/v201506"><ns2:message>[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED @ ; 
trigger:\'&lt;null&gt;\']</ns2:message><ns2:ApplicationEx
ception.Type>ApiException</ns2:ApplicationException.Type><ns2:errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:typ
e="ns2:QuotaCheckError"><ns2:fieldPath></ns2:fieldPath><ns2:trigger>&lt;null&gt;</ns2:trigger><ns2:errorString>QuotaCheckError.DEV
ELOPER_TOKEN_NOT_APPROVED</ns2:errorString><ns2:ApiError.Type>QuotaCheckError</ns2:ApiError.Type><ns2:reason>DEVELOPER_TOKEN_NOT_A
PPROVED</ns2:reason></ns2:errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>


i know my developer token status is pending.but i dont know how to call mcc 
test account or how to link my production acc with my test acc.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0a0a0d80-535c-45a9-9c12-da63b4b0acc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to