Hi, Regarding your two questions:
*1) how can we choose the option "bid only"* You can do this via AdGroupService by adding a TargetSettingDetail<https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupService.TargetingSettingDetail>to your AdGroup's Settings<https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupService.AdGroup#settings>collection. This would be a mutate call with a SET operation. - Set *criterionTypeGroup* to *PLACEMENT* - Set *targetAll* to true for "Bid only" or false for "Target and bid" *2) add a long list of placements for each adgroup.* You can use AdGroupCriterionService<https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService>to add each placement as an AdGroupCriterion<https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.AdGroupCriterion> with a criterion<https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.AdGroupCriterion#criterion>of type Placement<https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.Placement.html>. This would be a mutate call with multiple ADD operations (one per AdGroupCriterion). Cheers, Josh, AdWords API Team On Monday, January 20, 2014 9:10:42 AM UTC-5, Kim Pham wrote: > > Hello everyone, > > We would like to use diffrent targettings for a display network campaign. > For exemple, to use keyword display and to add the placements for an > adgroup => our ads will be display on the placements automatic thanks to a > list of keywords, and ALSO on the placements added for each adgroups. > > I am looking for how to set up automatically the option "bid only" in API > for a display network campaign. > The questions are : > 1) how can we choose the option "bid only" > 2) add a long list of placements for each adgroup. > > Thank you for your help > > Kim > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.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.
