bugmagnet
bugmagnet

Reputation: 7769

Simplest Ad Hoc report request in Adwords generates no data. Why?

The following report definition continues to produce no data against all accounts:

<reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201109">
<selector>
<fields>AccountDescriptiveName</fields>
<fields>AccountId</fields>
</selector>
<reportName>1_91_123_skinny</reportName>
<reportType>ACCOUNT_PERFORMANCE_REPORT</reportType>
<dateRangeType>YESTERDAY</dateRangeType>
<downloadFormat>TSV</downloadFormat>
</reportDefinition>

I don't get any error messages. Just no data from what would seem to be a perfectly legit reportDefinition? I've been using similar ones for some time with no problems. Any ideas?

Upvotes: 2

Views: 649

Answers (1)

Eric Koleda
Eric Koleda

Reputation: 12673

The core issue is with zero-impression behavior:

http://googleadsdeveloper.blogspot.com/2011/12/zero-impression-data-in-adwords-api.html

The ACCOUNT_PERFORMANCE_REPORT doesn't support zero-impression rows, and even if you do have impressions you'll need ensure that you request the Impressions field.

Upvotes: 2

Related Questions