Hi Rodrigo,

The Ads API doesn't have a field that provides direct access to the previews. 
With that being said, this stackoverflow article about using Youtube Id for 
every type of URL may be of assistance - https://stackoverflow.com/a/2068371. I 
tried some and they work just using the 11 letter Id from 
“asset.youtube_video_asset.youtube_video_id”.

For example, the 11 letter Id can be placed in the regular Youtube url starting 
"https://www.youtube.com/watch?v="; you can add to the end "B5PylOONGww" for the 
result - https://www.youtube.com/watch?v=B5PylOONGww and you can see a Google 
Ads tutorial. The default high quality image is 
https://img.youtube.com/vi/B5PylOONGww/hqdefault.jpg. I can guess this works 
for all Youtube videos. Feel free to get back to us.

Regards,

Aryeh
Google Ads API Team
ref:_00D1U1174p._5004Q2dJiHu:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/1QOfV000000000000000000000000000000000000000000000RGVEFW00AXN5kJ5RTLGQQNQ1bTUS7w%40sfdc.net.
  • Im... Rodrigo Ampuero
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Rodrigo Ampuero
        • ... Rodrigo Ampuero
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Rodrigo Ampuero
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Rodrigo Ampuero

Reply via email to