After trial and error I fixed it.

It turns out that a **Significance* metric had sneaked into my report 
fields.

However, the error message returned could have been more useful



On Saturday, 9 February 2013 14:20:28 UTC, ShaneO wrote:
>
> I'm using v201209 API with the latest (4.0.1) PHP client library.
>
> I'm getting a 400 error Report Download Failed when I try to run a report 
> of type ADGROUP_PERFORMANCE_REPORT
>
> There are no other error messages. 
> Here is the request I am sending: (Note that I have tried with and without 
> any Predicates)
>
> [Feb 09 2013 14:05:51.000000 - ERROR] POST 
> /api/adwords/reportdownload/v201209 HTTP/1.1
> User-Agent: curl, gzip
> Host: adwords.google.com
> Accept: */*
> Accept-Encoding: gzip
> Authorization: GoogleLogin auth=
> clientCustomerId: 
> returnMoneyInMicros: true
> Content-Length: 1618
> Expect: 100-continue
> Content-Type: multipart/form-data; 
> boundary=----------------------------85e5afa87667
>
> Parameters:
> __rdxml: <?xml version="1.0"?>
> <reportDefinition>
>   <selector>
>     <fields>AdGroupId</fields>
>     <fields>AdGroupStatus</fields>
>     <fields>AverageCpc</fields>
>     <fields>AverageCpm</fields>
>     <fields>AveragePosition</fields>
>     <fields>Clicks</fields>
>     <fields>ClickSignificance</fields>
>     <fields>ClickType</fields>
>     <fields>ConversionRate</fields>
>     <fields>ConversionRateManyPerClick</fields>
>     <fields>Conversions</fields>
>     <fields>ConversionsManyPerClick</fields>
>     <fields>ConversionValue</fields>
>     <fields>Cost</fields>
>     <fields>CostPerConversion</fields>
>     <fields>CostPerConversionManyPerClick</fields>
>     <fields>Ctr</fields>
>     <fields>EnhancedCpcEnabled</fields>
>     <fields>Impressions</fields>
>     <fields>KeywordContentMaxCpc</fields>
>     <fields>KeywordMaxCpc</fields>
>     <fields>MaxCpm</fields>
>     <fields>PercentCpa</fields>
>     <fields>ValuePerConversion</fields>
>     <fields>ValuePerConversionManyPerClick</fields>
>     <fields>ValuePerConvManyPerClick</fields>
>     <fields>ViewThroughConversions</fields>
>     <predicates>
>       <field>Status</field>
>       <operator>NOT_IN</operator>
>       <values>DELETED</values>
>     </predicates>
>   </selector>
>   <reportName>AdGroup performance report #511657bbe7e4f</reportName>
>   <reportType>ADGROUP_PERFORMANCE_REPORT</reportType>
>   <dateRangeType>LAST_7_DAYS</dateRangeType>
>   <downloadFormat>XML</downloadFormat>
>   <includeZeroImpressions>false</includeZeroImpressions>
> </reportDefinition>
>
> Response Code: 400
> Error Message: Report download failed.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to