adsense/v2 library
AdSense Management API - v2
The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.
For more information, see developers.google.com/adsense/management/
Create an instance of AdsenseApi to access these resources:
Classes
- Account
- Representation of an account.
- AccountsAdclientsAdunitsResource
- AccountsAdclientsCustomchannelsResource
- AccountsAdclientsResource
- AccountsAdclientsUrlchannelsResource
- AccountsAlertsResource
- AccountsPaymentsResource
- AccountsPolicyIssuesResource
- AccountsReportsResource
- AccountsReportsSavedResource
- AccountsResource
- AccountsSitesResource
- AdBlockingRecoveryTag
- Representation of an ad blocking recovery tag.
- AdClient
- Representation of an ad client.
- AdClientAdCode
- Representation of the AdSense code for a given ad client.
- AdsenseApi
- The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.
- AdUnit
- Representation of an ad unit.
- AdUnitAdCode
- Representation of the ad unit 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.
- Header
- The header information of the columns requested in the report.
- 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.
- 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.
- PolicyIssue
- Representation of a policy issue for a single entity (site, site-section, or page).
- PolicyTopic
- Information about a particular policy topic.
- ReportResult
- Result of a generated report.
- Row
- Row representation.
- SavedReport
- Representation of a saved report.
- Site
- Representation of a Site.
- UrlChannel
- Representation of a URL channel.
Typedefs
- Date = $Date
- Represents a whole or partial calendar date, such as a birthday.
- Empty = $Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
- HttpBody = $HttpBody
- Message that represents an arbitrary HTTP body.
- TimeZone = $TimeZone
- Represents a time zone from the IANA Time Zone Database.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.