Hi,

we're migrating our Java AdWords campaign management module to v201302. Our 
code is required to disable bids for mobile devices. Hence I use code very 
similar to the Mobile Bid Adjustment code excerpt on 
https://developers.google.com/adwords/api/docs/guides/enhanced-campaigns :

// Create mobile platform. The ID can be found in the documentation.
// https://developers.google.com/adwords/api/docs/appendix/platforms
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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to