com.google.api.ads.dfp.axis.v201201
Class BaseFlashCreative

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201201.Creative
      extended by com.google.api.ads.dfp.axis.v201201.HasDestinationUrlCreative
          extended by com.google.api.ads.dfp.axis.v201201.BaseFlashCreative
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FlashCreative

public abstract class BaseFlashCreative
extends HasDestinationUrlCreative
implements Serializable

A base type for creatives that display a Flash-based ad. If the Flash ad cannot load, a fallback image is displayed instead.

See Also:
Serialized Form

Constructor Summary
BaseFlashCreative()
           
BaseFlashCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, String creativeType, String destinationUrl, String flashName, byte[] flashByteArray, String fallbackImageName, byte[] fallbackImageByteArray, Boolean overrideSize, Boolean clickTagRequired, String fallbackPreviewUrl, Size flashAssetSize, Size fallbackAssetSize)
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getClickTagRequired()
          Gets the clickTagRequired value for this BaseFlashCreative.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Size getFallbackAssetSize()
          Gets the fallbackAssetSize value for this BaseFlashCreative.
 byte[] getFallbackImageByteArray()
          Gets the fallbackImageByteArray value for this BaseFlashCreative.
 String getFallbackImageName()
          Gets the fallbackImageName value for this BaseFlashCreative.
 String getFallbackPreviewUrl()
          Gets the fallbackPreviewUrl value for this BaseFlashCreative.
 Size getFlashAssetSize()
          Gets the flashAssetSize value for this BaseFlashCreative.
 byte[] getFlashByteArray()
          Gets the flashByteArray value for this BaseFlashCreative.
 String getFlashName()
          Gets the flashName value for this BaseFlashCreative.
 Boolean getOverrideSize()
          Gets the overrideSize value for this BaseFlashCreative.
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 setClickTagRequired(Boolean clickTagRequired)
          Sets the clickTagRequired value for this BaseFlashCreative.
 void setFallbackAssetSize(Size fallbackAssetSize)
          Sets the fallbackAssetSize value for this BaseFlashCreative.
 void setFallbackImageByteArray(byte[] fallbackImageByteArray)
          Sets the fallbackImageByteArray value for this BaseFlashCreative.
 void setFallbackImageName(String fallbackImageName)
          Sets the fallbackImageName value for this BaseFlashCreative.
 void setFallbackPreviewUrl(String fallbackPreviewUrl)
          Sets the fallbackPreviewUrl value for this BaseFlashCreative.
 void setFlashAssetSize(Size flashAssetSize)
          Sets the flashAssetSize value for this BaseFlashCreative.
 void setFlashByteArray(byte[] flashByteArray)
          Sets the flashByteArray value for this BaseFlashCreative.
 void setFlashName(String flashName)
          Sets the flashName value for this BaseFlashCreative.
 void setOverrideSize(Boolean overrideSize)
          Sets the overrideSize value for this BaseFlashCreative.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201201.HasDestinationUrlCreative
getDestinationUrl, setDestinationUrl
 
Methods inherited from class com.google.api.ads.dfp.axis.v201201.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

BaseFlashCreative

public BaseFlashCreative()

BaseFlashCreative

public BaseFlashCreative(Long advertiserId,
                         Long id,
                         String name,
                         Size size,
                         String previewUrl,
                         AppliedLabel[] appliedLabels,
                         DateTime lastModifiedDateTime,
                         String creativeType,
                         String destinationUrl,
                         String flashName,
                         byte[] flashByteArray,
                         String fallbackImageName,
                         byte[] fallbackImageByteArray,
                         Boolean overrideSize,
                         Boolean clickTagRequired,
                         String fallbackPreviewUrl,
                         Size flashAssetSize,
                         Size fallbackAssetSize)
Method Detail

getFlashName

public String getFlashName()
Gets the flashName value for this BaseFlashCreative.

Returns:
flashName * The name of the Flash asset. This attribute is required and has a maximum length of 248 characters.

setFlashName

public void setFlashName(String flashName)
Sets the flashName value for this BaseFlashCreative.

Parameters:
flashName - * The name of the Flash asset. This attribute is required and has a maximum length of 248 characters.

getFlashByteArray

public byte[] getFlashByteArray()
Gets the flashByteArray value for this BaseFlashCreative.

Returns:
flashByteArray * The contents of the Flash asset as a byte array. This attribute is required. The flashByteArray will be null when the FlashCreative is retrieved. To view the Flash image, use the previewUrl.

setFlashByteArray

public void setFlashByteArray(byte[] flashByteArray)
Sets the flashByteArray value for this BaseFlashCreative.

Parameters:
flashByteArray - * The contents of the Flash asset as a byte array. This attribute is required. The flashByteArray will be null when the FlashCreative is retrieved. To view the Flash image, use the previewUrl.

getFallbackImageName

public String getFallbackImageName()
Gets the fallbackImageName value for this BaseFlashCreative.

Returns:
fallbackImageName * The name of the image asset to fallback on if the Flash creative cannot be loaded.

setFallbackImageName

public void setFallbackImageName(String fallbackImageName)
Sets the fallbackImageName value for this BaseFlashCreative.

Parameters:
fallbackImageName - * The name of the image asset to fallback on if the Flash creative cannot be loaded.

getFallbackImageByteArray

public byte[] getFallbackImageByteArray()
Gets the fallbackImageByteArray value for this BaseFlashCreative.

Returns:
fallbackImageByteArray * The contents of the fallback image asset as a byte array. This attribute is required. The fallbackImageByteArray will be null when a FlashCreative is retrieved. To view the fallback image, use the fallbackPreviewUrl.

setFallbackImageByteArray

public void setFallbackImageByteArray(byte[] fallbackImageByteArray)
Sets the fallbackImageByteArray value for this BaseFlashCreative.

Parameters:
fallbackImageByteArray - * The contents of the fallback image asset as a byte array. This attribute is required. The fallbackImageByteArray will be null when a FlashCreative is retrieved. To view the fallback image, use the fallbackPreviewUrl.

getOverrideSize

public Boolean getOverrideSize()
Gets the overrideSize value for this BaseFlashCreative.

Returns:
overrideSize * Allows the creative size to differ from the actual Flash asset size. This attribute is optional.

setOverrideSize

public void setOverrideSize(Boolean overrideSize)
Sets the overrideSize value for this BaseFlashCreative.

Parameters:
overrideSize - * Allows the creative size to differ from the actual Flash asset size. This attribute is optional.

getClickTagRequired

public Boolean getClickTagRequired()
Gets the clickTagRequired value for this BaseFlashCreative.

Returns:
clickTagRequired * Specifies whether the Flash asset is required to have a click tag embedded in it or not. This attribute is optional.

setClickTagRequired

public void setClickTagRequired(Boolean clickTagRequired)
Sets the clickTagRequired value for this BaseFlashCreative.

Parameters:
clickTagRequired - * Specifies whether the Flash asset is required to have a click tag embedded in it or not. This attribute is optional.

getFallbackPreviewUrl

public String getFallbackPreviewUrl()
Gets the fallbackPreviewUrl value for this BaseFlashCreative.

Returns:
fallbackPreviewUrl * The URL of the fallback image for preview. This attribute is read-only and is populated by Google.

setFallbackPreviewUrl

public void setFallbackPreviewUrl(String fallbackPreviewUrl)
Sets the fallbackPreviewUrl value for this BaseFlashCreative.

Parameters:
fallbackPreviewUrl - * The URL of the fallback image for preview. This attribute is read-only and is populated by Google.

getFlashAssetSize

public Size getFlashAssetSize()
Gets the flashAssetSize value for this BaseFlashCreative.

Returns:
flashAssetSize * The Flash asset size. Note that this may differ from size if overrideSize is set to true. This attribute is read-only and is populated by Google.

setFlashAssetSize

public void setFlashAssetSize(Size flashAssetSize)
Sets the flashAssetSize value for this BaseFlashCreative.

Parameters:
flashAssetSize - * The Flash asset size. Note that this may differ from size if overrideSize is set to true. This attribute is read-only and is populated by Google.

getFallbackAssetSize

public Size getFallbackAssetSize()
Gets the fallbackAssetSize value for this BaseFlashCreative.

Returns:
fallbackAssetSize * Fallback image asset size. Note that this may differ from size if overrideSize is set to true. This attribute is read-only and is populated by Google.

setFallbackAssetSize

public void setFallbackAssetSize(Size fallbackAssetSize)
Sets the fallbackAssetSize value for this BaseFlashCreative.

Parameters:
fallbackAssetSize - * Fallback image asset size. Note that this may differ from size if overrideSize is set to true. This attribute is read-only and is populated by Google.

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.