AdManagerAdRequest class

Targeting info per the Ad Manager API.

Inheritance

Constructors

AdManagerAdRequest({List<String>? keywords, String? contentUrl, List<String>? neighboringContentUrls, Map<String, String>? customTargeting, Map<String, List<String>>? customTargetingLists, bool? nonPersonalizedAds, int? httpTimeoutMillis, String? publisherProvidedId, String? mediationExtrasIdentifier, Map<String, String>? extras})
Constructs an AdManagerAdRequest from optional targeting information.
const

Properties

contentUrl String?
URL string for a webpage whose content matches the app’s primary content.
finalinherited
customTargeting Map<String, String>?
Key-value pairs used for custom targeting.
final
customTargetingLists Map<String, List<String>>?
Key-value pairs used for custom targeting.
final
extras Map<String, String>?
Extras to pass to the AdMob adapter.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
httpTimeoutMillis int?
A custom timeout for HTTPS calls during an ad request.
finalinherited
keywords List<String>?
Words or phrases describing the current user activity.
finalinherited
mediationExtrasIdentifier String?
String identifier used in providing mediation extras.
finalinherited
neighboringContentUrls List<String>?
URLs representing web content near an ad.
finalinherited
nonPersonalizedAds bool?
Non-personalized ads are ads that are not based on a user’s past behavior.
finalinherited
publisherProvidedId String?
The identifier used for frequency capping, audience segmentation and targeting, sequential ad rotation, and other audience-based ad delivery controls across devices.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override