Closed qw4n7y closed 9 months ago
I have a problem with updating youtube video medias for universal app campaign settings.
Following code:
srv = adwords.service(:CampaignService, :v201809) srv.mutate([ { operator: 'SET', operand: { id: campaign_id, settings: [ { xsi_type: 'UniversalAppCampaignSetting', # This works! :) description1: 'lalala', # But this doesn't :( # youtubeVideoMediaIds: [7808878997], # youtubeVideoMediaIdsOps: ['REMOVE'] } ] } } ])
produces error:
/usr/local/bundle/gems/google-ads-common-1.0.2/lib/ads_common/parameters_validator.rb:156:in `check_extra_fields': AdsCommon::Errors::UnexpectedParametersError: [:youtubeVideoMediaIds, :youtubeVideoMediaIdsOps] (AdsCommon::Errors::UnexpectedParametersError)
I had related discussion on forum: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/adwords-api/3HvkWZ9xVcE/Z6vJGJqKBwAJ which gives me understanding that i am doing right. Is that because of ruby library does not support those parameters?
The AdWords API has been turned down and was replaced by the Google Ads API. Closing as stale.
I have a problem with updating youtube video medias for universal app campaign settings.
Following code:
produces error:
I had related discussion on forum: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/adwords-api/3HvkWZ9xVcE/Z6vJGJqKBwAJ which gives me understanding that i am doing right. Is that because of ruby library does not support those parameters?