how to get reach data(unique impressions) for each campaign

292 views
Skip to first unread message

Eitan Shay

unread,
Feb 26, 2015, 2:08:12 AM2/26/15
to adwor...@googlegroups.com

 Hi,

I am trying to get reach data(unique impressions) for each campaign.
From https://developers.google.com/adwords/api/docs/guides/structure-reports, I can see that I can use JOIN in awql on CAMPAIGN_PERFORMANCE_REPORT and CAMPAIGN_REACH_FREQUENCY_REPORT

But I got "HTTP Response Code: 400, Type: QueryError.PARSING_FAILED" error with the following awql:

SELECT Id, Name, Impressions, Clicks, Ctr, AverageCpm, AverageCpc, UniqueUserCountAsLong, ReachFrequency
FROM CAMPAIGN_PERFORMANCE_REPORT
JOIN CAMPAIGN_REACH_FREQUENCY_REPORT ON CAMPAIGN_PERFORMANCE_REPORT.Id=CAMPAIGN_REACH_FREQUENCY_REPORT.CampaignId
WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK

Then I found CAMPAIGN_REACH_FREQUENCY_REPORT is not supported in the latest version
since I got error
HTTP Response Code: 500, FieldPath: selector, Trigger: Enum ReportDefinitionReportType does not have a constant corresponding to CAMPAIGN_REACH_FREQUENCY_REPORT, Type: ReportInfoError.REPORT_INFO_ERROR
when querying on only CAMPAIGN_REACH_FREQUENCY_REPORT in the following:

SELECT UniqueUserCountAsLong, ReachFrequency
FROM CAMPAIGN_REACH_FREQUENCY_REPORT
WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK

Can anyone please help me solve this?

Thanks very much!
Eitan

Michael Cloonan (AdWords API Team)

unread,
Feb 26, 2015, 9:00:58 AM2/26/15
to adwor...@googlegroups.com
Hello,

We are aware of this gap and are working on adding a method for you to reach this data via reporting. Please watch our blog for new feature announcements to keep up do date.

Regards,
Mike, AdWords API Team

Eitan Shay

unread,
Feb 26, 2015, 9:30:16 AM2/26/15
to adwor...@googlegroups.com
Thanks Michael.
So for now we cannot get the reach data from AdWords API, is there any other way to get it?
If not, Could you please tell us the approximate time that this feature will be released?

Best regards,
Eitan

Michael Cloonan (AdWords API Team)

unread,
Feb 26, 2015, 2:10:31 PM2/26/15
to adwor...@googlegroups.com
Hello,

For now, I believe you can still use these reports with API version v201406.

Unfortunately, I cannot comment on release dates or timelines for future features.

Regards,
Mike, AdWords API Team

Eitan Shay

unread,
Feb 27, 2015, 12:42:41 AM2/27/15
to adwor...@googlegroups.com
Thanks Michael.
I've got the reach data with API version v201406.

But I still got "HTTP Response Code: 400, Type: QueryError.PARSING_FAILED" error with the following awql using JOIN.
According to the example awql in https://developers.google.com/adwords/api/docs/guides/structure-reports, we can use the JOIN clause.
Can you please help me find any error from the following awql.

Thanks very much!

===================awql with JOIN================

SELECT Id, Name, Impressions, Clicks, Ctr, AverageCpm, AverageCpc, UniqueUserCountAsLong, ReachFrequency
FROM CAMPAIGN_PERFORMANCE_REPORT
JOIN CAMPAIGN_REACH_FREQUENCY_REPORT ON CAMPAIGN_PERFORMANCE_REPORT.
Id=CAMPAIGN_REACH_FREQUENCY_REPORT.CampaignId
WHERE CampaignStatus IN [ENABLED, PAUSED] DURING LAST_WEEK


Eitan Shay

unread,
Feb 27, 2015, 4:16:32 AM2/27/15
to adwor...@googlegroups.com
From another thread, I know I cannot use JOIN.
But I got several different statistics data for the same campaign ID.
Can anyone help explain why this happens?

Here's my awql query:
SELECT
CampaignId, CampaignName, UniqueUserCountAsLong, ReachFrequency, ReachFrequencyClicks, ReachFrequencyCtr "

FROM CAMPAIGN_REACH_FREQUENCY_REPORT
WHERE CampaignStatus IN [ENABLED, PAUSED]
DURING LAST_WEEK

Thanks a lot!
Campaign ID
Unique UsersFrequencyClicksCTR
318515843
2100.00%
318515843
1200.00%
318515843
1300.00%
318515843
2100.00%
318515843
1200.00%
318515843
1300.00%

Eitan Shay

unread,
Feb 27, 2015, 4:48:10 AM2/27/15
to adwor...@googlegroups.com
Seems it's bcoz the ReachFrequency field causes segmentation.
But even if I SELECT only CampaignId, UniqueUserCountAsLong I still get same or different rows in the result like below:
Can anyone help shed some light on this?

Thanks!
=========sample result===
Campaign IDUnique Users
3185181231
3185181231
3185158434
3185158434
31851548310
3185154834
3185154836

Eitan Shay

unread,
Feb 28, 2015, 12:39:17 AM2/28/15
to adwor...@googlegroups.com
Bounce. Anyone can help this??
I found the different rows seems to come from different ReachFrequencyDate.
Is there any way to aggregate all data in one row? Since it's UniqueUserCountAsLong  I cannot sum them by date simply.

Thanks a lot for kindly help in advance!

Michael Cloonan (AdWords API Team)

unread,
Mar 3, 2015, 9:22:42 AM3/3/15
to adwor...@googlegroups.com
Hello,

What happens if you just select the Campaign ID? Is it still segmented? There might be some innate segmentation in this report on a field other than Campaign ID.

Regards,
Mike, AdWords API Team
Reply all
Reply to author
Forward
0 new messages