Matching Responsive Video Ads to Youtube Video Ids

42 views
Skip to first unread message

Alex

unread,
Feb 18, 2025, 2:15:55 AM2/18/25
to Google Ads API and AdWords API Forum
Hi,

I am trying to create a report through the API on responsive video ad performance, including the Youtube video id for the video which the responsive video ad uses.

I've generated a report through an API request that shows video id for each asset. This is the request:

{"query": " SELECT asset.id, asset.youtube_video_asset.youtube_video_id, asset.youtube_video_asset.youtube_video_title FROM asset" }

I've also generated another report through the API for ad group ad, using this request:

{"query": " SELECT ad_group_ad.ad.id, ad_group_ad.ad.name, ad_group_ad.ad.resource_name, ad_group_ad.ad_group, ad_group_ad.resource_name, ad_group_ad.ad.video_responsive_ad.videos,ad_group_ad.labels,ad_group_ad.ad.video_responsive_ad.videos, campaign.name, ad_group_ad.ad.final_urls, metrics.clicks, metrics.cost_micros, metrics.conversions, metrics.conversions_value, metrics.view_through_conversions FROM ad_group_ad WHERE segments.date DURING LAST_7_DAYS AND ad_group.type IN ('VIDEO_RESPONSIVE')" }

I was hoping that there would be a common attribute that I could use to match responsive video ads to the corresponding video asset youtube ids, but I can't find one.

Is this possible?

Google Ads API Forum Advisor

unread,
Feb 18, 2025, 3:54:17 AM2/18/25
to cli...@ascendancydigital.com, adwor...@googlegroups.com

Hi,

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

Based on your query, it appears you are trying to match responsive video ads to their corresponding YouTube video IDs in the API reports. However, as per the documentation for both the ad_group_ad and asset resources, there is not a common attribute available to link them directly as the attributed resources for each of them are different.

If you are seeing a common attribute in the Google Ads UI that helps you link responsive video ads to their respective YouTube video IDs, could you please provide an uncropped screenshot of the UI highlighting that field? 

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-02-18 08:53:35Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH2Le:ref" (ADR-00288655)



Alex

unread,
Feb 18, 2025, 7:46:32 PM2/18/25
to Google Ads API and AdWords API Forum
Hi,

Thanks for your reply.

Should this field from ad_group_ad: results.adGroupAd.ad.videoResponsiveAd.videos.asset

Match this field from asset: results.asset.resourceName

Thanks,
Alex

Google Ads API Forum Advisor

unread,
Feb 18, 2025, 11:02:58 PM2/18/25
to cli...@ascendancydigital.com, adwor...@googlegroups.com

Hi Alex,

Please note that the ad_group_ad.ad.video_responsive_ad.videos.asset field from the ad_group_ad resource and asset.resource_name from the asset resource should match the results. The ad_group_ad.ad.video_responsive_ad.videos.asset field represents the only video assets resource name of the responsive ad in the ad group. And the asset.resource_name represents all the asset resource names associated with the account, this includes all video, text, and other assets within that account.

I hope this helps! If you have any questions, please feel free to contact us.


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-02-19 04:02:11Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH2Le:ref" (ADR-00288655)



Reply all
Reply to author
Forward
0 new messages