Connection between ad assets and media files

39 views
Skip to first unread message

Adam Bocco

unread,
Apr 9, 2024, 9:16:53 PM4/9/24
to Google Ads API and AdWords API Forum
I am running HTML5_UPLOAD_ADs and want to create a preview of the ad. I am able to retrieve the ad's data and the media bundle containing the ad assets. The data on ad_group_ad.ad.display_upload_ad.media_bundle gives an asset resource like 'customers/<customerId>/assets/<assetId>.

It doesn't seem like the assets resource has a field that provides a URL to retrieve these assets. Instead I have to pull all the media files for the customer through the media_files resource. The problem with this is that I lose the connection to the ad the media files are for because there is no asset connection to media files.

Is there a way to link these two?

Google Ads API Forum Advisor

unread,
Apr 16, 2024, 5:28:34 PM4/16/24
to adam....@gmail.com, adwor...@googlegroups.com
Hi, 

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

Can you share the screenshot of the scenario that you are referring to along with the uncropped UI screenshot of the Google Ads account which would be helpful for us to assist you better.  Also, share the complete API logs (request and response logs with request-id and request header) generated at your end.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tOzQ5:ref" (ADR-00230580)

Thanks,
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages