$selectFields
$selectFields :
A delegate of `ReportQueryBuilder`, which shouldn't be used directly.
Use ReportQueryBuilder
to build a ReportQuery
object.
$whereBuilders :array<mixed,\Google\AdsApi\AdWords\Query\WhereBuilderInterface>
copyFrom(\Google\AdsApi\AdWords\Query\v201809\ReportQueryBuilderDelegate $otherInstance,\Google\AdsApi\AdWords\Query\v201809\ReportQueryBuilder $queryBuilder): \Google\AdsApi\AdWords\Query\v201809\ReportQueryBuilderDelegate
Creates a new query builder delegate object by copying field names, WHERE, FROM and DURING clauses from another query builder delegate object.
\Google\AdsApi\AdWords\Query\v201809\ReportQueryBuilderDelegate | $otherInstance | the other query builder delegate object for copying field names, FROM and DURING clauses |
\Google\AdsApi\AdWords\Query\v201809\ReportQueryBuilder | $queryBuilder | the query builder object for continuation of building a complete AWQL string |
a new query builder delegate object that copies from the input one
where(string $field,\Google\AdsApi\AdWords\Query\v201809\ReportQueryBuilder $reportQueryBuilder): \Google\AdsApi\AdWords\Query\v201809\ReportQueryWhereBuilder
Sets the field name to be added to the WHERE clause. Every time this function is called, it will add a new condition to the WHERE clause.
All conditions are connected using the AND operator.
string | $field | a field name to be added to the WHERE clause |
\Google\AdsApi\AdWords\Query\v201809\ReportQueryBuilder | $reportQueryBuilder | the query builder object for building other parts of the AWQL string |
a builder object for setting a logic operation and argument in the WHERE clause
build(): \Google\AdsApi\AdWords\Query\v201809\ReportQuery
Builds a new `ReportQuery` object.
if the select()
and from()
functions were
not called prior to this function
a new ReportQuery
object
appendWhereClause(string $awql): string
Appends the WHERE clause to a partial AWQL string if the `where()` function was called prior to this function; Otherwise, this function is a no-op.
string | $awql | a partial AWQL string to append the WHERE clause |
the AWQL string with the WHERE clause if the where()
function was called prior to this function; Otherwise, returns the
AWQL without modifications
appendDuringClause(string $awql): string
Appends the DURING clause to a partial AWQL string if the `duringDateRange()` or `during()` function was called prior to this function; Otherwise, this function is a no-op.
string | $awql | a partial AWQL string without a DURING clause |
an AWQL string with a DURING clause if a date range was specified; Otherwise, returns the input AWQL string without modifications