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

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

public class AdExtensionOverride
extends Object
implements Serializable

Represents an ad level ad extension override. An ad extension override specifies the ad extension that must be used if the ad is served with any ad extension data.

See Also:
Serialized Form

Constructor Summary
AdExtensionOverride()
           
AdExtensionOverride(Long adId, AdExtension adExtension, OverrideInfo overrideInfo, AdExtensionOverrideStatus status, AdExtensionOverrideApprovalStatus approvalStatus, AdExtensionOverrideStats stats)
           
 
Method Summary
 boolean equals(Object obj)
           
 AdExtension getAdExtension()
          Gets the adExtension value for this AdExtensionOverride.
 Long getAdId()
          Gets the adId value for this AdExtensionOverride.
 AdExtensionOverrideApprovalStatus getApprovalStatus()
          Gets the approvalStatus value for this AdExtensionOverride.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 OverrideInfo getOverrideInfo()
          Gets the overrideInfo value for this AdExtensionOverride.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 AdExtensionOverrideStats getStats()
          Gets the stats value for this AdExtensionOverride.
 AdExtensionOverrideStatus getStatus()
          Gets the status value for this AdExtensionOverride.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAdExtension(AdExtension adExtension)
          Sets the adExtension value for this AdExtensionOverride.
 void setAdId(Long adId)
          Sets the adId value for this AdExtensionOverride.
 void setApprovalStatus(AdExtensionOverrideApprovalStatus approvalStatus)
          Sets the approvalStatus value for this AdExtensionOverride.
 void setOverrideInfo(OverrideInfo overrideInfo)
          Sets the overrideInfo value for this AdExtensionOverride.
 void setStats(AdExtensionOverrideStats stats)
          Sets the stats value for this AdExtensionOverride.
 void setStatus(AdExtensionOverrideStatus status)
          Sets the status value for this AdExtensionOverride.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdExtensionOverride

public AdExtensionOverride()

AdExtensionOverride

public AdExtensionOverride(Long adId,
                           AdExtension adExtension,
                           OverrideInfo overrideInfo,
                           AdExtensionOverrideStatus status,
                           AdExtensionOverrideApprovalStatus approvalStatus,
                           AdExtensionOverrideStats stats)
Method Detail

getAdId

public Long getAdId()
Gets the adId value for this AdExtensionOverride.

Returns:
adId * ID of the ad being overridden by adExtension This field is required and should not be null.

setAdId

public void setAdId(Long adId)
Sets the adId value for this AdExtensionOverride.

Parameters:
adId - * ID of the ad being overridden by adExtension This field is required and should not be null.

getAdExtension

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

Returns:
adExtension * The override ad extension This field is required and should not be null.

setAdExtension

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

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

getOverrideInfo

public OverrideInfo getOverrideInfo()
Gets the overrideInfo value for this AdExtensionOverride.

Returns:
overrideInfo * Additional extension override info to augment the ad extension override. If none is specified, default settings will be used.

setOverrideInfo

public void setOverrideInfo(OverrideInfo overrideInfo)
Sets the overrideInfo value for this AdExtensionOverride.

Parameters:
overrideInfo - * Additional extension override info to augment the ad extension override. If none is specified, default settings will be used.

getStatus

public AdExtensionOverrideStatus getStatus()
Gets the status value for this AdExtensionOverride.

Returns:
status * Status of ad extension override at the ad level. The status will start ACTIVE on add and will become DELETED on remove (ie. cannot modify status) This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setStatus

public void setStatus(AdExtensionOverrideStatus status)
Sets the status value for this AdExtensionOverride.

Parameters:
status - * Status of ad extension override at the ad level. The status will start ACTIVE on add and will become DELETED on remove (ie. cannot modify status) This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getApprovalStatus

public AdExtensionOverrideApprovalStatus getApprovalStatus()
Gets the approvalStatus value for this AdExtensionOverride.

Returns:
approvalStatus * Approval status This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setApprovalStatus

public void setApprovalStatus(AdExtensionOverrideApprovalStatus approvalStatus)
Sets the approvalStatus value for this AdExtensionOverride.

Parameters:
approvalStatus - * Approval status This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getStats

public AdExtensionOverrideStats getStats()
Gets the stats value for this AdExtensionOverride.

Returns:
stats * Stats for the ad extension override 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(AdExtensionOverrideStats stats)
Sets the stats value for this AdExtensionOverride.

Parameters:
stats - * Stats for the ad extension override 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.