package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module MobileContentAdsSettings : sig ... end
module FeedAdsSettings : sig ... end
module ContentAdsSettings : sig ... end
type t = {
  1. code : string;
    (*

    Identity code of this ad unit, not necessarily unique across ad clients.

    *)
  2. contentAdsSettings : ContentAdsSettings.t;
    (*

    Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

    *)
  3. customStyle : AdStyle.t;
    (*

    Custom style information specific to this ad unit.

    *)
  4. feedAdsSettings : FeedAdsSettings.t;
    (*

    Settings specific to feed ads (AFF) - deprecated.

    *)
  5. 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.

    *)
  6. kind : string;
    (*

    Kind of resource this is, in this case adsense#adUnit.

    *)
  7. mobileContentAdsSettings : MobileContentAdsSettings.t;
    (*

    Settings specific to WAP mobile content ads (AFMC) - deprecated.

    *)
  8. name : string;
    (*

    Name of this ad unit.

    *)
  9. savedStyleId : string;
    (*

    ID of the saved ad style which holds this ad unit's style information.

    *)
  10. 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