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"?