Hello!
Why I can't change youtubeVideoMediaIds list in my UAC (but this UAC is
Video ads only), but for other campaigns in my account I can do this
operation
This is my code:
self.settings = {
'xsi_type': 'UniversalAppCampaignSetting',
'youtubeVideoMediaIdsOps': self.video_ids,
}
def _update_media_data(self):
operations = [{
'operator': 'SET',
'operand': {
'id': self.campaign.id,
'settings': self.settings
}
}]
print(operations)
return
self.campaign_service.mutate(operations)['value'][0]['settings'][1]['youtubeVideoMediaIds']
this code works for other campaigns and I can change youtube media ids but
in this UAC can't
this is error:
*googleads.errors.GoogleAdsServerFault:
[SettingError.YOUTUBE_MEDIA_IDS_REQUIRED_IN_VIDEO_ONLY_UAC @
operations[0].operand.settings[0].youtubeVideoMediaIds; trigger:'[]']*
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d69ba090-74d8-49bb-8daf-b523a19c789b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.