Module AccountsResource.Adunits

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_1Model.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.1/").

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 list : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> ?⁠includeInactive:bool -> ?⁠maxResults:int -> ?⁠pageToken:string -> accountId:string -> adClientId:string -> GapiConversation.Session.t -> GapiAdsenseV1_1Model.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.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 accountId

Account to which the ad client belongs.

parameter adClientId

Ad client for which to list ad units.