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}
Показать файл Открыть проект

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

Свойство Тип Описание
$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