public final class BannerRequest extends Object
| Constructor and Description |
|---|
BannerRequest(BannerRequestDelegate delegate)
Constructs a new banner request.
|
| Modifier and Type | Method and Description |
|---|---|
Set<BannerSize> |
getBannerSizes()
Returns the set of allowed
BannerSize for this request. |
String |
getContentTargetingUrl()
Returns the content targeting url for this request.
|
BannerRequestDelegate |
getDelegate()
Returns the
BannerRequestDelegate set for this request. |
Map<String,List<String>> |
getTargetingInformation()
Returns the targeting information for this request.
|
void |
setBannerSizes(Set<BannerSize> bannerSizes)
Sets the set of
BannerSize that can be returned by this request. |
void |
setContentTargetingUrl(String contentTargetingUrl)
Sets the content targeting url for this request
|
void |
setTargetingInformation(Map<String,List<String>> targetingInformation)
Sets the targeting information for this request.
|
String |
toString() |
public BannerRequest(BannerRequestDelegate delegate)
delegate - Optional BannerRequestDelegate. Can be null.public Set<BannerSize> getBannerSizes()
BannerSize for this request.public void setBannerSizes(Set<BannerSize> bannerSizes)
BannerSize that can be returned by this request.bannerSizes - The set of banner sizes that can be loaded by this request.public BannerRequestDelegate getDelegate()
BannerRequestDelegate set for this request.BannerRequestDelegate if any is set for this request, null otherwise.public Map<String,List<String>> getTargetingInformation()
public void setTargetingInformation(Map<String,List<String>> targetingInformation)
targetingInformation - Map with targeting informationpublic String getContentTargetingUrl()
public void setContentTargetingUrl(String contentTargetingUrl)
contentTargetingUrl - String with content targeting url