PublisherAdRequest class

Targeting info per the Ad Manager API.

Constructors

PublisherAdRequest({List<String>? keywords, String? contentUrl, Map<String, String>? customTargeting, Map<String, List<String>>? customTargetingLists, bool? nonPersonalizedAds})
Default constructor for PublisherAdRequest.
const

Properties

contentUrl String?
URL string for a webpage whose content matches the app’s primary content.
final
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
hashCode int
The hash code for this object.
no setterinherited
keywords List<String>?
Words or phrases describing the current user activity.
final
nonPersonalizedAds bool?
Non-personalized ads are ads that are not based on a user’s past behavior.
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