com.google.api.ads.dfp.axis.v201203
Class TextAdCreative

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201203.Creative
      extended by com.google.api.ads.dfp.axis.v201203.HasDestinationUrlCreative
          extended by com.google.api.ads.dfp.axis.v201203.TextAdCreative
All Implemented Interfaces:
Serializable

public class TextAdCreative
extends HasDestinationUrlCreative
implements Serializable

A simple plain text-based Creative. This creative is only available to small business networks.

See Also:
Serialized Form

Constructor Summary
TextAdCreative()
           
TextAdCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, String creativeType, String destinationUrl, String hoverText, TargetWindow targetWindow, String linkColor, String linkTitle, String text, String textColor)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getHoverText()
          Gets the hoverText value for this TextAdCreative.
 String getLinkColor()
          Gets the linkColor value for this TextAdCreative.
 String getLinkTitle()
          Gets the linkTitle value for this TextAdCreative.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 TargetWindow getTargetWindow()
          Gets the targetWindow value for this TextAdCreative.
 String getText()
          Gets the text value for this TextAdCreative.
 String getTextColor()
          Gets the textColor value for this TextAdCreative.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setHoverText(String hoverText)
          Sets the hoverText value for this TextAdCreative.
 void setLinkColor(String linkColor)
          Sets the linkColor value for this TextAdCreative.
 void setLinkTitle(String linkTitle)
          Sets the linkTitle value for this TextAdCreative.
 void setTargetWindow(TargetWindow targetWindow)
          Sets the targetWindow value for this TextAdCreative.
 void setText(String text)
          Sets the text value for this TextAdCreative.
 void setTextColor(String textColor)
          Sets the textColor value for this TextAdCreative.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201203.HasDestinationUrlCreative
getDestinationUrl, setDestinationUrl
 
Methods inherited from class com.google.api.ads.dfp.axis.v201203.Creative
getAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAdCreative

public TextAdCreative()

TextAdCreative

public TextAdCreative(Long advertiserId,
                      Long id,
                      String name,
                      Size size,
                      String previewUrl,
                      AppliedLabel[] appliedLabels,
                      DateTime lastModifiedDateTime,
                      String creativeType,
                      String destinationUrl,
                      String hoverText,
                      TargetWindow targetWindow,
                      String linkColor,
                      String linkTitle,
                      String text,
                      String textColor)
Method Detail

getHoverText

public String getHoverText()
Gets the hoverText value for this TextAdCreative.

Returns:
hoverText * The hover text that appears over the linkTitle. This attribute is optional and has a maximum length of 255 characters.

setHoverText

public void setHoverText(String hoverText)
Sets the hoverText value for this TextAdCreative.

Parameters:
hoverText - * The hover text that appears over the linkTitle. This attribute is optional and has a maximum length of 255 characters.

getTargetWindow

public TargetWindow getTargetWindow()
Gets the targetWindow value for this TextAdCreative.

Returns:
targetWindow * The target window that the link takes you to. This attribute is required.

setTargetWindow

public void setTargetWindow(TargetWindow targetWindow)
Sets the targetWindow value for this TextAdCreative.

Parameters:
targetWindow - * The target window that the link takes you to. This attribute is required.

getLinkColor

public String getLinkColor()
Gets the linkColor value for this TextAdCreative.

Returns:
linkColor * The color of the linkTitle, either as a hexadecimal value or a standard color name from HTML specifications (e.g. #FFFFFF or white). This attribute is required.

setLinkColor

public void setLinkColor(String linkColor)
Sets the linkColor value for this TextAdCreative.

Parameters:
linkColor - * The color of the linkTitle, either as a hexadecimal value or a standard color name from HTML specifications (e.g. #FFFFFF or white). This attribute is required.

getLinkTitle

public String getLinkTitle()
Gets the linkTitle value for this TextAdCreative.

Returns:
linkTitle * The link title that the user would click to go to the destintationUrl. This attribute is required and has a maximum length of 255 characters.

setLinkTitle

public void setLinkTitle(String linkTitle)
Sets the linkTitle value for this TextAdCreative.

Parameters:
linkTitle - * The link title that the user would click to go to the destintationUrl. This attribute is required and has a maximum length of 255 characters.

getText

public String getText()
Gets the text value for this TextAdCreative.

Returns:
text * The text that appears following the linkTitle. This attribute is optional and has a maximum length of 255 characters.

setText

public void setText(String text)
Sets the text value for this TextAdCreative.

Parameters:
text - * The text that appears following the linkTitle. This attribute is optional and has a maximum length of 255 characters.

getTextColor

public String getTextColor()
Gets the textColor value for this TextAdCreative.

Returns:
textColor * The color of the text, either as a hexadecimal value or a standard color name from the HTML specifications (e.g. #FFFFFF or white). This attribute is optional and defaults to black.

setTextColor

public void setTextColor(String textColor)
Sets the textColor value for this TextAdCreative.

Parameters:
textColor - * The color of the text, either as a hexadecimal value or a standard color name from the HTML specifications (e.g. #FFFFFF or white). This attribute is optional and defaults to black.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class HasDestinationUrlCreative

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 © 2012. All Rights Reserved.