Module GapiAdsenseV1_4Service.AdunitsResource
module Customchannels : sig ... end
val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> adClientId:string -> adUnitId:string -> GapiConversation.Session.t -> GapiAdsenseV1_4Model.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.4/"
).
- 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 getAdCode : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> 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 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 -> adClientId:string -> GapiConversation.Session.t -> GapiAdsenseV1_4Model.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.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 adClientId
Ad client for which to list ad units.