Hi there,

I work with Peter and will assist you. I reproduced this behavior of 
.setAdRotationMode(AdGroupAdRotationModeEnum.AdGroupAdRotationMode.UNSPECIFIED) 
not being sent to server in the log and raised it with my team. We will get 
back to you as soon as possible.

In the meantime, here's a REST equivalent that flips rotation control back to  
campaign:

curl -i --request POST 
https://googleads.googleapis.com/v9/customers/{CID}/adGroups:mutate \
--header "Content-Type: application/json" \
--header "login-customer-id: {LCID}" \
--header "developer-token: {DT}" \
--header "Authorization: Bearer {AT}" \
--data "{
  
 'operations': [
    {
        'updateMask': 
            
             'adRotationMode',
        'update': {
'resourceName': 'customers/{CID}/adGroups/{AG}',
  'adRotationMode': 'OPTIMIZE'
}
      },
 ],
'responseContentType': 'MUTABLE_RESOURCE'


}
"


Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

Regards,
​​​​​​​

Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2RwID4: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a0-hE000000000000000000000000000000000000000000000R3EGPH008AZ2vV09TvKESoSliks4nA%40sfdc.net.
  • RE... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to