google_api_ad_sense_host v0.3.0 API Reference

Modules

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 (String.t): Unique identifier of this account. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsensehost#account. Defaults to adsensehost#account.
  • name (String.t): Name of this account. Defaults to nil.
  • status (String.t): Approval status of this account. One of: PENDING, APPROVED, DISABLED. Defaults to nil.

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

  • colors (GoogleApi.AdSenseHost.V41.Model.AdStyleColors.t): The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash. Defaults to nil.
  • corners (String.t): The style of the corners in the ad (deprecated: never populated, ignored). Defaults to nil.
  • font (GoogleApi.AdSenseHost.V41.Model.AdStyleFont.t): The font which is included in the style. Defaults to nil.
  • kind (String.t): Kind this is, in this case adsensehost#adStyle. Defaults to 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 (String.t): Identity code of this ad unit, not necessarily unique across ad clients. Defaults to nil.
  • contentAdsSettings (GoogleApi.AdSenseHost.V41.Model.AdUnitContentAdsSettings.t): Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated). Defaults to nil.
  • customStyle (GoogleApi.AdSenseHost.V41.Model.AdStyle.t): Custom style information specific to this ad unit. Defaults to nil.
  • id (String.t): 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. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsensehost#adUnit. Defaults to adsensehost#adUnit.
  • mobileContentAdsSettings (GoogleApi.AdSenseHost.V41.Model.AdUnitMobileContentAdsSettings.t): Settings specific to WAP mobile content ads (AFMC - deprecated). Defaults to nil.
  • name (String.t): Name of this ad unit. Defaults to nil.
  • status (String.t): 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.

ACTIVE: Indicates that there has been activity on this ad unit in the last seven days.

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

Attributes

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

Attributes

  • code (String.t): Code of this custom channel, not necessarily unique across ad clients. Defaults to nil.
  • id (String.t): 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. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsensehost#customChannel. Defaults to adsensehost#customChannel.
  • name (String.t): Name of this custom channel. Defaults to nil.

Attributes

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

Attributes

  • averages (list(String.t)): The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. Defaults to nil.
  • headers (list(GoogleApi.AdSenseHost.V41.Model.ReportHeaders.t)): 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. Defaults to nil.
  • kind (String.t): Kind this is, in this case adsensehost#report. Defaults to adsensehost#report.
  • rows (list(list(String.t))): 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. Defaults to nil.
  • totalMatchedRows (String.t): 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. Defaults to nil.
  • totals (list(String.t)): The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. Defaults to nil.
  • warnings (list(String.t)): Any warnings associated with generation of the report. Defaults to nil.

Attributes

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

Attributes

  • id (String.t): 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. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsensehost#urlChannel. Defaults to adsensehost#urlChannel.
  • urlPattern (String.t): URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home Defaults to nil.

Attributes

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