Hi Youssef, The reason you are getting this error is because the upload <https://developers.google.com/adwords/api/docs/reference/v201509/MediaService#upload> method of the MediaService only supports *Image *and* MediaBundle *types. As a workaround, I suggest uploading your video through the AdWords UI, then use the API to obtain the media Id so that you can use it for the template ad.
Cheers, Anthony AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/fc9b6d5e-1eb1-4e5e-93db-930c18201432%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
