PolicyIssue class
Representation of a policy issue for a single entity (site, site-section, or page).
All issues for a single entity are represented by a single PolicyIssue resource, though that PolicyIssue can have multiple causes (or "topics") that can change over time. Policy issues are removed if there are no issues detected recently or if there's a recent successful appeal for the entity.
Constructors
-
PolicyIssue({String? action, List<
String> ? adClients, String? adRequestCount, String? entityType, Date? firstDetectedDate, Date? lastDetectedDate, String? name, List<PolicyTopic> ? policyTopics, String? site, String? siteSection, String? uri, Date? warningEscalationDate}) - PolicyIssue.fromJson(Map json_)
Properties
- action ↔ String?
-
The most severe action taken on the entity over the past seven days.
getter/setter pair
-
adClients
↔ List<
String> ? -
List of ad clients associated with the policy issue (either as the primary
ad client or an associated host/secondary ad client).
getter/setter pair
- adRequestCount ↔ String?
-
Total number of ad requests affected by the policy violations over the
past seven days.
getter/setter pair
- entityType ↔ String?
-
Type of the entity indicating if the entity is a site, site-section, or
page.
getter/setter pair
- firstDetectedDate ↔ Date?
-
The date (in the America/Los_Angeles timezone) when policy violations were
first detected on the entity.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastDetectedDate ↔ Date?
-
The date (in the America/Los_Angeles timezone) when policy violations were
last detected on the entity.
getter/setter pair
- name ↔ String?
-
Resource name of the entity with policy issues.
getter/setter pair
-
policyTopics
↔ List<
PolicyTopic> ? -
Unordered list.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- site ↔ String?
-
Hostname/domain of the entity (for example "foo.com" or "www.foo.com").
getter/setter pair
- siteSection ↔ String?
-
Prefix of the site-section having policy issues (For example
"foo.com/bar-section").
getter/setter pair
- uri ↔ String?
-
URI of the page having policy violations (for example "foo.com/bar" or
"www.foo.com/bar").
getter/setter pair
- warningEscalationDate ↔ Date?
-
The date (in the America/Los_Angeles timezone) when the entity will have
ad serving demand restricted or ad serving disabled.
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