Hi Peter,

It is still possible that this will fail, due to 
this: 
https://greensock.com/forums/topic/17508-google-will-no-longer-support-html5-ads-with-clickability/.
 
The file pointed to by our guide uses ExitApi.js.

Cheers
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, February 14, 2018 at 8:33:54 AM UTC-5, Peter Okunev wrote:
>
> Solved:
>
> a) hint from Michael to check the creative here 
> https://h5validator.appspot.com/adwords/asset
> b) the error I had is due to response = urllib.request.urlopen(url)
> url with redirects like https://goo.gl/9Y7qI2 does not catch the final 
> file
>
> On Monday, 8 January 2018 16:33:11 UTC+1, Michael Vinogradov wrote:
>>
>>
>> Hi
>>
>> Need help ! 
>> I trying upload html5 using API and get error 
>> MediaBundleError.INVALID_MEDIA_BUNDLE 
>> @ media[0].data.
>>
>> My code based on this example 
>> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201708/Misc/UploadMediaBundle.php
>>
>>
>> Code:
>>
>>
>> $mediaService = $this->googleApiClient->get($this->session, 
>> MediaService::class);
>>
>> // Create HTML5 media and add it to the list.
>> $html5Zip = new MediaBundle();
>> $html5Zip->setData(file_get_contents('https://goo.gl/9Y7qI2'));
>> $html5Zip->setType(MediaMediaType::MEDIA_BUNDLE);
>> $mediaBundles = [$html5Zip];
>> // Upload the media bundle to the server.
>> $result = $mediaService->upload($mediaBundles);
>>
>>
>> SOAP file in attachment.
>>
>>
>> Thank you
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/275f826e-8fb2-404d-9f71-b52bba69e000%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Cannot u... Michael Vinogradov
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... Peter Okunev
    • Re:... Peter Okunev
      • ... 'Anash P. Oommen (AdWords API Team)' via AdWords API Forum

Reply via email to