Hello!
I ve got a problem, when i'm trying to create a node using 
method AdGroupCriterionService. When I try to create 
element ProductPartition, ehat never existed (i checked by method get), the 
exception occures. But somehow the node had been created after that.
I use php, so this are my operand:
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==6476
                                )

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

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

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

)


and the answer:
AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
operations[0].operand.criterion, 
AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
operations[1].operand.criterion.parentCriterionId; 
trigger:'TempCriterionId{id=6476}'

Please, try to 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 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/004d7d78-7ca7-4414-aa20-9de98eb2252e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to