ReportDownloadError.MISSING_PARAMETER reportdownload/v201806

319 views
Skip to first unread message

Георгий Грязнов

unread,
Jun 18, 2018, 4:19:55 PM6/18/18
to AdWords API and Google Ads API Forum
Hello!
I'm trying to send post-request but every time I recieve the same responce ReportDownloadError.MISSING_PARAMETER. I've spent 3 days to fix it... Can you please help me.

POST /api/adwords/reportdownload/v201806 HTTP/1.1
developerToken: XXXXXXXXXXXXXXXXXXXXXX
clientCustomerId: XXX-XXX-XXXX
Cache-Control: no-cache
Postman-Token: 7de5420d-b34d-423d-8bbc-702eabcdf5c4

Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <selector>
    <fields>CampaignId</fields>
    <fields>AdGroupId</fields>
    <fields>Impressions</fields>
    <fields>Clicks</fields>
    <fields>Cost</fields>
    <predicates>
      <field>AdGroupStatus</field>
      <operator>IN</operator>
      <values>ENABLED</values>
      <values>PAUSED</values>
    </predicates>
  </selector>
  <reportName>Custom Adgroup Performance Report</reportName>
  <reportType>ADGROUP_PERFORMANCE_REPORT</reportType>
  <dateRangeType>LAST_7_DAYS</dateRangeType>
  <downloadFormat>CSV</downloadFormat>
</reportDefinition>


responce:
400 Bad Request
Alt-Svc →quic=":443"; ma=2592000; v="43,42,41,39,35"
Cache-Control →private, max-age=0
Content-Encoding →gzip
Content-Type →text/xml
Date →Mon, 18 Jun 2018 19:25:33 GMT
Expires →Mon, 18 Jun 2018 19:25:33 GMT
Server →GSE
Transfer-Encoding →chunked
X-Content-Type-Options →nosniff
X-Frame-Options →SAMEORIGIN
X-XSS-Protection →1; mode=block

<?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>

please help me.

Dannison Yao (AdWords API Team)

unread,
Jun 19, 2018, 1:06:16 AM6/19/18
to AdWords API and Google Ads API Forum
Hi,

There is an ongoing discussion with the team related to this. In the mean time, you could use the AWQL example temporarily. We'll let you know if there are any updates on this.

Let me know how this goes when trying out the AWQL approach.

Regards,
Dannison
AdWords API Team

Георгий Грязнов

unread,
Jun 19, 2018, 1:41:12 AM6/19/18
to AdWords API and Google Ads API Forum
Thank you for patience! AWQL has the same problem =( What is wrong with the request parameters?

Request:

POST /api/adwords/reportdownload/v201806 HTTP/1.1
developerToken: XXXXXXXXXXXXXXXXXXXXXX
clientCustomerId: XXX-XXX-XXXX
Cache-Control: no-cache
Postman-Token: 3bf323eb-55cd-4fae-8f9b-a80e61ddc61e

Parameters:
__fmt: CSV
__rdquery: SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost \
FROM ADGROUP_PERFORMANCE_REPORT \
WHERE AdGroupStatus IN [ENABLED, PAUSED] DURING LAST_7_DAYS

Response:

400 Bad Request

Alt-Svc →quic=":443"; ma=2592000; v="43,42,41,39,35"
Cache-Control →private, max-age=0
Content-Encoding →gzip
Content-Type →text/xml
Date →Tue, 19 Jun 2018 05:32:46 GMT
Expires →Tue, 19 Jun 2018 05:32:46 GMT
Server →GSE
Transfer-Encoding →chunked
X-Content-Type-Options →nosniff
X-Frame-Options →SAMEORIGIN
X-XSS-Protection →1; mode=block

<?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>


вторник, 19 июня 2018 г., 10:06:16 UTC+5 пользователь Dannison Yao (AdWords API Team) написал:

Dannison Yao (AdWords API Team)

unread,
Jun 19, 2018, 4:11:34 AM6/19/18
to AdWords API and Google Ads API Forum
Hi,

My apologies as we are not familiar with using the POSTMAN method. Could you try using the curl method as seen in this example?

curl 
--header "Authorization: Bearer XXX" 
--header "clientCustomerId: XXX-XXX-XXXX" 
--header "developerToken: XXXXXXXXXXXXXXXXXX" https://adwords.google.com/api/adwords/reportdownload/v201802 
--data "__rdquery=SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] DURING LAST_7_DAYS&__fmt=CSV"

Let me know if this works out for you.

Георгий Грязнов

unread,
Jun 20, 2018, 1:04:43 AM6/20/18
to AdWords API and Google Ads API Forum
I have tried. Now I have problems with my OAuth_Access_token. But it is another theme. Thanks a lot.

вторник, 19 июня 2018 г., 13:11:34 UTC+5 пользователь Dannison Yao (AdWords API Team) написал:

Dannison Yao (AdWords API Team)

unread,
Jun 20, 2018, 4:26:08 AM6/20/18
to AdWords API and Google Ads API Forum
Hi,

To better assist you in another issue you encountered regarding OAuth_Access_token, could you further elaborate on the issue you are encountering on a new forum thread? We may continue our discussion from there.

Георгий Грязнов

unread,
Jun 21, 2018, 3:08:32 AM6/21/18
to AdWords API and Google Ads API Forum
Already resolved the issue. Thanks.

среда, 20 июня 2018 г., 13:26:08 UTC+5 пользователь Dannison Yao (AdWords API Team) написал:

Ben Mills

unread,
Oct 18, 2019, 6:12:13 AM10/18/19
to AdWords API and Google Ads API Forum
How did you get this working?  We're having the same issue.  Even in the OAuth 2.0 playground, we're getting the MISSING_PARAMETER error.

Google Ads API Forum Advisor Prod

unread,
Oct 18, 2019, 12:14:44 PM10/18/19
to benw...@gmail.com, adwor...@googlegroups.com
Hello Ben,

Could you please share the screenshot or error log you are seeing to investigate further using reply privately to the author option?

Regards,
Sai Teja, Google Ads API Team
 

ref:_00D1U1174p._5001UKNlr5:ref
Reply all
Reply to author
Forward
0 new messages