I'm following the examples included in the googleads-python-lib to learn 
how to call Get on the CampaignsService 
- 
https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/basic_operations/get_campaigns.py

I'm receiving an empty response from the API - numEntries equals 0

Can someone help me understand why?

<soap-env:Envelope xmlns:soap-env=
"http://schemas.xmlsoap.org/soap/envelope/";>
  <soap-env:Header>
    <ns0:RequestHeader xmlns:ns0=
"https://adwords.google.com/api/adwords/cm/v201809";>
      <ns0:developerToken>REDACTED</ns0:developerToken>
      <ns0:userAgent>unknown (AwApi-Python, googleads/15.0.2, 
Python/2.7.15, zeep)</ns0:userAgent>
      <ns0:validateOnly>false</ns0:validateOnly>
      <ns0:partialFailure>false</ns0:partialFailure>
    </ns0:RequestHeader>
  </soap-env:Header>
  <soap-env:Body>
    <ns0:get xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201809";>
      <ns0:serviceSelector>
        <ns0:fields>Id</ns0:fields>
        <ns0:fields>Name</ns0:fields>
        <ns0:fields>Status</ns0:fields>
        <ns0:paging>
          <ns0:startIndex>0</ns0:startIndex>
          <ns0:numberResults>100</ns0:numberResults>
        </ns0:paging>
      </ns0:serviceSelector>
    </ns0:get>
  </soap-env:Body>
</soap-env:Envelope>


[2019-01-15 17:21:34,002 - googleads.soap - DEBUG] Incoming response: 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns=
"https://adwords.google.com/api/adwords/cm/v201809";>
      <requestId>00057f89193535f00a62b504be069a16</requestId>
      <serviceName>CampaignService</serviceName>
      <methodName>get</methodName>
      <operations>1</operations>
      <responseTime>259</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
      <rval>
        <totalNumEntries>0</totalNumEntries>
        <Page.Type>CampaignPage</Page.Type>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/37b08b58-7769-4c1a-b16a-b0e21be0c90d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Zero ca... Scott Burkhalter
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Scott Burkhalter
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to