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

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

public class ProductAd
extends Ad
implements Serializable

Represents a product ad (known as a product listing ad in the AdWords user interface). A product ad displays product data (managed using the Google Merchant Center) that is pulled from the Google base product feed specified in the parent campaign's product extension.

Product ads are only available to a limited set of advertisers. If you not eligible to use product ads, they will not serve.

Caution: Product ads do not use url or displayUrl; setting these fields on a product ad will cause an error.

See Also:
Serialized Form

Constructor Summary
ProductAd()
           
ProductAd(Long id, String url, String displayUrl, AdApprovalStatus approvalStatus, String[] disapprovalReasons, Boolean trademarkDisapproved, String adType, String promotionLine)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getPromotionLine()
          Gets the promotionLine value for this ProductAd.
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 setPromotionLine(String promotionLine)
          Sets the promotionLine value for this ProductAd.
 
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

ProductAd

public ProductAd()

ProductAd

public ProductAd(Long id,
                 String url,
                 String displayUrl,
                 AdApprovalStatus approvalStatus,
                 String[] disapprovalReasons,
                 Boolean trademarkDisapproved,
                 String adType,
                 String promotionLine)
Method Detail

getPromotionLine

public String getPromotionLine()
Gets the promotionLine value for this ProductAd.

Returns:
promotionLine * Promotional line for this ad. This text will be displayed in addition to the products. This field can be selected using the value "PromotionLine".This field can be filtered on.

setPromotionLine

public void setPromotionLine(String promotionLine)
Sets the promotionLine value for this ProductAd.

Parameters:
promotionLine - * Promotional line for this ad. This text will be displayed in addition to the products. This field can be selected using the value "PromotionLine".This field can be filtered on.

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.