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

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

public class AdGroup
extends Object
implements Serializable

Represents an ad group.

See Also:
Serialized Form

Constructor Summary
AdGroup()
           
AdGroup(Long id, Long campaignId, String campaignName, String name, AdGroupStatus status, AdGroupBids bids, AdGroupExperimentData experimentData, Stats stats)
           
 
Method Summary
 boolean equals(Object obj)
           
 AdGroupBids getBids()
          Gets the bids value for this AdGroup.
 Long getCampaignId()
          Gets the campaignId value for this AdGroup.
 String getCampaignName()
          Gets the campaignName value for this AdGroup.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 AdGroupExperimentData getExperimentData()
          Gets the experimentData value for this AdGroup.
 Long getId()
          Gets the id value for this AdGroup.
 String getName()
          Gets the name value for this AdGroup.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 Stats getStats()
          Gets the stats value for this AdGroup.
 AdGroupStatus getStatus()
          Gets the status value for this AdGroup.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setBids(AdGroupBids bids)
          Sets the bids value for this AdGroup.
 void setCampaignId(Long campaignId)
          Sets the campaignId value for this AdGroup.
 void setCampaignName(String campaignName)
          Sets the campaignName value for this AdGroup.
 void setExperimentData(AdGroupExperimentData experimentData)
          Sets the experimentData value for this AdGroup.
 void setId(Long id)
          Sets the id value for this AdGroup.
 void setName(String name)
          Sets the name value for this AdGroup.
 void setStats(Stats stats)
          Sets the stats value for this AdGroup.
 void setStatus(AdGroupStatus status)
          Sets the status value for this AdGroup.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdGroup

public AdGroup()

AdGroup

public AdGroup(Long id,
               Long campaignId,
               String campaignName,
               String name,
               AdGroupStatus status,
               AdGroupBids bids,
               AdGroupExperimentData experimentData,
               Stats stats)
Method Detail

getId

public Long getId()
Gets the id value for this AdGroup.

Returns:
id * ID of this ad group. This field can be selected using the value "Id".This field can be filtered on. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored. This field is required and should not be null when it is contained within Operators : SET.

setId

public void setId(Long id)
Sets the id value for this AdGroup.

Parameters:
id - * ID of this ad group. This field can be selected using the value "Id".This field can be filtered on. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored. This field is required and should not be null when it is contained within Operators : SET.

getCampaignId

public Long getCampaignId()
Gets the campaignId value for this AdGroup.

Returns:
campaignId * ID of the campaign with which this ad group is associated. This field can be selected using the value "CampaignId".This field can be filtered on. This field is required and should not be null when it is contained within Operators : ADD.

setCampaignId

public void setCampaignId(Long campaignId)
Sets the campaignId value for this AdGroup.

Parameters:
campaignId - * ID of the campaign with which this ad group is associated. This field can be selected using the value "CampaignId".This field can be filtered on. This field is required and should not be null when it is contained within Operators : ADD.

getCampaignName

public String getCampaignName()
Gets the campaignName value for this AdGroup.

Returns:
campaignName * Name of the campaign with which this ad group is associated. This field can be selected using the value "CampaignName".This field can be filtered on. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setCampaignName

public void setCampaignName(String campaignName)
Sets the campaignName value for this AdGroup.

Parameters:
campaignName - * Name of the campaign with which this ad group is associated. This field can be selected using the value "CampaignName".This field can be filtered on. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getName

public String getName()
Gets the name value for this AdGroup.

Returns:
name * Name of this ad group (at most 255 UTF-8 full-width characters). This field can be selected using the value "Name".This field can be filtered on.

setName

public void setName(String name)
Sets the name value for this AdGroup.

Parameters:
name - * Name of this ad group (at most 255 UTF-8 full-width characters). This field can be selected using the value "Name".This field can be filtered on.

getStatus

public AdGroupStatus getStatus()
Gets the status value for this AdGroup.

Returns:
status * Status of this ad group. This field can be selected using the value "Status".This field can be filtered on.

setStatus

public void setStatus(AdGroupStatus status)
Sets the status value for this AdGroup.

Parameters:
status - * Status of this ad group. This field can be selected using the value "Status".This field can be filtered on.

getBids

public AdGroupBids getBids()
Gets the bids value for this AdGroup.

Returns:
bids * The default bid amounts for criteria in this ad group. The type of bid (i.e. the type of this field) must match the parent campaign's bidding strategy.

setBids

public void setBids(AdGroupBids bids)
Sets the bids value for this AdGroup.

Parameters:
bids - * The default bid amounts for criteria in this ad group. The type of bid (i.e. the type of this field) must match the parent campaign's bidding strategy.

getExperimentData

public AdGroupExperimentData getExperimentData()
Gets the experimentData value for this AdGroup.

Returns:
experimentData * Data from a campaign bidding strategy experiment, returned by get() only if the experimentId is supplied.

setExperimentData

public void setExperimentData(AdGroupExperimentData experimentData)
Sets the experimentData value for this AdGroup.

Parameters:
experimentData - * Data from a campaign bidding strategy experiment, returned by get() only if the experimentId is supplied.

getStats

public Stats getStats()
Gets the stats value for this AdGroup.

Returns:
stats * Statistics for this ad group, returned by get() only if requested in the selector.

setStats

public void setStats(Stats stats)
Sets the stats value for this AdGroup.

Parameters:
stats - * Statistics for this ad group, returned by get() only if requested in the selector.

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.