public class CustomCreative extends HasDestinationUrlCreative implements Serializable
Creative that contains an arbitrary HTML snippet and
file assets.| Constructor and Description |
|---|
CustomCreative() |
CustomCreative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
CreativePolicyViolation[] policyViolations,
CreativePolicyViolation[] policyLabels,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
String destinationUrl,
DestinationUrlType destinationUrlType,
String htmlSnippet,
CustomCreativeAsset[] customCreativeAssets,
Boolean isInterstitial,
LockedOrientation lockedOrientation,
SslScanResult sslScanResult,
SslManualOverride sslManualOverride,
Boolean isSafeFrameCompatible,
String[] thirdPartyImpressionTrackingUrls) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CustomCreativeAsset[] |
getCustomCreativeAssets()
Gets the customCreativeAssets value for this CustomCreative.
|
CustomCreativeAsset |
getCustomCreativeAssets(int i) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getHtmlSnippet()
Gets the htmlSnippet value for this CustomCreative.
|
Boolean |
getIsInterstitial()
Gets the isInterstitial value for this CustomCreative.
|
Boolean |
getIsSafeFrameCompatible()
Gets the isSafeFrameCompatible value for this CustomCreative.
|
LockedOrientation |
getLockedOrientation()
Gets the lockedOrientation value for this CustomCreative.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
SslManualOverride |
getSslManualOverride()
Gets the sslManualOverride value for this CustomCreative.
|
SslScanResult |
getSslScanResult()
Gets the sslScanResult value for this CustomCreative.
|
String[] |
getThirdPartyImpressionTrackingUrls()
Gets the thirdPartyImpressionTrackingUrls value for this CustomCreative.
|
String |
getThirdPartyImpressionTrackingUrls(int i) |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCustomCreativeAssets(CustomCreativeAsset[] customCreativeAssets)
Sets the customCreativeAssets value for this CustomCreative.
|
void |
setCustomCreativeAssets(int i,
CustomCreativeAsset _value) |
void |
setHtmlSnippet(String htmlSnippet)
Sets the htmlSnippet value for this CustomCreative.
|
void |
setIsInterstitial(Boolean isInterstitial)
Sets the isInterstitial value for this CustomCreative.
|
void |
setIsSafeFrameCompatible(Boolean isSafeFrameCompatible)
Sets the isSafeFrameCompatible value for this CustomCreative.
|
void |
setLockedOrientation(LockedOrientation lockedOrientation)
Sets the lockedOrientation value for this CustomCreative.
|
void |
setSslManualOverride(SslManualOverride sslManualOverride)
Sets the sslManualOverride value for this CustomCreative.
|
void |
setSslScanResult(SslScanResult sslScanResult)
Sets the sslScanResult value for this CustomCreative.
|
void |
setThirdPartyImpressionTrackingUrls(int i,
String _value) |
void |
setThirdPartyImpressionTrackingUrls(String[] thirdPartyImpressionTrackingUrls)
Sets the thirdPartyImpressionTrackingUrls value for this CustomCreative.
|
String |
toString() |
getDestinationUrl, getDestinationUrlType, setDestinationUrl, setDestinationUrlTypegetAdvertiserId, getAppliedLabels, getAppliedLabels, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPolicyLabels, getPolicyLabels, getPolicyViolations, getPolicyViolations, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPolicyLabels, setPolicyLabels, setPolicyViolations, setPolicyViolations, setPreviewUrl, setSizepublic CustomCreative()
public CustomCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, CreativePolicyViolation[] policyViolations, CreativePolicyViolation[] policyLabels, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String destinationUrl, DestinationUrlType destinationUrlType, String htmlSnippet, CustomCreativeAsset[] customCreativeAssets, Boolean isInterstitial, LockedOrientation lockedOrientation, SslScanResult sslScanResult, SslManualOverride sslManualOverride, Boolean isSafeFrameCompatible, String[] thirdPartyImpressionTrackingUrls)
public String toString()
toString in class HasDestinationUrlCreativepublic String getHtmlSnippet()
public void setHtmlSnippet(String htmlSnippet)
htmlSnippet - * The HTML snippet that this creative delivers. This attribute
is required.public CustomCreativeAsset[] getCustomCreativeAssets()
public void setCustomCreativeAssets(CustomCreativeAsset[] customCreativeAssets)
customCreativeAssets - * A list of file assets that are associated with this creative,
and can be
referenced in the snippet.public CustomCreativeAsset getCustomCreativeAssets(int i)
public void setCustomCreativeAssets(int i,
CustomCreativeAsset _value)
public Boolean getIsInterstitial()
true if this custom creative is interstitial. An interstitial
creative will not consider an impression served until it is fully
rendered
in the browser.public void setIsInterstitial(Boolean isInterstitial)
isInterstitial - * true if this custom creative is interstitial. An interstitial
creative will not consider an impression served until it is fully
rendered
in the browser.public LockedOrientation getLockedOrientation()
public void setLockedOrientation(LockedOrientation lockedOrientation)
lockedOrientation - * A locked orientation for this creative to be displayed in.public SslScanResult getSslScanResult()
This attribute is read-only and determined by Google.
public void setSslScanResult(SslScanResult sslScanResult)
sslScanResult - * The SSL compatibility scan result of this creative.
This attribute is read-only and determined by Google.
public SslManualOverride getSslManualOverride()
This attribute is optional and defaults to
SslManualOverride.NO_OVERRIDE.
public void setSslManualOverride(SslManualOverride sslManualOverride)
sslManualOverride - * The manual override for the SSL compatibility of this creative.
This attribute is optional and defaults to
SslManualOverride.NO_OVERRIDE.
public Boolean getIsSafeFrameCompatible()
Creative is compatible for SafeFrame rendering.
This attribute is optional and defaults to
true.
public void setIsSafeFrameCompatible(Boolean isSafeFrameCompatible)
isSafeFrameCompatible - * Whether the Creative is compatible for SafeFrame rendering.
This attribute is optional and defaults to
true.
public String[] getThirdPartyImpressionTrackingUrls()
public void setThirdPartyImpressionTrackingUrls(String[] thirdPartyImpressionTrackingUrls)
thirdPartyImpressionTrackingUrls - * A list of impression tracking URLs to ping when this creative
is displayed. This field is
optional.public String getThirdPartyImpressionTrackingUrls(int i)
public void setThirdPartyImpressionTrackingUrls(int i,
String _value)
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 © 2019. All rights reserved.