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

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Budget
All Implemented Interfaces:
Serializable

public class Budget
extends Object
implements Serializable

Data representing the budget for a campaign.

See Also:
Serialized Form

Constructor Summary
Budget()
           
Budget(BudgetBudgetPeriod period, Money amount, BudgetBudgetDeliveryMethod deliveryMethod)
           
 
Method Summary
 boolean equals(Object obj)
           
 Money getAmount()
          Gets the amount value for this Budget.
 BudgetBudgetDeliveryMethod getDeliveryMethod()
          Gets the deliveryMethod value for this Budget.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 BudgetBudgetPeriod getPeriod()
          Gets the period value for this Budget.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAmount(Money amount)
          Sets the amount value for this Budget.
 void setDeliveryMethod(BudgetBudgetDeliveryMethod deliveryMethod)
          Sets the deliveryMethod value for this Budget.
 void setPeriod(BudgetBudgetPeriod period)
          Sets the period value for this Budget.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Budget

public Budget()

Budget

public Budget(BudgetBudgetPeriod period,
              Money amount,
              BudgetBudgetDeliveryMethod deliveryMethod)
Method Detail

getPeriod

public BudgetBudgetPeriod getPeriod()
Gets the period value for this Budget.

Returns:
period * Period over which to spend the budget. MONTHLY is not available to most users. This field can be selected using the value "Period". This field is required and should not be null when it is contained within Operators : ADD.

setPeriod

public void setPeriod(BudgetBudgetPeriod period)
Sets the period value for this Budget.

Parameters:
period - * Period over which to spend the budget. MONTHLY is not available to most users. This field can be selected using the value "Period". This field is required and should not be null when it is contained within Operators : ADD.

getAmount

public Money getAmount()
Gets the amount value for this Budget.

Returns:
amount * Amount of budget. This field can be selected using the value "Amount".This field can be filtered on. This field must be greater than or equal to 1. This field is required and should not be null when it is contained within Operators : ADD.

setAmount

public void setAmount(Money amount)
Sets the amount value for this Budget.

Parameters:
amount - * Amount of budget. This field can be selected using the value "Amount".This field can be filtered on. This field must be greater than or equal to 1. This field is required and should not be null when it is contained within Operators : ADD.

getDeliveryMethod

public BudgetBudgetDeliveryMethod getDeliveryMethod()
Gets the deliveryMethod value for this Budget.

Returns:
deliveryMethod * Delivery method for the budget. This field can be selected using the value "DeliveryMethod".

setDeliveryMethod

public void setDeliveryMethod(BudgetBudgetDeliveryMethod deliveryMethod)
Sets the deliveryMethod value for this Budget.

Parameters:
deliveryMethod - * Delivery method for the budget. This field can be selected using the value "DeliveryMethod".

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.