Query Regarding YouTube Video Asset Metadata via API

108 views
Skip to first unread message

Amit Tomar

unread,
May 26, 2025, 2:31:28 PM5/26/25
to Google Ads API and AdWords API Forum

Hi Team,

I have created a YouTube video asset and am retrieving it using the following query:

SELECT asset.name, asset.id, asset.youtube_video_asset.youtube_video_id, asset.youtube_video_asset.youtube_video_title
FROM asset
WHERE asset.id = <asset_id>

This returns the asset name, video ID, and title as expected. However, I would like to know if it's possible to retrieve additional metadata such as:

  • Orientation

  • Aspect ratio

  • Duration

  • Modified date/time

  • Added date/time

  • Any other available video-level metadata

Could you please confirm if this information is accessible via the API, and if so, which fields or resources should be used?

Thanks in advance for your guidance.

Best regards,
Amit Tomar

Google Ads API and AdWords API Forum

unread,
May 26, 2025, 7:25:42 PM5/26/25
to Google Ads API and AdWords API Forum
Hi,

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

In order to assist you further, could you please share the uncropped UI screenshot by highlighting the fields (Orientation, Aspect Ratio, Duration, Modified Date/Time, Added Date/Time, and Any Other Available Video-Level Metadata) that you would like to retrieve via the Google Ads API?

You can send the details via Reply privately to the author option, or direct private reply to this email 'googleadsa...@google.com'.

Thanks & Regards,
Google Ads API support team.

Amit Tomar

unread,
May 29, 2025, 4:39:51 AM5/29/25
to Google Ads API and AdWords API Forum

Hi Team,

Thanks for your response.

Please find attached the uncropped UI screenshots from the Google Ads interface. These were captured while selecting a video from the asset library during ad creation.

As shown in the screenshots, when I select a video asset, I can see detailed metadata including:

  • YouTube Channel

  • Orientation

  • Aspect Ratio

  • Duration

  • Modified Date/Time

  • Added Date/Time

However, I’m currently unable to retrieve these metadata fields via the Google Ads API. Could you please confirm whether this information is accessible via the API? If so, could you guide me on which fields or resource paths to use in the query?

Looking forward to your clarification.

Best regards,
Amit Tomar

Video_asset_screenshot.png
Video_asset_library.png

Google Ads API Forum Advisor

unread,
May 29, 2025, 9:54:11 AM5/29/25
to amittomar...@gmail.com, adwor...@googlegroups.com
Hi Amit,


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

Currently Google Ads API does not support retrieving the YouTube Channel, Orientation, Aspect Ratio, Duration, Modified Date/Time, Added Date/Time . However, I will raise a request to add this feature to be available in the Google Ads API. We cannot provide a scheduled timeline for the availability of this feature in the Google Ads API. With that being said, I would recommend you to follow our blog post and release notes for announcements about new API releases and features.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-29 13:53:24Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rdf4B:ref" (ADR-00309013)



Amit Tomar

unread,
May 29, 2025, 10:06:48 AM5/29/25
to Google Ads API and AdWords API Forum

Thank you for the update and for raising the feature request.

Could you please also confirm if there is currently any support in the Google Ads API to search YouTube videos by keyword or channel, similar to what’s available in the UI (screenshot attached)?
If not, do you recommend any alternative approach to achieve similar functionality?

Thanks again for your assistance.

Screenshot from 2025-05-29 19-31-43.png

Google Ads API Forum Advisor

unread,
May 29, 2025, 11:56:34 AM5/29/25
to amittomar...@gmail.com, adwor...@googlegroups.com

Hi,

I understand you want to fetch search youtube videos as shown in the provided screenshot  using Google Ads API. Note that fetching search youtube videos by using keywords are not supported in the Google Ads API.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-05-29 15:55:35Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rdf4B:ref" (ADR-00309013)



Reply all
Reply to author
Forward
0 new messages