Great! thanks for the sample, this helped a lot! :) On Saturday, May 13, 2017 at 3:27:29 AM UTC+9, Sreelakshmi Sasidharan (AdWords API Team) wrote: > > Hi, > > I will be following up on this thread. > > To create a product partition with just the root node, you will need to > create the instance of product partition node as 'unit' instead of > 'subdivision' and specify the bid. Please check the sample SOAP request for > reference: > <soapenv:Body> > <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201702"> > <operations> > <operator>ADD</operator> > <operand xmlns:ns2=" > https://adwords.google.com/api/adwords/cm/v201702" > xsi:type="ns2:BiddableAdGroupCriterion"> > <ns2:adGroupId>****</ns2:adGroupId> > <ns2:criterion xsi:type="ns2:ProductPartition"> > <ns2:id>-1</ns2:id> > <ns2:partitionType>UNIT</ns2:partitionType> > </ns2:criterion> > <ns2:biddingStrategyConfiguration> > <ns2:bids xsi:type="ns2:CpcBid"> > <ns2:bid> > <ns2:microAmount>900000</ns2:microAmount> > </ns2:bid> > <ns2:cpcBidSource>CRITERION</ns2:cpcBidSource> > </ns2:bids> > </ns2:biddingStrategyConfiguration> > </operand> > </operations> > </mutate> > </soapenv:Body> > > You can find the sample to create product partition here > <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/shoppingcampaigns/AddProductPartitionTree.java#L76-%23L85>. > > The highlighted portion is required with the change mentioned above. You > could remove the section after that which is adding child nodes. Samples in > other languages can also be found here > <https://developers.google.com/adwords/api/docs/clientlibraries>. Let me > know if you have face any issues. > > Thanks, > Sreelakshmi, 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/d00c1d9f-ee60-4cda-8c7d-c3ccb3c01c53%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.