Thank you so much for your quick response. It is really helpful. On Wednesday, 12 February 2025 at 21:00:33 UTC+5:30 Google Ads API Forum Advisor wrote:
> Hi, > > Thank you for reaching out to the Google Ads API support team. > > Based on the provided information, it appears that the Google Ads API > does not retrieve performance metrics for assets at the ad group level. > When executing the query you provided without including metrics.clicks the > returned asset ID is 201247689730, which corresponds to a SITELINK asset > type. > > Upon reviewing your campaign under campaign ID 22148688913, there are two > ad groups (174579718038 and 201247689730). Navigating to the Responsive > Search Ads under the 'Ads' section reveals that only one sitelink asset is > associated with both ad groups. > > However, there are no metrics called clicks associated for this asset ID > (201247689730). In Google Ads reporting, zero-metric data is excluded when > segmenting a report, provided all selected metrics are zero. This explains > why including metrics.clicks in the query results in no data being returned > if the values are zero. For further details, I recommend you to refer to > the Zero Metrics > <https://developers.google.com/google-ads/api/docs/reporting/zero-metrics> > documentation. I have also attached screenshots of both assets for your > reference. > Kindly note that campaign and ad_group level assets cannot be fetched from > a single query. Asset metrics are made available through a few resources: > > - ad_group_asset > <https://developers.google.com/google-ads/api/fields/v18/ad_group_asset> > - campaign_asset > <https://developers.google.com/google-ads/api/fields/v18/campaign_asset> > - customer_asset > <https://developers.google.com/google-ads/api/fields/v18/customer_asset> > > With these resources, asset metrics can be queried at each respective > level. For example, when querying the ad_group_asset resource, the > ad_group.id field can be used to segment the results, thereby retrieving > metrics for each unique combination of ad_group and asset. I would > recommend you to refer to the Asset metrics > <https://developers.google.com/google-ads/api/docs/assets/fetching-assets#asset_metrics> > > documentation for more detailed information. > > This message is in relation to case > "ref:!00D1U01174p.!5004Q02vH1WR:ref" (ADR-00288061) > > Thanks, > > [image: Google Logo] Google Ads API Team > Feedback > How was our support today? > > [image: rating1] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=5004Q00002vH1WRQA0> > > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=5004Q00002vH1WRQA0> > > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=5004Q00002vH1WRQA0> > > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/formResponse?usp=pp_url&entry.141427034=4&entry.295079254=5004Q00002vH1WRQA0> > > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/formResponse?usp=pp_url&entry.141427034=5&entry.295079254=5004Q00002vH1WRQA0> > > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/572f0657-314c-434f-88d6-328b5e8f4d8fn%40googlegroups.com.
