com.google.api.ads.adwords.v201109.cm
Class Stats

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Stats
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdExtensionOverrideStats, AdStats, CampaignAdExtensionStats, CampaignStats

public class Stats
extends Object
implements Serializable

Statistics about an ad or criterion within an ad group or campaign.

See Also:
Serialized Form

Constructor Summary
Stats()
           
Stats(String startDate, String endDate, StatsNetwork network, Long clicks, Long impressions, Money cost, Double averagePosition, Money averageCpc, Money averageCpm, Double ctr, Long conversions, Double conversionRate, Money costPerConversion, Long conversionsManyPerClick, Double conversionRateManyPerClick, Money costPerConversionManyPerClick, Long viewThroughConversions, Long totalConvValue, Double valuePerConv, Double valuePerConvManyPerClick, Long invalidClicks, Double invalidClickRate, Long numCalls, Long numMissedCalls, Long numReceivedCalls, Long callDurationSecs, Double avgCallDurationSecs, String statsType)
           
 
Method Summary
 boolean equals(Object obj)
           
 Money getAverageCpc()
          Gets the averageCpc value for this Stats.
 Money getAverageCpm()
          Gets the averageCpm value for this Stats.
 Double getAveragePosition()
          Gets the averagePosition value for this Stats.
 Double getAvgCallDurationSecs()
          Gets the avgCallDurationSecs value for this Stats.
 Long getCallDurationSecs()
          Gets the callDurationSecs value for this Stats.
 Long getClicks()
          Gets the clicks value for this Stats.
 Double getConversionRate()
          Gets the conversionRate value for this Stats.
 Double getConversionRateManyPerClick()
          Gets the conversionRateManyPerClick value for this Stats.
 Long getConversions()
          Gets the conversions value for this Stats.
 Long getConversionsManyPerClick()
          Gets the conversionsManyPerClick value for this Stats.
 Money getCost()
          Gets the cost value for this Stats.
 Money getCostPerConversion()
          Gets the costPerConversion value for this Stats.
 Money getCostPerConversionManyPerClick()
          Gets the costPerConversionManyPerClick value for this Stats.
 Double getCtr()
          Gets the ctr value for this Stats.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getEndDate()
          Gets the endDate value for this Stats.
 Long getImpressions()
          Gets the impressions value for this Stats.
 Double getInvalidClickRate()
          Gets the invalidClickRate value for this Stats.
 Long getInvalidClicks()
          Gets the invalidClicks value for this Stats.
 StatsNetwork getNetwork()
          Gets the network value for this Stats.
 Long getNumCalls()
          Gets the numCalls value for this Stats.
 Long getNumMissedCalls()
          Gets the numMissedCalls value for this Stats.
 Long getNumReceivedCalls()
          Gets the numReceivedCalls value for this Stats.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getStartDate()
          Gets the startDate value for this Stats.
 String getStatsType()
          Gets the statsType value for this Stats.
 Long getTotalConvValue()
          Gets the totalConvValue value for this Stats.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 Double getValuePerConv()
          Gets the valuePerConv value for this Stats.
 Double getValuePerConvManyPerClick()
          Gets the valuePerConvManyPerClick value for this Stats.
 Long getViewThroughConversions()
          Gets the viewThroughConversions value for this Stats.
 int hashCode()
           
 void setAverageCpc(Money averageCpc)
          Sets the averageCpc value for this Stats.
 void setAverageCpm(Money averageCpm)
          Sets the averageCpm value for this Stats.
 void setAveragePosition(Double averagePosition)
          Sets the averagePosition value for this Stats.
 void setAvgCallDurationSecs(Double avgCallDurationSecs)
          Sets the avgCallDurationSecs value for this Stats.
 void setCallDurationSecs(Long callDurationSecs)
          Sets the callDurationSecs value for this Stats.
 void setClicks(Long clicks)
          Sets the clicks value for this Stats.
 void setConversionRate(Double conversionRate)
          Sets the conversionRate value for this Stats.
 void setConversionRateManyPerClick(Double conversionRateManyPerClick)
          Sets the conversionRateManyPerClick value for this Stats.
 void setConversions(Long conversions)
          Sets the conversions value for this Stats.
 void setConversionsManyPerClick(Long conversionsManyPerClick)
          Sets the conversionsManyPerClick value for this Stats.
 void setCost(Money cost)
          Sets the cost value for this Stats.
 void setCostPerConversion(Money costPerConversion)
          Sets the costPerConversion value for this Stats.
 void setCostPerConversionManyPerClick(Money costPerConversionManyPerClick)
          Sets the costPerConversionManyPerClick value for this Stats.
 void setCtr(Double ctr)
          Sets the ctr value for this Stats.
 void setEndDate(String endDate)
          Sets the endDate value for this Stats.
 void setImpressions(Long impressions)
          Sets the impressions value for this Stats.
 void setInvalidClickRate(Double invalidClickRate)
          Sets the invalidClickRate value for this Stats.
 void setInvalidClicks(Long invalidClicks)
          Sets the invalidClicks value for this Stats.
 void setNetwork(StatsNetwork network)
          Sets the network value for this Stats.
 void setNumCalls(Long numCalls)
          Sets the numCalls value for this Stats.
 void setNumMissedCalls(Long numMissedCalls)
          Sets the numMissedCalls value for this Stats.
 void setNumReceivedCalls(Long numReceivedCalls)
          Sets the numReceivedCalls value for this Stats.
 void setStartDate(String startDate)
          Sets the startDate value for this Stats.
 void setStatsType(String statsType)
          Sets the statsType value for this Stats.
 void setTotalConvValue(Long totalConvValue)
          Sets the totalConvValue value for this Stats.
 void setValuePerConv(Double valuePerConv)
          Sets the valuePerConv value for this Stats.
 void setValuePerConvManyPerClick(Double valuePerConvManyPerClick)
          Sets the valuePerConvManyPerClick value for this Stats.
 void setViewThroughConversions(Long viewThroughConversions)
          Sets the viewThroughConversions value for this Stats.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stats

public Stats()

Stats

public Stats(String startDate,
             String endDate,
             StatsNetwork network,
             Long clicks,
             Long impressions,
             Money cost,
             Double averagePosition,
             Money averageCpc,
             Money averageCpm,
             Double ctr,
             Long conversions,
             Double conversionRate,
             Money costPerConversion,
             Long conversionsManyPerClick,
             Double conversionRateManyPerClick,
             Money costPerConversionManyPerClick,
             Long viewThroughConversions,
             Long totalConvValue,
             Double valuePerConv,
             Double valuePerConvManyPerClick,
             Long invalidClicks,
             Double invalidClickRate,
             Long numCalls,
             Long numMissedCalls,
             Long numReceivedCalls,
             Long callDurationSecs,
             Double avgCallDurationSecs,
             String statsType)
Method Detail

getStartDate

public String getStartDate()
Gets the startDate value for this Stats.

Returns:
startDate * Starting date (inclusive) of the statistics. Format is YYYYMMDD.

setStartDate

public void setStartDate(String startDate)
Sets the startDate value for this Stats.

Parameters:
startDate - * Starting date (inclusive) of the statistics. Format is YYYYMMDD.

getEndDate

public String getEndDate()
Gets the endDate value for this Stats.

Returns:
endDate * Ending date (inclusive) of the statistics. Format is YYYYMMDD.

setEndDate

public void setEndDate(String endDate)
Sets the endDate value for this Stats.

Parameters:
endDate - * Ending date (inclusive) of the statistics. Format is YYYYMMDD.

getNetwork

public StatsNetwork getNetwork()
Gets the network value for this Stats.

Returns:
network * The ad network which the stats are for.

setNetwork

public void setNetwork(StatsNetwork network)
Sets the network value for this Stats.

Parameters:
network - * The ad network which the stats are for.

getClicks

public Long getClicks()
Gets the clicks value for this Stats.

Returns:
clicks * Number of clicks. This field can be selected using the value "Clicks".This field can be filtered on.

setClicks

public void setClicks(Long clicks)
Sets the clicks value for this Stats.

Parameters:
clicks - * Number of clicks. This field can be selected using the value "Clicks".This field can be filtered on.

getImpressions

public Long getImpressions()
Gets the impressions value for this Stats.

Returns:
impressions * Number of impressions. This field can be selected using the value "Impressions".This field can be filtered on.

setImpressions

public void setImpressions(Long impressions)
Sets the impressions value for this Stats.

Parameters:
impressions - * Number of impressions. This field can be selected using the value "Impressions".This field can be filtered on.

getCost

public Money getCost()
Gets the cost value for this Stats.

Returns:
cost * Cost. This field can be selected using the value "Cost".This field can be filtered on.

setCost

public void setCost(Money cost)
Sets the cost value for this Stats.

Parameters:
cost - * Cost. This field can be selected using the value "Cost".This field can be filtered on.

getAveragePosition

public Double getAveragePosition()
Gets the averagePosition value for this Stats.

Returns:
averagePosition * Average position of ads. This field can be selected using the value "AveragePosition".This field can be filtered on.

setAveragePosition

public void setAveragePosition(Double averagePosition)
Sets the averagePosition value for this Stats.

Parameters:
averagePosition - * Average position of ads. This field can be selected using the value "AveragePosition".This field can be filtered on.

getAverageCpc

public Money getAverageCpc()
Gets the averageCpc value for this Stats.

Returns:
averageCpc * Average cost per click. This field can be selected using the value "AverageCpc".This field can be filtered on.

setAverageCpc

public void setAverageCpc(Money averageCpc)
Sets the averageCpc value for this Stats.

Parameters:
averageCpc - * Average cost per click. This field can be selected using the value "AverageCpc".This field can be filtered on.

getAverageCpm

public Money getAverageCpm()
Gets the averageCpm value for this Stats.

Returns:
averageCpm * Average Cost Per Impression. This field can be selected using the value "AverageCpm".This field can be filtered on.

setAverageCpm

public void setAverageCpm(Money averageCpm)
Sets the averageCpm value for this Stats.

Parameters:
averageCpm - * Average Cost Per Impression. This field can be selected using the value "AverageCpm".This field can be filtered on.

getCtr

public Double getCtr()
Gets the ctr value for this Stats.

Returns:
ctr * Click Through Rate. This field can be selected using the value "Ctr".This field can be filtered on.

setCtr

public void setCtr(Double ctr)
Sets the ctr value for this Stats.

Parameters:
ctr - * Click Through Rate. This field can be selected using the value "Ctr".This field can be filtered on.

getConversions

public Long getConversions()
Gets the conversions value for this Stats.

Returns:
conversions * Number of conversions. This field can be selected using the value "Conversions".This field can be filtered on.

setConversions

public void setConversions(Long conversions)
Sets the conversions value for this Stats.

Parameters:
conversions - * Number of conversions. This field can be selected using the value "Conversions".This field can be filtered on.

getConversionRate

public Double getConversionRate()
Gets the conversionRate value for this Stats.

Returns:
conversionRate * Conversion Rate. This field can be selected using the value "ConversionRate".This field can be filtered on.

setConversionRate

public void setConversionRate(Double conversionRate)
Sets the conversionRate value for this Stats.

Parameters:
conversionRate - * Conversion Rate. This field can be selected using the value "ConversionRate".This field can be filtered on.

getCostPerConversion

public Money getCostPerConversion()
Gets the costPerConversion value for this Stats.

Returns:
costPerConversion * Cost per Conversion. This field can be selected using the value "CostPerConversion".This field can be filtered on.

setCostPerConversion

public void setCostPerConversion(Money costPerConversion)
Sets the costPerConversion value for this Stats.

Parameters:
costPerConversion - * Cost per Conversion. This field can be selected using the value "CostPerConversion".This field can be filtered on.

getConversionsManyPerClick

public Long getConversionsManyPerClick()
Gets the conversionsManyPerClick value for this Stats.

Returns:
conversionsManyPerClick * Number of conversions (many-per-click). This field can be selected using the value "ConversionsManyPerClick".This field can be filtered on.

setConversionsManyPerClick

public void setConversionsManyPerClick(Long conversionsManyPerClick)
Sets the conversionsManyPerClick value for this Stats.

Parameters:
conversionsManyPerClick - * Number of conversions (many-per-click). This field can be selected using the value "ConversionsManyPerClick".This field can be filtered on.

getConversionRateManyPerClick

public Double getConversionRateManyPerClick()
Gets the conversionRateManyPerClick value for this Stats.

Returns:
conversionRateManyPerClick * Conversion Rate (many-per-click). This field can be selected using the value "ConversionRateManyPerClick".This field can be filtered on.

setConversionRateManyPerClick

public void setConversionRateManyPerClick(Double conversionRateManyPerClick)
Sets the conversionRateManyPerClick value for this Stats.

Parameters:
conversionRateManyPerClick - * Conversion Rate (many-per-click). This field can be selected using the value "ConversionRateManyPerClick".This field can be filtered on.

getCostPerConversionManyPerClick

public Money getCostPerConversionManyPerClick()
Gets the costPerConversionManyPerClick value for this Stats.

Returns:
costPerConversionManyPerClick * Cost per Conversion (many-per-click). This field can be selected using the value "CostPerConversionManyPerClick".This field can be filtered on.

setCostPerConversionManyPerClick

public void setCostPerConversionManyPerClick(Money costPerConversionManyPerClick)
Sets the costPerConversionManyPerClick value for this Stats.

Parameters:
costPerConversionManyPerClick - * Cost per Conversion (many-per-click). This field can be selected using the value "CostPerConversionManyPerClick".This field can be filtered on.

getViewThroughConversions

public Long getViewThroughConversions()
Gets the viewThroughConversions value for this Stats.

Returns:
viewThroughConversions * Number of conversions (view-through). This field can be selected using the value "ViewThroughConversions".This field can be filtered on.

setViewThroughConversions

public void setViewThroughConversions(Long viewThroughConversions)
Sets the viewThroughConversions value for this Stats.

Parameters:
viewThroughConversions - * Number of conversions (view-through). This field can be selected using the value "ViewThroughConversions".This field can be filtered on.

getTotalConvValue

public Long getTotalConvValue()
Gets the totalConvValue value for this Stats.

Returns:
totalConvValue * Total conversion rate. This field can be selected using the value "TotalConvValue".This field can be filtered on.

setTotalConvValue

public void setTotalConvValue(Long totalConvValue)
Sets the totalConvValue value for this Stats.

Parameters:
totalConvValue - * Total conversion rate. This field can be selected using the value "TotalConvValue".This field can be filtered on.

getValuePerConv

public Double getValuePerConv()
Gets the valuePerConv value for this Stats.

Returns:
valuePerConv * Value per conversion. This field can be selected using the value "ValuePerConv".This field can be filtered on.

setValuePerConv

public void setValuePerConv(Double valuePerConv)
Sets the valuePerConv value for this Stats.

Parameters:
valuePerConv - * Value per conversion. This field can be selected using the value "ValuePerConv".This field can be filtered on.

getValuePerConvManyPerClick

public Double getValuePerConvManyPerClick()
Gets the valuePerConvManyPerClick value for this Stats.

Returns:
valuePerConvManyPerClick * Value per conversion (many per click). This field can be selected using the value "ValuePerConvManyPerClick".This field can be filtered on.

setValuePerConvManyPerClick

public void setValuePerConvManyPerClick(Double valuePerConvManyPerClick)
Sets the valuePerConvManyPerClick value for this Stats.

Parameters:
valuePerConvManyPerClick - * Value per conversion (many per click). This field can be selected using the value "ValuePerConvManyPerClick".This field can be filtered on.

getInvalidClicks

public Long getInvalidClicks()
Gets the invalidClicks value for this Stats.

Returns:
invalidClicks * Invalid clicks. Note: This field is valid for campaigns only. This field can be selected using the value "InvalidClicks".This field can be filtered on.

setInvalidClicks

public void setInvalidClicks(Long invalidClicks)
Sets the invalidClicks value for this Stats.

Parameters:
invalidClicks - * Invalid clicks. Note: This field is valid for campaigns only. This field can be selected using the value "InvalidClicks".This field can be filtered on.

getInvalidClickRate

public Double getInvalidClickRate()
Gets the invalidClickRate value for this Stats.

Returns:
invalidClickRate * Invalid click rate. Note: This field is valid for campaigns only. This field can be selected using the value "InvalidClickRate".This field can be filtered on.

setInvalidClickRate

public void setInvalidClickRate(Double invalidClickRate)
Sets the invalidClickRate value for this Stats.

Parameters:
invalidClickRate - * Invalid click rate. Note: This field is valid for campaigns only. This field can be selected using the value "InvalidClickRate".This field can be filtered on.

getNumCalls

public Long getNumCalls()
Gets the numCalls value for this Stats.

Returns:
numCalls * Number of calls. This field can be selected using the value "NumCalls".This field can be filtered on.

setNumCalls

public void setNumCalls(Long numCalls)
Sets the numCalls value for this Stats.

Parameters:
numCalls - * Number of calls. This field can be selected using the value "NumCalls".This field can be filtered on.

getNumMissedCalls

public Long getNumMissedCalls()
Gets the numMissedCalls value for this Stats.

Returns:
numMissedCalls * Number of missed calls. This field can be selected using the value "NumMissedCalls".This field can be filtered on.

setNumMissedCalls

public void setNumMissedCalls(Long numMissedCalls)
Sets the numMissedCalls value for this Stats.

Parameters:
numMissedCalls - * Number of missed calls. This field can be selected using the value "NumMissedCalls".This field can be filtered on.

getNumReceivedCalls

public Long getNumReceivedCalls()
Gets the numReceivedCalls value for this Stats.

Returns:
numReceivedCalls * Number of received calls. This field can be selected using the value "NumReceivedCalls".This field can be filtered on.

setNumReceivedCalls

public void setNumReceivedCalls(Long numReceivedCalls)
Sets the numReceivedCalls value for this Stats.

Parameters:
numReceivedCalls - * Number of received calls. This field can be selected using the value "NumReceivedCalls".This field can be filtered on.

getCallDurationSecs

public Long getCallDurationSecs()
Gets the callDurationSecs value for this Stats.

Returns:
callDurationSecs * Total call duration (in seconds) of all calls. This field can be selected using the value "CallDurationSecs".This field can be filtered on.

setCallDurationSecs

public void setCallDurationSecs(Long callDurationSecs)
Sets the callDurationSecs value for this Stats.

Parameters:
callDurationSecs - * Total call duration (in seconds) of all calls. This field can be selected using the value "CallDurationSecs".This field can be filtered on.

getAvgCallDurationSecs

public Double getAvgCallDurationSecs()
Gets the avgCallDurationSecs value for this Stats.

Returns:
avgCallDurationSecs * Average call duration in seconds. This field can be selected using the value "AvgCallDurationSecs".This field can be filtered on.

setAvgCallDurationSecs

public void setAvgCallDurationSecs(Double avgCallDurationSecs)
Sets the avgCallDurationSecs value for this Stats.

Parameters:
avgCallDurationSecs - * Average call duration in seconds. This field can be selected using the value "AvgCallDurationSecs".This field can be filtered on.

getStatsType

public String getStatsType()
Gets the statsType value for this Stats.

Returns:
statsType * Indicates that this instance is a subtype of Stats. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

setStatsType

public void setStatsType(String statsType)
Sets the statsType value for this Stats.

Parameters:
statsType - * Indicates that this instance is a subtype of Stats. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

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 © 2011. All Rights Reserved.