google_api_ad_sense 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 Adunits.

API calls for all endpoints tagged Alerts.

API calls for all endpoints tagged Customchannels.

API calls for all endpoints tagged Metadata.

API calls for all endpoints tagged Payments.

API calls for all endpoints tagged Reports.

API calls for all endpoints tagged Savedadstyles.

API calls for all endpoints tagged Urlchannels.

Handle Tesla connections for GoogleApi.AdSense.V14.

Attributes

  • creation_time (String.t): Defaults to nil.
  • id (String.t): Unique identifier of this account. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsense#account. Defaults to adsense#account.
  • name (String.t): Name of this account. Defaults to nil.
  • premium (boolean()): Whether this account is premium. Defaults to nil.
  • subAccounts (list(GoogleApi.AdSense.V14.Model.Account.t)): Sub accounts of the this account. Defaults to nil.
  • timezone (String.t): AdSense timezone of this account. Defaults to nil.

Attributes

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

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 adsense#adClient. Defaults to adsense#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.AdSense.V14.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 adsense#adClients. Defaults to adsense#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 Auto ad code snippet. The ad code snippet. Defaults to nil.
  • ampBody (String.t): The AMP Auto ad code snippet that goes in the body of an AMP page. Defaults to nil.
  • ampHead (String.t): The AMP Auto ad code snippet that goes in the head of an AMP page. Defaults to nil.
  • kind (String.t): Kind this is, in this case adsense#adCode. Defaults to adsense#adCode.

Attributes

  • colors (GoogleApi.AdSense.V14.Model.AdStyleColors.t): The colors which are 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.AdSense.V14.Model.AdStyleFont.t): The font which is included in the style. Defaults to nil.
  • kind (String.t): Kind this is, in this case adsense#adStyle. Defaults to adsense#adStyle.

The colors which are 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.AdSense.V14.Model.AdUnitContentAdsSettings.t): Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated). Defaults to nil.
  • customStyle (GoogleApi.AdSense.V14.Model.AdStyle.t): Custom style information specific to this ad unit. Defaults to nil.
  • feedAdsSettings (GoogleApi.AdSense.V14.Model.AdUnitFeedAdsSettings.t): Settings specific to feed ads (AFF) - deprecated. 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 adsense#adUnit. Defaults to adsense#adUnit.
  • mobileContentAdsSettings (GoogleApi.AdSense.V14.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.
  • savedStyleId (String.t): ID of the saved ad style which holds this ad unit's style information. 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 feed ads (AFF) - deprecated.

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.AdSense.V14.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 adsense#adUnits. Defaults to adsense#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

  • 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.
  • endDate (String.t): The requested end date in yyyy-mm-dd format. Defaults to nil.
  • headers (list(GoogleApi.AdSense.V14.Model.AdsenseReportsGenerateResponseHeaders.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 adsense#report. Defaults to adsense#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.
  • startDate (String.t): The requested start date in yyyy-mm-dd format. 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 alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. Defaults to nil.
  • isDismissible (boolean()): Whether this alert can be dismissed. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsense#alert. Defaults to adsense#alert.
  • message (String.t): The localized alert message. Defaults to nil.
  • severity (String.t): Severity of this alert. Possible values: INFO, WARNING, SEVERE. Defaults to nil.
  • type (String.t): Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD. Defaults to nil.

Attributes

  • items (list(GoogleApi.AdSense.V14.Model.Alert.t)): The alerts returned in this list response. Defaults to nil.
  • kind (String.t): Kind of list this is, in this case adsense#alerts. Defaults to adsense#alerts.

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 adsense#customChannel. Defaults to adsense#customChannel.
  • name (String.t): Name of this custom channel. Defaults to nil.
  • targetingInfo (GoogleApi.AdSense.V14.Model.CustomChannelTargetingInfo.t): The targeting information of this custom channel, if activated. Defaults to nil.

The targeting information of this custom channel, if activated.

Attributes

  • etag (String.t): ETag of this response for caching purposes. Defaults to nil.
  • items (list(GoogleApi.AdSense.V14.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 adsense#customChannels. Defaults to adsense#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

  • items (list(GoogleApi.AdSense.V14.Model.ReportingMetadataEntry.t)): Defaults to nil.
  • kind (String.t): Kind of list this is, in this case adsense#metadata. Defaults to adsense#metadata.

Attributes

  • id (String.t): Unique identifier of this Payment. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsense#payment. Defaults to adsense#payment.
  • paymentAmount (String.t): The amount to be paid. Defaults to nil.
  • paymentAmountCurrencyCode (String.t): The currency code for the amount to be paid. Defaults to nil.
  • paymentDate (String.t): The date this payment was/will be credited to the user, or none if the payment threshold has not been met. Defaults to nil.

Attributes

  • items (list(GoogleApi.AdSense.V14.Model.Payment.t)): The list of Payments for the account. One or both of a) the account's most recent payment; and b) the account's upcoming payment. Defaults to nil.
  • kind (String.t): Kind of list this is, in this case adsense#payments. Defaults to adsense#payments.

Attributes

  • compatibleDimensions (list(String.t)): For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibility groups the dimension belongs to. Defaults to nil.
  • compatibleMetrics (list(String.t)): The names of the metrics the dimension or metric this reporting metadata entry describes is compatible with. Defaults to nil.
  • id (String.t): Unique identifier of this reporting metadata entry, corresponding to the name of the appropriate dimension or metric. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsense#reportingMetadataEntry. Defaults to adsense#reportingMetadataEntry.
  • requiredDimensions (list(String.t)): The names of the dimensions which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted. Defaults to nil.
  • requiredMetrics (list(String.t)): The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted. Defaults to nil.
  • supportedProducts (list(String.t)): The codes of the projects supported by the dimension or metric this reporting metadata entry describes. Defaults to nil.

Attributes

  • adStyle (GoogleApi.AdSense.V14.Model.AdStyle.t): The AdStyle itself. Defaults to nil.
  • id (String.t): Unique identifier of this saved ad style. 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 adsense#savedAdStyle. Defaults to adsense#savedAdStyle.
  • name (String.t): The user selected name of this SavedAdStyle. Defaults to nil.

Attributes

  • etag (String.t): ETag of this response for caching purposes. Defaults to nil.
  • items (list(GoogleApi.AdSense.V14.Model.SavedAdStyle.t)): The saved ad styles returned in this list response. Defaults to nil.
  • kind (String.t): Kind of list this is, in this case adsense#savedAdStyles. Defaults to adsense#savedAdStyles.
  • 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

  • id (String.t): Unique identifier of this saved report. Defaults to nil.
  • kind (String.t): Kind of resource this is, in this case adsense#savedReport. Defaults to adsense#savedReport.
  • name (String.t): This saved report's name. Defaults to nil.

Attributes

  • etag (String.t): ETag of this response for caching purposes. Defaults to nil.
  • items (list(GoogleApi.AdSense.V14.Model.SavedReport.t)): The saved reports returned in this list response. Defaults to nil.
  • kind (String.t): Kind of list this is, in this case adsense#savedReports. Defaults to adsense#savedReports.
  • nextPageToken (String.t): Continuation token used to page through saved reports. To retrieve the next page of results, set the next request's "pageToken" value to this. 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 adsense#urlChannel. Defaults to adsense#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.AdSense.V14.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 adsense#urlChannels. Defaults to adsense#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.