com.google.api.ads.dfp.axis.v201111
Class ReportQuery

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201111.ReportQuery
All Implemented Interfaces:
Serializable

public class ReportQuery
extends Object
implements Serializable

A ReportQuery object allows you to specify the selection criteria for generating a report.

See Also:
Serialized Form

Constructor Summary
ReportQuery()
           
ReportQuery(Dimension[] dimensions, Column[] columns, DimensionAttribute[] dimensionAttributes, Date startDate, Date endDate, DateRangeType dateRangeType, DimensionFilter[] dimensionFilters)
           
 
Method Summary
 boolean equals(Object obj)
           
 Column[] getColumns()
          Gets the columns value for this ReportQuery.
 Column getColumns(int i)
           
 DateRangeType getDateRangeType()
          Gets the dateRangeType value for this ReportQuery.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 DimensionAttribute[] getDimensionAttributes()
          Gets the dimensionAttributes value for this ReportQuery.
 DimensionAttribute getDimensionAttributes(int i)
           
 DimensionFilter[] getDimensionFilters()
          Gets the dimensionFilters value for this ReportQuery.
 DimensionFilter getDimensionFilters(int i)
           
 Dimension[] getDimensions()
          Gets the dimensions value for this ReportQuery.
 Dimension getDimensions(int i)
           
 Date getEndDate()
          Gets the endDate value for this ReportQuery.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 Date getStartDate()
          Gets the startDate value for this ReportQuery.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setColumns(Column[] columns)
          Sets the columns value for this ReportQuery.
 void setColumns(int i, Column _value)
           
 void setDateRangeType(DateRangeType dateRangeType)
          Sets the dateRangeType value for this ReportQuery.
 void setDimensionAttributes(DimensionAttribute[] dimensionAttributes)
          Sets the dimensionAttributes value for this ReportQuery.
 void setDimensionAttributes(int i, DimensionAttribute _value)
           
 void setDimensionFilters(DimensionFilter[] dimensionFilters)
          Sets the dimensionFilters value for this ReportQuery.
 void setDimensionFilters(int i, DimensionFilter _value)
           
 void setDimensions(Dimension[] dimensions)
          Sets the dimensions value for this ReportQuery.
 void setDimensions(int i, Dimension _value)
           
 void setEndDate(Date endDate)
          Sets the endDate value for this ReportQuery.
 void setStartDate(Date startDate)
          Sets the startDate value for this ReportQuery.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportQuery

public ReportQuery()

ReportQuery

public ReportQuery(Dimension[] dimensions,
                   Column[] columns,
                   DimensionAttribute[] dimensionAttributes,
                   Date startDate,
                   Date endDate,
                   DateRangeType dateRangeType,
                   DimensionFilter[] dimensionFilters)
Method Detail

getDimensions

public Dimension[] getDimensions()
Gets the dimensions value for this ReportQuery.

Returns:
dimensions * The list of break-down types being requested in the report.

setDimensions

public void setDimensions(Dimension[] dimensions)
Sets the dimensions value for this ReportQuery.

Parameters:
dimensions - * The list of break-down types being requested in the report.

getDimensions

public Dimension getDimensions(int i)

setDimensions

public void setDimensions(int i,
                          Dimension _value)

getColumns

public Column[] getColumns()
Gets the columns value for this ReportQuery.

Returns:
columns * The list of trafficking statistics and revenue information being requested in the report.

setColumns

public void setColumns(Column[] columns)
Sets the columns value for this ReportQuery.

Parameters:
columns - * The list of trafficking statistics and revenue information being requested in the report.

getColumns

public Column getColumns(int i)

setColumns

public void setColumns(int i,
                       Column _value)

getDimensionAttributes

public DimensionAttribute[] getDimensionAttributes()
Gets the dimensionAttributes value for this ReportQuery.

Returns:
dimensionAttributes * The list of break-down attributes being requested in this report. Some DimensionAttribute values can only be used with certain Dimension values that must be included in the dimensions attribute.

setDimensionAttributes

public void setDimensionAttributes(DimensionAttribute[] dimensionAttributes)
Sets the dimensionAttributes value for this ReportQuery.

Parameters:
dimensionAttributes - * The list of break-down attributes being requested in this report. Some DimensionAttribute values can only be used with certain Dimension values that must be included in the dimensions attribute.

getDimensionAttributes

public DimensionAttribute getDimensionAttributes(int i)

setDimensionAttributes

public void setDimensionAttributes(int i,
                                   DimensionAttribute _value)

getStartDate

public Date getStartDate()
Gets the startDate value for this ReportQuery.

Returns:
startDate * The start date from which the reporting information is gathered. The ReportQuery#dateRangeType field must be set to DateRangeType.CUSTOM_DATE in order to use this.

setStartDate

public void setStartDate(Date startDate)
Sets the startDate value for this ReportQuery.

Parameters:
startDate - * The start date from which the reporting information is gathered. The ReportQuery#dateRangeType field must be set to DateRangeType.CUSTOM_DATE in order to use this.

getEndDate

public Date getEndDate()
Gets the endDate value for this ReportQuery.

Returns:
endDate * The end date upto which the reporting information is gathered. The ReportQuery#dateRangeType field must be set to DateRangeType.CUSTOM_DATE in order to use this.

setEndDate

public void setEndDate(Date endDate)
Sets the endDate value for this ReportQuery.

Parameters:
endDate - * The end date upto which the reporting information is gathered. The ReportQuery#dateRangeType field must be set to DateRangeType.CUSTOM_DATE in order to use this.

getDateRangeType

public DateRangeType getDateRangeType()
Gets the dateRangeType value for this ReportQuery.

Returns:
dateRangeType * The period of time for which the reporting data is being generated. In order to define custom time periods, set this to {DateRangeType#CUSTOM_DATE}. If set to {DateRangeType#CUSTOM_DATE}, then startDate and endDate will be used.

setDateRangeType

public void setDateRangeType(DateRangeType dateRangeType)
Sets the dateRangeType value for this ReportQuery.

Parameters:
dateRangeType - * The period of time for which the reporting data is being generated. In order to define custom time periods, set this to {DateRangeType#CUSTOM_DATE}. If set to {DateRangeType#CUSTOM_DATE}, then startDate and endDate will be used.

getDimensionFilters

public DimensionFilter[] getDimensionFilters()
Gets the dimensionFilters value for this ReportQuery.

Returns:
dimensionFilters * The restrictions that apply to Dimension objects. These filters are AND'ed together to produce the result.

setDimensionFilters

public void setDimensionFilters(DimensionFilter[] dimensionFilters)
Sets the dimensionFilters value for this ReportQuery.

Parameters:
dimensionFilters - * The restrictions that apply to Dimension objects. These filters are AND'ed together to produce the result.

getDimensionFilters

public DimensionFilter getDimensionFilters(int i)

setDimensionFilters

public void setDimensionFilters(int i,
                                DimensionFilter _value)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.