google_api_ad_sense_host v0.10.0 API Reference

Modules

API client metadata for GoogleApi.AdSenseHost.V41.

API calls for all endpoints tagged Accounts.

API calls for all endpoints tagged Adclients.

API calls for all endpoints tagged Associationsessions.

API calls for all endpoints tagged Customchannels.

API calls for all endpoints tagged Reports.

API calls for all endpoints tagged Urlchannels.

Handle Tesla connections for GoogleApi.AdSenseHost.V41.

Attributes

  • id (type: String.t, default: nil) - Unique identifier of this account.
  • kind (type: String.t, default: adsensehost#account) - Kind of resource this is, in this case adsensehost#account.
  • name (type: String.t, default: nil) - Name of this account.
  • status (type: String.t, default: nil) - Approval status of this account. One of: PENDING, APPROVED, DISABLED.

Attributes

  • etag (type: String.t, default: nil) - ETag of this response for caching purposes.
  • items (type: list(GoogleApi.AdSenseHost.V41.Model.Account.t), default: nil) - The accounts returned in this list response.
  • kind (type: String.t, default: adsensehost#accounts) - Kind of list this is, in this case adsensehost#accounts.

Attributes

  • arcOptIn (type: boolean(), default: nil) - Whether this ad client is opted in to ARC.
  • id (type: String.t, default: nil) - Unique identifier of this ad client.
  • kind (type: String.t, default: adsensehost#adClient) - Kind of resource this is, in this case adsensehost#adClient.
  • productCode (type: String.t, default: nil) - This ad client's product code, which corresponds to the PRODUCT_CODE report dimension.
  • supportsReporting (type: boolean(), default: nil) - Whether this ad client supports being reported on.

Attributes

  • etag (type: String.t, default: nil) - ETag of this response for caching purposes.
  • items (type: list(GoogleApi.AdSenseHost.V41.Model.AdClient.t), default: nil) - The ad clients returned in this list response.
  • kind (type: String.t, default: adsensehost#adClients) - Kind of list this is, in this case adsensehost#adClients.
  • nextPageToken (type: String.t, default: nil) - Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's "pageToken" value to this.

Attributes

  • adCode (type: String.t, default: nil) - The ad code snippet.
  • kind (type: String.t, default: adsensehost#adCode) - Kind this is, in this case adsensehost#adCode.

Attributes

  • colors (type: GoogleApi.AdSenseHost.V41.Model.AdStyleColors.t, default: nil) - The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
  • corners (type: String.t, default: nil) - The style of the corners in the ad (deprecated: never populated, ignored).
  • font (type: GoogleApi.AdSenseHost.V41.Model.AdStyleFont.t, default: nil) - The font which is included in the style.
  • kind (type: String.t, default: adsensehost#adStyle) - Kind this is, in this case adsensehost#adStyle.

The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.

The font which is included in the style.

Attributes

  • code (type: String.t, default: nil) - Identity code of this ad unit, not necessarily unique across ad clients.
  • contentAdsSettings (type: GoogleApi.AdSenseHost.V41.Model.AdUnitContentAdsSettings.t, default: nil) - Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
  • customStyle (type: GoogleApi.AdSenseHost.V41.Model.AdStyle.t, default: nil) - Custom style information specific to this ad unit.
  • id (type: String.t, default: nil) - Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
  • kind (type: String.t, default: adsensehost#adUnit) - Kind of resource this is, in this case adsensehost#adUnit.
  • mobileContentAdsSettings (type: GoogleApi.AdSenseHost.V41.Model.AdUnitMobileContentAdsSettings.t, default: nil) - Settings specific to WAP mobile content ads (AFMC - deprecated).
  • name (type: String.t, default: nil) - Name of this ad unit.
  • status (type: String.t, default: nil) - Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it.

Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

The backup option to be used in instances where no ad is available.

Settings specific to WAP mobile content ads (AFMC - deprecated).

Attributes

  • etag (type: String.t, default: nil) - ETag of this response for caching purposes.
  • items (type: list(GoogleApi.AdSenseHost.V41.Model.AdUnit.t), default: nil) - The ad units returned in this list response.
  • kind (type: String.t, default: adsensehost#adUnits) - Kind of list this is, in this case adsensehost#adUnits.
  • nextPageToken (type: String.t, default: nil) - Continuation token used to page through ad units. To retrieve the next page of results, set the next request's "pageToken" value to this.

Attributes

  • accountId (type: String.t, default: nil) - Hosted account id of the associated publisher after association. Present if status is ACCEPTED.
  • id (type: String.t, default: nil) - Unique identifier of this association session.
  • kind (type: String.t, default: adsensehost#associationSession) - Kind of resource this is, in this case adsensehost#associationSession.
  • productCodes (type: list(String.t), default: nil) - The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated)
  • redirectUrl (type: String.t, default: nil) - Redirect URL of this association session. Used to redirect users into the AdSense association flow.
  • status (type: String.t, default: nil) - Status of the completed association, available once the association callback token has been verified. One of ACCEPTED, REJECTED, or ERROR.
  • userLocale (type: String.t, default: nil) - The preferred locale of the user themselves when going through the AdSense association flow.
  • websiteLocale (type: String.t, default: nil) - The locale of the user's hosted website.
  • websiteUrl (type: String.t, default: nil) - The URL of the user's hosted website.

Attributes

  • code (type: String.t, default: nil) - Code of this custom channel, not necessarily unique across ad clients.
  • id (type: String.t, default: nil) - Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
  • kind (type: String.t, default: adsensehost#customChannel) - Kind of resource this is, in this case adsensehost#customChannel.
  • name (type: String.t, default: nil) - Name of this custom channel.

Attributes

  • etag (type: String.t, default: nil) - ETag of this response for caching purposes.
  • items (type: list(GoogleApi.AdSenseHost.V41.Model.CustomChannel.t), default: nil) - The custom channels returned in this list response.
  • kind (type: String.t, default: adsensehost#customChannels) - Kind of list this is, in this case adsensehost#customChannels.
  • nextPageToken (type: String.t, default: nil) - Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's "pageToken" value to this.

Attributes

  • averages (type: list(String.t), default: nil) - The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.
  • headers (type: list(GoogleApi.AdSenseHost.V41.Model.ReportHeaders.t), default: nil) - The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request.
  • kind (type: String.t, default: adsensehost#report) - Kind this is, in this case adsensehost#report.
  • rows (type: list(list(String.t)), default: nil) - The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.
  • totalMatchedRows (type: String.t, default: nil) - The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit.
  • totals (type: list(String.t), default: nil) - The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.
  • warnings (type: list(String.t), default: nil) - Any warnings associated with generation of the report.

Attributes

  • currency (type: String.t, default: nil) - The currency of this column. Only present if the header type is METRIC_CURRENCY.
  • name (type: String.t, default: nil) - The name of the header.
  • type (type: String.t, default: nil) - The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.

Attributes

  • id (type: String.t, default: nil) - Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
  • kind (type: String.t, default: adsensehost#urlChannel) - Kind of resource this is, in this case adsensehost#urlChannel.
  • urlPattern (type: String.t, default: nil) - URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home

Attributes

  • etag (type: String.t, default: nil) - ETag of this response for caching purposes.
  • items (type: list(GoogleApi.AdSenseHost.V41.Model.UrlChannel.t), default: nil) - The URL channels returned in this list response.
  • kind (type: String.t, default: adsensehost#urlChannels) - Kind of list this is, in this case adsensehost#urlChannels.
  • nextPageToken (type: String.t, default: nil) - Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.