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

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

public class CampaignAdExtension
extends Object
implements Serializable

Represents a campaign level ad extension. A campaign ad extension specifies a campaign and an ad extension which can extend any ad under that campaign.

See Also:
Serialized Form

Constructor Summary
CampaignAdExtension()
           
CampaignAdExtension(Long campaignId, AdExtension adExtension, CampaignAdExtensionStatus status, CampaignAdExtensionApprovalStatus approvalStatus, CampaignAdExtensionStats stats)
           
 
Method Summary
 boolean equals(Object obj)
           
 AdExtension getAdExtension()
          Gets the adExtension value for this CampaignAdExtension.
 CampaignAdExtensionApprovalStatus getApprovalStatus()
          Gets the approvalStatus value for this CampaignAdExtension.
 Long getCampaignId()
          Gets the campaignId value for this CampaignAdExtension.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 CampaignAdExtensionStats getStats()
          Gets the stats value for this CampaignAdExtension.
 CampaignAdExtensionStatus getStatus()
          Gets the status value for this CampaignAdExtension.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAdExtension(AdExtension adExtension)
          Sets the adExtension value for this CampaignAdExtension.
 void setApprovalStatus(CampaignAdExtensionApprovalStatus approvalStatus)
          Sets the approvalStatus value for this CampaignAdExtension.
 void setCampaignId(Long campaignId)
          Sets the campaignId value for this CampaignAdExtension.
 void setStats(CampaignAdExtensionStats stats)
          Sets the stats value for this CampaignAdExtension.
 void setStatus(CampaignAdExtensionStatus status)
          Sets the status value for this CampaignAdExtension.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CampaignAdExtension

public CampaignAdExtension()

CampaignAdExtension

public CampaignAdExtension(Long campaignId,
                           AdExtension adExtension,
                           CampaignAdExtensionStatus status,
                           CampaignAdExtensionApprovalStatus approvalStatus,
                           CampaignAdExtensionStats stats)
Method Detail

getCampaignId

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

Returns:
campaignId * Campaign ID of the campaign to which the ad extension is connected. 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, REMOVE.

setCampaignId

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

Parameters:
campaignId - * Campaign ID of the campaign to which the ad extension is connected. 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, REMOVE.

getAdExtension

public AdExtension getAdExtension()
Gets the adExtension value for this CampaignAdExtension.

Returns:
adExtension * Ad extension. This field is required and should not be null.

setAdExtension

public void setAdExtension(AdExtension adExtension)
Sets the adExtension value for this CampaignAdExtension.

Parameters:
adExtension - * Ad extension. This field is required and should not be null.

getStatus

public CampaignAdExtensionStatus getStatus()
Gets the status value for this CampaignAdExtension.

Returns:
status * Status of ad extension in the campaign - defaults to ACTIVE on add if unspecified. This field can be selected using the value "Status".This field can be filtered on.

setStatus

public void setStatus(CampaignAdExtensionStatus status)
Sets the status value for this CampaignAdExtension.

Parameters:
status - * Status of ad extension in the campaign - defaults to ACTIVE on add if unspecified. This field can be selected using the value "Status".This field can be filtered on.

getApprovalStatus

public CampaignAdExtensionApprovalStatus getApprovalStatus()
Gets the approvalStatus value for this CampaignAdExtension.

Returns:
approvalStatus * Approval status. This field can be selected using the value "ApprovalStatus".This field can be filtered on.

setApprovalStatus

public void setApprovalStatus(CampaignAdExtensionApprovalStatus approvalStatus)
Sets the approvalStatus value for this CampaignAdExtension.

Parameters:
approvalStatus - * Approval status. This field can be selected using the value "ApprovalStatus".This field can be filtered on.

getStats

public CampaignAdExtensionStats getStats()
Gets the stats value for this CampaignAdExtension.

Returns:
stats * Stats for the campaign ad extension. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setStats

public void setStats(CampaignAdExtensionStats stats)
Sets the stats value for this CampaignAdExtension.

Parameters:
stats - * Stats for the campaign ad extension. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

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.