Get MediaBundle details of the html5 upload ad

45 views
Skip to first unread message

Adam Muszalik

unread,
Dec 28, 2021, 6:56:12 AM12/28/21
to AdWords API and Google Ads API Forum
Hey,

I have successfully created a new ad of type HTML5_UPLOAD_AD

When querying the ad details I get a displayUploadAd object with the mediaBundle resourceName:

{{ "adGroupAd": { "resourceName": "customers/XXX/adGroupAds/YYY~ZZZ", "status": "ENABLED",
"ad": { "type": "HTML5_UPLOAD_AD", "displayUploadAd": { "displayUploadProductType": "HTML5_UPLOAD_AD", "mediaBundle": { "asset": "customers/XXX/assets/YYY" } }

I would like to get the zip file that I have previously uploaded:
I do not see how it could be done, in the asset resource there seem to be no possibility to query the media_bundle_asset property (I queried the asset resource and I get some general details regarding the media bundle but there is no detail about the uploaded file)

I made my tests with the latest v9 version.

Can you pls help me?
Thanks and br,
Adam

Google Ads API Forum Advisor

unread,
Dec 28, 2021, 11:04:48 AM12/28/21
to amus...@gmail.com, adwor...@googlegroups.com

Hello Adam,

Thanks for reaching out to the Google Ads API support. To investigate the issue further, could you please provide us with the complete request and response logs with request-id via the Reply privately to the author option while sharing the details.
In the meantime, please refer to the below links for additional details on uploading HTML5_UPLOAD_AD.


Regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey

Google Logo
Jakeia Sabrina
Google Ads API Team
 

ref:_00D1U1174p._5004Q2TlQha:ref
Reply all
Reply to author
Forward
0 new messages