PHP 클래스 GetCustomTargetingValuesByStatement, googleads-php-lib

The {@code WHERE} clause in the {@link Statement#query} must always contain {@link CustomTargetingValue#customTargetingKeyId} as one of its columns in a way that it is AND'ed with the rest of the query. So, if you want to retrieve values for a known set of key ids, valid {@link Statement#query} would look like:

  1. "WHERE customTargetingKeyId IN ('17','18','19')" retrieves all values that are associated with keys having ids 17, 18, 19.
  2. "WHERE customTargetingKeyId = '17' AND name = 'red'" retrieves values that are associated with keys having id 17 and value name is 'red'.

The following fields are supported for filtering:

PQL Property Object Property
{@code id} {@link CustomTargetingValue#id}
{@code customTargetingKeyId} {@link CustomTargetingValue#customTargetingKeyId}
{@code name} {@link CustomTargetingValue#name}
{@code displayName} {@link CustomTargetingValue#displayName}
{@code matchType} {@link CustomTargetingValue#matchType}
파일 보기 프로젝트 열기: googleads/googleads-php-lib

공개 프로퍼티들

프로퍼티 타입 설명
$filterStatement Statement

공개 메소드들

메소드 설명
__construct ( $filterStatement = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

메소드 상세

__construct() 공개 메소드

public __construct ( $filterStatement = 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

프로퍼티 상세

$filterStatement 공개적으로 프로퍼티

public Statement $filterStatement
리턴 Statement