|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.cm.Ad
com.google.api.ads.adwords.v201109.cm.ProductAd
public class ProductAd
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.
| 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 |
|---|
public ProductAd()
public ProductAd(Long id,
String url,
String displayUrl,
AdApprovalStatus approvalStatus,
String[] disapprovalReasons,
Boolean trademarkDisapproved,
String adType,
String promotionLine)
| Method Detail |
|---|
public String getPromotionLine()
public void setPromotionLine(String promotionLine)
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.public boolean equals(Object obj)
equals in class Adpublic int hashCode()
hashCode in class Adpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||