Hi team, 

Why I am unable to fetch performance metric data of assets that are present 
at adgroup level using this query - 


SELECT  asset.id, asset.type, campaign.id, metrics.clicks FROM 
ad_group_asset WHERE campaign.id = 22148688913

When I ran the query, I got 0 results. But when I removed the 
metrics.clicks field, it returned one row.
[image: Screenshot 2025-02-12 181631.png]

Right now, we need two separate queries to fetch assets—one from 
campaign_asset for campaign-level assets and another from ad_group_asset 
for ad group-level assets. Is there a way to fetch both in a single query, 
so we can get all assets at the ad group level along with campaign-level 
assets?

Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/98b58ed0-a7bf-4384-8e85-59e4a96c769cn%40googlegroups.com.

Reply via email to