I'm trying to enable a paused AdGroup in a Campaign which is set up for automatic bidding.
However, when I try to mutate I'm told I'm not allow to override the BiddingStrategy. I don't understand how enabling the AdGroup should trigger a BiddingStrategy exception ?
....
AdGroup adGroup = (AdGroup)adGroupEntries[j];
if ("PAUSED".equals(adGroup.getStatus().toString())){
adGroup.setStatus(AdGroupStatus.ENABLED);
AdGroupOperation enableOperation = new AdGroupOperation();
enableOperation.setOperand(adGroup);
enableOperation.setOperator(Operator.SET);
AdGroupOperation[] enableOperations = new AdGroupOperation[]{enableOperation};
AdGroupReturnValue enableResult = adGroupService.mutate(enableOperations);
}
....
AxisFault
faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode:
faultString: [BiddingErrors.BIDDING_STRATEGY_OVERRIDE_NOT_ALLOWED @ operations[0].operand.biddingStrategyConfiguration]
faultActor:
faultNode:
faultDetail:
{
https://adwords.google.com/api/adwords/cm/v201302}ApiExceptionFault:<message>[BiddingErrors.BIDDING_STRATEGY_OVERRIDE_NOT_ALLOWED @ operations[0].operand.biddingStrategyConfiguration]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="BiddingErrors"><fieldPath>operations[0].operand.biddingStrategyConfiguration</fieldPath><trigger/><errorString>BiddingErrors.BIDDING_STRATEGY_OVERRIDE_NOT_ALLOWED</errorString><ApiError.Type>BiddingErrors</ApiError.Type><reason>BIDDING_STRATEGY_OVERRIDE_NOT_ALLOWED</reason></errors>
[BiddingErrors.BIDDING_STRATEGY_OVERRIDE_NOT_ALLOWED @ operations[0].operand.biddingStrategyConfiguration]