here is a sample Java code that works for us:

        CampaignCriterionOperation criterionOperation = new 
CampaignCriterionOperation();
        
        CampaignCriterion campaignCriterion = new CampaignCriterion();
        campaignCriterion.setCampaignId(campaignId);

        Platform mobile = new Platform();
        // hardcode to value of mobile
        mobile.setId(30001L);
        campaignCriterion.setCriterion(mobile);
        campaignCriterion.setBidModifier(campaignMobileBidAdjustment);
        
        criterionOperation.setOperand(campaignCriterion);
        // The operator has to be = SET for all bid adjustment operations, 
even when adding a new campaign.
        criterionOperation.setOperator(Operator.SET);


Oliver

On Monday, September 9, 2013 1:37:10 PM UTC+1, ido gafni wrote:
>
> I'm trying to set *mobile bid adjustment* for *mobile devices with full 
> browsers* to '-100%' when creating a new campaign. 
> According to your API documentation - I need to set attribute bidModifier 
> for CampaignCriterionService .
> In order to set this attribute , which criterion do I need to use when I 
> mutate  ?
> thanks in advance
> Ido
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to