public class ReportQuery extends Object
ReportQuery object allows you to specify the selection criteria for
generating a report. Only reports with at least one Column are supported.
Java class for ReportQuery complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReportQuery">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="dimensions" type="{https://www.google.com/apis/ads/publisher/v201805}Dimension" maxOccurs="unbounded" minOccurs="0"/>
<element name="adUnitView" type="{https://www.google.com/apis/ads/publisher/v201805}ReportQuery.AdUnitView" minOccurs="0"/>
<element name="columns" type="{https://www.google.com/apis/ads/publisher/v201805}Column" maxOccurs="unbounded" minOccurs="0"/>
<element name="dimensionAttributes" type="{https://www.google.com/apis/ads/publisher/v201805}DimensionAttribute" maxOccurs="unbounded" minOccurs="0"/>
<element name="customFieldIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="contentMetadataKeyHierarchyCustomTargetingKeyIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="startDate" type="{https://www.google.com/apis/ads/publisher/v201805}Date" minOccurs="0"/>
<element name="endDate" type="{https://www.google.com/apis/ads/publisher/v201805}Date" minOccurs="0"/>
<element name="dateRangeType" type="{https://www.google.com/apis/ads/publisher/v201805}DateRangeType" minOccurs="0"/>
<element name="statement" type="{https://www.google.com/apis/ads/publisher/v201805}Statement" minOccurs="0"/>
<element name="includeZeroSalesRows" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="adxReportCurrency" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="timeZoneType" type="{https://www.google.com/apis/ads/publisher/v201805}TimeZoneType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ReportQueryAdUnitView |
adUnitView |
protected String |
adxReportCurrency |
protected List<Column> |
columns |
protected List<Long> |
contentMetadataKeyHierarchyCustomTargetingKeyIds |
protected List<Long> |
customFieldIds |
protected DateRangeType |
dateRangeType |
protected List<DimensionAttribute> |
dimensionAttributes |
protected List<Dimension> |
dimensions |
protected Date |
endDate |
protected Boolean |
includeZeroSalesRows |
protected Date |
startDate |
protected Statement |
statement |
protected TimeZoneType |
timeZoneType |
| Constructor and Description |
|---|
ReportQuery() |
| Modifier and Type | Method and Description |
|---|---|
ReportQueryAdUnitView |
getAdUnitView()
Gets the value of the adUnitView property.
|
String |
getAdxReportCurrency()
Gets the value of the adxReportCurrency property.
|
List<Column> |
getColumns()
Gets the value of the columns property.
|
List<Long> |
getContentMetadataKeyHierarchyCustomTargetingKeyIds()
Gets the value of the contentMetadataKeyHierarchyCustomTargetingKeyIds property.
|
List<Long> |
getCustomFieldIds()
Gets the value of the customFieldIds property.
|
DateRangeType |
getDateRangeType()
Gets the value of the dateRangeType property.
|
List<DimensionAttribute> |
getDimensionAttributes()
Gets the value of the dimensionAttributes property.
|
List<Dimension> |
getDimensions()
Gets the value of the dimensions property.
|
Date |
getEndDate()
Gets the value of the endDate property.
|
Date |
getStartDate()
Gets the value of the startDate property.
|
Statement |
getStatement()
Gets the value of the statement property.
|
TimeZoneType |
getTimeZoneType()
Gets the value of the timeZoneType property.
|
Boolean |
isIncludeZeroSalesRows()
Gets the value of the includeZeroSalesRows property.
|
void |
setAdUnitView(ReportQueryAdUnitView value)
Sets the value of the adUnitView property.
|
void |
setAdxReportCurrency(String value)
Sets the value of the adxReportCurrency property.
|
void |
setDateRangeType(DateRangeType value)
Sets the value of the dateRangeType property.
|
void |
setEndDate(Date value)
Sets the value of the endDate property.
|
void |
setIncludeZeroSalesRows(Boolean value)
Sets the value of the includeZeroSalesRows property.
|
void |
setStartDate(Date value)
Sets the value of the startDate property.
|
void |
setStatement(Statement value)
Sets the value of the statement property.
|
void |
setTimeZoneType(TimeZoneType value)
Sets the value of the timeZoneType property.
|
protected ReportQueryAdUnitView adUnitView
protected List<DimensionAttribute> dimensionAttributes
protected List<Long> contentMetadataKeyHierarchyCustomTargetingKeyIds
protected Date startDate
protected Date endDate
protected DateRangeType dateRangeType
protected Statement statement
protected Boolean includeZeroSalesRows
protected String adxReportCurrency
protected TimeZoneType timeZoneType
public List<Dimension> getDimensions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the dimensions property.
For example, to add a new item, do as follows:
getDimensions().add(newItem);
Objects of the following type(s) are allowed in the list
Dimension
public ReportQueryAdUnitView getAdUnitView()
ReportQueryAdUnitViewpublic void setAdUnitView(ReportQueryAdUnitView value)
value - allowed object is
ReportQueryAdUnitViewpublic List<Column> getColumns()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the columns property.
For example, to add a new item, do as follows:
getColumns().add(newItem);
Objects of the following type(s) are allowed in the list
Column
public List<DimensionAttribute> getDimensionAttributes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the dimensionAttributes property.
For example, to add a new item, do as follows:
getDimensionAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
DimensionAttribute
public List<Long> getCustomFieldIds()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the customFieldIds property.
For example, to add a new item, do as follows:
getCustomFieldIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public List<Long> getContentMetadataKeyHierarchyCustomTargetingKeyIds()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the contentMetadataKeyHierarchyCustomTargetingKeyIds property.
For example, to add a new item, do as follows:
getContentMetadataKeyHierarchyCustomTargetingKeyIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public Date getStartDate()
Datepublic void setStartDate(Date value)
value - allowed object is
Datepublic Date getEndDate()
Datepublic void setEndDate(Date value)
value - allowed object is
Datepublic DateRangeType getDateRangeType()
DateRangeTypepublic void setDateRangeType(DateRangeType value)
value - allowed object is
DateRangeTypepublic Statement getStatement()
Statementpublic void setStatement(Statement value)
value - allowed object is
Statementpublic Boolean isIncludeZeroSalesRows()
Booleanpublic void setIncludeZeroSalesRows(Boolean value)
value - allowed object is
Booleanpublic String getAdxReportCurrency()
Stringpublic void setAdxReportCurrency(String value)
value - allowed object is
Stringpublic TimeZoneType getTimeZoneType()
TimeZoneTypepublic void setTimeZoneType(TimeZoneType value)
value - allowed object is
TimeZoneTypeCopyright © 2018. All Rights Reserved.