package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val generate : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?locale:string -> ?maxResults:int -> ?startIndex:int -> savedReportId:string -> GapiConversation.Session.t -> GapiAdsenseV1_4Model.AdsenseReportsGenerateResponse.t * GapiConversation.Session.t

Generate an AdSense report based on the saved report ID sent in the query parameters.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter locale

    Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.

  • parameter maxResults

    The maximum number of rows of report data to return.

  • parameter startIndex

    Index of the first row of report data to return.

  • parameter savedReportId

    The saved report to retrieve.

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

List all saved reports in this AdSense account.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter maxResults

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

  • parameter pageToken

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