IconAdRequest

class IconAdRequest : AdRequest


An AdRequest for IconAds. See Builder for how to construct an IconAdRequest.

Summary

Nested types

A builder for an icon ad request.

Public functions

Bundle?

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

Public properties

open AdChoicesPlacement

The AdChoicesPlacement for the ad choices view.

Boolean

Determines whether ad persistence is enabled for this request.

Set<String>

The slot-level ad category exclusion labels.

String?

The content URL targeting information.

open String

Identifier used to group ad requests together.

Map<String, String>

The custom targeting parameters.

Set<String>

The set of app IDs to exclude from the icon ad response.

Bundle

The extra parameters to pass to Google ad network

open IconAdPlacement

The IconAdPlacement for the request.

open Boolean

Whether the SDK returns urls for image assets instead of downloading them.

Set<String>

The targeting information keywords.

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

adChoicesPlacement

open val adChoicesPlacement: AdChoicesPlacement

The AdChoicesPlacement for the ad choices view.

adPersistenceEnabled

@ExperimentalApi
val adPersistenceEnabled: Boolean

Determines whether ad persistence is enabled for this request.

categoryExclusions

val categoryExclusions: Set<String>

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

contentUrl

val contentUrl: String?

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

correlator

open val correlator: String

Identifier used to group ad requests together.

customTargeting

val customTargeting: Map<String, String>

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

excludedAppIds

@ExperimentalApi
val excludedAppIds: Set<String>

The set of app IDs to exclude from the icon ad response.

googleExtrasBundle

val googleExtrasBundle: Bundle

The extra parameters to pass to Google ad network

iconAdPlacement

open val iconAdPlacement: IconAdPlacement

The IconAdPlacement for the request.

isImageLoadingDisabled

open val isImageLoadingDisabled: Boolean

Whether the SDK returns urls for image assets instead of downloading them.

keywords

val keywords: Set<String>

The targeting information keywords.

neighboringContentUrls

val neighboringContentUrls: Set<String>

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

placementId

val placementId: Long

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

publisherProvidedId

val publisherProvidedId: 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.

requestAgent

val requestAgent: String?

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