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?