public class BreakTemplate extends Object implements Serializable
BreakTemplate defines what kinds of ads show at which
positions within a pod.
Break templates are made up of AdSpot objects.
A break template must have a single ad
spot that has AdSpot#flexible set to true.
| Constructor and Description |
|---|
BreakTemplate() |
BreakTemplate(Long id,
Boolean customTemplate,
String name,
String displayName,
BreakTemplateBreakTemplateMember[] breakTemplateMembers) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BreakTemplateBreakTemplateMember[] |
getBreakTemplateMembers()
Gets the breakTemplateMembers value for this BreakTemplate.
|
BreakTemplateBreakTemplateMember |
getBreakTemplateMembers(int i) |
Boolean |
getCustomTemplate()
Gets the customTemplate value for this BreakTemplate.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getDisplayName()
Gets the displayName value for this BreakTemplate.
|
Long |
getId()
Gets the id value for this BreakTemplate.
|
String |
getName()
Gets the name value for this BreakTemplate.
|
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 |
setBreakTemplateMembers(BreakTemplateBreakTemplateMember[] breakTemplateMembers)
Sets the breakTemplateMembers value for this BreakTemplate.
|
void |
setBreakTemplateMembers(int i,
BreakTemplateBreakTemplateMember _value) |
void |
setCustomTemplate(Boolean customTemplate)
Sets the customTemplate value for this BreakTemplate.
|
void |
setDisplayName(String displayName)
Sets the displayName value for this BreakTemplate.
|
void |
setId(Long id)
Sets the id value for this BreakTemplate.
|
void |
setName(String name)
Sets the name value for this BreakTemplate.
|
String |
toString() |
public BreakTemplate()
public BreakTemplate(Long id, Boolean customTemplate, String name, String displayName, BreakTemplateBreakTemplateMember[] breakTemplateMembers)
public Long getId()
BreakTemplate. This value is readonly
and is assigned by
Google.public void setId(Long id)
id - * The unique ID of the BreakTemplate. This value is readonly
and is assigned by
Google.public Boolean getCustomTemplate()
Only custom templates can have names and display names.
public void setCustomTemplate(Boolean customTemplate)
customTemplate - * Whether this is custom template. Custom templates get created
outside of the ad rule workflow
and can be referenced in ad tags.
Only custom templates can have names and display names.
public String getName()
BreakTemplate. The name is case insenstive
and can be referenced in ad
tags. This value is required if customTemplate
is true, and cannot be set otherwise.
You can use alphanumeric characters and symbols other than the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character.
public void setName(String name)
name - * Name of the BreakTemplate. The name is case insenstive
and can be referenced in ad
tags. This value is required if customTemplate
is true, and cannot be set otherwise.
You can use alphanumeric characters and symbols other than the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character.
public String getDisplayName()
BreakTemplateDto. This value
is optional if customTemplate is true, and cannot be set otherwise.public void setDisplayName(String displayName)
displayName - * Descriptive name for the BreakTemplateDto. This value
is optional if customTemplate is true, and cannot be set otherwise.public BreakTemplateBreakTemplateMember[] getBreakTemplateMembers()
BreakTemplateMember objects in the
order in which they should appear
in the ad pod. Each BreakTemplateMember has
a reference to a AdSpot,
which defines what kinds of ads can appear at that
position, as well as other metadata that
defines how each ad spot should be filled.public void setBreakTemplateMembers(BreakTemplateBreakTemplateMember[] breakTemplateMembers)
breakTemplateMembers - * The list of the BreakTemplateMember objects in the
order in which they should appear
in the ad pod. Each BreakTemplateMember has
a reference to a AdSpot,
which defines what kinds of ads can appear at that
position, as well as other metadata that
defines how each ad spot should be filled.public BreakTemplateBreakTemplateMember getBreakTemplateMembers(int i)
public void setBreakTemplateMembers(int i,
BreakTemplateBreakTemplateMember _value)
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2020. All rights reserved.