Hi,
Thank you for reaching out to the Google Ads API support team.
By reviewing your concern, I understand that you're aiming to access the costs and conversions of your Performance Max campaigns via the
asset_group_asset resource. Kindly note that asset_group_asset resource doesn’t support metrics. I would recommend you kindly refer to the
asset_group resource where metrics can be retrieved per each asset group.
Please find the sample GAQL query:
SELECT asset_group.id, asset_group.name, asset_group.resource_name, asset_group.status, metrics.clicks, metrics.conversions, campaign.advertising_channel_type FROM asset_group WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX'
Additionally, you can utilize the
Google Ads Query Builder and
Query Validator to build and validate the queries for retrieving the data from the Google Ads API.
I hope this helps. Kindly get back to us if you have any further questions related to the Google Ads API.
This message is in relation to case "ref:!00D1U01174p.!5004Q02r1r6G:ref"
Thanks,
 |
Google Ads API Team |
