\Google\AdsApi\AdWords\QueryWhereClauseAppender

Builds and appends a WHERE clause to a partial AWQL string.

Summary

Methods
Properties
Constants
appendWhereClause()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

appendWhereClause()

appendWhereClause(array<mixed,\Google\AdsApi\AdWords\Query\WhereBuilderInterface>  $whereBuilders,string  $awql): string

Builds and appends a WHERE clause to a partial AWQL string. If there is no expressions specified, the input AWQL string will be returned without modifications.

Parameters

array<mixed,\Google\AdsApi\AdWords\Query\WhereBuilderInterface> $whereBuilders

an array of builders for logic expressions in a WHERE clause

string $awql

a partial AWQL string without the WHERE clause

Returns

string —

an AWQL string with the WHERE clause if at least one expression was specified