TargetingCriteria class

Advertisers can target different attributes of an ad slot.

For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.

Constructors

TargetingCriteria({List<TargetingValue>? exclusions, List<TargetingValue>? inclusions, String? key})
TargetingCriteria.fromJson(Map json_)

Properties

exclusions List<TargetingValue>?
The list of values to exclude from targeting.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inclusions List<TargetingValue>?
The list of value to include as part of the targeting.
getter/setter pair
key String?
The key representing the shared targeting criterion.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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