Hi Ales,
Thank you for reaching out to the Google Ads API Team.
Upon checking, this seems to be expected behavior. Setting the Ad Rotation mode
at the Campaign level is indeed deprecated functionality. I'll try raising this
with our team so we can make it clearer in our documentation. Please follow our
blog for future updates.
Regarding the ValidateOnly=true mode, it seems that this field only tests
mutate requests for missing parameters and incorrect field values. With this,
it seems that the request is able to pass as the OPTIMIZE value is a valid
value for AdServingOptimizationStatus.
Also, I will need to delete your initial post as it contains your actual logs.
Below is a copy of your post with scrubbed information.
"Hello,
We would like to change the AD_ROTATION_MODE on campaigns through the API, but
getting the following error:
{ "errorCode": { "campaignError": "CANNOT_SET_AD_ROTATION_MODE" }, "message":
"Setting ad rotation mode for a campaign is not allowed. Ad rotation mode at
campaign is deprecated.", }
I'm not sure why it is deprecated since I can make the change in the Google Ads
UI on the same campaigns. Is there anywhere any article about this?
Also I noticed that when we do the same API change in ValidateOnly=true mode
then that call actually doesn't fail. That also shouldn't happen, right?
Attached you can find logs for both queries.
Best,
Ales"
Regards,
Kevin Gil Soriano
Google Ads API Team
ref:_00D1U1174p._5004Q2QFOto: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/G3H1O000000000000000000000000000000000000000000000R1MK5P00rdo9iCEUQUaRb2j7BaCpZw%40sfdc.net.