age_range_performance_report - getting the age ranges

43 views
Skip to first unread message

laurie....@mimeanalytics.com

unread,
Aug 27, 2020, 11:29:09 PM8/27/20
to AdWords API and Google Ads API Forum
v201809, python3 api.



I am attempting to get agerange performance data for running campaigns.


I have a report defined as so:

report_query = (
adwords.ReportQueryBuilder()
.Select(
"CampaignId",
"AdGroupId",
"Date",
"Impressions",
"Clicks",
"Cost",
"Ctr",
)
.From("AGE_RANGE_PERFORMANCE_REPORT")
.Where("Status")
.In("ENABLED", "PAUSED")
.During("LAST_7_DAYS")
.Build()
)

This runs fine, but does not give me any age range data. It does return records listing data as described in the query.  I'm using DownloadReportAsStringWithAwql to get the data, and looking at the string, no age data exists.

this query:

report_query = (
adwords.ReportQueryBuilder()
.Select(
"CampaignId",
"AdGroupId",
"Date",
"AgeRange",
"Impressions",
"Clicks",
"Cost",
"Ctr",
)
.From("AGE_RANGE_PERFORMANCE_REPORT")
.Where("Status")
.In("ENABLED", "PAUSED")
.During("LAST_7_DAYS")
.Build()
)

This report does not run, citing an illegal field called Age Range.
I'm missing something obvious here. How does one get the actual age range data?

Thanks,

---=Laurie

Google Ads API Forum Advisor Prod

unread,
Aug 28, 2020, 3:09:48 PM8/28/20
to laurie....@mimeanalytics.com, adwor...@googlegroups.com
Hi Laurie,

Thanks for reaching out. With regards to your concern, can you please provide customer id so that i can further investigate the issue.Please reply privately to the author option.

Thanks,
Nirmita Patel Google Ads Team

ref:_00D1U1174p._5004Q23vMx9:ref
Reply all
Reply to author
Forward
0 new messages