Hello Sai,
I believe this to be the OTHER case:
AdGroupCriterionOperation{operand=NegativeAdGroupCriterion{adGroupId=-2,
criterion=ProductPartition{caseValue=ProductOfferId{}, id=-17253,
parentCriterionId=-1, partitionType=UNIT}}, operator=ADD},
We don't want to bid on the other items in this group, so we are adding it
as an excluded unit.
This same code has worked when the number of product groups is less than
17,000. I have not worked out the point at which it starts failing. Perhaps
I'm missing something. I've read that page numerous times, and still don't
see where the problem lies...
I use the ProductPartitionTree code as found in googleads-java-lib - i also
tried adding the excluded unit as a sub division, and ended up with the
same error.
val rootNode =
productPartitionTree.root.removeAllChildren().asSubdivision()
for (product in products) {
rootNode.addChild(createProductItemAttribute(product)).asBiddableUnit().bid
= bidAmount
}
rootNode.addChild(createProductItemAttribute(null)).asExcludedUnit()
...
private fun createProductItemAttribute(offer: String?):
ProductDimension {
return ProductDimensions.createOfferId(offer)
}
Thanks,
Richard
On Tuesday, 5 March 2019 23:08:11 UTC, googleadsapi-forumadvisor wrote:
>
> Hello Richard,
>
> While creating the product partitions, remember that each subdivision must
> contain an "empty" case value of the correct type, representing "all other
> values". Basically, you have to create another empty subdivision that
> represents all other categories to complete the product partition table,
> the partition table should be always completed. When you miss the others
> subdivision then it is likely to see the PRODUCT_PARTITION_SUBDIVISION_
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.AdGroupCriterionError.Reason>
> REQUIRES_OTHERS_CASE
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.AdGroupCriterionError.Reason>
> error.
> You could refer this guide
> <https://developers.google.com/adwords/api/docs/guides/shopping#partitioning>
> for
> more information. Please let me know if you have any further questions.
>
> Regards,
> Sai teja, AdWords API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey
> <https://support.google.com/google-ads/contact/survey_transactional?caseid=7-9112000025727&hl=en&ctx=1>
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/610ceeab-d0b3-44de-84f5-6127b0b036a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.