VastRequestOptions class
Constructors
- VastRequestOptions({ContentClassification? adContentClassification, UnderAge? tagForUnderAgeOfPromise, TagForChild? tagForChildProtection, bool? isPersonalizedAd, String? appCountry, String? appLang, String? consent, bool? requestLocation, String? searchTerm})
Properties
- adContentClassification ↔ ContentClassification?
-
Maximum ad content rating.
getter/setter pair
- appCountry ↔ String?
-
Country/region code corresponding to the language in which an ad needs to be returned for an app.
getter/setter pair
- appLang ↔ String?
-
Language in which an ad needs to be returned for an app.
getter/setter pair
- consent ↔ String?
-
User consent string, which complies with Consent String Format in TCF v2.0.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPersonalizedAd ↔ bool?
-
Whether to request non-personalized ads.
getter/setter pair
- requestLocation ↔ bool?
-
Whether location information is requested.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchTerm ↔ String?
-
getter/setter pair
- tagForChildProtection ↔ TagForChild?
-
Whether to process ad requests according to the COPPA.
getter/setter pair
- tagForUnderAgeOfPromise ↔ UnderAge?
-
Whether to process ad requests as directed to users under the age of consent.
getter/setter pair
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.
inherited