Setting ad rotation mode for a campaign is not allowed. Ad rotation mode at campaign is deprecated.

49 views
Skip to first unread message

tyronne

unread,
Aug 19, 2019, 1:04:37 AM8/19/19
to AdWords API and Google Ads API Forum

Hi Guys, 

Newbie here in integrating adwords API. 

I'm trying to create a Campaign with Ad rotation set to "Do not optimise. Rotate ads indefinitely". Code excerpt below (.Net) based on the docs AdServingOptimizationStatus (v201809)


                var campaign = new Google.Api.Ads.AdWords.v201809.Campaign
                {
                    name = name,
                    advertisingChannelType = channelType,
                    
                    biddingStrategyConfiguration = new BiddingStrategyConfiguration
                    {
                        biddingStrategyType = BiddingStrategyType.MANUAL_CPC,
                        biddingScheme = new ManualCpcBiddingScheme
                        {
                            enhancedCpcEnabled = false
                        },
                        biddingStrategySource = BiddingStrategySource.CAMPAIGN
                    },

                    // Ad Rotation
                    adServingOptimizationStatus = AdServingOptimizationStatus.ROTATE_INDEFINITELY,
                    adServingOptimizationStatusSpecified = true,
                    ...
                }

.. but I'm getting this error message: 

Setting ad rotation mode for a campaign is not allowed. Ad rotation mode at campaign is deprecated.. (Error: CampaignError.CANNOT_SET_AD_ROTATION_MODE, FieldPath: operations[0].operand.adServingOptimizationStatus, Trigger: )

Can you guide me guys on how to properly set the Ad rotation set to "Do not optimise. Rotate ads indefinitely"?

Google Ads API Forum Advisor Prod

unread,
Aug 19, 2019, 4:36:25 AM8/19/19
to adwor...@googlegroups.com
Hi Tyronne,

Thank you for reaching out.

To help me investigate this further, could you provide the complete SOAP request and response logs when you encountered the error? You may refer to this guide if you have not enabled logging. You may use the reply privately to author option when providing the SOAP logs.

Regards,
Dannison
Google Ads API Team

ref:_00D1U1174p._5001UEJSqd:ref
Reply all
Reply to author
Forward
0 new messages