SwipeableInterstitialAdRequest

@ExperimentalApi
class SwipeableInterstitialAdRequest : AdRequest, SwipeableInterstitialRequest


An AdRequest for Swipeable Interstitial ads. See Builder for how to construct a SwipeableInterstitialAdRequest.

Summary

Nested types

A builder for a swipeable interstitial ad request.

Public functions

Bundle?

Gets the extras bundle associated with an ad source's adapter, if present.

Public properties

open AdSize?

The ad size requested.

Set<String>

The slot-level ad category exclusion labels.

String?

The content URL targeting information.

open Boolean
open NativeAd.SwipeGestureDirection?

The direction of the custom click swipe gesture.

open Boolean

Whether taps should still be allowed as clicks when a custom click swipe gesture is enabled.

Map<StringString>

The custom targeting parameters.

Bundle

The extra parameters to pass to Google ad network

Set<String>

The targeting information keywords.

open Int

The maximum screen hold duration in seconds.

Set<String>

The list of neighboring content URLs or an empty List if no URLs were set.

Long

An identifier for a placement in reporting.

String?

A publisher-provided identifier used for frequency capping, audience segmentation and targeting, sequential ad rotation, and other audience-based ad delivery controls across devices.

String?

The request agent string to identify the ad request's origin.

Inherited properties

From com.google.android.libraries.ads.mobile.sdk.common.AdRequest
open String

The ad unit ID.

Public functions

getAdSourceExtrasBundle

fun getAdSourceExtrasBundle(adapterClass: Class<MediationExtrasReceiver>): Bundle?

Gets the extras bundle associated with an ad source's adapter, if present.

Public properties

adSize

open val adSizeAdSize?

The ad size requested.

categoryExclusions

val categoryExclusionsSet<String>

The slot-level ad category exclusion labels. Default to an empty Set if not set.

contentUrl

val contentUrlString?

The content URL targeting information. Default to null if not set.

customClickGestureEnabled

open val customClickGestureEnabledBoolean

customClickSwipeGestureDirection

open val customClickSwipeGestureDirectionNativeAd.SwipeGestureDirection?

The direction of the custom click swipe gesture.

customClickSwipeGestureTapsAllowed

open val customClickSwipeGestureTapsAllowedBoolean

Whether taps should still be allowed as clicks when a custom click swipe gesture is enabled.

customTargeting

val customTargetingMap<StringString>

The custom targeting parameters. Default to an empty Map if not set.

googleExtrasBundle

val googleExtrasBundleBundle

The extra parameters to pass to Google ad network

keywords

val keywordsSet<String>

The targeting information keywords.

maxScreenHoldDurationSeconds

open val maxScreenHoldDurationSecondsInt

The maximum screen hold duration in seconds.

neighboringContentUrls

val neighboringContentUrlsSet<String>

The list of neighboring content URLs or an empty List if no URLs were set.

placementId

val placementIdLong

An identifier for a placement in reporting. A value set here will be set onto any ad returned by this request.

publisherProvidedId

val publisherProvidedIdString?

A publisher-provided identifier used for frequency capping, audience segmentation and targeting, sequential ad rotation, and other audience-based ad delivery controls across devices.

requestAgent

val requestAgentString?

The request agent string to identify the ad request's origin.