Hi Julian,

Thanks for posting your concern.

In order to change ad rotation setting of ad group by using the API, you need 
to clear the adGroupAdRotationMode setting altogether. This means sending an 
AdGroup SET operation that looks like this in SOAP:

<operator>SET</operator>
<operand>
<id>12345</id>
<campaignId>567890</campaignId>
<campaignName>Sample campaign name</campaignName>
<name>Sample ad group name</name>
<status>ENABLED</status>
<adGroupAdRotationMode>null<adGroupAdRotationMode/>
</operand>

Also, depending on the client library, you can effectively do this by setting 
adRotationMode field to null. For example, in Java this looks like this:
rotationMode.setAdRotationMode(null);

Let me know if you have further questions.

Regards,
Ejay
Google Ads API Team
ref:_00D1U1174p._5001UHFZBG: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/qrl_Y000000000000000000000000000000000000000000000PXCR3S00ZWBtjJRMTYKyqVnY45D6TA%40sfdc.net.

Reply via email to