public class ProductPartition extends Criterion
Inner nodes of a product partition hierarchy are always subdivisions. Each child is linked to
the subdivision via the parentCriterionId and defines a caseValue. For all
children of the same subdivision, the caseValues must be mutually different but
instances of the same class.
To create a subdivision and child node in the same API request, they should refer to each other
using temporary criterion IDs in the parentCriterionId of the child, and ID field of the
subdivision. Temporary IDs are specified by using any negative integer. Temporary IDs only exist
within the scope of a single API request. The API will assign real criterion IDs, and replace
the temporary values, and the API response will reflect this.
This is disabled for AdX when it is contained within Operators: ADD, SET.
Java class for ProductPartition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProductPartition">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Criterion">
<sequence>
<element name="partitionType" type="{https://adwords.google.com/api/adwords/cm/v201809}ProductPartitionType" minOccurs="0"/>
<element name="parentCriterionId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="caseValue" type="{https://adwords.google.com/api/adwords/cm/v201809}ProductDimension" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ProductDimension |
caseValue |
protected Long |
parentCriterionId |
protected ProductPartitionType |
partitionType |
criterionType, id, type| Constructor and Description |
|---|
ProductPartition() |
| Modifier and Type | Method and Description |
|---|---|
ProductDimension |
getCaseValue()
Gets the value of the caseValue property.
|
Long |
getParentCriterionId()
Gets the value of the parentCriterionId property.
|
ProductPartitionType |
getPartitionType()
Gets the value of the partitionType property.
|
void |
setCaseValue(ProductDimension value)
Sets the value of the caseValue property.
|
void |
setParentCriterionId(Long value)
Sets the value of the parentCriterionId property.
|
void |
setPartitionType(ProductPartitionType value)
Sets the value of the partitionType property.
|
getCriterionType, getId, getType, setCriterionType, setId, setTypeprotected ProductPartitionType partitionType
protected Long parentCriterionId
protected ProductDimension caseValue
public ProductPartitionType getPartitionType()
ProductPartitionTypepublic void setPartitionType(ProductPartitionType value)
value - allowed object is
ProductPartitionTypepublic Long getParentCriterionId()
Longpublic void setParentCriterionId(Long value)
value - allowed object is
Longpublic ProductDimension getCaseValue()
ProductDimensionpublic void setCaseValue(ProductDimension value)
value - allowed object is
ProductDimensionCopyright © 2023. All rights reserved.