Performance report by age, gender, location for PMAX campaigns

495 views
Skip to first unread message

Hoang Nguyen

unread,
Aug 9, 2024, 5:46:04 AM8/9/24
to Google Ads API and AdWords API Forum
Hi team,

I am writing a script to pull these raw data: impressions, cost, clicks, views of my PMAX campaigns and paste them inside my spreadsheet. 

The concept will be 3 reports by age, gender, and location with the aforementioned metrics but whenever I run the script, it returns blank even though I tested it successfully for other types of campaign such as SEARCH, DISPLAY, etc.

Here is my query to get the data for gender report:

SELECT ad_group_criterion.gender.type, metrics.impressions, metrics.clicks, metrics.ctr, metrics.video_views, metrics.video_view_rate, metrics.average_cpv, metrics.cost_micros, metrics.conversions, metrics.cost_per_conversion FROM gender_view WHERE segments.date DURING LAST_MONTH AND campaign.advertising_channel_type = 'PERFORMANCE_MAX'  

Please help me confirm this!

Sincerely,

Google Ads API Forum Advisor

unread,
Aug 9, 2024, 11:57:34 AM8/9/24
to hoan...@geniee.co.jp, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

The age_range_view and gender_view's resource name fields include an association to the ad_group_id, and due to the restriction of this campaign type and the ad group resource (and its attributes), then it is currently not possible to retrieve performance max campaign statistics using these reports.

Kindly note that when reporting for Performance Max campaigns, you may take note of the restrictions discussed in this reporting guide. 

  • Key Point: Do not select an AdGroup when querying Performance Max campaigns, as no data will be returned. Do not segment by AssetGroup as this is not permitted.
Also, please remove the ad_group_criterion.gender.type from your query to retrieve the data for search and display campaigns.

Hope this clarifies! Let us know if you have any further questions. 
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vEjS8:ref" (ADR-00262640)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages