PHP Class 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}
Afficher le fichier Open project: googleads/googleads-php-lib

Méthodes publiques

Свойство Type Description
$filterStatement Statement

Méthodes publiques

Méthode Description
__construct ( $filterStatement = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Method Details

__construct() public méthode

public __construct ( $filterStatement = null )

getNamespace() public méthode

Gets the namesapce of this class
public getNamespace ( ) : string
Résultat string the namespace of this class

getXsiTypeName() public méthode

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
Résultat string the xsi:type name of this class

Property Details

$filterStatement public_oe property

public Statement $filterStatement
Résultat Statement