analytics.management.goals.get
GET {{baseUrl}}/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/goals/:goalId?alt=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>"aUser=<string>&userIp=<string>
Gets a goal to which the user has access.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
alt | string | Data format for the response. | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | An opaque string that represents a user for quota purposes. Must not exceed 40 characters. | |
userIp | string | Deprecated. Please use quotaUser instead. |
RESPONSES
status: OK
{"accountId":"\u003cstring\u003e","active":"\u003cboolean\u003e","created":"\u003cdateTime\u003e","eventDetails":{"eventConditions":[{"comparisonType":"\u003cstring\u003e","comparisonValue":"\u003cstring\u003e","expression":"\u003cstring\u003e","matchType":"\u003cstring\u003e","type":"\u003cstring\u003e"},{"comparisonType":"\u003cstring\u003e","comparisonValue":"\u003cstring\u003e","expression":"\u003cstring\u003e","matchType":"\u003cstring\u003e","type":"\u003cstring\u003e"}],"useEventValue":"\u003cboolean\u003e"},"id":"\u003cstring\u003e","internalWebPropertyId":"\u003cstring\u003e","kind":"analytics#goal","name":"\u003cstring\u003e","parentLink":{"href":"\u003cstring\u003e","type":"analytics#profile"},"profileId":"\u003cstring\u003e","selfLink":"\u003cstring\u003e","type":"\u003cstring\u003e","updated":"\u003cdateTime\u003e","urlDestinationDetails":{"caseSensitive":"\u003cboolean\u003e","firstStepRequired":"\u003cboolean\u003e","matchType":"\u003cstring\u003e","steps":[{"name":"\u003cstring\u003e","number":"\u003cinteger\u003e","url":"\u003cstring\u003e"},{"name":"\u003cstring\u003e","number":"\u003cinteger\u003e","url":"\u003cstring\u003e"}],"url":"\u003cstring\u003e"},"value":"\u003cnumber\u003e","visitNumPagesDetails":{"comparisonType":"\u003cstring\u003e","comparisonValue":"\u003cstring\u003e"},"visitTimeOnSiteDetails":{"comparisonType":"\u003cstring\u003e","comparisonValue":"\u003cstring\u003e"},"webPropertyId":"\u003cstring\u003e"}