GapiAdsenseV1_4Model.AdUnit
module MobileContentAdsSettings : sig ... end
module FeedAdsSettings : sig ... end
module ContentAdsSettings : sig ... end
type t = {
code : string; | (* Identity code of this ad unit, not necessarily unique across ad clients. *) |
contentAdsSettings : ContentAdsSettings.t; | (* Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated). *) |
customStyle : AdStyle.t; | (* Custom style information specific to this ad unit. *) |
feedAdsSettings : FeedAdsSettings.t; | (* Settings specific to feed ads (AFF) - deprecated. *) |
id : string; | (* Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. *) |
kind : string; | (* Kind of resource this is, in this case adsense#adUnit. *) |
mobileContentAdsSettings : MobileContentAdsSettings.t; | (* Settings specific to WAP mobile content ads (AFMC) - deprecated. *) |
name : string; | (* Name of this ad unit. *) |
savedStyleId : string; | (* ID of the saved ad style which holds this ad unit's style information. *) |
status : string; | (* Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it. ACTIVE: Indicates that there has been activity on this ad unit in the last seven days. INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days. *) |
}
val code : ( t, string ) GapiLens.t
val contentAdsSettings : ( t, ContentAdsSettings.t ) GapiLens.t
val customStyle : ( t, AdStyle.t ) GapiLens.t
val feedAdsSettings : ( t, FeedAdsSettings.t ) GapiLens.t
val id : ( t, string ) GapiLens.t
val kind : ( t, string ) GapiLens.t
val mobileContentAdsSettings : ( t, MobileContentAdsSettings.t ) GapiLens.t
val name : ( t, string ) GapiLens.t
val savedStyleId : ( t, string ) GapiLens.t
val status : ( t, string ) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t