Class for building report queries.
More...
Inherits Google.Api.Ads.AdWords.Util.Reports.IReportQueryBuilder< TParent, TQuery, TReportType, TDateRangeType >.
Class for building report queries.
Google.Api.Ads.AdWords.Util.Reports.v201809.ReportQueryBuilder.ReportQueryBuilder |
( |
| ) |
|
|
inline |
ReportQuery Google.Api.Ads.AdWords.Util.Reports.v201809.ReportQueryBuilder.Build |
( |
| ) |
|
|
inline |
Builds the query.
- Returns
- The query.
ReportQueryBuilder Google.Api.Ads.AdWords.Util.Reports.v201809.ReportQueryBuilder.During |
( |
string |
dateRange | ) |
|
|
inline |
Adds a DURING clause to the query.
- Parameters
-
dateRange | The predefined date range. |
- Returns
- The parent builder for call chaining.
- Exceptions
-
ArgumentException | Thrown if the dateRange cannot be parsed into a ReportDefinitionDateRangeType object. |
Adds a DURING clause to the query.
- Parameters
-
dateRangeType | Type of the date range. |
- Returns
- The parent builder for call chaining.
ReportQueryBuilder Google.Api.Ads.AdWords.Util.Reports.v201809.ReportQueryBuilder.During |
( |
string |
minDate, |
|
|
string |
maxDate |
|
) |
| |
|
inline |
Adds a DURING clause to the query.
- Parameters
-
minDate | The minimum date in yyyyMMdd format. |
maxDate | The maximum date in yyyyMMdd format. |
- Returns
- The parent builder for call chaining.
- Exceptions
-
ArgumentException | Thrown if the date is not in yyyyMMdd format. |
Adds a DURING clause to the query.
- Parameters
-
minDate | The minimum date. |
maxDate | The maximum date. |
- Returns
- The parent builder for call chaining.
Adds a FROM clause to the query.
- Parameters
-
reportType | Type of the report. |
- Returns
- The parent builder for call chaining.
ReportQueryBuilder Google.Api.Ads.AdWords.Util.Reports.v201809.ReportQueryBuilder.From |
( |
string |
reportType | ) |
|
|
inline |
Adds a FROM clause to the query.
- Parameters
-
reportType | Type of the report. |
- Returns
- The parent builder for call chaining.
- Exceptions
-
ReportQueryBuilder Google.Api.Ads.AdWords.Util.Reports.v201809.ReportQueryBuilder.Select |
( |
params string[] |
fields | ) |
|
|
inline |
Adds a SELECT clause to the query.
- Parameters
-
fields | The fields to be selected. |
- Returns
- The parent builder for call chaining.
IWhereBuilder<ReportQueryBuilder> Google.Api.Ads.AdWords.Util.Reports.v201809.ReportQueryBuilder.Where |
( |
string |
fieldName | ) |
|
|
inline |
Adds a WHERE clause to the query.
- Parameters
-
fieldName | Name of the field to filter on. |
- Returns
- A builder for building the WHERE clause.
The documentation for this class was generated from the following file: