public final class ReportRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Search Ads 360 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
ReportRequest.Filters
Model definition for ReportRequestFilters.
|
static class |
ReportRequest.OrderBy
Model definition for ReportRequestOrderBy.
|
static class |
ReportRequest.ReportScope
The reportScope is a set of IDs that are used to determine which subset of entities will be
returned in the report.
|
static class |
ReportRequest.TimeRange
If metrics are requested in a report, this argument will be used to restrict the metrics to a
specific time range.
|
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ReportRequest() |
Modifier and Type | Method and Description |
---|---|
ReportRequest |
clone() |
List<ReportApiColumnSpec> |
getColumns()
The columns to include in the report.
|
String |
getDownloadFormat()
Format that the report should be returned in.
|
List<ReportRequest.Filters> |
getFilters()
A list of filters to be applied to the report.\ The maximum number of filters per request is
300.
|
Boolean |
getIncludeDeletedEntities()
Determines if removed entities should be included in the report.
|
Boolean |
getIncludeRemovedEntities()
Determines if removed entities should be included in the report.
|
Integer |
getMaxRowsPerFile()
Asynchronous report only.
|
List<ReportRequest.OrderBy> |
getOrderBy()
Synchronous report only.
|
ReportRequest.ReportScope |
getReportScope()
The reportScope is a set of IDs that are used to determine which subset of entities will be
returned in the report.
|
String |
getReportType()
Determines the type of rows that are returned in the report.
|
Integer |
getRowCount()
Synchronous report only.
|
Integer |
getStartRow()
Synchronous report only.
|
String |
getStatisticsCurrency()
Specifies the currency in which monetary will be returned.
|
ReportRequest.TimeRange |
getTimeRange()
If metrics are requested in a report, this argument will be used to restrict the metrics to a
specific time range.
|
Boolean |
getVerifySingleTimeZone()
If `true`, the report would only be created if all the requested stat data are sourced from a
single timezone.
|
ReportRequest |
set(String fieldName,
Object value) |
ReportRequest |
setColumns(List<ReportApiColumnSpec> columns)
The columns to include in the report.
|
ReportRequest |
setDownloadFormat(String downloadFormat)
Format that the report should be returned in.
|
ReportRequest |
setFilters(List<ReportRequest.Filters> filters)
A list of filters to be applied to the report.\ The maximum number of filters per request is
300.
|
ReportRequest |
setIncludeDeletedEntities(Boolean includeDeletedEntities)
Determines if removed entities should be included in the report.
|
ReportRequest |
setIncludeRemovedEntities(Boolean includeRemovedEntities)
Determines if removed entities should be included in the report.
|
ReportRequest |
setMaxRowsPerFile(Integer maxRowsPerFile)
Asynchronous report only.
|
ReportRequest |
setOrderBy(List<ReportRequest.OrderBy> orderBy)
Synchronous report only.
|
ReportRequest |
setReportScope(ReportRequest.ReportScope reportScope)
The reportScope is a set of IDs that are used to determine which subset of entities will be
returned in the report.
|
ReportRequest |
setReportType(String reportType)
Determines the type of rows that are returned in the report.
|
ReportRequest |
setRowCount(Integer rowCount)
Synchronous report only.
|
ReportRequest |
setStartRow(Integer startRow)
Synchronous report only.
|
ReportRequest |
setStatisticsCurrency(String statisticsCurrency)
Specifies the currency in which monetary will be returned.
|
ReportRequest |
setTimeRange(ReportRequest.TimeRange timeRange)
If metrics are requested in a report, this argument will be used to restrict the metrics to a
specific time range.
|
ReportRequest |
setVerifySingleTimeZone(Boolean verifySingleTimeZone)
If `true`, the report would only be created if all the requested stat data are sourced from a
single timezone.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<ReportApiColumnSpec> getColumns()
null
for nonepublic ReportRequest setColumns(List<ReportApiColumnSpec> columns)
columns
- columns or null
for nonepublic String getDownloadFormat()
null
for nonepublic ReportRequest setDownloadFormat(String downloadFormat)
downloadFormat
- downloadFormat or null
for nonepublic List<ReportRequest.Filters> getFilters()
null
for nonepublic ReportRequest setFilters(List<ReportRequest.Filters> filters)
filters
- filters or null
for nonepublic Boolean getIncludeDeletedEntities()
null
for nonepublic ReportRequest setIncludeDeletedEntities(Boolean includeDeletedEntities)
includeDeletedEntities
- includeDeletedEntities or null
for nonepublic Boolean getIncludeRemovedEntities()
null
for nonepublic ReportRequest setIncludeRemovedEntities(Boolean includeRemovedEntities)
includeRemovedEntities
- includeRemovedEntities or null
for nonepublic Integer getMaxRowsPerFile()
null
for nonepublic ReportRequest setMaxRowsPerFile(Integer maxRowsPerFile)
maxRowsPerFile
- maxRowsPerFile or null
for nonepublic List<ReportRequest.OrderBy> getOrderBy()
null
for nonepublic ReportRequest setOrderBy(List<ReportRequest.OrderBy> orderBy)
orderBy
- orderBy or null
for nonepublic ReportRequest.ReportScope getReportScope()
null
for nonepublic ReportRequest setReportScope(ReportRequest.ReportScope reportScope)
reportScope
- reportScope or null
for nonepublic String getReportType()
null
for nonepublic ReportRequest setReportType(String reportType)
reportType
- reportType or null
for nonepublic Integer getRowCount()
null
for nonepublic ReportRequest setRowCount(Integer rowCount)
rowCount
- rowCount or null
for nonepublic Integer getStartRow()
null
for nonepublic ReportRequest setStartRow(Integer startRow)
startRow
- startRow or null
for nonepublic String getStatisticsCurrency()
null
for nonepublic ReportRequest setStatisticsCurrency(String statisticsCurrency)
statisticsCurrency
- statisticsCurrency or null
for nonepublic ReportRequest.TimeRange getTimeRange()
null
for nonepublic ReportRequest setTimeRange(ReportRequest.TimeRange timeRange)
timeRange
- timeRange or null
for nonepublic Boolean getVerifySingleTimeZone()
null
for nonepublic ReportRequest setVerifySingleTimeZone(Boolean verifySingleTimeZone)
verifySingleTimeZone
- verifySingleTimeZone or null
for nonepublic ReportRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ReportRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.