public class TemplateCreative extends Creative implements Serializable
Creative that is created by the specified creative template.| Constructor and Description |
|---|
TemplateCreative() |
TemplateCreative(Long advertiserId,
Long id,
String name,
Size size,
String previewUrl,
CreativePolicyViolation[] policyLabels,
AppliedLabel[] appliedLabels,
DateTime lastModifiedDateTime,
BaseCustomFieldValue[] customFieldValues,
ThirdPartyDataDeclaration thirdPartyDataDeclaration,
ThirdPartyDataDeclarationStatus thirdPartyDataDeclarationStatus,
Boolean adBadgingEnabled,
Boolean selfDeclaredEuropeanUnionPoliticalContent,
Long creativeTemplateId,
Boolean isInterstitial,
Boolean isNativeEligible,
Boolean isSafeFrameCompatible,
String destinationUrl,
BaseCreativeTemplateVariableValue[] creativeTemplateVariableValues,
SslScanResult sslScanResult,
SslManualOverride sslManualOverride,
LockedOrientation lockedOrientation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getCreativeTemplateId()
Gets the creativeTemplateId value for this TemplateCreative.
|
BaseCreativeTemplateVariableValue[] |
getCreativeTemplateVariableValues()
Gets the creativeTemplateVariableValues value for this TemplateCreative.
|
BaseCreativeTemplateVariableValue |
getCreativeTemplateVariableValues(int i) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getDestinationUrl()
Gets the destinationUrl value for this TemplateCreative.
|
Boolean |
getIsInterstitial()
Gets the isInterstitial value for this TemplateCreative.
|
Boolean |
getIsNativeEligible()
Gets the isNativeEligible value for this TemplateCreative.
|
Boolean |
getIsSafeFrameCompatible()
Gets the isSafeFrameCompatible value for this TemplateCreative.
|
LockedOrientation |
getLockedOrientation()
Gets the lockedOrientation value for this TemplateCreative.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
SslManualOverride |
getSslManualOverride()
Gets the sslManualOverride value for this TemplateCreative.
|
SslScanResult |
getSslScanResult()
Gets the sslScanResult value for this TemplateCreative.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCreativeTemplateId(Long creativeTemplateId)
Sets the creativeTemplateId value for this TemplateCreative.
|
void |
setCreativeTemplateVariableValues(BaseCreativeTemplateVariableValue[] creativeTemplateVariableValues)
Sets the creativeTemplateVariableValues value for this TemplateCreative.
|
void |
setCreativeTemplateVariableValues(int i,
BaseCreativeTemplateVariableValue _value) |
void |
setDestinationUrl(String destinationUrl)
Sets the destinationUrl value for this TemplateCreative.
|
void |
setIsInterstitial(Boolean isInterstitial)
Sets the isInterstitial value for this TemplateCreative.
|
void |
setIsNativeEligible(Boolean isNativeEligible)
Sets the isNativeEligible value for this TemplateCreative.
|
void |
setIsSafeFrameCompatible(Boolean isSafeFrameCompatible)
Sets the isSafeFrameCompatible value for this TemplateCreative.
|
void |
setLockedOrientation(LockedOrientation lockedOrientation)
Sets the lockedOrientation value for this TemplateCreative.
|
void |
setSslManualOverride(SslManualOverride sslManualOverride)
Sets the sslManualOverride value for this TemplateCreative.
|
void |
setSslScanResult(SslScanResult sslScanResult)
Sets the sslScanResult value for this TemplateCreative.
|
String |
toString() |
getAdBadgingEnabled, getAdvertiserId, getAppliedLabels, getAppliedLabels, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPolicyLabels, getPolicyLabels, getPreviewUrl, getSelfDeclaredEuropeanUnionPoliticalContent, getSize, getThirdPartyDataDeclaration, getThirdPartyDataDeclarationStatus, setAdBadgingEnabled, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPolicyLabels, setPolicyLabels, setPreviewUrl, setSelfDeclaredEuropeanUnionPoliticalContent, setSize, setThirdPartyDataDeclaration, setThirdPartyDataDeclarationStatuspublic TemplateCreative()
public TemplateCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, CreativePolicyViolation[] policyLabels, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, ThirdPartyDataDeclaration thirdPartyDataDeclaration, ThirdPartyDataDeclarationStatus thirdPartyDataDeclarationStatus, Boolean adBadgingEnabled, Boolean selfDeclaredEuropeanUnionPoliticalContent, Long creativeTemplateId, Boolean isInterstitial, Boolean isNativeEligible, Boolean isSafeFrameCompatible, String destinationUrl, BaseCreativeTemplateVariableValue[] creativeTemplateVariableValues, SslScanResult sslScanResult, SslManualOverride sslManualOverride, LockedOrientation lockedOrientation)
public Long getCreativeTemplateId()
public void setCreativeTemplateId(Long creativeTemplateId)
creativeTemplateId - * Creative template ID that this creative is created from. This
field is required for creation
and immutable.public Boolean getIsInterstitial()
true if this template instantiated creative is interstitial.
This attribute is
read-only and is assigned by Google based on the
creative template.public void setIsInterstitial(Boolean isInterstitial)
isInterstitial - * true if this template instantiated creative is interstitial.
This attribute is
read-only and is assigned by Google based on the
creative template.public Boolean getIsNativeEligible()
true if this template instantiated creative is eligible
for native adserving. This
attribute is read-only and is assigned by Google
based on the creative template.public void setIsNativeEligible(Boolean isNativeEligible)
isNativeEligible - * true if this template instantiated creative is eligible
for native adserving. This
attribute is read-only and is assigned by Google
based on the creative template.public Boolean getIsSafeFrameCompatible()
Creative is compatible for SafeFrame rendering.
This attribute is read-only and is assigned
by Google based on the CreativeTemplate.
public void setIsSafeFrameCompatible(Boolean isSafeFrameCompatible)
isSafeFrameCompatible - * Whether the Creative is compatible for SafeFrame rendering.
This attribute is read-only and is assigned
by Google based on the CreativeTemplate.
public String getDestinationUrl()
%u
or %%DEST_URL%% macro. It has a maximum
length of 1024 characters.public void setDestinationUrl(String destinationUrl)
destinationUrl - * The URL the user is directed to if they click on the creative.
This attribute is only required
if the template snippet contains the %u
or %%DEST_URL%% macro. It has a maximum
length of 1024 characters.public BaseCreativeTemplateVariableValue[] getCreativeTemplateVariableValues()
CreativeTemplateVariable in the CreativeTemplate.public void setCreativeTemplateVariableValues(BaseCreativeTemplateVariableValue[] creativeTemplateVariableValues)
creativeTemplateVariableValues - * Stores values of CreativeTemplateVariable in the CreativeTemplate.public BaseCreativeTemplateVariableValue getCreativeTemplateVariableValues(int i)
public void setCreativeTemplateVariableValues(int i,
BaseCreativeTemplateVariableValue _value)
public SslScanResult getSslScanResult()
This attribute is read-only and determined by Google.
public void setSslScanResult(SslScanResult sslScanResult)
sslScanResult - * The SSL compatibility scan result for 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 LockedOrientation getLockedOrientation()
public void setLockedOrientation(LockedOrientation lockedOrientation)
lockedOrientation - * A locked orientation for this creative to be displayed in.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2026. All rights reserved.