Hi,

I am using the following url and the xml request to retrieve data from 
KEYWORD_PERFORMANCE_REPORT.

url: https://adwords.google.com/api/adwords/reportdownload/v201802

XML:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<soap:Header>
<RequestHeader 
xmlns="https://adwords.google.com/api/adwords/cm/{{User::ApiVersion}}";>
<developerToken>{{User::varDevToken}}</developerToken>
<clientCustomerId>{{User::varClientId}}</clientCustomerId>
<userAgent>v1</userAgent>
</RequestHeader>
</soap:Header>
<soap:Body>

<reportDefinition>
   <selector xmlns="https://adwords.google.com/api/adwords/cm/v201802";>
       <fields>CampaignId</fields>
       <fields>AdGroupId</fields>
       <fields>Id</fields>
       <fields>Date</fields>
       <fields>Device</fields>
       <fields>AdNetworkType2</fields>
       <fields>AveragePosition</fields>
       <fields>Clicks</fields>
       <fields>Cost</fields>
       <fields>Impressions</fields>
       <fields>Interactions</fields>
       <predicates>
           <field>CampaignStatus</field>
           <operator>IN</operator>
           <values>ENABLED</values>
           <values>PAUSED</values>
           <values>REMOVED</values>
       </predicates>
       <predicates>
           <field>AdGroupStatus</field>
           <operator>IN</operator>
           <values>ENABLED</values>
           <values>PAUSED</values>
           <values>REMOVED</values>
       </predicates>
       <predicates>
           <field>Status</field>
           <operator>IN</operator>
           <values>ENABLED</values>
           <values>REMOVED</values>
           <values>PAUSED</values>
       </predicates>
       <predicates>
           <field>IsNegative</field>
           <operator>NOT_EQUALS</operator>
           <values>true</values>
       </predicates>
       <predicates>
           <field>Id</field>
           <operator>NOT_IN</operator>
           <values>3000000</values>
           <values>3000004</values>
           <values>3000006</values>
       </predicates>
       <dateRange>
           <min>20180101</min>
           <max>20180430</max>
       </dateRange>
   </selector>
   <reportName 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";>Test 
Report</reportName>
   <reportType 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";>KEYWORDS_PERFORMANCE_REPORT</reportType>
   <dateRangeType 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";>CUSTOM_DATE</dateRangeType>
   <downloadFormat 
xmlns="https://adwords.google.com/api/adwords/cm/v201802";>XML</downloadFormat>
</reportDefinition>

</soap:Body>
</soap:Envelope>


When I initiate the call I am receiving following error message. I also 
tried to include _rdxml parameter inside the xml body before 
<reportDefinition> tag, I receive the same error message. 
Please help me to resolve this issue.

<ApiError><type>ReportDownloadError.MISSING_PARAMETER</type><trigger>Missing 
report 
definition</trigger><fieldPath></fieldPath></ApiError><ApiError><type>ReportDownloadError.INVALID_PARAMETER</type><trigger>Missing
 
client information</trigger><fieldPath></fieldPath></ApiError>

Thanks
Sam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ef2442fb-c28d-476a-8c26-792532037ddf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... API_DCH
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... API_DCH
        • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to