Hi Teenco, Yes, you may add youtube video assets that way into your mobile app campaign via UI. If you have further concerns, you may post it on the AdWords Community Forum in this link <https://www.en.advertisercommunity.com/t5/Google-Ads/ct-p/google-ads> since this is not an AdWords API specific concern.
Thanks, Luis AdWords API Team On Tuesday, November 6, 2018 at 8:32:12 PM UTC+8, teenco ssam wrote: > > Thanks Luis. > > "You need to manually set the campaign's YouTube video assets via the > AdWords UI" > Does this sentence mean that should I use the function shown in the red > circle in the attached file? > Is it right? > > > On Monday, November 5, 2018 at 3:30:57 PM UTC+9, Luis Xander Talag > (AdWords API Team) wrote: >> >> Hi Teenco, >> >> It is currently not possible to create YoutubeVideoMedia via AdWords API. >> You may refer to one of the notes in this link >> <https://developers.google.com/adwords/api/docs/guides/mobile-app-campaigns#constructing_a_campaign>, >> >> it states that "Note: The AdWords API doesn't support creating >> YoutubeVideoMedia so you need to manually set the campaign's YouTube Video >> assets through the AdWords UI.". Once you already have a video uploaded via >> the UI, you can get the media id associated with the video using the >> MediaService.get() >> <https://developers.google.com/adwords/api/docs/reference/v201809/MediaService#get> >> and >> you need to check for the media type >> <https://developers.google.com/adwords/api/docs/reference/v201806/MediaService.Media#type> >> VIDEO. >> >> Let me know if you have further concerns. >> >> Thanks, >> Luis >> AdWords API Team >> >> On Monday, November 5, 2018 at 9:48:30 AM UTC+8, teenco ssam wrote: >>> >>> I want to create mobile app campaign contains youtube video using google >>> ads API >>> The video is shown below. >>> https://www.youtube.com/watch?v=0MbNocgMm5c >>> >>> In the API specification, video ID is must be long data type, how to get >>> that? >>> >>> https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService.UniversalAppCampaignSetting#youtubevideomediaids >>> >>> thanks. >>> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d25a6244-7398-4169-adad-6623630bc16e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
