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

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Ad
      extended by com.google.api.ads.adwords.v201109.cm.RichMediaAd
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ThirdPartyRedirectAd

public abstract class RichMediaAd
extends Ad
implements Serializable

Data associated with a rich media ad.

See Also:
Serialized Form

Constructor Summary
RichMediaAd()
           
RichMediaAd(Long id, String url, String displayUrl, AdApprovalStatus approvalStatus, String[] disapprovalReasons, Boolean trademarkDisapproved, String adType, String name, Dimensions dimensions, String snippet, String impressionBeaconUrl, Long certifiedVendorFormatId)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getCertifiedVendorFormatId()
          Gets the certifiedVendorFormatId value for this RichMediaAd.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Dimensions getDimensions()
          Gets the dimensions value for this RichMediaAd.
 String getImpressionBeaconUrl()
          Gets the impressionBeaconUrl value for this RichMediaAd.
 String getName()
          Gets the name value for this RichMediaAd.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getSnippet()
          Gets the snippet value for this RichMediaAd.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCertifiedVendorFormatId(Long certifiedVendorFormatId)
          Sets the certifiedVendorFormatId value for this RichMediaAd.
 void setDimensions(Dimensions dimensions)
          Sets the dimensions value for this RichMediaAd.
 void setImpressionBeaconUrl(String impressionBeaconUrl)
          Sets the impressionBeaconUrl value for this RichMediaAd.
 void setName(String name)
          Sets the name value for this RichMediaAd.
 void setSnippet(String snippet)
          Sets the snippet value for this RichMediaAd.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.Ad
getAdType, getApprovalStatus, getDisapprovalReasons, getDisapprovalReasons, getDisplayUrl, getId, getTrademarkDisapproved, getUrl, setAdType, setApprovalStatus, setDisapprovalReasons, setDisapprovalReasons, setDisplayUrl, setId, setTrademarkDisapproved, setUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RichMediaAd

public RichMediaAd()

RichMediaAd

public RichMediaAd(Long id,
                   String url,
                   String displayUrl,
                   AdApprovalStatus approvalStatus,
                   String[] disapprovalReasons,
                   Boolean trademarkDisapproved,
                   String adType,
                   String name,
                   Dimensions dimensions,
                   String snippet,
                   String impressionBeaconUrl,
                   Long certifiedVendorFormatId)
Method Detail

getName

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

Returns:
name * Name of the rich media ad. This field can be selected using the value "RichMediaAdName". This field is required and should not be null.

setName

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

Parameters:
name - * Name of the rich media ad. This field can be selected using the value "RichMediaAdName". This field is required and should not be null.

getDimensions

public Dimensions getDimensions()
Gets the dimensions value for this RichMediaAd.

Returns:
dimensions * Dimensions (height and width) of the ad. It's required for standard third party ads.

setDimensions

public void setDimensions(Dimensions dimensions)
Sets the dimensions value for this RichMediaAd.

Parameters:
dimensions - * Dimensions (height and width) of the ad. It's required for standard third party ads.

getSnippet

public String getSnippet()
Gets the snippet value for this RichMediaAd.

Returns:
snippet * Snippet for this ad. It's required for standard third party ads. This field can be selected using the value "RichMediaAdSnippet".

setSnippet

public void setSnippet(String snippet)
Sets the snippet value for this RichMediaAd.

Parameters:
snippet - * Snippet for this ad. It's required for standard third party ads. This field can be selected using the value "RichMediaAdSnippet".

getImpressionBeaconUrl

public String getImpressionBeaconUrl()
Gets the impressionBeaconUrl value for this RichMediaAd.

Returns:
impressionBeaconUrl * Impression beacon URL for the ad. This field can be selected using the value "RichMediaAdImpressionBeaconUrl".

setImpressionBeaconUrl

public void setImpressionBeaconUrl(String impressionBeaconUrl)
Sets the impressionBeaconUrl value for this RichMediaAd.

Parameters:
impressionBeaconUrl - * Impression beacon URL for the ad. This field can be selected using the value "RichMediaAdImpressionBeaconUrl".

getCertifiedVendorFormatId

public Long getCertifiedVendorFormatId()
Gets the certifiedVendorFormatId value for this RichMediaAd.

Returns:
certifiedVendorFormatId * Certified Vendor Format ID. This field can be selected using the value "RichMediaAdCertifiedVendorFormatId". This field is required and should not be null.

setCertifiedVendorFormatId

public void setCertifiedVendorFormatId(Long certifiedVendorFormatId)
Sets the certifiedVendorFormatId value for this RichMediaAd.

Parameters:
certifiedVendorFormatId - * Certified Vendor Format ID. This field can be selected using the value "RichMediaAdCertifiedVendorFormatId". This field is required and should not be null.

equals

public boolean equals(Object obj)
Overrides:
equals in class Ad

hashCode

public int hashCode()
Overrides:
hashCode in class Ad

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.