Search + K

Command Palette

Search for a command to run...

Sign In

adsense.accounts.policyIssues.get

GET /v2/{+name}
Copy endpoint
https://adsense.googleapis.com/

Gets information about the selected policy issue.

Parameters

path Path Parameters

Name Type
name required

Required. Name of the policy issue. Format: accounts/{account}/policyIssues/{policy_issue}

string

query Query Parameters

Name Type
alt

Data format for response.

"json" | "media" | "proto"
key

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

string
$.xgafv

V1 error format.

"1" | "2"
oauth_token

OAuth 2.0 token for the current user.

string
callback

JSONP

string
prettyPrint

Returns response with indentations and line breaks.

boolean
upload_protocol

Upload protocol for media (e.g. "raw", "multipart").

string
quotaUser

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

string
uploadType

Legacy upload protocol for media (e.g. "media", "multipart").

string
fields

Selector specifying which fields to include in a partial response.

string
access_token

OAuth access token.

string

Responses

200 */*

Successful response

interface PolicyIssue {
action?: "ENFORCEMENT_ACTION_UNSPECIFIED" | "WARNED" | "AD_SERVING_RESTRICTED" | "AD_SERVING_DISABLED" | "AD_SERVED_WITH_CLICK_CONFIRMATION" | "AD_PERSONALIZATION_RESTRICTED";
adClients?: string[];
adRequestCount?: string;
entityType?: "ENTITY_TYPE_UNSPECIFIED" | "SITE" | "SITE_SECTION" | "PAGE";
firstDetectedDate?: Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

interface Date {
day?: number;
month?: number;
year?: number;
}
;
lastDetectedDate?: Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

interface Date {
day?: number;
month?: number;
year?: number;
}
;
name?: string;
policyTopics?: PolicyTopic

Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity.

interface PolicyTopic {
mustFix?: boolean;
topic?: string;
type?: "POLICY_TOPIC_TYPE_UNSPECIFIED" | "POLICY" | "ADVERTISER_PREFERENCE" | "REGULATORY";
}
[]
;
site?: string;
siteSection?: string;
uri?: string;
warningEscalationDate?: Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

interface Date {
day?: number;
month?: number;
year?: number;
}
;
}