package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Urlchannels : sig ... end
module Reports : sig ... end
module Customchannels : sig ... end
module Adunits : sig ... end
module Adclients : sig ... end
val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> ?tree:bool -> accountId:string -> GapiConversation.Session.t -> GapiAdsenseV1_1Model.Account.t * GapiConversation.Session.t

Get information about the selected AdSense account.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/adsense/v1.1/").

  • parameter etag

    Optional ETag.

  • parameter std_params

    Optional standard parameters.

  • parameter tree

    Whether the tree of sub accounts should be returned.

  • parameter accountId

    Account to get information about.

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?maxResults:int -> ?pageToken:string -> GapiConversation.Session.t -> GapiAdsenseV1_1Model.Accounts.t * GapiConversation.Session.t

List all accounts available to this AdSense account.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/adsense/v1.1/").

  • parameter std_params

    Optional standard parameters.

  • parameter maxResults

    The maximum number of accounts to include in the response, used for paging.

  • parameter pageToken

    A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.