Show / Hide Table of Contents

Class PolicyIssue

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.

Inheritance
object
PolicyIssue
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Adsense.v2.Data
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class PolicyIssue : IDirectResponseSchema

Properties

Action

Required. The most severe action taken on the entity over the past seven days.

Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
Type Description
string

AdClients

Optional. List of ad clients associated with the policy issue (either as the primary ad client or an associated host/secondary ad client). In the latter case, this will be an ad client that is not owned by the current account.

Declaration
[JsonProperty("adClients")]
public virtual IList<string> AdClients { get; set; }
Property Value
Type Description
IList<string>

AdRequestCount

Required. Total number of ad requests affected by the policy violations over the past seven days.

Declaration
[JsonProperty("adRequestCount")]
public virtual long? AdRequestCount { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EntityType

Required. Type of the entity indicating if the entity is a site, site-section, or page.

Declaration
[JsonProperty("entityType")]
public virtual string EntityType { get; set; }
Property Value
Type Description
string

FirstDetectedDate

Required. The date (in the America/Los_Angeles timezone) when policy violations were first detected on the entity.

Declaration
[JsonProperty("firstDetectedDate")]
public virtual Date FirstDetectedDate { get; set; }
Property Value
Type Description
Date

LastDetectedDate

Required. The date (in the America/Los_Angeles timezone) when policy violations were last detected on the entity.

Declaration
[JsonProperty("lastDetectedDate")]
public virtual Date LastDetectedDate { get; set; }
Property Value
Type Description
Date

Name

Required. Resource name of the entity with policy issues. Format: accounts/{account}/policyIssues/{policy_issue}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PolicyTopics

Required. Unordered list. The policy topics that this entity was found to violate over the past seven days.

Declaration
[JsonProperty("policyTopics")]
public virtual IList<PolicyTopic> PolicyTopics { get; set; }
Property Value
Type Description
IList<PolicyTopic>

Site

Required. Hostname/domain of the entity (for example "foo.com" or "www.foo.com"). This should be a bare domain/host name without any protocol. This will be present for all policy issues.

Declaration
[JsonProperty("site")]
public virtual string Site { get; set; }
Property Value
Type Description
string

SiteSection

Optional. Prefix of the site-section having policy issues (For example "foo.com/bar-section"). This will be present if the entity_type is SITE_SECTION and will be absent for other entity types.

Declaration
[JsonProperty("siteSection")]
public virtual string SiteSection { get; set; }
Property Value
Type Description
string

Uri

Optional. URI of the page having policy violations (for example "foo.com/bar" or "www.foo.com/bar"). This will be present if the entity_type is PAGE and will be absent for other entity types.

Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type Description
string

WarningEscalationDate

Optional. The date (in the America/Los_Angeles timezone) when the entity will have ad serving demand restricted or ad serving disabled. This is present only for issues with a WARNED enforcement action. See https://support.google.com/adsense/answer/11066888.

Declaration
[JsonProperty("warningEscalationDate")]
public virtual Date WarningEscalationDate { get; set; }
Property Value
Type Description
Date

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX