Hello,
I' ve got problem, when i'm trying to create a node in 
method AdGroupCriterionService. The problem is next: when i use this method 
to create ProductPartition element, (that never existed, I checked it by 
method get), I don't get answer, i get exception like this:
AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
operations[0].operand.criterion, 
AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
operations[1].operand.criterion.parentCriterionId; 
trigger:'TempCriterionId{id=6476}'. But after that I checked if this 
element was created, and it had been.
I'm using php library, so my operands are:
Array
(
    [0] => Google\AdsApi\AdWords\v201705\cm\AdGroupCriterionOperation Object
        (
            [operand:protected] => 
Google\AdsApi\AdWords\v201705\cm\BiddableAdGroupCriterion Object
                (
                    [userStatus:protected] => 
                    [systemServingStatus:protected] => 
                    [approvalStatus:protected] => 
                    [disapprovalReasons:protected] => 
                    [destinationUrl:protected] => 
                    [firstPageCpc:protected] => 
                    [topOfPageCpc:protected] => 
                    [firstPositionCpc:protected] => 
                    [qualityInfo:protected] => 
                    [biddingStrategyConfiguration:protected] => 
Google\AdsApi\AdWords\v201705\cm\BiddingStrategyConfiguration Object
                        (
                            [biddingStrategyId:protected] => 
                            [biddingStrategyName:protected] => 
                            [biddingStrategyType:protected] => NONE
                            [biddingStrategySource:protected] => 
                            [biddingScheme:protected] => 
                            [bids:protected] => Array
                                (
                                )

                            [targetRoasOverride:protected] => 
                        )

                    [bidModifier:protected] => 
                    [finalUrls:protected] => 
                    [finalMobileUrls:protected] => 
                    [finalAppUrls:protected] => 
                    [trackingUrlTemplate:protected] => 
                    [urlCustomParameters:protected] => 
                    [adGroupId:protected] => 49364316891
                    [criterionUse:protected] => 
                    [criterion:protected] => 
Google\AdsApi\AdWords\v201705\cm\ProductPartition Object
                        (
                            [partitionType:protected] => SUBDIVISION
                            [parentCriterionId:protected] => 
                            [caseValue:protected] => 
                            [id:protected] => -6476
                            [type:protected] => 
                            [CriterionType:protected] => 
                        )

                    [labels:protected] => 
                    [forwardCompatibilityMap:protected] => 
                    [baseCampaignId:protected] => 
                    [baseAdGroupId:protected] => 
                    [AdGroupCriterionType:protected] => 
                )

            [exemptionRequests:protected] => 
            [operator:protected] => ADD
            [OperationType:protected] => 
        )

    [1] => Google\AdsApi\AdWords\v201705\cm\AdGroupCriterionOperation Object
        (
            [operand:protected] => 
Google\AdsApi\AdWords\v201705\cm\NegativeAdGroupCriterion Object
                (
                    [adGroupId:protected] => 49364316891
                    [criterionUse:protected] => 
                    [criterion:protected] => 
Google\AdsApi\AdWords\v201705\cm\ProductPartition Object
                        (
                            [partitionType:protected] => UNIT
                            [parentCriterionId:protected] => -6476
                            [caseValue:protected] => 
Google\AdsApi\AdWords\v201705\cm\ProductOfferId Object
                                (
                                    [value:protected] => 
                                    [ProductDimensionType:protected] => *
                                )

                            [id:protected] => 
                            [type:protected] => 
                            [CriterionType:protected] => 
                        )

                    [labels:protected] => 
                    [forwardCompatibilityMap:protected] => 
                    [baseCampaignId:protected] => 
                    [baseAdGroupId:protected] => 
                    [AdGroupCriterionType:protected] => 
                )

            [exemptionRequests:protected] => 
            [operator:protected] => ADD
            [OperationType:protected] => 
        )

)

Can you help me?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/27c3945d-c51b-47d1-8b31-a79fe3a88f3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • AdGroupCriterio... Илья Бовбель

Reply via email to