Hello,

You are missing the clientCustomerId field in the SOAP header. It is likely 
you are hitting your MCC account in this case, which can have no Ads.


-Danial, AdWords API Team.


On Thursday, April 10, 2014 2:28:18 AM UTC+4, m...@pelagodesign.com wrote:
>
> I am making API calls to AdGroupAdService and it's returning an empty list 
> every time. This API call was working fine yesterday, and today it has 
> stopped working. I am unable to get the AdGroupAdService to return any 
> pages, as you can see in the XML response below. Any ideas? One thought is 
> that I exceeded the rate limit, but this API call would kick out an error 
> no? Here is the XML request and response:
>
> REQUEST:
>
> [Apr 09 2014 15:20:38.000000 - INFO] POST 
> /api/adwords/cm/v201402/AdGroupAdService?access_token=xxxxxxxxxxx HTTP/1.0
> Host: adwords.google.com
> Connection: close
> User-Agent: PHP-SOAP/5.3.2, gzip
> Accept-Encoding: gzip, deflate
> Content-Encoding: gzip
> Content-Type: text/xml; charset=utf-8
> SOAPAction: ""
> Content-Length: 318
>
> <?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/cm/v201402";>
>   <SOAP-ENV:Header>
>     <ns1:RequestHeader>
>       <ns1:developerToken>xxxxxxxxxxxxxxx</ns1:developerToken>
>       <ns1:userAgent>Pelago (AwApi-PHP/5.2.2, Common-PHP/5.2.2, 
> PHP/5.3.2)</ns1:userAgent>
>     </ns1:RequestHeader>
>   </SOAP-ENV:Header>
>   <SOAP-ENV:Body>
>     <ns1:get>
>       <ns1:serviceSelector>
>         <ns1:fields>Id</ns1:fields>
>       </ns1:serviceSelector>
>     </ns1:get>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
> RESPONSE:
>
> HTTP/1.0 200 OK
> Content-Type: text/xml; charset=UTF-8
> Content-Encoding: gzip
> Date: Wed, 09 Apr 2014 22:20:38 GMT
> Expires: Wed, 09 Apr 2014 22:20:38 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Content-Length: 302
> Server: GSE
>
> <?xml version="1.0"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soap:Header>
>     <ResponseHeader xmlns="
> https://adwords.google.com/api/adwords/cm/v201402";>
>       <requestId>0004f6a3829c50380ae7815000006851</requestId>
>       <serviceName>AdGroupAdService</serviceName>
>       <methodName>get</methodName>
>       <operations>1</operations>
>       <responseTime>614</responseTime>
>     </ResponseHeader>
>   </soap:Header>
>   <soap:Body>
>     <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201402
> ">
>       <rval>
>         <totalNumEntries>0</totalNumEntries>
>         <Page.Type>AdGroupAdPage</Page.Type>
>       </rval>
>     </getResponse>
>   </soap:Body>
> </soap:Envelope>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to