Hello Jia, The error UNSUPPORTED_TYPE indicates that the specified type is not supported. Based on the discussion on this <https://groups.google.com/forum/#!searchin/adwords-api/Some$20questions$20about$20creating$20a$20UNIVERSAL_APP_CAMPAIGN$20ad$3F(With$20annex)%7Csort:date/adwords-api/yUfTFJ37D2c/ufEzFOrcCwAJ> thread, it looks like you're uploading the videos for UACs. The AdWords API currently doesn't support creating YoutubeVideoMedia so you need to manually set the campaign's YouTube Video assets through the AdWords UI. If you already have the Youtube media in your account, you will be able use the MediaService.get() <https://developers.google.com/adwords/api/docs/reference/v201806/MediaService#get> and retrieve the MediaId of the youtubeMedia and link it to the UAC campaign as shown here <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201806/advancedoperations/AddUniversalAppCampaign.java#L196>. Code samples in other languages can be found here <https://developers.google.com/adwords/api/docs/clientlibraries>.
Thanks, Bharani, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/3b7320c7-f143-419c-a0f0-2f4cf21557a6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
