package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Customchannels : sig ... end
val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> accountId:string -> adClientId:string -> adUnitId:string -> GapiConversation.Session.t -> GapiAdsenseV1_4Model.AdUnit.t * GapiConversation.Session.t

Gets the specified ad unit in the specified ad client for the specified account.

  • parameter base_url

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

  • parameter etag

    Optional ETag.

  • parameter std_params

    Optional standard parameters.

  • parameter accountId

    Account to which the ad client belongs.

  • parameter adClientId

    Ad client for which to get the ad unit.

  • parameter adUnitId

    Ad unit to retrieve.

val getAdCode : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> accountId:string -> adClientId:string -> adUnitId:string -> GapiConversation.Session.t -> GapiAdsenseV1_4Model.AdCode.t * GapiConversation.Session.t

Get ad code for the specified ad unit.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter accountId

    Account which contains the ad client.

  • parameter adClientId

    Ad client with contains the ad unit.

  • parameter adUnitId

    Ad unit to get the code for.

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?includeInactive:bool -> ?maxResults:int -> ?pageToken:string -> accountId:string -> adClientId:string -> GapiConversation.Session.t -> GapiAdsenseV1_4Model.AdUnits.t * GapiConversation.Session.t

List all ad units in the specified ad client for the specified account.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter includeInactive

    Whether to include inactive ad units. Default: true.

  • parameter maxResults

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

  • parameter pageToken

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

  • parameter accountId

    Account to which the ad client belongs.

  • parameter adClientId

    Ad client for which to list ad units.