google_api_analytics v0.4.0 GoogleApi.Analytics.V3.Model.Goal View Source

JSON template for Analytics goal resource.

Attributes

  • accountId (type: String.t, default: nil) - Account ID to which this goal belongs.
  • active (type: boolean(), default: nil) - Determines whether this goal is active.
  • created (type: DateTime.t, default: nil) - Time this goal was created.
  • eventDetails (type: GoogleApi.Analytics.V3.Model.GoalEventDetails.t, default: nil) - Details for the goal of the type EVENT.
  • id (type: String.t, default: nil) - Goal ID.
  • internalWebPropertyId (type: String.t, default: nil) - Internal ID for the web property to which this goal belongs.
  • kind (type: String.t, default: analytics#goal) - Resource type for an Analytics goal.
  • name (type: String.t, default: nil) - Goal name.
  • parentLink (type: GoogleApi.Analytics.V3.Model.GoalParentLink.t, default: nil) - Parent link for a goal. Points to the view (profile) to which this goal belongs.
  • profileId (type: String.t, default: nil) - View (Profile) ID to which this goal belongs.
  • selfLink (type: String.t, default: nil) - Link for this goal.
  • type (type: String.t, default: nil) - Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
  • updated (type: DateTime.t, default: nil) - Time this goal was last modified.
  • urlDestinationDetails (type: GoogleApi.Analytics.V3.Model.GoalUrlDestinationDetails.t, default: nil) - Details for the goal of the type URL_DESTINATION.
  • value (type: number(), default: nil) - Goal value.
  • visitNumPagesDetails (type: GoogleApi.Analytics.V3.Model.GoalVisitNumPagesDetails.t, default: nil) - Details for the goal of the type VISIT_NUM_PAGES.
  • visitTimeOnSiteDetails (type: GoogleApi.Analytics.V3.Model.GoalVisitTimeOnSiteDetails.t, default: nil) - Details for the goal of the type VISIT_TIME_ON_SITE.
  • webPropertyId (type: String.t, default: nil) - Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Analytics.V3.Model.Goal{
  accountId: String.t(),
  active: boolean(),
  created: DateTime.t(),
  eventDetails: GoogleApi.Analytics.V3.Model.GoalEventDetails.t(),
  id: String.t(),
  internalWebPropertyId: String.t(),
  kind: String.t(),
  name: String.t(),
  parentLink: GoogleApi.Analytics.V3.Model.GoalParentLink.t(),
  profileId: String.t(),
  selfLink: String.t(),
  type: String.t(),
  updated: DateTime.t(),
  urlDestinationDetails:
    GoogleApi.Analytics.V3.Model.GoalUrlDestinationDetails.t(),
  value: number(),
  visitNumPagesDetails:
    GoogleApi.Analytics.V3.Model.GoalVisitNumPagesDetails.t(),
  visitTimeOnSiteDetails:
    GoogleApi.Analytics.V3.Model.GoalVisitTimeOnSiteDetails.t(),
  webPropertyId: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.