Good day, Bharani!
Thank you for your response! It was very helpful but unfortunately i have
not achieved my goal (manage universal app ad videos). Here is key point of
my researches:
- Google changes it's API and UniversalAppCampaignSetting won't be used to
contain ad specific information
- To reach particular Ad i should use AdGroupAdService or AdService
- I have not succeed in managing videos of YouTubeVideoAsset
of UniversalAppAd. Please have a look at my code snippet:
adwords = Adwords.get_api_client(customer_id)
srv = adwords.service(:AdService, :v201809)
srv.mutate([
{
operator: 'SET',
operand: {
id: ad_id,
xsi_type: 'UniversalAppAd',
videos: [
{
asset: {
xsi_type: 'YouTubeVideoAsset',
assetName: 'TEST',
assetSubtype: 'YOUTUBE_VIDEO',
youTubeVideoId: 'kEVdywAtk50'
}
}
]
}
}
])
which 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:
[:assetName, :assetSubtype, :youTubeVideoId]
(AdsCommon::Errors::UnexpectedParametersError)
My next step is to investigate AppAdInfo.
Any help is highly appreciated. Thank you in advance!
On Monday, June 24, 2019 at 11:40:29 PM UTC+3, adsapiforumadvisor wrote:
>
> Hi Sama,
>
> Could you please check if you are making these changes to the test
> accounts? If so, you will need to use the UniversalAppCampaignInfo
> <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.UniversalAppCampaignInfo>
> in
> the CampaignService. You will no longer use a UniversalAppCampaignSetting
> <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.UniversalAppCampaignSetting>,
>
> which includes both information about the app and references to media and
> descriptions that would be used for ads in that campaign. Please refer to
> this
> blog post
> <https://ads-developers.googleblog.com/search/label/google_ads_api> for
> more information. If you are updating the campaign in a production account,
> could you please share the request and response logs which includes the
> complete error logs to check this further? You may share the details
> privately via Reply privately to author option.
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UCZBhj:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/8bf0685c-9e09-4303-8cf1-1eedf7c5d2ab%40googlegroups.com.