Hi Kevin, This is the log which i am getting. Please note i am using PHP Client Library.
[Jan 14 2012 11:56:45.000000 - INFO] POST /api/adwords/mcm/v201109/ ServicedAccountService? oauth_consumer_key=oauth_consumer_key&oauth_token=oauth_token&oauth_signature_method=HMAC- SHA1&oauth_timestamp=1326522403&oauth_nonce=4f1120239589c&oauth_version=1.0a&oauth_signature=oauth_signature %3D HTTP/1.1 Host: adwords.google.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.3.3-1ubuntu9.7, gzip Accept-Encoding: gzip, deflate Content-Encoding: gzip Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 320 <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/ envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/mcm/ v201109" xmlns:ns2="https://adwords.google.com/api/adwords/cm/ v201109"> <SOAP-ENV:Header> <ns1:RequestHeader> <ns2:developerToken>developerToken</ns2:developerToken> <ns2:userAgent>AwApi-PHP-2.7.2-Adwords API</ns2:userAgent> </ns1:RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:get> <ns1:selector> <ns1:enablePaging>false</ns1:enablePaging> </ns1:selector> </ns1:get> </SOAP-ENV:Body> </SOAP-ENV:Envelope> HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 Content-Encoding: gzip Date: Sat, 14 Jan 2012 06:26:44 GMT Expires: Sat, 14 Jan 2012 06:26:44 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Content-Length: 358 Server: GSE <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns:ns2="https://adwords.google.com/api/adwords/ cm/v201109" xmlns="https://adwords.google.com/api/adwords/mcm/ v201109"> <ns2:requestId>0004b67710b34c400a834b0500006e8b</ns2:requestId> <ns2:serviceName>ServicedAccountService</ns2:serviceName> <ns2:methodName>get</ns2:methodName> <ns2:operations>0</ns2:operations> <ns2:responseTime>251</ns2:responseTime> <ns2:units>0</ns2:units> </ResponseHeader> </soap:Header> <soap:Body> <getResponse xmlns="https://adwords.google.com/api/adwords/mcm/ v201109" xmlns:ns2="https://adwords.google.com/api/adwords/cm/ v201109"> <rval> <accounts> <customerId>-1</customerId> <login/> <companyName/> <canManageClients>false</canManageClients> </accounts> </rval> </getResponse> </soap:Body> </soap:Envelope> On Jan 24, 11:14 pm, Kevin Winter <[email protected]> wrote: > Hi Chirag, > Unfortunately, I never received your SOAP logs. > > To re-iterate, you will need to identify the part of your application that > handles setting the clientCustomerId header and check where it is obtaining > this value from. If you are using a specific client library, I can provide > more precise instructions. > > - Kevin Winter > AdWords API Team > > > > > > > > On Saturday, January 14, 2012 1:37:33 AM UTC-5, Chirag wrote: > > > Hi Kevin, > > > Yes i am getting clientCustomerId header value as -1? I have sent > > you mail of my soap logs. > > > Thanks, > > > On Jan 12, 9:49 pm, Kevin Winter <[email protected]> wrote: > > > Hi, > > > The error message seems to indicate that -1 is being provided for the > > > clientCustomerId. Could you double check your SOAP logs and confirm > > what > > > value appears in the clientCustomerId header? > > > > - Kevin Winter > > > AdWords API Team > > > > On Wednesday, January 11, 2012 11:32:08 PM UTC-5, Chirag wrote: > > > > > Hello, > > > > > I am having same problem. I am able to use other customer id perfectly > > > > with the same script but for some customers only i am this type of > > > > error. I am using the production environment. > > > > > AuthenticationError.CUSTOMER_NOT_FOUND @ ; trigger:'-1' > > > > Service[CampaignService.get] > > > > > Thanks, -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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
