Hi
I have been trying to link an youtube asset to my ad group (my campaigns are App Campaigns) via API, however I receive the following error: "Assignment not allowed to field "youtube_video_id" in protocol message object." The youtube video is already uploaded and the video_id was assigned to the the field youtube_vide_id as specified in the documentation. Sample code below: asset_operation = client.get_type('AssetOperation', version='v2') asset = asset_operation.create asset.id.value = 123435 asset.type = client.get_type('AssetTypeEnum', version='v2').YOUTUBE_VIDEO asset.youtube_video_asset.youtube_video_id = 't4snd0nOBNo' Does anyone know what's wrong? Is there any example related that I could take a look? Many thanks in advance! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ebb85e00-1486-4521-b5de-39c508b572e2%40googlegroups.com.