Media Bundle Asset Download

67 views
Skip to first unread message

Sergey Zilberman

unread,
Mar 29, 2020, 11:57:31 AM3/29/20
to AdWords API and Google Ads API Forum
$query =
                 
'SELECT '
                 
.'asset.id, '
                 
.'asset.image_asset.file_size, '
                 
.'asset.image_asset.full_size.height_pixels, '
                 
.'asset.image_asset.full_size.url, '
                 
.'asset.image_asset.full_size.width_pixels, '
                 
.'asset.image_asset.mime_type, '
                 
.'asset.name, '
                 
.'asset.resource_name, '
                 
.'asset.text_asset.text, '
                 
.'asset.type, '
                 
.'asset.youtube_video_asset.youtube_video_id '
                 
.'FROM asset '
                 
.'WHERE '
                 
.'asset.type IN (IMAGE, YOUTUBE_VIDEO, MEDIA_BUNDLE) ';

For image we have url, for video youtube_video_id.

For MEDIA_BUNDLE in response we have only:

{
   "asset": {
     "resourceName": "customers/4584709612/assets/241677045",
     "id": "241677045",
     "name": "MonsterLegends_Google_(withoutAudio).zip",
     "type": "MEDIA_BUNDLE"
   }
}

There is no link to download the file. How we can do it ?

Google Ads API Forum Advisor Prod

unread,
Mar 30, 2020, 2:37:23 PM3/30/20
to sergey.z...@kenshoo.com, adwor...@googlegroups.com

Hi Sergey,

Thank you for reaching out. For MEDIA_BUNDLE assets, you don’t get any extra external id as you are not supposed to download them. You could only use the asset id generated to associate the asset with a certain campaign.  Please let me know if you have any further concerns.

Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UZV215:ref

Oksana Sulyma

unread,
Jun 20, 2022, 6:44:55 AM6/20/22
to Google Ads API and AdWords API Forum
Hello Google Ads API team!
Just wanted to check if the last response on this question (after more than 2 years now) is still valid? 
I have a simple query ' SELECT asset.id, asset.name, asset.resource_name, asset.type FROM asset WHERE asset.type = "MEDIA_BUNDLE" ' 
and I wonder if there is a field to get any more info for MEDIA_BUNDLE assets like zip download url or preview url. 
Thanks,
Oksana
Reply all
Reply to author
Forward
0 new messages