I'm trying to create new ad groups containing headlines, descriptions and youtube videos.
I'm following the tutorial at https://developers.google.com/google-ads/api/docs/samples/add-app-campaign Is there a way to add youtube videos to an app ad? I've tried the following ad_group_ad = client.resource.ad_group_ad do |aga| aga.status = :ENABLED aga.ad_group = ad_group_resource_name aga.ad = client.resource.ad do |ad| ad.app_ad = client.resource.app_ad_info do |info| info.youtube_videos << client.resource.youtube_video_asset do |youtube_video_asset| youtube_video_asset.youtube_video_id = "video_id" end end end end but I'm getting the error *** Google::Protobuf::TypeError Exception: Invalid type Google::Ads::GoogleAds::V12::Common::YoutubeVideoAsset to assign to submessage field ''. Is there a way to add videos? If so, what type does the Google::Ads::GoogleAds::V12::Common::AppAdInfo.youtube_videos protobuffer accept? thanks for your help -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1db13885-b7ef-461d-81a4-0d6ff321029an%40googlegroups.com.