Hi,
I'm not sure if this is a bug or a feature, but it seems it's not possible
to retrieve a zero-impression account level report.
For example, the following report definition:
<reportDefinition
xmlns="https://adwords.google.com/api/adwords/cm/v201109">
<selector>
<fields>ExternalCustomerId</fields>
<fields>AccountDescriptiveName</fields>
<fields>AccountCurrencyCode</fields>
<fields>AccountTimeZoneId</fields>
<fields>Impressions</fields>
</selector>
<reportName>ICC_Account_Report</reportName>
<reportType>ACCOUNT_PERFORMANCE_REPORT</reportType>
<dateRangeType>YESTERDAY</dateRangeType>
<downloadFormat>XML</downloadFormat>
<includeZeroImpressions>true</includeZeroImpressions>
</reportDefinition>
Gives the following empty response (the response is ok, there's just no
data in it):
<?xml version='1.0' encoding='UTF-8' standalone='yes'?><report><report-name
name='ICC_Account_Report'/><date-range date='Jan 25,
2012'/><table><columns><column name='customerID' display='Customer
ID'/><column name='account' display='Account'/><column name='currency'
display='Currency'/><column name='timeZone' display='Time zone'/><column
name='impressions' display='Impressions'/></columns></table></report>
There's nothing wrong with the request headers or auth, and I can get a
non-empty response if I do one of the following:
- Use a campaign performance report instead of an account performance
report (each campaign is shown with zero impressions)
- Set the date range to "all time" (there is data in this account, but it's
currently paused and had no impressions yesterday)
Is this expected behaviour?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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