Hi Peter, Thank you for this, it has been very helpful.I have followed the guide and have made some progress.
I have now hit the following issue: I send off my operations array containing 3 operations: [The root, a unit, and a negativeAdGroupCriterion unit]. This gives me the error of: AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ operations[2].operand.criterion If I run with just the root and the negative, it succeeds but I have nothing in my product group (obviously) Running without the negative fails with PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE. I hope you can point me in the right direction. Here is my operations array. Maybe that will shed some light on the situation. Again, help much appreciated! [0] => AdGroupCriterionOperation Object ( [operand] => BiddableAdGroupCriterion Object ( [userStatus] => [systemServingStatus] => [approvalStatus] => [disapprovalReasons] => [destinationUrl] => [experimentData] => [firstPageCpc] => [topOfPageCpc] => [firstPositionCpc] => [qualityInfo] => [biddingStrategyConfiguration] => [bidModifier] => [finalUrls] => [finalMobileUrls] => [finalAppUrls] => [trackingUrlTemplate] => [urlCustomParameters] => [adGroupId] => 36380370201 [criterionUse] => [criterion] => ProductPartition Object ( [partitionType] => SUBDIVISION [parentCriterionId] => [caseValue] => [id] => -1 [type] => [CriterionType] => [_parameterMap:Criterion:private] => Array ( [Criterion.Type] => CriterionType ) ) [labels] => [forwardCompatibilityMap] => [baseCampaignId] => [baseAdGroupId] => [AdGroupCriterionType] => [_parameterMap:AdGroupCriterion:private] => Array ( [AdGroupCriterion.Type] => AdGroupCriterionType ) ) [exemptionRequests] => [operator] => ADD [OperationType] => [_parameterMap:Operation:private] => Array ( [Operation.Type] => OperationType ) ) [1] => AdGroupCriterionOperation Object ( [operand] => BiddableAdGroupCriterion Object ( [userStatus] => [systemServingStatus] => [approvalStatus] => [disapprovalReasons] => [destinationUrl] => [experimentData] => [firstPageCpc] => [topOfPageCpc] => [firstPositionCpc] => [qualityInfo] => [biddingStrategyConfiguration] => BiddingStrategyConfiguration Object ( [biddingStrategyId] => [biddingStrategyName] => [biddingStrategyType] => [biddingStrategySource] => [biddingScheme] => [bids] => Array ( [0] => CpcBid Object ( [bid] => Money Object ( [microAmount] => 250000 [ComparableValueType] => [_parameterMap:ComparableValue:private] ( [ComparableValue.Type] => Compar ) ) [cpcBidSource] => [BidsType] => [_parameterMap:Bids:private] => Array ( [Bids.Type] => BidsType ) ) ) ) [bidModifier] => [finalUrls] => [finalMobileUrls] => [finalAppUrls] => [trackingUrlTemplate] => [urlCustomParameters] => [adGroupId] => 36380370201 [criterionUse] => [criterion] => ProductPartition Object ( [partitionType] => UNIT [parentCriterionId] => -1 [caseValue] => ProductOfferId Object ( [value] => [ProductDimensionType] => ProductOfferId [_parameterMap:ProductDimension:private] => Array ( [ProductDimension.Type] => ProductDimensionType ) ) [id] => [type] => [CriterionType] => [_parameterMap:Criterion:private] => Array ( [Criterion.Type] => CriterionType ) ) [labels] => [forwardCompatibilityMap] => [baseCampaignId] => [baseAdGroupId] => [AdGroupCriterionType] => [_parameterMap:AdGroupCriterion:private] => Array ( [AdGroupCriterion.Type] => AdGroupCriterionType ) ) [exemptionRequests] => [operator] => ADD [OperationType] => [_parameterMap:Operation:private] => Array ( [Operation.Type] => OperationType ) ) [2] => AdGroupCriterionOperation Object ( [operand] => NegativeAdGroupCriterion Object ( [adGroupId] => 36380370201 [criterionUse] => [criterion] => ProductPartition Object ( [partitionType] => UNIT [parentCriterionId] => -1 [caseValue] => ProductOfferId Object ( [value] => [ProductDimensionType] => ProductOfferId [_parameterMap:ProductDimension:private] => Array ( [ProductDimension.Type] => ProductDimensionType ) ) [id] => [type] => [CriterionType] => [_parameterMap:Criterion:private] => Array ( [Criterion.Type] => CriterionType ) ) [labels] => [forwardCompatibilityMap] => [baseCampaignId] => [baseAdGroupId] => [AdGroupCriterionType] => [_parameterMap:AdGroupCriterion:private] => Array ( [AdGroupCriterion.Type] => AdGroupCriterionType ) ) [exemptionRequests] => [operator] => ADD [OperationType] => [_parameterMap:Operation:private] => Array ( [Operation.Type] => OperationType ) ) On Thursday, August 25, 2016 at 11:32:34 AM UTC+1, Peter Oliquino wrote: > > Hi Phil, > > Yes, and you should assign temporary IDs as well and that it should > basically follow how you create a new partition as discussed in our guide > <https://developers.google.com/adwords/api/docs/guides/shopping#partitioning> > . > > Regards, > Peter > 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/e1a7450d-12c1-47c0-9e80-192234649a2e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.