how to upload App Campaign HTML5 by Google Ads API

404 views
Skip to first unread message

李小康

unread,
May 26, 2022, 10:08:06 PM5/26/22
to Google Ads API and AdWords API Forum
Hi all,
I have a question about zip package upload.
Uploading a zip package using the MediaBundleAsset method will prompt "This type of media cannot be uploaded through the Google Ads API."
so  How do I upload a zip package of type app Campaign?
thanks

Google Ads API Forum Advisor

unread,
May 29, 2022, 10:05:52 PM5/29/22
to jujul...@gmail.com, adwor...@googlegroups.com
Hi,

Hope you are doing well. Thank you for reaching out to the Google Ads API team.

Moving forward to your concern, it appears that this is specifically about uploading a zip package. That said, you may see this code example  which uploads an HTML5 zip file as a media bundle.

If the error persists, then please provide the complete request and response logs with request ID and request header generated on your end.

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

This can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. If it hasn't been enabled yet, then advise to refer to the specific guide below:
Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bE5Tn:ref

李小康

unread,
May 30, 2022, 10:56:22 PM5/30/22
to Google Ads API and AdWords API Forum
Excuse me, have you seen the post I sent you privately yesterday?

Google Ads API Forum Advisor

unread,
May 31, 2022, 9:35:56 AM5/31/22
to jujul...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for getting back to us.

Upon checking the stack trace you’ve provided with us, I can see that you've encountered a CUSTOM_EXIT_NOT_ALLOWED error. This error indicates that the custom exits not allowed in the HTML5 entry. As mentioned in this guide, certain types of HTML5 bundles, such as ones with custom exits, cannot be uploaded through the API. ​​For more information, you may see the help center article on HTML5 ads on creating HTML5 bundles. 

Also, as per this product support guide, you may need to validate your HTML5 assets before uploading by running your .ZIP file through the Google Ads HTML5 Validator tool. If you’ve already validated your HTML5 assets and still encounter API error, you may provide us with the complete logs within the format of the request and response logs with request-id and login-customer-id that are generated on your end.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bE5Tn:ref

Google Ads API Forum Advisor

unread,
May 31, 2022, 9:38:24 AM5/31/22
to adwor...@googlegroups.com, jujul...@gmail.com

Hi,

Just to add to my previous response, that while sending complete logs from forum post, please use Reply privately to author option, in order to avoid exposing sensitive details.

Thanks

李小康

unread,
May 31, 2022, 10:34:00 PM5/31/22
to Google Ads API and AdWords API Forum
Hi,
I know that you need to verify whether the package is feasible in the html5 validator first, but after I checked "Select for App Campaigns", it can pass the verification, but the same package cannot be implemented in the upload api, because the upload api does not have the option of "Select for App Campaigns".
How can I upload a html5 package that matches the App Campaigns type.
Thanks.


Google Ads API Forum Advisor

unread,
Jun 1, 2022, 4:48:59 AM6/1/22
to jujul...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for the reply.

With regard to your concern "How can I upload a html5 package that matches the App Campaigns type.", as per the first note section of this document, I am afraid that this is not possible as custom exits cannot be uploaded through the API and the option "App Campaigns type." is not present in the API. If you try to upload this type of media bundle, then there will be an error in the API.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


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