NAME

Google::Ads::AdWords::Utilities::QueryBuilder

DESCRIPTION

This utility is a query builder for building AWQL (AdWords Query Language) queries. This module shouldn't be instantiated directly or extended. Use ReportQueryBuilder if you want to create a query for reporting or the ServiceQueryBuilder if you want to create service queries.

ATTRIBUTES

The attributes may be set in new() and accessed using get_ATTRIBUTE methods:

client

Google::Ads::AdWords::Client is used to find out if we should die on faults.

die_on_faults

Set to true if we are requested to die on faults in Google::Ads::AdWords::Client.

query_builder

Google::Ads::AdWords::Utilities::QueryBuilder is the current builder.

where_builders

An array of incline package Google::Ads::AdWords::Utilities::QueryBuilder::WhereBuilder.

METHODS

new

Constructor. The following data structure may be passed to new():

{ # Google::Ads::AdWords::Utilities::QueryBuilder
  client # Required: Google::Ads::AdWords::Client
  query_builder # Optional: the Google::Ads::AdWords::Utilities::QueryBuilder
  # to be copied
},

METHODS

select

Sets the specified list of fields to be added to a SELECT clause.

Parameters

  • A reference to an array of fields selected. Not implemented.

Returns

A query builder (this instance).

where

Set the filters in the WHERE clause for the query.

Parameters

  • The name of the field to be filtered on.

Returns

A query builder (this instance).

1 POD Error

The following errors were encountered while parsing the POD:

Around line 349:

=back without =over