hi Shwetha

I refer to this Article
https://groups.google.com/forum/#!topic/adwords-api/7jijq8oV3i4
So I can set playform bids, but I want to choose a specific playform
In addition, I downloaded the platforms CSV, can not find the computer is 
the field
For example, the picture I want to only select the computer, how to do this 
thing

My Code like:

$ platform = new Platform ();
$ bidModifier = '0.0';
$ platform-> setId ($ id); // HighEndMobile = 30001
$ criterion = new CampaignCriterion ($ this-> getId (), null, $ platform, $ 
bidModifier);
$ operation = new CampaignCriterionOperation ();
$ operation-> setOperand ($ criteria);
$ operation-> setOperator (Operator :: REMOVE);




Shwetha Vastrad (AdWords API Team)於 2017年11月7日星期二 UTC+8上午2時46分30秒寫道:
>
> Hi,
>
> To add device targets, you need to use CampaignCriterionService to add a 
> Platform 
> <https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService.Platform>
>  criteria 
> using the fixed set of criteria IDs that are listed in the documentation 
> <https://developers.google.com/adwords/api/docs/appendix/platforms>. The 
> CriterionId 30000 corresponds to Desktop(Computers). The SetBidModifier 
> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/campaignmanagement/SetBidModifier.java>
>  Java 
> example shows how to create mobile platform and set a bid modifier for the 
> mobile platform on given campaign. Similarly, you can target Desktop 
> Platform as well. Example code in other languages are provided here 
> <https://developers.google.com/adwords/api/docs/clientlibraries>. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9f2303be-7ab4-461d-a64d-86933a9ae8fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • how to setup ta... 林哲宇
    • Re: how to... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: ho... 林哲宇
        • Re... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
          • ... 林哲宇
            • ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to