public class Targeting extends Object implements Serializable
LineItem objects. See
LineItem.targeting.| Constructor and Description |
|---|
Targeting() |
Targeting(GeoTargeting geoTargeting,
InventoryTargeting inventoryTargeting,
DayPartTargeting dayPartTargeting,
DateTimeRangeTargeting dateTimeRangeTargeting,
TechnologyTargeting technologyTargeting,
CustomCriteriaSet customTargeting,
UserDomainTargeting userDomainTargeting,
ContentTargeting contentTargeting,
VideoPositionTargeting videoPositionTargeting,
MobileApplicationTargeting mobileApplicationTargeting,
RequestPlatformTargeting requestPlatformTargeting) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ContentTargeting |
getContentTargeting()
Gets the contentTargeting value for this Targeting.
|
CustomCriteriaSet |
getCustomTargeting()
Gets the customTargeting value for this Targeting.
|
DateTimeRangeTargeting |
getDateTimeRangeTargeting()
Gets the dateTimeRangeTargeting value for this Targeting.
|
DayPartTargeting |
getDayPartTargeting()
Gets the dayPartTargeting value for this Targeting.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
GeoTargeting |
getGeoTargeting()
Gets the geoTargeting value for this Targeting.
|
InventoryTargeting |
getInventoryTargeting()
Gets the inventoryTargeting value for this Targeting.
|
MobileApplicationTargeting |
getMobileApplicationTargeting()
Gets the mobileApplicationTargeting value for this Targeting.
|
RequestPlatformTargeting |
getRequestPlatformTargeting()
Gets the requestPlatformTargeting value for this Targeting.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
TechnologyTargeting |
getTechnologyTargeting()
Gets the technologyTargeting value for this Targeting.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
UserDomainTargeting |
getUserDomainTargeting()
Gets the userDomainTargeting value for this Targeting.
|
VideoPositionTargeting |
getVideoPositionTargeting()
Gets the videoPositionTargeting value for this Targeting.
|
int |
hashCode() |
void |
setContentTargeting(ContentTargeting contentTargeting)
Sets the contentTargeting value for this Targeting.
|
void |
setCustomTargeting(CustomCriteriaSet customTargeting)
Sets the customTargeting value for this Targeting.
|
void |
setDateTimeRangeTargeting(DateTimeRangeTargeting dateTimeRangeTargeting)
Sets the dateTimeRangeTargeting value for this Targeting.
|
void |
setDayPartTargeting(DayPartTargeting dayPartTargeting)
Sets the dayPartTargeting value for this Targeting.
|
void |
setGeoTargeting(GeoTargeting geoTargeting)
Sets the geoTargeting value for this Targeting.
|
void |
setInventoryTargeting(InventoryTargeting inventoryTargeting)
Sets the inventoryTargeting value for this Targeting.
|
void |
setMobileApplicationTargeting(MobileApplicationTargeting mobileApplicationTargeting)
Sets the mobileApplicationTargeting value for this Targeting.
|
void |
setRequestPlatformTargeting(RequestPlatformTargeting requestPlatformTargeting)
Sets the requestPlatformTargeting value for this Targeting.
|
void |
setTechnologyTargeting(TechnologyTargeting technologyTargeting)
Sets the technologyTargeting value for this Targeting.
|
void |
setUserDomainTargeting(UserDomainTargeting userDomainTargeting)
Sets the userDomainTargeting value for this Targeting.
|
void |
setVideoPositionTargeting(VideoPositionTargeting videoPositionTargeting)
Sets the videoPositionTargeting value for this Targeting.
|
String |
toString() |
public Targeting()
public Targeting(GeoTargeting geoTargeting, InventoryTargeting inventoryTargeting, DayPartTargeting dayPartTargeting, DateTimeRangeTargeting dateTimeRangeTargeting, TechnologyTargeting technologyTargeting, CustomCriteriaSet customTargeting, UserDomainTargeting userDomainTargeting, ContentTargeting contentTargeting, VideoPositionTargeting videoPositionTargeting, MobileApplicationTargeting mobileApplicationTargeting, RequestPlatformTargeting requestPlatformTargeting)
public GeoTargeting getGeoTargeting()
LineItem.
This attribute is optional.public void setGeoTargeting(GeoTargeting geoTargeting)
geoTargeting - * Specifies what geographical locations are targeted by the LineItem.
This attribute is optional.public InventoryTargeting getInventoryTargeting()
LineItem.
This attribute is required. The
line item must target at least one ad unit or placement.public void setInventoryTargeting(InventoryTargeting inventoryTargeting)
inventoryTargeting - * Specifies what inventory is targeted by the LineItem.
This attribute is required. The
line item must target at least one ad unit or placement.public DayPartTargeting getDayPartTargeting()
LineItem. This attribute is optional.public void setDayPartTargeting(DayPartTargeting dayPartTargeting)
dayPartTargeting - * Specifies the days of the week and times that are targeted
by the
LineItem. This attribute is optional.public DateTimeRangeTargeting getDateTimeRangeTargeting()
LineItem. This attribute
is optional.public void setDateTimeRangeTargeting(DateTimeRangeTargeting dateTimeRangeTargeting)
dateTimeRangeTargeting - * Specifies the dates and time ranges that are targeted by the
LineItem. This attribute
is optional.public TechnologyTargeting getTechnologyTargeting()
LineItem. This attribute is optional.public void setTechnologyTargeting(TechnologyTargeting technologyTargeting)
technologyTargeting - * Specifies the browsing technologies that are targeted by the
LineItem. This attribute is optional.public CustomCriteriaSet getCustomTargeting()
LineItem.
Once the LineItem is updated or modified with
custom targeting, the
server may return a normalized, but equivalent representation
of the custom
targeting expression.
customTargeting will have up to three levels
of expressions
including itself.
The top level CustomCriteriaSet i.e. the customTargeting
object can only contain a CustomCriteriaSet.LogicalOperator#OR
of
all its children.
The second level of CustomCriteriaSet objects
can only contain
CustomCriteriaSet.LogicalOperator#AND of all
their children. If
a CustomCriteria is placed on this level,
the server will wrap it
in a CustomCriteriaSet.
The third level can only comprise of CustomCriteria
objects.
The resulting custom targeting tree would be of the form:
public void setCustomTargeting(CustomCriteriaSet customTargeting)
customTargeting - * Specifies the collection of custom criteria that is targeted
by the
LineItem.
Once the LineItem is updated or modified with
custom targeting, the
server may return a normalized, but equivalent representation
of the custom
targeting expression.
customTargeting will have up to three levels
of expressions
including itself.
The top level CustomCriteriaSet i.e. the customTargeting
object can only contain a CustomCriteriaSet.LogicalOperator#OR
of
all its children.
The second level of CustomCriteriaSet objects
can only contain
CustomCriteriaSet.LogicalOperator#AND of all
their children. If
a CustomCriteria is placed on this level,
the server will wrap it
in a CustomCriteriaSet.
The third level can only comprise of CustomCriteria
objects.
The resulting custom targeting tree would be of the form:
public UserDomainTargeting getUserDomainTargeting()
LineItem. Users visiting from an IP address
associated with
those domains will be targeted or excluded. This attribute
is optional.public void setUserDomainTargeting(UserDomainTargeting userDomainTargeting)
userDomainTargeting - * Specifies the domains or subdomains that are targeted or excluded
by the
LineItem. Users visiting from an IP address
associated with
those domains will be targeted or excluded. This attribute
is optional.public ContentTargeting getContentTargeting()
LineItem.public void setContentTargeting(ContentTargeting contentTargeting)
contentTargeting - * Specifies the video categories and individual videos targeted
by the
LineItem.public VideoPositionTargeting getVideoPositionTargeting()
public void setVideoPositionTargeting(VideoPositionTargeting videoPositionTargeting)
videoPositionTargeting - * Specifies targeting against video position types.public MobileApplicationTargeting getMobileApplicationTargeting()
public void setMobileApplicationTargeting(MobileApplicationTargeting mobileApplicationTargeting)
mobileApplicationTargeting - * Specifies targeting against mobile applications.public RequestPlatformTargeting getRequestPlatformTargeting()
LineItem. This attribute is
required for video line items.
This value is modifiable for video line items, but read-only for non-video line items.
This value is read-only for video line items generated from proposal line items.
public void setRequestPlatformTargeting(RequestPlatformTargeting requestPlatformTargeting)
requestPlatformTargeting - * Specifies the request platforms that are targeted by the LineItem. This attribute is
required for video line items.
This value is modifiable for video line items, but read-only for non-video line items.
This value is read-only for video line items generated from proposal line items.
public 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.