Module GapiAnalyticsV3Model.Goal

module Goal: sig .. end

module VisitTimeOnSiteDetails: sig .. end
module VisitNumPagesDetails: sig .. end
module UrlDestinationDetails: sig .. end
module ParentLink: sig .. end
module EventDetails: sig .. end
type t = {
   accountId : string; (*
Account ID to which this goal belongs.
*)
   active : bool; (*
Determines whether this goal is active.
*)
   created : GapiDate.t; (*
Time this goal was created.
*)
   eventDetails : EventDetails.t; (*
Details for the goal of the type EVENT.
*)
   id : string; (*
Goal ID.
*)
   internalWebPropertyId : string; (*
Internal ID for the web property to which this goal belongs.
*)
   kind : string; (*
Resource type for an Analytics goal.
*)
   name : string; (*
Goal name.
*)
   parentLink : ParentLink.t; (*
Parent link for a goal. Points to the view (profile) to which this goal belongs.
*)
   profileId : string; (*
View (Profile) ID to which this goal belongs.
*)
   selfLink : string; (*
Link for this goal.
*)
   _type : string; (*
Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
*)
   updated : GapiDate.t; (*
Time this goal was last modified.
*)
   urlDestinationDetails : UrlDestinationDetails.t; (*
Details for the goal of the type URL_DESTINATION.
*)
   value : float; (*
Goal value.
*)
   visitNumPagesDetails : VisitNumPagesDetails.t; (*
Details for the goal of the type VISIT_NUM_PAGES.
*)
   visitTimeOnSiteDetails : VisitTimeOnSiteDetails.t; (*
Details for the goal of the type VISIT_TIME_ON_SITE.
*)
   webPropertyId : string; (*
Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
*)
}
val accountId : (t, string) GapiLens.t
val active : (t, bool) GapiLens.t
val created : (t, GapiDate.t) GapiLens.t
val eventDetails : (t, EventDetails.t)
GapiLens.t
val id : (t, string) GapiLens.t
val internalWebPropertyId : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val parentLink : (t, ParentLink.t)
GapiLens.t
val profileId : (t, string) GapiLens.t
val selfLink : (t, string) GapiLens.t
val _type : (t, string) GapiLens.t
val updated : (t, GapiDate.t) GapiLens.t
val urlDestinationDetails : (t,
UrlDestinationDetails.t)
GapiLens.t
val value : (t, float) GapiLens.t
val visitNumPagesDetails : (t,
VisitNumPagesDetails.t)
GapiLens.t
val visitTimeOnSiteDetails : (t,
VisitTimeOnSiteDetails.t)
GapiLens.t
val webPropertyId : (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