Google::Ads::AdWords::Utilities::ServiceQueryBuilder
A query builder for building AWQL queries for services.
The attributes properties may be set in new() and accessed using get_ATTRIBUTE methods:
An array of fields that are selected to be filtered on.
A hash of field names to ASC or DESC by which results will be ordered.
The start index of the results to be retunred.
The size of each page that to be returned.
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 },
Sets 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).
Adds the provided field to the order-by list with the provided direction.
The specified field to be added to the order-by list.
If true, the newly created order-by clause will be in ascending order. Otherwise, it will be in descending order.
Sets the LIMIT clause using the provided start index and page size.
The specified start index for the LIMIT clause.
The page size for the LIMIT clause.
Builds the AWQL query.
A string that is the AWQL query.
Checks if there is still a page left to query. This is used in conjunction with next_page. The page_size is necessary when using DataService, as its paging mechanism is different from other services. For details, see https://developers.google.com/adwords/api/docs/guides/bid-landscapes#paging_through_results.
The current page.
Optional: The total number of entries left.
Returns 1 if there is another page to process.
Sets the LIMIT clause of the AWQL to the next page. This is meant to be used with HasNext(). The page_size is necessary when using DataService, as its paging mechanism is different from other services. For details, see https://developers.google.com/adwords/api/docs/guides/bid-landscapes#paging_through_results.
Optional: A different size in which to increment other than the current page size.
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.