PHP Class ProductPartition, googleads-php-lib
Inner nodes of a product partition hierarchy are always subdivisions. Each child is linked to
the subdivision via the {@code parentCriterionId} and defines a {@code caseValue}. For all
children of the same subdivision, the {@code caseValue}s 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 {@code 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.
显示文件
Open project: googleads/googleads-php-lib
Public Properties
Public Methods
Method |
Description |
|
__construct ( $partitionType = null, $parentCriterionId = null, $caseValue = null, $id = null, $type = null, $CriterionType = null ) |
|
|
getNamespace ( ) : string |
Gets the namesapce of this class |
|
getXsiTypeName ( ) : string |
Gets the xsi:type name of this class |
|
Method Details
__construct()
public method
public __construct ( $partitionType = null, $parentCriterionId = null, $caseValue = null, $id = null, $type = null, $CriterionType = null ) |
getNamespace()
public method
Gets the namesapce of this class
getXsiTypeName()
public method
Gets the xsi:type name of this class
Property Details
$caseValue public_oe property
public ProductDimension $caseValue |
return |
ProductDimension |
|
$parentCriterionId public_oe property
public int $parentCriterionId |
return |
integer |
|
$partitionType public_oe property
public tnsProductPartitionType $partitionType |
return |
tnsProductPartitionType |
|