id | string | Goal ID. |
name | string | Goal name. |
type | string | Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT. |
accountId | string | Account ID to which this goal belongs. |
internalWebPropertyId | string | Internal ID for the web property to which this goal belongs. |
value | number | Goal value. |
updated | string | Time this goal was last modified. |
eventDetails | object | Details for the goal of the type EVENT. |
selfLink | string | Link for this goal. |
webPropertyId | string | Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY. |
visitNumPagesDetails | object | Details for the goal of the type VISIT_NUM_PAGES. |
parentLink | object | Parent link for a goal. Points to the view (profile) to which this goal belongs. |
created | string | Time this goal was created. |
active | boolean | Determines whether this goal is active. |
visitTimeOnSiteDetails | object | Details for the goal of the type VISIT_TIME_ON_SITE. |
profileId | string | View (Profile) ID to which this goal belongs. |
urlDestinationDetails | object | Details for the goal of the type URL_DESTINATION. |
kind | string | Resource type for an Analytics goal. |