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
파일 보기 프로젝트 열기: googleads/googleads-php-lib

공개 프로퍼티들

프로퍼티 타입 설명
$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