Simple call to KeywordPerformance report

39 views
Skip to first unread message

API_DCH

unread,
May 31, 2018, 2:58:01 PM5/31/18
to AdWords API and Google Ads API Forum
Hi,

I am trying to retrieve data from Google Adword KeywordPerformanceReport.

I am using following configurations,

URL: 


XML:

Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8"?>
   <selector>
       <fields>CampaignId</fields>
       <fields>AdGroupId</fields>
       <fields>Id</fields>       
   </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>
   <downloadFormat xmlns="https://adwords.google.com/api/adwords/cm/v201802">XML</downloadFormat>
</reportDefinition>



HTTP Headers:
Accept: */*
Cache-Control: no-cache
developerToken: xxxxxxxxxxxxxxxxxxx
clientCustomerId: xxx-xxx-xxx
Content-Type: multipart/form-data; boundary=------------------------12d01fae60c7b559


I am getting following error message. Did anyone experience the same issue and is that resolved. Please let me know if you have an answer to this issue. Thanks in advance.
If you have any other method that successfully retrieve data from KeyboardPerformanceReport, please share that information..

The remote server returned an error: (400) Bad Request.

Status Code: BadRequest

Response Body: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError><ApiError><type>ReportDownloadError.MISSING_PARAMETER</type><trigger>Missing report definition</trigger><fieldPath></fieldPath></ApiError></reportDownloadError>


Thanks
Sam

Milind Sankeshware (AdWords API Team)

unread,
May 31, 2018, 4:33:59 PM5/31/18
to AdWords API and Google Ads API Forum
Hi,

Could you please add date rage in reportDefinition and retry again? If you are still facing an issue please share the clientCustomerId, so that I can take a look and assist you further? Please use Reply privately to author option while responding. 

Thanks,
Milind, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages