google_api_ad_sense_host v0.2.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.
Helper functions for deserializing responses into models.
Attributes
- id (String.t): Unique identifier of this account. Defaults to:
null
. - kind (String.t): Kind of resource this is, in this case adsensehost#account. Defaults to:
null
. - name (String.t): Name of this account. Defaults to:
null
. - status (String.t): Approval status of this account. One of: PENDING, APPROVED, DISABLED. Defaults to:
null
.
Attributes
- arcOptIn (boolean()): Whether this ad client is opted in to ARC. Defaults to:
null
. - id (String.t): Unique identifier of this ad client. Defaults to:
null
. - kind (String.t): Kind of resource this is, in this case adsensehost#adClient. Defaults to:
null
. - productCode (String.t): This ad client's product code, which corresponds to the PRODUCT_CODE report dimension. Defaults to:
null
. - supportsReporting (boolean()): Whether this ad client supports being reported on. Defaults to:
null
.
Attributes
- etag (String.t): ETag of this response for caching purposes. Defaults to:
null
. - items ([AdClient]): The ad clients returned in this list response. Defaults to:
null
. - kind (String.t): Kind of list this is, in this case adsensehost#adClients. Defaults to:
null
. - 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:
null
.
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:
null
. - contentAdsSettings (AdUnitContentAdsSettings): Defaults to:
null
. - customStyle (AdStyle): Custom style information specific to this ad unit. Defaults to:
null
. - 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:
null
. - kind (String.t): Kind of resource this is, in this case adsensehost#adUnit. Defaults to:
null
. - mobileContentAdsSettings (AdUnitMobileContentAdsSettings): Defaults to:
null
. - name (String.t): Name of this ad unit. Defaults to:
null
. - 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. INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days. Defaults to:
null
.
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:
null
. - items ([AdUnit]): The ad units returned in this list response. Defaults to:
null
. - kind (String.t): Kind of list this is, in this case adsensehost#adUnits. Defaults to:
null
. - 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:
null
.
Attributes
- accountId (String.t): Hosted account id of the associated publisher after association. Present if status is ACCEPTED. Defaults to:
null
. - id (String.t): Unique identifier of this association session. Defaults to:
null
. - kind (String.t): Kind of resource this is, in this case adsensehost#associationSession. Defaults to:
null
. - productCodes ([String.t]): The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated) Defaults to:
null
. - redirectUrl (String.t): Redirect URL of this association session. Used to redirect users into the AdSense association flow. Defaults to:
null
. - 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:
null
. - userLocale (String.t): The preferred locale of the user themselves when going through the AdSense association flow. Defaults to:
null
. - websiteLocale (String.t): The locale of the user's hosted website. Defaults to:
null
. - websiteUrl (String.t): The URL of the user's hosted website. Defaults to:
null
.
Attributes
- code (String.t): Code of this custom channel, not necessarily unique across ad clients. Defaults to:
null
. - 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:
null
. - kind (String.t): Kind of resource this is, in this case adsensehost#customChannel. Defaults to:
null
. - name (String.t): Name of this custom channel. Defaults to:
null
.
Attributes
- etag (String.t): ETag of this response for caching purposes. Defaults to:
null
. - items ([CustomChannel]): The custom channels returned in this list response. Defaults to:
null
. - kind (String.t): Kind of list this is, in this case adsensehost#customChannels. Defaults to:
null
. - 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:
null
.
Attributes
- averages ([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:
null
. - headers ([ReportHeaders]): 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:
null
. - kind (String.t): Kind this is, in this case adsensehost#report. Defaults to:
null
. - rows ([[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:
null
. - 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:
null
. - totals ([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:
null
. - warnings ([String.t]): Any warnings associated with generation of the report. Defaults to:
null
.
Attributes
- currency (String.t): The currency of this column. Only present if the header type is METRIC_CURRENCY. Defaults to:
null
. - name (String.t): The name of the header. Defaults to:
null
. - type (String.t): The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY. Defaults to:
null
.
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:
null
. - kind (String.t): Kind of resource this is, in this case adsensehost#urlChannel. Defaults to:
null
. - urlPattern (String.t): URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home Defaults to:
null
.
Attributes
- etag (String.t): ETag of this response for caching purposes. Defaults to:
null
. - items ([UrlChannel]): The URL channels returned in this list response. Defaults to:
null
. - kind (String.t): Kind of list this is, in this case adsensehost#urlChannels. Defaults to:
null
. - 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:
null
.
Helper functions for building Tesla requests.