Hello!
I' ve got a problem, when i'm trying to create a new node in ProductOfferId
tree, using AdGroupCriterionService class.
Before creating the node, I check, if this node exists - "get" method tells
me that there's no such node yet. Then I do request to create node (I'm
using php library for my requests, so operands in my request 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] =>
)
)
And I got no answer, just this exception:
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 then, I checked critetions in this campaing, and found out that this
node had been created.
Can you help me to understand, what is wrong?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/906dc92c-902c-453f-a894-5382220cb9cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.