PHP Класс 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.

Наследование: extends Criterion
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$caseValue ProductDimension
$parentCriterionId integer
$partitionType tnsProductPartitionType

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

public __construct ( $partitionType = null, $parentCriterionId = null, $caseValue = null, $id = null, $type = null, $CriterionType = null )

getNamespace() публичный Метод

Gets the namesapce of this class
public getNamespace ( ) : string
Результат string the namespace of this class

getXsiTypeName() публичный Метод

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
Результат string the xsi:type name of this class

Описание свойств

$caseValue публичное свойство

public ProductDimension $caseValue
Результат ProductDimension

$parentCriterionId публичное свойство

public int $parentCriterionId
Результат integer

$partitionType публичное свойство

public tnsProductPartitionType $partitionType
Результат tnsProductPartitionType