Hi Steve, Just to clarify - by "script" I'm assuming you mean code that executes methods in the AdWords API <https://developers.google.com/adwords/api/docs/>, and not AdWords Scripts <https://developers.google.com/adwords/scripts/>. All management of product groups in the AdWords API is done via AdGroupCriterionService <https://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService>. The Shopping Guide <https://developers.google.com/adwords/api/docs/guides/shopping> contains a useful introduction to the concepts involved.
Once you have your product groups set up, you can modify a given product group's CPC bid by sending an AdGroupCriterionService.mutate <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService#mutate> call containing an AdGroupCriterionOperation <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.AdGroupCriterionOperation> where the *operator* is *SET* and the operand is a BiddableAdGroupCriterion <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion> with: - adGroupId <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion#adGroupId> set to the ad group's ID - criterion <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion#criterion> set to a ProductPartition <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.ProductPartition> with its id <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.ProductPartition#id> set to the product group's (ProductPartition's) ID you want to update - biddingStrategyConfiguration <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion#biddingStrategyConfiguration> set to a BiddingStrategyConfiguration <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddingStrategyConfiguration> object with the proper CPC bid configured To monitor the performance of each product group (ProductPartition), you can use the API's Product Partition Report <https://developers.google.com/adwords/api/docs/appendix/reports#product-partition> . Cheers, Josh, AdWords API Team On Wednesday, September 24, 2014 10:41:29 AM UTC-4, Steve Berg wrote: > > Hello, > > I would like in my 30 Shopping Campaigns > the offer and the management of the CPC from the Product Groups automate. > For example, the CPC should be low in a low CTR > be in good conversion correspondingly higher. > > How would a possible script look like? > > Best Regards > - Steve - > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e667b801-02df-409b-b2c5-881d1d9b8fe2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
