Show / Hide Table of Contents

Class ManagementResource.GoalsResource

The "goals" collection of methods.

Inheritance
System.Object
ManagementResource.GoalsResource
Namespace: Google.Apis.Analytics.v2_4
Assembly: Google.Apis.Analytics.v2_4.dll
Syntax
public class GoalsResource : object

Constructors

GoalsResource(IClientService)

Constructs a new resource.

Declaration
public GoalsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

List(String, String, String)

Lists goals to which the user has access.

Declaration
public virtual ManagementResource.GoalsResource.ListRequest List(string accountId, string webPropertyId, string profileId)
Parameters
Type Name Description
System.String accountId

Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.

System.String webPropertyId

Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.

System.String profileId

View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to.

Returns
Type Description
ManagementResource.GoalsResource.ListRequest
Back to top