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 -> adClientId:string -> adUnitId:string -> GapiConversation.Session.t -> GapiAdsenseV1_1Model.AdUnit.t * GapiConversation.Session.t

Gets the specified ad unit in the specified ad client.

  • 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 adClientId

    Ad client for which to get the ad unit.

  • parameter adUnitId

    Ad unit to retrieve.

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

List all ad units in the specified ad client for 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 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 adClientId

    Ad client for which to list ad units.

OCaml

Innovation. Community. Security.