public class VpaidLinearCreative extends HasDestinationUrlCreative implements Serializable
Creative that displays a DFP-hosted Flash-based ad
and is served via VAST 2.0 XML. It is displayed in a
linear fashion
with a video (before, after, interrupting). This creative
is read only.| Constructor and Description |
|---|
VpaidLinearCreative() |
VpaidLinearCreative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
String creativeType,
String destinationUrl,
String flashName,
byte[] flashByteArray,
Boolean overrideSize,
Size flashAssetSize,
long[] companionCreativeIds,
ConversionEvent_TrackingUrlsMapEntry[] trackingUrls,
String customParameters,
Integer duration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long[] |
getCompanionCreativeIds()
Gets the companionCreativeIds value for this VpaidLinearCreative.
|
long |
getCompanionCreativeIds(int i) |
String |
getCustomParameters()
Gets the customParameters value for this VpaidLinearCreative.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Integer |
getDuration()
Gets the duration value for this VpaidLinearCreative.
|
Size |
getFlashAssetSize()
Gets the flashAssetSize value for this VpaidLinearCreative.
|
byte[] |
getFlashByteArray()
Gets the flashByteArray value for this VpaidLinearCreative.
|
String |
getFlashName()
Gets the flashName value for this VpaidLinearCreative.
|
Boolean |
getOverrideSize()
Gets the overrideSize value for this VpaidLinearCreative.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
ConversionEvent_TrackingUrlsMapEntry[] |
getTrackingUrls()
Gets the trackingUrls value for this VpaidLinearCreative.
|
ConversionEvent_TrackingUrlsMapEntry |
getTrackingUrls(int i) |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCompanionCreativeIds(int i,
long _value) |
void |
setCompanionCreativeIds(long[] companionCreativeIds)
Sets the companionCreativeIds value for this VpaidLinearCreative.
|
void |
setCustomParameters(String customParameters)
Sets the customParameters value for this VpaidLinearCreative.
|
void |
setDuration(Integer duration)
Sets the duration value for this VpaidLinearCreative.
|
void |
setFlashAssetSize(Size flashAssetSize)
Sets the flashAssetSize value for this VpaidLinearCreative.
|
void |
setFlashByteArray(byte[] flashByteArray)
Sets the flashByteArray value for this VpaidLinearCreative.
|
void |
setFlashName(String flashName)
Sets the flashName value for this VpaidLinearCreative.
|
void |
setOverrideSize(Boolean overrideSize)
Sets the overrideSize value for this VpaidLinearCreative.
|
void |
setTrackingUrls(ConversionEvent_TrackingUrlsMapEntry[] trackingUrls)
Sets the trackingUrls value for this VpaidLinearCreative.
|
void |
setTrackingUrls(int i,
ConversionEvent_TrackingUrlsMapEntry _value) |
getDestinationUrl, setDestinationUrlgetAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSizepublic VpaidLinearCreative()
public VpaidLinearCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, String creativeType, String destinationUrl, String flashName, byte[] flashByteArray, Boolean overrideSize, Size flashAssetSize, long[] companionCreativeIds, ConversionEvent_TrackingUrlsMapEntry[] trackingUrls, String customParameters, Integer duration)
public String getFlashName()
public void setFlashName(String flashName)
flashName - * The name of the Flash asset. This attribute is required and
has a maximum
length of 248 characters.public byte[] getFlashByteArray()
flashByteArray will be null when the FlashCreative is retrieved. To view the Flash
image, use the previewUrl.public void setFlashByteArray(byte[] flashByteArray)
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.public Boolean getOverrideSize()
public void setOverrideSize(Boolean overrideSize)
overrideSize - * Allows the creative size to differ from the actual Flash asset
size. This
attribute is optional.public Size getFlashAssetSize()
Creative.size if
overrideSize is set to true. This attribute
is read-only and is
populated by Google.public void setFlashAssetSize(Size flashAssetSize)
flashAssetSize - * The Flash asset size. Note that this may differ from Creative.size if
overrideSize is set to true. This attribute
is read-only and is
populated by Google.public long[] getCompanionCreativeIds()
public void setCompanionCreativeIds(long[] companionCreativeIds)
companionCreativeIds - * The IDs of the companion creatives that are associated with
this creative.
This attribute is optional.public long getCompanionCreativeIds(int i)
public void setCompanionCreativeIds(int i,
long _value)
public ConversionEvent_TrackingUrlsMapEntry[] getTrackingUrls()
ConversionEvent to a list of URLs that will
be pinged
when the event happens. This attribute is optional.public void setTrackingUrls(ConversionEvent_TrackingUrlsMapEntry[] trackingUrls)
trackingUrls - * A map from ConversionEvent to a list of URLs that will
be pinged
when the event happens. This attribute is optional.public ConversionEvent_TrackingUrlsMapEntry getTrackingUrls(int i)
public void setTrackingUrls(int i,
ConversionEvent_TrackingUrlsMapEntry _value)
public String getCustomParameters()
AdParameters section.
This attribute is optional.public void setCustomParameters(String customParameters)
customParameters - * A string that is supplied to the VPAID creative's init function.
This is written into the VAST XML in the AdParameters section.
This attribute is optional.public Integer getDuration()
public void setDuration(Integer duration)
duration - * Duration in milliseconds for the vpaid ad given no user interaction.
This attribute is optional.public boolean equals(Object obj)
equals in class HasDestinationUrlCreativepublic int hashCode()
hashCode in class HasDestinationUrlCreativepublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2013. All Rights Reserved.