Google::Ads::AdWords::Utilities::ReportQueryBuilder
A query builder for building AWQL queries for reporting.
The attributes may be set in new() and accessed using get_ATTRIBUTE methods:
An array of fields that are selected to be filtered on.
The name of the report queried.
The date range string in the during clause or the start date in the during clause when the end_date is specified.
The end date of the date range in the during clause.
Constructor. The following data structure may be passed to new():
{ # Google::Ads::AdWords::Utilities::ReportQueryBuilder client # Required: Google::Ads::AdWords::Client query_builder # Optional: the Google::Ads::AdWords::Utilities::QueryBuilder # to be copied },
Adds the specified list of fields to be added to a SELECT clause.
A reference to an array of fields selected.
A query builder (this instance).
Set the report name to be queried.
A name of a report.
Sets the values of the DURING clause. If this subroutine is called, either the first argument is undef or the second and third arguments are undef.
The specified date range string, e.g., YESTERDAY or when an end date is specified, this is the start date string in 'YYYYMMDD' format.
The end date string in 'YYYYMMDD' format.
Builds the AWQL query.
A string that is the AWQL query.
To install Google::Ads::AdWords::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::Ads::AdWords::Client
CPAN shell
perl -MCPAN -e shell install Google::Ads::AdWords::Client
For more information on module installation, please visit the detailed CPAN module installation guide.