src/Google/AdsApi/AdWords/Query/WhereClauseAppender.php
public static function appendWhereClause(
        $whereBuilders,
        $awql
    ) {
        if (empty($whereBuilders)) {
            return $awql;
        }

        $conditions = [];
        foreach ($whereBuilders as $whereBuilder) {
            $conditions[] = $whereBuilder->buildWhere();
        }

        return sprintf('%s WHERE %s', $awql, implode(' AND ', $conditions));
    }
public static function appendWhereClause(
        $whereBuilders,
        $awql
    ) {
        if (empty($whereBuilders)) {
            return $awql;
        }

        $conditions = [];
        foreach ($whereBuilders as $whereBuilder) {
            $conditions[] = $whereBuilder->buildWhere();
        }

        return sprintf('%s WHERE %s', $awql, implode(' AND ', $conditions));
    }
public static function appendWhereClause ( $ whereBuilders , $ awql ) { if ( empty ( $ whereBuilders ) ) { return $ awql ; } $ conditions = [ ] ; foreach ( $ whereBuilders as $ whereBuilder ) { $ conditions [ ] = $ whereBuilder -> buildWhere ( ) ; } return sprintf ( '%s WHERE %s' , $ awql , implode ( ' AND ' , $ conditions ) ) ; }
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.

@param WhereBuilderInterface[] $whereBuilders an array of builders for
logic expressions in a WHERE clause
@param string $awql a partial AWQL string without the WHERE clause
@return string an AWQL string with the WHERE clause if at least one
expression was specified
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 .