BannerRequest
/**
* The request for new banner ad.
*/
class BannerRequest
/**
* Constructs a new banner request.
* @param delegate Optional [BannerRequestDelegate]. Can be null.
*/(
/**
* Returns the [BannerRequestDelegate] set for this request.
* @return The [BannerRequestDelegate] if any is set for this request, null otherwise.
*/
val delegate: BannerRequestDelegate?
) {
/**
* The targeting information for this request.
*/
var targetingInformation: Map<String, List<String>>? = null
/**
* The content targeting url for this request
*/
var contentTargetingUrl: String? = null
/**
* Sets the multi content targeting url for the application. Not all ad-networks supports multiple urls.
*/
var multiContentTargetingUrls: List<String>? = null
/**
* Returns the set of allowed [BannerSize] for this request.
* @return The set of banner sizes that can be loaded by this request.
*/
fun getBannerSizes(): Set<BannerSize>?
/**
* Sets the set of [BannerSize] that can be returned by this request.
* @param bannerSizes The set of banner sizes that can be loaded by this request.
*/
fun setBannerSizes(bannerSizes: Set<BannerSize>?)
}
Last updated