Extends
AdRequest
A banner ad request.
You must provide exactly one of
You must provide exactly one of
adSize or adSizes.
| Properties | |
|---|---|
ad
|
The ad size to be requested. |
ad
|
A list of valid ad sizes for the request. |
ad
|
The ad unit ID.
Inherited from the
|
category
|
Slot-level ad category exclusion labels.
Inherited from the
|
content
|
The content URL for a website whose content matches the
app's primary content.
Inherited from the
|
custom
|
Custom targeting parameters.
Inherited from the
|
extras
|
Extra parameters to pass to AdMob or Ad Manager.
Inherited from the
|
keywords
|
Keywords for targeting purposes.
Inherited from the
|
manual
|
Whether enabling manual impression recording is requested.
|
mediation
|
Extra parameters to pass to a specific ad source adapter in a
mediation setup.
Inherited from the
|
neighboring
|
URLs representing web content near an ad.
Inherited from the
|
placement
|
A long integer provided by the AdMob UI for the configured
placement.
Inherited from the
|
publisher
|
An identifier for use in frequency capping, audience
segmentation and targeting, sequential ad rotation, and other
audience-based ad delivery controls across devices.
Inherited from the
|
skip
|
Instructs the SDK to not collect bidding signals or execute
waterfall elements for adapters that haven't yet
successfully initialized.
Inherited from the
|
video
|
The
VideoOptions
for the request.
|
Properties
Optional Readonly adSize
Optional Readonly adSizes
Readonly adUnitId
adUnitId: string
Optional Readonly
categoryExclusions
categoryExclusions?:
readonly string[]
This feature is applicable only to Ad Manager ad requests. Category exclusions are ignored on AdMob requests.
Optional Readonly contentUrl
contentUrl?:
string
Optional Readonly
customTargeting
customTargeting?:
Readonly<Record<string, string | readonly string[]>>
This feature is applicable only to Ad Manager ad requests. Custom targeting is ignored on AdMob requests.
Optional Readonly extras
extras?: Readonly<Record<string, unknown>>
Values must be JSON-serializable types (strings, numbers, booleans, null, or arrays or objects of these types). Functions, class instances, or complex JavaScript types such as Set and Map aren't supported.
Optional Readonly keywords
keywords?: readonly string[]
Optional Readonly
manualImpressionRequested
manualImpressionRequested?:
boolean
Optional Readonly
mediationExtras
mediationExtras?:
readonly MediationExtras[]
Optional Readonly
neighboringContentUrls
neighboringContentUrls?:
readonly string[]
Optional Readonly placementId
placementId?:
bigint
Optional Readonly
publisherProvidedId
publisherProvidedId?:
string
This feature is applicable only to Ad Manager ad requests. Any ID is ignored on AdMob requests.
Optional Readonly
skipUninitializedAdapters
skipUninitializedAdapters?:
boolean
Optional Readonly
videoOptions
videoOptions?:
VideoOptions