View Source GoogleApi.Analytics.V3.Model.Goal (google_api_analytics v0.15.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.