Show / Hide Table of Contents

Namespace Google.Apis.Adsense.v2.Data

Classes

Account

Representation of an account.

AdBlockingRecoveryTag

Representation of an ad blocking recovery tag. See https://support.google.com/adsense/answer/11575177.

AdClient

Representation of an ad client. An ad client represents a user's subscription with a specific AdSense product.

AdClientAdCode

Representation of the AdSense code for a given ad client. For more information, see About the AdSense code.

AdUnit

Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.

AdUnitAdCode

Representation of the ad unit code for a given ad unit. For more information, see About the AdSense code and Where to place the ad code in your HTML.

Alert

Representation of an alert.

Cell

Cell representation.

ContentAdsSettings

Settings specific to content ads (AFC).

CustomChannel

Representation of a custom channel.

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

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

Header

The header information of the columns requested in the report.

HttpBody

Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.

ListAccountsResponse

Response definition for the account list rpc.

ListAdClientsResponse

Response definition for the ad client list rpc.

ListAdUnitsResponse

Response definition for the adunit list rpc.

ListAlertsResponse

Response definition for the alerts list rpc.

ListChildAccountsResponse

Response definition for the child account list rpc.

ListCustomChannelsResponse

Response definition for the custom channel list rpc.

ListLinkedAdUnitsResponse

Response definition for the ad units linked to a custom channel list rpc.

ListLinkedCustomChannelsResponse

Response definition for the custom channels linked to an adunit list rpc.

ListPaymentsResponse

Response definition for the payments list rpc.

ListPolicyIssuesResponse

Response definition for the policy issues list rpc. Policy issues are reported only if the publisher has at least one AFC ad client in READY or GETTING_READY state. If the publisher has no such AFC ad client, the response will be an empty list.

ListSavedReportsResponse

Response definition for the saved reports list rpc.

ListSitesResponse

Response definition for the sites list rpc.

ListUrlChannelsResponse

Response definition for the url channels list rpc.

Payment

Representation of an unpaid or paid payment. See Payment timelines for AdSense for more information about payments and the YouTube homepage and payments account article for information about dedicated payments accounts for YouTube.

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.

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.

ReportResult

Result of a generated report.

Row

Row representation.

SavedReport

Representation of a saved report.

Site

Representation of a Site.

TimeZone

Represents a time zone from the IANA Time Zone Database.

UrlChannel

Representation of a URL channel. URL channels allow you to track the performance of particular pages in your site; see URL channels for more information.

In this article
Back to top Generated by DocFX