Performance Max Campaign and Asset Set Asset metrics

72 views
Skip to first unread message

Media Data Creative Lift

unread,
Dec 1, 2022, 12:35:32 PM12/1/22
to Google Ads API and AdWords API Forum
Hello,

I have a Performance Max campaign having made 875,077 impressions.
I am trying to get assets metrics through asset_set_asset resource as given on this support group.

Calling API v12
Query are 

1. Get Asset Set of campaign 
- Request ID WHnyyOpfKIJVLkLMUHt6_w
- Query 
SELECT
     campaign_asset_set.campaign,
campaign_asset_set.asset_set
FROM campaign_asset_set
where campaign_asset_set.campaign = '{CAMPAIGN.RESOURCE_NAME}'


2. Get Asset Set Asset metrics 
- Request ID 2h0v13gxfwwVTs3SX7yMmg
- Query SELECT
   asset_set.resource_name,
   asset.resource_name,
   metrics.clicks,
   metrics.impressions
FROM asset_set_asset
where asset_set.resource_name = '{ASSET_SET.RESOURCE_NAME}'

I get nothing from  the second request:
{
"fieldMask": "assetSet.resourceName,asset.resourceName,metrics.clicks,metrics.impressions"
}

And if remove the where, I only get 0 clicks et 0 impressions for all asset set asset answered.

I thought asset set asset was the way.
Could you help me get asset metrics for Performance Max campaigns please ?


Google Ads API Forum Advisor

unread,
Dec 1, 2022, 11:37:10 PM12/1/22
to media...@creativelift.ai, adwor...@googlegroups.com
Hi there,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

To further investigate this issue, could you provide the complete request and response logs with request ID and request header generated on your end? If you haven't enabled the logging yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. Add to that, could please provide us also the full, non-cropped and non redacted screenshot of the UI report that you are trying to fetch using Google Ads API? With this, we can provide you with an accurate answer to your concern. Please provide us also the customer id that you used to execute the report.

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


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