ServingRestriction class

A representation of the status of an ad in a specific context.

A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).

Output only.

Constructors

ServingRestriction({List<ServingContext>? contexts, Disapproval? disapproval, List<Disapproval>? disapprovalReasons, String? status})
ServingRestriction.fromJson(Map _json)

Properties

contexts List<ServingContext>?
The contexts for the restriction.
getter/setter pair
disapproval Disapproval?
Disapproval bound to this restriction.
getter/setter pair
disapprovalReasons List<Disapproval>?
Any disapprovals bound to this restriction.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
The status of the creative in this context (for example, it has been explicitly disapproved or is pending review). Possible string values are:
getter/setter pair

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