Class BannerRequest
-
- All Implemented Interfaces:
public final class BannerRequestThe request for new banner ad.
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String, List<String>>targetingInformationprivate StringcontentTargetingUrlprivate List<String>multiContentTargetingUrlsprivate Map<String, String>networkKeyReplacementsprivate StringgpidExtensionprivate final BannerRequestDelegatedelegate
-
Constructor Summary
Constructors Constructor Description BannerRequest(BannerRequestDelegate delegate)
-
Method Summary
Modifier and Type Method Description final Map<String, List<String>>getTargetingInformation()The targeting information for this request. final UnitsetTargetingInformation(Map<String, List<String>> targetingInformation)The targeting information for this request. final StringgetContentTargetingUrl()The content targeting url for this request final UnitsetContentTargetingUrl(String contentTargetingUrl)The content targeting url for this request final List<String>getMultiContentTargetingUrls()The multi content targeting urls for this request final UnitsetMultiContentTargetingUrls(List<String> multiContentTargetingUrls)The multi content targeting urls for this request final Map<String, String>getNetworkKeyReplacements()The map of network key replacements for this request, allowing to replace macros defined in ad keys with actual values. final UnitsetNetworkKeyReplacements(Map<String, String> networkKeyReplacements)The map of network key replacements for this request, allowing to replace macros defined in ad keys with actual values. final StringgetGpidExtension()GPID value to be passed to networks final UnitsetGpidExtension(String gpidExtension)GPID value to be passed to networks final BannerRequestDelegategetDelegate()Returns the BannerRequestDelegate set for this request. final Set<BannerSize>getBannerSizes()Returns the set of allowed BannerSize for this request. final UnitsetBannerSizes(Set<BannerSize> bannerSizes)Sets the set of BannerSize that can be returned by this request. StringtoString()-
-
Constructor Detail
-
BannerRequest
BannerRequest(BannerRequestDelegate delegate)
-
-
Method Detail
-
getTargetingInformation
final Map<String, List<String>> getTargetingInformation()
The targeting information for this request.
-
setTargetingInformation
final Unit setTargetingInformation(Map<String, List<String>> targetingInformation)
The targeting information for this request.
-
getContentTargetingUrl
final String getContentTargetingUrl()
The content targeting url for this request
-
setContentTargetingUrl
final Unit setContentTargetingUrl(String contentTargetingUrl)
The content targeting url for this request
-
getMultiContentTargetingUrls
final List<String> getMultiContentTargetingUrls()
The multi content targeting urls for this request
-
setMultiContentTargetingUrls
final Unit setMultiContentTargetingUrls(List<String> multiContentTargetingUrls)
The multi content targeting urls for this request
-
getNetworkKeyReplacements
final Map<String, String> getNetworkKeyReplacements()
The map of network key replacements for this request, allowing to replace macros defined in ad keys with actual values. Please contact your Account Manager before using this feature.
-
setNetworkKeyReplacements
final Unit setNetworkKeyReplacements(Map<String, String> networkKeyReplacements)
The map of network key replacements for this request, allowing to replace macros defined in ad keys with actual values. Please contact your Account Manager before using this feature.
-
getGpidExtension
final String getGpidExtension()
GPID value to be passed to networks
-
setGpidExtension
final Unit setGpidExtension(String gpidExtension)
GPID value to be passed to networks
-
getDelegate
final BannerRequestDelegate getDelegate()
Returns the BannerRequestDelegate set for this request.
- Returns:
The BannerRequestDelegate if any is set for this request, null otherwise.
-
getBannerSizes
final Set<BannerSize> getBannerSizes()
Returns the set of allowed BannerSize for this request.
- Returns:
The set of banner sizes that can be loaded by this request.
-
setBannerSizes
final Unit setBannerSizes(Set<BannerSize> bannerSizes)
Sets the set of BannerSize that can be returned by this request.
- Parameters:
bannerSizes- The set of banner sizes that can be loaded by this request.
-
-
-
-