public class AdSpot extends Object implements Serializable
AdSpot is a targetable entity used in the creation of
AdRule objects.
A ad spot contains a variable number of ads and has constraints (ad duration, reservation type, etc) on the ads that can appear in it.
| Constructor and Description |
|---|
AdSpot() |
AdSpot(Long id,
String name,
String displayName,
Boolean customSpot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getCustomSpot()
Gets the customSpot value for this AdSpot.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getDisplayName()
Gets the displayName value for this AdSpot.
|
Long |
getId()
Gets the id value for this AdSpot.
|
String |
getName()
Gets the name value for this AdSpot.
|
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 |
setCustomSpot(Boolean customSpot)
Sets the customSpot value for this AdSpot.
|
void |
setDisplayName(String displayName)
Sets the displayName value for this AdSpot.
|
void |
setId(Long id)
Sets the id value for this AdSpot.
|
void |
setName(String name)
Sets the name value for this AdSpot.
|
String |
toString() |
public Long getId()
AdSpot. This value is readonly
and is assigned by Google.public void setId(Long id)
id - * The unique ID of the AdSpot. This value is readonly
and is assigned by Google.public String getName()
AdSpot. The name is case insenstive and
can be referenced in ad tags. This
value is required if customSpot 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 AdSpot. The name is case insenstive and
can be referenced in ad tags. This
value is required if customSpot 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()
AdSpot.This value is optional
if customSpot is true,
and cannot be set otherwise.public void setDisplayName(String displayName)
displayName - * Descriptive name for the AdSpot.This value is optional
if customSpot is true,
and cannot be set otherwise.public Boolean getCustomSpot()
Custom spots can be reused and targeted in the targeting picker.
public void setCustomSpot(Boolean customSpot)
customSpot - * Whether this ad spot is a custom spot. This field is optional
and defaults to false.
Custom spots can be reused and targeted in the targeting picker.
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.