Hello, The above code works with JPEG image but failing with GIF image. I already post the same question at client library, they replied with Unfortunately that appears to be an issue with the API and not the client library, would you please submit your question on the support forum <https://groups.google.com/forum/#!forum/adwords-api>*?. *Please help me with this.
Thanks. On Tuesday, May 14, 2019 at 3:37:30 AM UTC+5:30, googleadsapi-forumadvisor wrote: > > Hello Venkat, > > Looks like the Image field is not set to the MediaFile. Could you please > follow the code pattern shown here > <https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/misc/UploadImage.java#L93-L118> > > in Java to upload images and the code samples in other languages can be > found here <https://developers.google.com/google-ads/api/docs/client-libs>. > Please let me know if you have any further questions. > > Regards, > Sai Teja, Google Ads API Team > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion group: > https://ads-developers.googleblog.com/search/label/google_ads_api > https://developers.google.com/adwords/api/community/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Was your question answered? Please rate your experience with us by taking > a short survey. > If not -- reply to this email and tell us what else we can do to help. > > Take Survey > <https://support.google.com/google-ads/contact/survey_transactional?caseid=8-3487000026205&hl=en&ctx=1> > > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/1ea73c2e-5392-4b80-9dd5-e2550597b1f8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.