Re: Report download failed

918 views
Skip to first unread message

Takeshi Hagikura

unread,
Dec 6, 2012, 12:54:07 AM12/6/12
to adwor...@googlegroups.com
Hello Lokhi,

You can't specify "Status" in your predicate.
Please refer this document for possible field names.
- Takeshi, AdWords API Team

2012年12月4日火曜日 1時00分28秒 UTC-8 lokhi:
Hello,

Since two days I have this error: Fatal error: Uncaught exception 'ReportDownloadException' with message 'Report download failed.'

I use PHP. I don't understand what is wrong with my code.


Report_download.log:
__rdxml: <?xml version="1.0"?>
<reportDefinition>
  <selector>
    <fields>DisplayName</fields>
    <fields>Id</fields>
    <fields>IsNegative</fields>
    <predicates>
      <field>Status</field>
      <operator>NOT_IN</operator>
      <values>DELETED</values>
    </predicates>
  </selector>
  <reportName>testrapport#50bdb9afbb23a</reportName>
  <reportType>CAMPAIGN_NEGATIVE_PLACEMENTS_PERFORMANCE_REPORT</reportType>
  <dateRangeType>TODAY</dateRangeType>
  <downloadFormat>CSV</downloadFormat>
  <includeZeroImpressions>false</includeZeroImpressions>
</reportDefinition>

Response Code: 400
Error Message: Report download failed.


Thanks,



Lokhi.

Takeshi Hagikura

unread,
Dec 6, 2012, 3:02:51 AM12/6/12
to adwor...@googlegroups.com
Basically, 4xx response code means client error.
Then you should investigate client side first.

- Takeshi

2012年12月5日水曜日 21時54分07秒 UTC-8 Takeshi Hagikura:

Takeshi Hagikura (AdWords API Team)

unread,
Feb 7, 2013, 1:51:37 AM2/7/13
to adwor...@googlegroups.com, Brian.P...@map-global.com, Nakul.R...@mbww.com, sonam....@mbww.com
Hello 

Are you still seeing the error continuously?
Can you please share each of the report definition xml (or AWQL String)?

Best,
- Takeshi, AdWords API Team

On Wednesday, February 6, 2013 4:54:42 PM UTC+9, SONAM wrote:
Hello,

 Since 3 days , on pulling Campaign performance report from Adwords , for full Jan Month (dates 1/1/2012 -31/1/2013) , it has been throwing error: Report Download failed. However when we pull the data for full month in two parts (i.e 1st part for dates 1/1/2013 - 15/1/2013 , and 2nd for 16/1/2013-31/1/2013) , then we are able to get full month data, without any error. PFA the error we are getting in CSV report that gets downloaded (for full month in one go)

Gabriel Moser

unread,
Jul 16, 2014, 11:12:46 AM7/16/14
to adwor...@googlegroups.com, Brian.P...@map-global.com, Nakul.R...@mbww.com, sonam....@mbww.com
I am having the same error just for some specific accounts.

The XML is below:

<reportDefinition>
  <selector>
    <fields>AccountId</fields>
    <fields>AccountDescriptiveName</fields>
    <fields>CostPerConversion</fields>
    <fields>Ctr</fields>
    <fields>Clicks</fields>
    <fields>AveragePosition</fields>
    <fields>Cost</fields>
    <fields>ConversionsManyPerClick</fields>
    <fields>ConversionRate</fields>
    <fields>TotalConvValue</fields>
    <fields>Date</fields>
    <fields>Impressions</fields>
    <dateRange>
      <min>20140610</min>
      <max>20140610</max>
    </dateRange>
  </selector>
  <reportName>Account #53c6957bc3b4c</reportName>
  <reportType>ACCOUNT_PERFORMANCE_REPORT</reportType>
  <dateRangeType>CUSTOM_DATE</dateRangeType>
  <downloadFormat>CSV</downloadFormat>
  <includeZeroImpressions>false</includeZeroImpressions>
</reportDefinition>

I always get the Report Download Error, but no additional message. It is hard to identify what is causing this because the error message is not clear.

Can you help me ?

Josh Radcliff (AdWords API Team)

unread,
Aug 1, 2014, 10:59:10 AM8/1/14
to adwor...@googlegroups.com, Brian.P...@map-global.com, Nakul.R...@mbww.com, sonam....@mbww.com, gabrie...@gmail.com
Hi,

If you look at the full XML of the error, you should see additional information such as:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<reportDownloadError>
  <ApiError>
    <type>ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT</type>
    <trigger/>
    <fieldPath>TotalConvValue</fieldPath>
  </ApiError>
</reportDownloadError>

The report definition you sent has two issues:
  1. The field AccountId is not valid in v201406. Please use ExternalCustomerId instead
  2. The field TotalConvValue is not valid in v201406. Please use ConversionValue instead
Cheers,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages