Hi,

I am having problems retrieving ads from Ad service.
I can not get certain ads which I know that exist in adwords interface. 
hope you can help.

I am sending a SOAP request and response, can supply tokens in a private 
message, if required.
I have searched for an answer to this and including all statuses does not 
help.

Thanks in advance for your help.

[Aug 21 2017 07:01:46.000000 - INFO] POST 
/api/adwords/cm/v201702/AdGroupAdService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.6.31-4+ubuntu16.04.1+deb.sury.org+4, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 783
Authorization: Bearer ..............

<?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/v201702";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns1:clientCustomerId>9599521331</ns1:clientCustomerId>
      <ns1:developerToken>..............</ns1:developerToken>
      <ns1:userAgent>online republic live rates (AwApi-PHP/17.0.0, 
Common-PHP/17.0.0, 
PHP/5.6.31-4+ubuntu16.04.1+deb.sury.org+4)</ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:get>
      <ns1:serviceSelector>
        <ns1:fields>Id</ns1:fields>
        <ns1:fields>Headline</ns1:fields>
        <ns1:fields>HeadlinePart1</ns1:fields>
        <ns1:fields>HeadlinePart2</ns1:fields>
        <ns1:fields>Description</ns1:fields>
        <ns1:fields>Description1</ns1:fields>
        <ns1:fields>Description2</ns1:fields>
        <ns1:fields>Url</ns1:fields>
        <ns1:fields>DisplayUrl</ns1:fields>
        <ns1:fields>CreativeFinalUrls</ns1:fields>
        <ns1:fields>CampaignId</ns1:fields>
        <ns1:fields>AdGroupId</ns1:fields>
        <ns1:fields>Status</ns1:fields>
        <ns1:fields>AdType</ns1:fields>
        <ns1:predicates>
          <ns1:field>AdGroupId</ns1:field>
          <ns1:operator>IN</ns1:operator>
          <ns1:values>17768381914</ns1:values>
        </ns1:predicates>
        <ns1:predicates>
          <ns1:field>Status</ns1:field>
          <ns1:operator>IN</ns1:operator>
          <ns1:values>ENABLED</ns1:values>
          <ns1:values>PAUSED</ns1:values>
          <ns1:values>DISABLED</ns1:values>
        </ns1:predicates>
        <ns1:predicates>
          <ns1:field>Id</ns1:field>
          <ns1:operator>NOT_IN</ns1:operator>
          <ns1:values>56985296794</ns1:values>
          <ns1:values>56985466594</ns1:values>
          <ns1:values>56985467554</ns1:values>
          <ns1:values>56985468394</ns1:values>
          <ns1:values>56985507754</ns1:values>
          <ns1:values>83015891674</ns1:values>
          <ns1:values>90025109074</ns1:values>
          <ns1:values>90025109194</ns1:values>
          <ns1:values>100925875234</ns1:values>
          <ns1:values>100925878234</ns1:values>
          <ns1:values>100925878474</ns1:values>
          <ns1:values>100925878834</ns1:values>
          <ns1:values>100925880514</ns1:values>
          <ns1:values>195137849986</ns1:values>
          <ns1:values>195137849989</ns1:values>
          <ns1:values>195137849992</ns1:values>
          <ns1:values>195137849995</ns1:values>
          <ns1:values>195137849998</ns1:values>
        </ns1:predicates>
        <ns1:ordering>
          <ns1:field>Id</ns1:field>
          <ns1:sortOrder>ASCENDING</ns1:sortOrder>
        </ns1:ordering>
        <ns1:paging>
          <ns1:startIndex>0</ns1:startIndex>
          <ns1:numberResults>500</ns1:numberResults>
        </ns1:paging>
      </ns1:serviceSelector>
    </ns1:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Mon, 21 Aug 2017 07:02:11 GMT
Expires: Mon, 21 Aug 2017 07:02:11 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
Transfer-Encoding: chunked

<?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/v201702";>
      <requestId>0005573e0ecfa7800a629ccd1d09de49</requestId>
      <serviceName>AdGroupAdService</serviceName>
      <methodName>get</methodName>
      <operations>1</operations>
      <responseTime>321</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201702";>
      <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.
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/b94fb8e6-5b76-4517-b3d1-288e3688c5f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • AdGroupAdServic... Matej Drobnic
    • Re: AdGrou... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum

Reply via email to