Hi,
// Create mobile platform. The ID can be found in the documentation.
Platform mobile = new Platform();
mobile.setId(30001L);
// Create criterion with bid modifier.
CampaignCriterion criterion = new CampaignCriterion();
criterion.setCampaignId(campaignId);
criterion.setCriterion(mobile);
criterion.setBidModifier(1.2); // 120%, or 20% more.
// Create SET operation.
CampaignCriterionOperation operation = new CampaignCriterionOperation();
operation.setOperator(Operator.SET);
operation.setOperand(criterion);
// Update campaign criteria.
CampaignCriterionReturnValue result = campaignCriterionService.mutate(new CampaignCriterionOperation[] { operation });
The SOAP request & response look correct - I see the correctly-populated bidModifier element and so on. However, when I subsequently view the campaign's device settings in the AdWords UI (i.e. in the browser at
https://adwords.google.com/cm/CampaignMgmt?...) the "Mobile devices with full browsers" Bid adj. column is set to "--". This is the case whether I pass a bidModifier of 0.0 or 1.2 (for example).
Does anyone know why this might be? I can't think of any conflicting or overriding campaign settings that might come into play.
Thanks in advance,
Pete