Thursday, 1 September 2016

Re: Trying to get report but always just get "ReportDownloadError.MISSING_PARAMETER" "Missing report definition"

Thank you advance.

I tried AdWords API client libraries. I was found  cause.

Thank you so much!

2016年9月1日木曜日 19時12分04秒 UTC+9 Peter Oliquino:
Hi,

Your report definition should look something like the one below :


HTTP HEADER:
Authorization:Bearer xxxxxxxxxxxxxxxxxxxxxxxxxx
clientCustomerId:xxx-xxx-xxxx
Content-Type:application/x-www-form-urlencoded
developerToken:xxxxxxxxxxxxxxxxxxxxxxxx
Request Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8"?>
<reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201607">
  <selector>
    <fields>Ctr</fields>
    <fields>Date</fields>
  </selector>
  <reportType>ACCOUNT_PERFORMANCE_REPORT</reportType>
  <dateRangeType>LAST_MONTH</dateRangeType>
  <downloadFormat>XML</downloadFormat>
</reportDefinition>

Also, I would recommend that you try the samples in the AdWords API client libraries in generating your reports. You can find an example as to how through this link. I would also strongly recommend that you migrate to the latest version (v201607) as the v201603 is due to sunset soon.

Best regards,
Peter
AdWords API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscribe@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+unsubscribe@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/4b897073-067f-477d-894a-a0796d8d18d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment