Configuration options for a standard Google Mobile Ads (AdMob) request.
Used to provide contextual targeting and network-specific parameters.
| Properties | |
|---|---|
ad
|
The ad unit ID. |
category
|
Slot-level ad category exclusion labels. |
content
|
The content URL for a website whose content matches the
app's primary content.
|
custom
|
Custom targeting parameters. |
extras
|
Extra parameters to pass to AdMob or Ad Manager. |
keywords
|
Keywords for targeting purposes. |
mediation
|
Extra parameters to pass to a specific ad source adapter in a
mediation setup.
|
neighboring
|
URLs representing web content near an ad. |
placement
|
A long integer provided by the AdMob UI for the configured
placement.
|
publisher
|
An identifier for use in frequency capping, audience
segmentation and targeting, sequential ad rotation, and other
audience-based ad delivery controls across devices.
|
skip
|
Instructs the SDK to not collect bidding signals or execute
waterfall elements for adapters that haven't yet
successfully initialized.
|
Properties
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
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