Extends
AdRequest
A native ad request.
| Properties | |
|---|---|
ad
|
The AdChoices placement. |
ad
|
A list of valid ad sizes for the request. |
ad
|
The ad unit ID.
Inherited from the
|
aspect
|
The aspect ratio of the media to be returned. |
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
|
Whether tap to click is enabled with custom click gesture.
|
custom
|
A list of custom native ad format IDs defined in the Ad Manager
UI.
|
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
|
native
|
A list of native ad types for the request. |
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
adChoicesPlacement
adChoicesPlacement?:
AdChoicesPlacement
Optional Readonly adSizes
adSizes?: readonly AdSize[]
This feature is available to Ad Manager publishers only.
Readonly adUnitId
adUnitId: string
Optional Readonly aspectRatio
aspectRatio?:
NativeMediaAspectRatio
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
customClickGestureAllowTaps
customClickGestureAllowTaps?:
boolean
Available for allowlisted publishers only. These settings are ignored for publishers who aren't allowlisted.
Optional Readonly
customFormatIds
customFormatIds?:
readonly string[]
Used to load native ads of type NativeAdType.CUSTOM_NATIVE.
- See also
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
nativeAdTypes
nativeAdTypes?: readonly NativeAdType[]
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