Hi Inessa, My apologies as I'm not aware if there's a Google Web Designer API as our team specializes on AdWords API only. Yes, you may upload HTML5 ads in AdWords API that you have created on your own (as stated in situation 3 in this link <https://support.google.com/google-ads/answer/6249073>).
If you still have further clarifications, feel free to let me know so I can further investigate. Thanks, Dannison AdWords API Team On Tuesday, September 18, 2018 at 6:21:13 AM UTC+8, Inessa M wrote: > > Hi Dannison, > > Thanks for your reply! Does Google Web Designer have API? And if it does, > can I publish my zip via API? > Also can I upload HTML5 banners to Google Adwords that wasn't created > using Google Web Designer? > > Regards, > Inessa M. > > понедельник, 17 сентября 2018 г., 17:23:38 UTC+10 пользователь Dannison > Yao (AdWords API Team) написал: >> >> Hi Inessa, >> >> It seems that your zip file from Google Web Designer was not published. >> Kindly try again after making sure that your zip file was published in >> Google Web Designer (you may follow this guide >> <https://support.google.com/webdesigner/answer/3250387?hl=en> to publish >> your zip). >> >> Kindly let me know if you still have further clarifications on this. >> >> Thanks, >> Dannison >> AdWords API Team >> >> On Monday, September 17, 2018 at 2:21:13 PM UTC+8, Inessa M wrote: >>> >>> Hi all, >>> >>> I try to upload HTML5 zip via Adwords API (v201802) MediaService >>> according this example >>> https://developers.google.com/adwords/api/docs/samples/php/miscellaneous?hl=ru#upload-an-html5-zip-file-as-a-mediabundle >>> >>> but receive an exception GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED. Here >>> is my code: >>> >>> $mediaBundle = new \MediaBundle(); var_dump($zipUrl); // $zipUrl - is >>> URL in my local network where my zip file is located >>> $mediaBundle->setData(file_get_contents($zipUrl)) >>> ->setType(\MediaMediaType::MEDIA_BUNDLE); >>> $service = $this->getService("MediaService"); >>> $remoteMediaBundle = $service->upload([$mediaBundle])[0]; >>> >>> What am I doing wrong? Thanks in advance. >>> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ac681ee3-f9ef-4830-9401-b6402e1c589c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.