Show / Hide Table of Contents

Namespace Google.Apis.Adsense.v2.Data

Classes

Account

Representation of an account.

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 AdSense code for a given ad unit.

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

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.

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.

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