The cost retrieved using ad_group_ad_asset_view is significantly lower than the data from ad_group—in some cases, it's less than half.

22 views
Skip to first unread message

feng pan

unread,
Jun 3, 2025, 10:26:25 AMJun 3
to Google Ads API and AdWords API Forum
We are using ad_group_ad_asset_view to query cost data. The query is as follows:

SELECT
campaign.id,
campaign.name,
ad_group.id,
ad_group.name,
ad_group.status,
ad_group_ad.ad.id,
ad_group_ad.ad.name,
ad_group_ad.ad.type,
asset.name,
asset.type,
asset.youtube_video_asset.youtube_video_title,
asset.text_asset.text,
metrics.impressions,
metrics.cost_micros,
segments.date
FROM ad_group_ad_asset_view
WHERE segments.date >= startTime AND segments.date <= endTime
ORDER BY segments.date DESC, metrics.impressions DESC
LIMIT 1000

However, the cost_micros values we get from this query are significantly lower than those obtained using the ad_group resource—sometimes even less than half.

We are using the following code to build and send the request:

SearchGoogleAdsStreamRequest request =
SearchGoogleAdsStreamRequest.newBuilder()
.setCustomerId(customerId)
.setQuery(query)
.build();

ServerStream stream =
googleAdsServiceClient.searchStreamCallable().call(request);

Google Ads API Forum Advisor

unread,
Jun 3, 2025, 7:00:41 PMJun 3
to g...@playorcas.com, adwor...@googlegroups.com

Hi,

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

By reviewing your concern, I understand you're experiencing a discrepancy in the cost_micros data between ‘ad_group_ad_asset_view’ resource and ‘ad_group’.

It seems like you are trying to compare data at the ‘ad_group’ level with ‘ad_group_ad_asset_view’ -level data, which are two distinct resources, each serving a different purpose in the Google Ads structure. When comparing data from the Google Ads UI and the API, it's important to ensure you're comparing equivalent resources. The ad_group and ad_group_ad_asset_view represent different levels of data, so please make sure that you're aligning your comparisons correctly between resources.

If you face the discrepancy between UI and API for the equivalent resources, please provide uncropped UI screenshots that clearly show the specified metrics or fields you're trying to retrieve, along with the associated Google Ads customer ID? 

If you're observing a discrepancy between the Google Ads UI and the API for equivalent resources, please provide uncropped UI screenshots that clearly show the specified metrics or fields you're trying to retrieve, along with the associated Google Ads customer ID

You can send the details via Reply privately to the author option, or direct private reply to this email.

 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-06-03 22:59:53Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01re6aa:ref" (ADR-00309770)



Reply all
Reply to author
Forward
0 new messages