Documentation ¶
Overview ¶
Package analytics provides access to the Google Analytics API.
See https://developers.google.com/analytics/
Usage example:
import "code.google.com/p/google-api-go-client/analytics/v3" ... analyticsService, err := analytics.New(oauthHttpClient)
Index ¶
- Constants
- type Account
- type AccountChildLink
- type AccountPermissions
- type AccountRef
- type AccountSummaries
- type AccountSummary
- type AccountTicket
- type Accounts
- type AdWordsAccount
- type AnalyticsDataimportDeleteUploadDataRequest
- type Column
- type Columns
- type CustomDataSource
- type CustomDataSourceChildLink
- type CustomDataSourceParentLink
- type CustomDataSources
- type DailyUpload
- type DailyUploadAppend
- type DailyUploadParentLink
- type DailyUploadRecentChanges
- type DailyUploads
- type DataGaGetCall
- func (c *DataGaGetCall) Dimensions(dimensions string) *DataGaGetCall
- func (c *DataGaGetCall) Do() (*GaData, error)
- func (c *DataGaGetCall) Fields(s ...googleapi.Field) *DataGaGetCall
- func (c *DataGaGetCall) Filters(filters string) *DataGaGetCall
- func (c *DataGaGetCall) MaxResults(maxResults int64) *DataGaGetCall
- func (c *DataGaGetCall) Output(output string) *DataGaGetCall
- func (c *DataGaGetCall) SamplingLevel(samplingLevel string) *DataGaGetCall
- func (c *DataGaGetCall) Segment(segment string) *DataGaGetCall
- func (c *DataGaGetCall) Sort(sort string) *DataGaGetCall
- func (c *DataGaGetCall) StartIndex(startIndex int64) *DataGaGetCall
- type DataGaService
- type DataMcfGetCall
- func (c *DataMcfGetCall) Dimensions(dimensions string) *DataMcfGetCall
- func (c *DataMcfGetCall) Do() (*McfData, error)
- func (c *DataMcfGetCall) Fields(s ...googleapi.Field) *DataMcfGetCall
- func (c *DataMcfGetCall) Filters(filters string) *DataMcfGetCall
- func (c *DataMcfGetCall) MaxResults(maxResults int64) *DataMcfGetCall
- func (c *DataMcfGetCall) SamplingLevel(samplingLevel string) *DataMcfGetCall
- func (c *DataMcfGetCall) Sort(sort string) *DataMcfGetCall
- func (c *DataMcfGetCall) StartIndex(startIndex int64) *DataMcfGetCall
- type DataMcfService
- type DataRealtimeGetCall
- func (c *DataRealtimeGetCall) Dimensions(dimensions string) *DataRealtimeGetCall
- func (c *DataRealtimeGetCall) Do() (*RealtimeData, error)
- func (c *DataRealtimeGetCall) Fields(s ...googleapi.Field) *DataRealtimeGetCall
- func (c *DataRealtimeGetCall) Filters(filters string) *DataRealtimeGetCall
- func (c *DataRealtimeGetCall) MaxResults(maxResults int64) *DataRealtimeGetCall
- func (c *DataRealtimeGetCall) Sort(sort string) *DataRealtimeGetCall
- type DataRealtimeService
- type DataService
- type EntityAdWordsLink
- type EntityAdWordsLinkEntity
- type EntityAdWordsLinks
- type EntityUserLink
- type EntityUserLinkEntity
- type EntityUserLinkPermissions
- type EntityUserLinks
- type Experiment
- type ExperimentParentLink
- type ExperimentVariations
- type Experiments
- type Filter
- type FilterAdvancedDetails
- type FilterExpression
- type FilterLowercaseDetails
- type FilterParentLink
- type FilterRef
- type FilterSearchAndReplaceDetails
- type FilterUppercaseDetails
- type Filters
- type GaData
- type GaDataColumnHeaders
- type GaDataDataTable
- type GaDataDataTableCols
- type GaDataDataTableRows
- type GaDataDataTableRowsC
- type GaDataProfileInfo
- type GaDataQuery
- type Goal
- type GoalEventDetails
- type GoalEventDetailsEventConditions
- type GoalParentLink
- type GoalUrlDestinationDetails
- type GoalUrlDestinationDetailsSteps
- type GoalVisitNumPagesDetails
- type GoalVisitTimeOnSiteDetails
- type Goals
- type ManagementAccountSummariesListCall
- func (c *ManagementAccountSummariesListCall) Do() (*AccountSummaries, error)
- func (c *ManagementAccountSummariesListCall) Fields(s ...googleapi.Field) *ManagementAccountSummariesListCall
- func (c *ManagementAccountSummariesListCall) MaxResults(maxResults int64) *ManagementAccountSummariesListCall
- func (c *ManagementAccountSummariesListCall) StartIndex(startIndex int64) *ManagementAccountSummariesListCall
- type ManagementAccountSummariesService
- type ManagementAccountUserLinksDeleteCall
- type ManagementAccountUserLinksInsertCall
- type ManagementAccountUserLinksListCall
- func (c *ManagementAccountUserLinksListCall) Do() (*EntityUserLinks, error)
- func (c *ManagementAccountUserLinksListCall) Fields(s ...googleapi.Field) *ManagementAccountUserLinksListCall
- func (c *ManagementAccountUserLinksListCall) MaxResults(maxResults int64) *ManagementAccountUserLinksListCall
- func (c *ManagementAccountUserLinksListCall) StartIndex(startIndex int64) *ManagementAccountUserLinksListCall
- type ManagementAccountUserLinksService
- func (r *ManagementAccountUserLinksService) Delete(accountId string, linkId string) *ManagementAccountUserLinksDeleteCall
- func (r *ManagementAccountUserLinksService) Insert(accountId string, entityuserlink *EntityUserLink) *ManagementAccountUserLinksInsertCall
- func (r *ManagementAccountUserLinksService) List(accountId string) *ManagementAccountUserLinksListCall
- func (r *ManagementAccountUserLinksService) Update(accountId string, linkId string, entityuserlink *EntityUserLink) *ManagementAccountUserLinksUpdateCall
- type ManagementAccountUserLinksUpdateCall
- type ManagementAccountsListCall
- func (c *ManagementAccountsListCall) Do() (*Accounts, error)
- func (c *ManagementAccountsListCall) Fields(s ...googleapi.Field) *ManagementAccountsListCall
- func (c *ManagementAccountsListCall) MaxResults(maxResults int64) *ManagementAccountsListCall
- func (c *ManagementAccountsListCall) StartIndex(startIndex int64) *ManagementAccountsListCall
- type ManagementAccountsService
- type ManagementCustomDataSourcesListCall
- func (c *ManagementCustomDataSourcesListCall) Do() (*CustomDataSources, error)
- func (c *ManagementCustomDataSourcesListCall) Fields(s ...googleapi.Field) *ManagementCustomDataSourcesListCall
- func (c *ManagementCustomDataSourcesListCall) MaxResults(maxResults int64) *ManagementCustomDataSourcesListCall
- func (c *ManagementCustomDataSourcesListCall) StartIndex(startIndex int64) *ManagementCustomDataSourcesListCall
- type ManagementCustomDataSourcesService
- type ManagementDailyUploadsDeleteCall
- type ManagementDailyUploadsListCall
- func (c *ManagementDailyUploadsListCall) Do() (*DailyUploads, error)
- func (c *ManagementDailyUploadsListCall) Fields(s ...googleapi.Field) *ManagementDailyUploadsListCall
- func (c *ManagementDailyUploadsListCall) MaxResults(maxResults int64) *ManagementDailyUploadsListCall
- func (c *ManagementDailyUploadsListCall) StartIndex(startIndex int64) *ManagementDailyUploadsListCall
- type ManagementDailyUploadsService
- func (r *ManagementDailyUploadsService) Delete(accountId string, webPropertyId string, customDataSourceId string, date string, ...) *ManagementDailyUploadsDeleteCall
- func (r *ManagementDailyUploadsService) List(accountId string, webPropertyId string, customDataSourceId string, ...) *ManagementDailyUploadsListCall
- func (r *ManagementDailyUploadsService) Upload(accountId string, webPropertyId string, customDataSourceId string, date string, ...) *ManagementDailyUploadsUploadCall
- type ManagementDailyUploadsUploadCall
- func (c *ManagementDailyUploadsUploadCall) Do() (*DailyUploadAppend, error)
- func (c *ManagementDailyUploadsUploadCall) Fields(s ...googleapi.Field) *ManagementDailyUploadsUploadCall
- func (c *ManagementDailyUploadsUploadCall) Media(r io.Reader) *ManagementDailyUploadsUploadCall
- func (c *ManagementDailyUploadsUploadCall) Reset(reset bool) *ManagementDailyUploadsUploadCall
- type ManagementExperimentsDeleteCall
- type ManagementExperimentsGetCall
- type ManagementExperimentsInsertCall
- type ManagementExperimentsListCall
- func (c *ManagementExperimentsListCall) Do() (*Experiments, error)
- func (c *ManagementExperimentsListCall) Fields(s ...googleapi.Field) *ManagementExperimentsListCall
- func (c *ManagementExperimentsListCall) MaxResults(maxResults int64) *ManagementExperimentsListCall
- func (c *ManagementExperimentsListCall) StartIndex(startIndex int64) *ManagementExperimentsListCall
- type ManagementExperimentsPatchCall
- type ManagementExperimentsService
- func (r *ManagementExperimentsService) Delete(accountId string, webPropertyId string, profileId string, experimentId string) *ManagementExperimentsDeleteCall
- func (r *ManagementExperimentsService) Get(accountId string, webPropertyId string, profileId string, experimentId string) *ManagementExperimentsGetCall
- func (r *ManagementExperimentsService) Insert(accountId string, webPropertyId string, profileId string, ...) *ManagementExperimentsInsertCall
- func (r *ManagementExperimentsService) List(accountId string, webPropertyId string, profileId string) *ManagementExperimentsListCall
- func (r *ManagementExperimentsService) Patch(accountId string, webPropertyId string, profileId string, experimentId string, ...) *ManagementExperimentsPatchCall
- func (r *ManagementExperimentsService) Update(accountId string, webPropertyId string, profileId string, experimentId string, ...) *ManagementExperimentsUpdateCall
- type ManagementExperimentsUpdateCall
- type ManagementFiltersDeleteCall
- type ManagementFiltersGetCall
- type ManagementFiltersInsertCall
- type ManagementFiltersListCall
- func (c *ManagementFiltersListCall) Do() (*Filters, error)
- func (c *ManagementFiltersListCall) Fields(s ...googleapi.Field) *ManagementFiltersListCall
- func (c *ManagementFiltersListCall) MaxResults(maxResults int64) *ManagementFiltersListCall
- func (c *ManagementFiltersListCall) StartIndex(startIndex int64) *ManagementFiltersListCall
- type ManagementFiltersPatchCall
- type ManagementFiltersService
- func (r *ManagementFiltersService) Delete(accountId string, filterId string) *ManagementFiltersDeleteCall
- func (r *ManagementFiltersService) Get(accountId string, filterId string) *ManagementFiltersGetCall
- func (r *ManagementFiltersService) Insert(accountId string, filter *Filter) *ManagementFiltersInsertCall
- func (r *ManagementFiltersService) List(accountId string) *ManagementFiltersListCall
- func (r *ManagementFiltersService) Patch(accountId string, filterId string, filter *Filter) *ManagementFiltersPatchCall
- func (r *ManagementFiltersService) Update(accountId string, filterId string, filter *Filter) *ManagementFiltersUpdateCall
- type ManagementFiltersUpdateCall
- type ManagementGoalsGetCall
- type ManagementGoalsInsertCall
- type ManagementGoalsListCall
- func (c *ManagementGoalsListCall) Do() (*Goals, error)
- func (c *ManagementGoalsListCall) Fields(s ...googleapi.Field) *ManagementGoalsListCall
- func (c *ManagementGoalsListCall) MaxResults(maxResults int64) *ManagementGoalsListCall
- func (c *ManagementGoalsListCall) StartIndex(startIndex int64) *ManagementGoalsListCall
- type ManagementGoalsPatchCall
- type ManagementGoalsService
- func (r *ManagementGoalsService) Get(accountId string, webPropertyId string, profileId string, goalId string) *ManagementGoalsGetCall
- func (r *ManagementGoalsService) Insert(accountId string, webPropertyId string, profileId string, goal *Goal) *ManagementGoalsInsertCall
- func (r *ManagementGoalsService) List(accountId string, webPropertyId string, profileId string) *ManagementGoalsListCall
- func (r *ManagementGoalsService) Patch(accountId string, webPropertyId string, profileId string, goalId string, ...) *ManagementGoalsPatchCall
- func (r *ManagementGoalsService) Update(accountId string, webPropertyId string, profileId string, goalId string, ...) *ManagementGoalsUpdateCall
- type ManagementGoalsUpdateCall
- type ManagementProfileFilterLinksDeleteCall
- type ManagementProfileFilterLinksGetCall
- type ManagementProfileFilterLinksInsertCall
- type ManagementProfileFilterLinksListCall
- func (c *ManagementProfileFilterLinksListCall) Do() (*ProfileFilterLinks, error)
- func (c *ManagementProfileFilterLinksListCall) Fields(s ...googleapi.Field) *ManagementProfileFilterLinksListCall
- func (c *ManagementProfileFilterLinksListCall) MaxResults(maxResults int64) *ManagementProfileFilterLinksListCall
- func (c *ManagementProfileFilterLinksListCall) StartIndex(startIndex int64) *ManagementProfileFilterLinksListCall
- type ManagementProfileFilterLinksPatchCall
- type ManagementProfileFilterLinksService
- func (r *ManagementProfileFilterLinksService) Delete(accountId string, webPropertyId string, profileId string, linkId string) *ManagementProfileFilterLinksDeleteCall
- func (r *ManagementProfileFilterLinksService) Get(accountId string, webPropertyId string, profileId string, linkId string) *ManagementProfileFilterLinksGetCall
- func (r *ManagementProfileFilterLinksService) Insert(accountId string, webPropertyId string, profileId string, ...) *ManagementProfileFilterLinksInsertCall
- func (r *ManagementProfileFilterLinksService) List(accountId string, webPropertyId string, profileId string) *ManagementProfileFilterLinksListCall
- func (r *ManagementProfileFilterLinksService) Patch(accountId string, webPropertyId string, profileId string, linkId string, ...) *ManagementProfileFilterLinksPatchCall
- func (r *ManagementProfileFilterLinksService) Update(accountId string, webPropertyId string, profileId string, linkId string, ...) *ManagementProfileFilterLinksUpdateCall
- type ManagementProfileFilterLinksUpdateCall
- type ManagementProfileUserLinksDeleteCall
- type ManagementProfileUserLinksInsertCall
- type ManagementProfileUserLinksListCall
- func (c *ManagementProfileUserLinksListCall) Do() (*EntityUserLinks, error)
- func (c *ManagementProfileUserLinksListCall) Fields(s ...googleapi.Field) *ManagementProfileUserLinksListCall
- func (c *ManagementProfileUserLinksListCall) MaxResults(maxResults int64) *ManagementProfileUserLinksListCall
- func (c *ManagementProfileUserLinksListCall) StartIndex(startIndex int64) *ManagementProfileUserLinksListCall
- type ManagementProfileUserLinksService
- func (r *ManagementProfileUserLinksService) Delete(accountId string, webPropertyId string, profileId string, linkId string) *ManagementProfileUserLinksDeleteCall
- func (r *ManagementProfileUserLinksService) Insert(accountId string, webPropertyId string, profileId string, ...) *ManagementProfileUserLinksInsertCall
- func (r *ManagementProfileUserLinksService) List(accountId string, webPropertyId string, profileId string) *ManagementProfileUserLinksListCall
- func (r *ManagementProfileUserLinksService) Update(accountId string, webPropertyId string, profileId string, linkId string, ...) *ManagementProfileUserLinksUpdateCall
- type ManagementProfileUserLinksUpdateCall
- type ManagementProfilesDeleteCall
- type ManagementProfilesGetCall
- type ManagementProfilesInsertCall
- type ManagementProfilesListCall
- func (c *ManagementProfilesListCall) Do() (*Profiles, error)
- func (c *ManagementProfilesListCall) Fields(s ...googleapi.Field) *ManagementProfilesListCall
- func (c *ManagementProfilesListCall) MaxResults(maxResults int64) *ManagementProfilesListCall
- func (c *ManagementProfilesListCall) StartIndex(startIndex int64) *ManagementProfilesListCall
- type ManagementProfilesPatchCall
- type ManagementProfilesService
- func (r *ManagementProfilesService) Delete(accountId string, webPropertyId string, profileId string) *ManagementProfilesDeleteCall
- func (r *ManagementProfilesService) Get(accountId string, webPropertyId string, profileId string) *ManagementProfilesGetCall
- func (r *ManagementProfilesService) Insert(accountId string, webPropertyId string, profile *Profile) *ManagementProfilesInsertCall
- func (r *ManagementProfilesService) List(accountId string, webPropertyId string) *ManagementProfilesListCall
- func (r *ManagementProfilesService) Patch(accountId string, webPropertyId string, profileId string, profile *Profile) *ManagementProfilesPatchCall
- func (r *ManagementProfilesService) Update(accountId string, webPropertyId string, profileId string, profile *Profile) *ManagementProfilesUpdateCall
- type ManagementProfilesUpdateCall
- type ManagementSegmentsListCall
- func (c *ManagementSegmentsListCall) Do() (*Segments, error)
- func (c *ManagementSegmentsListCall) Fields(s ...googleapi.Field) *ManagementSegmentsListCall
- func (c *ManagementSegmentsListCall) MaxResults(maxResults int64) *ManagementSegmentsListCall
- func (c *ManagementSegmentsListCall) StartIndex(startIndex int64) *ManagementSegmentsListCall
- type ManagementSegmentsService
- type ManagementService
- type ManagementUnsampledReportsGetCall
- type ManagementUnsampledReportsInsertCall
- type ManagementUnsampledReportsListCall
- func (c *ManagementUnsampledReportsListCall) Do() (*UnsampledReports, error)
- func (c *ManagementUnsampledReportsListCall) Fields(s ...googleapi.Field) *ManagementUnsampledReportsListCall
- func (c *ManagementUnsampledReportsListCall) MaxResults(maxResults int64) *ManagementUnsampledReportsListCall
- func (c *ManagementUnsampledReportsListCall) StartIndex(startIndex int64) *ManagementUnsampledReportsListCall
- type ManagementUnsampledReportsService
- func (r *ManagementUnsampledReportsService) Get(accountId string, webPropertyId string, profileId string, ...) *ManagementUnsampledReportsGetCall
- func (r *ManagementUnsampledReportsService) Insert(accountId string, webPropertyId string, profileId string, ...) *ManagementUnsampledReportsInsertCall
- func (r *ManagementUnsampledReportsService) List(accountId string, webPropertyId string, profileId string) *ManagementUnsampledReportsListCall
- type ManagementUploadsDeleteUploadDataCall
- type ManagementUploadsGetCall
- type ManagementUploadsListCall
- func (c *ManagementUploadsListCall) Do() (*Uploads, error)
- func (c *ManagementUploadsListCall) Fields(s ...googleapi.Field) *ManagementUploadsListCall
- func (c *ManagementUploadsListCall) MaxResults(maxResults int64) *ManagementUploadsListCall
- func (c *ManagementUploadsListCall) StartIndex(startIndex int64) *ManagementUploadsListCall
- type ManagementUploadsMigrateDataImportCall
- type ManagementUploadsService
- func (r *ManagementUploadsService) DeleteUploadData(accountId string, webPropertyId string, customDataSourceId string, ...) *ManagementUploadsDeleteUploadDataCall
- func (r *ManagementUploadsService) Get(accountId string, webPropertyId string, customDataSourceId string, ...) *ManagementUploadsGetCall
- func (r *ManagementUploadsService) List(accountId string, webPropertyId string, customDataSourceId string) *ManagementUploadsListCall
- func (r *ManagementUploadsService) MigrateDataImport(accountId string, webPropertyId string, customDataSourceId string) *ManagementUploadsMigrateDataImportCall
- func (r *ManagementUploadsService) UploadData(accountId string, webPropertyId string, customDataSourceId string) *ManagementUploadsUploadDataCall
- type ManagementUploadsUploadDataCall
- type ManagementWebPropertyAdWordsLinksDeleteCall
- type ManagementWebPropertyAdWordsLinksGetCall
- type ManagementWebPropertyAdWordsLinksInsertCall
- type ManagementWebPropertyAdWordsLinksListCall
- func (c *ManagementWebPropertyAdWordsLinksListCall) Do() (*EntityAdWordsLinks, error)
- func (c *ManagementWebPropertyAdWordsLinksListCall) Fields(s ...googleapi.Field) *ManagementWebPropertyAdWordsLinksListCall
- func (c *ManagementWebPropertyAdWordsLinksListCall) MaxResults(maxResults int64) *ManagementWebPropertyAdWordsLinksListCall
- func (c *ManagementWebPropertyAdWordsLinksListCall) StartIndex(startIndex int64) *ManagementWebPropertyAdWordsLinksListCall
- type ManagementWebPropertyAdWordsLinksPatchCall
- type ManagementWebPropertyAdWordsLinksService
- func (r *ManagementWebPropertyAdWordsLinksService) Delete(accountId string, webPropertyId string, webPropertyAdWordsLinkId string) *ManagementWebPropertyAdWordsLinksDeleteCall
- func (r *ManagementWebPropertyAdWordsLinksService) Get(accountId string, webPropertyId string, webPropertyAdWordsLinkId string) *ManagementWebPropertyAdWordsLinksGetCall
- func (r *ManagementWebPropertyAdWordsLinksService) Insert(accountId string, webPropertyId string, entityadwordslink *EntityAdWordsLink) *ManagementWebPropertyAdWordsLinksInsertCall
- func (r *ManagementWebPropertyAdWordsLinksService) List(accountId string, webPropertyId string) *ManagementWebPropertyAdWordsLinksListCall
- func (r *ManagementWebPropertyAdWordsLinksService) Patch(accountId string, webPropertyId string, webPropertyAdWordsLinkId string, ...) *ManagementWebPropertyAdWordsLinksPatchCall
- func (r *ManagementWebPropertyAdWordsLinksService) Update(accountId string, webPropertyId string, webPropertyAdWordsLinkId string, ...) *ManagementWebPropertyAdWordsLinksUpdateCall
- type ManagementWebPropertyAdWordsLinksUpdateCall
- type ManagementWebpropertiesGetCall
- type ManagementWebpropertiesInsertCall
- type ManagementWebpropertiesListCall
- func (c *ManagementWebpropertiesListCall) Do() (*Webproperties, error)
- func (c *ManagementWebpropertiesListCall) Fields(s ...googleapi.Field) *ManagementWebpropertiesListCall
- func (c *ManagementWebpropertiesListCall) MaxResults(maxResults int64) *ManagementWebpropertiesListCall
- func (c *ManagementWebpropertiesListCall) StartIndex(startIndex int64) *ManagementWebpropertiesListCall
- type ManagementWebpropertiesPatchCall
- type ManagementWebpropertiesService
- func (r *ManagementWebpropertiesService) Get(accountId string, webPropertyId string) *ManagementWebpropertiesGetCall
- func (r *ManagementWebpropertiesService) Insert(accountId string, webproperty *Webproperty) *ManagementWebpropertiesInsertCall
- func (r *ManagementWebpropertiesService) List(accountId string) *ManagementWebpropertiesListCall
- func (r *ManagementWebpropertiesService) Patch(accountId string, webPropertyId string, webproperty *Webproperty) *ManagementWebpropertiesPatchCall
- func (r *ManagementWebpropertiesService) Update(accountId string, webPropertyId string, webproperty *Webproperty) *ManagementWebpropertiesUpdateCall
- type ManagementWebpropertiesUpdateCall
- type ManagementWebpropertyUserLinksDeleteCall
- type ManagementWebpropertyUserLinksInsertCall
- type ManagementWebpropertyUserLinksListCall
- func (c *ManagementWebpropertyUserLinksListCall) Do() (*EntityUserLinks, error)
- func (c *ManagementWebpropertyUserLinksListCall) Fields(s ...googleapi.Field) *ManagementWebpropertyUserLinksListCall
- func (c *ManagementWebpropertyUserLinksListCall) MaxResults(maxResults int64) *ManagementWebpropertyUserLinksListCall
- func (c *ManagementWebpropertyUserLinksListCall) StartIndex(startIndex int64) *ManagementWebpropertyUserLinksListCall
- type ManagementWebpropertyUserLinksService
- func (r *ManagementWebpropertyUserLinksService) Delete(accountId string, webPropertyId string, linkId string) *ManagementWebpropertyUserLinksDeleteCall
- func (r *ManagementWebpropertyUserLinksService) Insert(accountId string, webPropertyId string, entityuserlink *EntityUserLink) *ManagementWebpropertyUserLinksInsertCall
- func (r *ManagementWebpropertyUserLinksService) List(accountId string, webPropertyId string) *ManagementWebpropertyUserLinksListCall
- func (r *ManagementWebpropertyUserLinksService) Update(accountId string, webPropertyId string, linkId string, ...) *ManagementWebpropertyUserLinksUpdateCall
- type ManagementWebpropertyUserLinksUpdateCall
- type McfData
- type McfDataColumnHeaders
- type McfDataProfileInfo
- type McfDataQuery
- type McfDataRowsItem
- type McfDataRowsItemConversionPathValue
- type MetadataColumnsListCall
- type MetadataColumnsService
- type MetadataService
- type Profile
- type ProfileChildLink
- type ProfileFilterLink
- type ProfileFilterLinks
- type ProfileParentLink
- type ProfilePermissions
- type ProfileRef
- type ProfileSummary
- type Profiles
- type ProvisioningCreateAccountTicketCall
- type ProvisioningService
- type RealtimeData
- type RealtimeDataColumnHeaders
- type RealtimeDataProfileInfo
- type RealtimeDataQuery
- type Segment
- type Segments
- type Service
- type UnsampledReport
- type UnsampledReportCloudStorageDownloadDetails
- type UnsampledReportDriveDownloadDetails
- type UnsampledReports
- type Upload
- type Uploads
- type UserRef
- type WebPropertyRef
- type WebPropertySummary
- type Webproperties
- type Webproperty
- type WebpropertyChildLink
- type WebpropertyParentLink
- type WebpropertyPermissions
Constants ¶
const ( // View and manage your Google Analytics data AnalyticsScope = "https://www.googleapis.com/auth/analytics" // Edit Google Analytics management entities AnalyticsEditScope = "https://www.googleapis.com/auth/analytics.edit" // Manage Google Analytics Account users by email address AnalyticsManageUsersScope = "https://www.googleapis.com/auth/analytics.manage.users" // Create a new Google Analytics account along with its default property // and view AnalyticsProvisionScope = "https://www.googleapis.com/auth/analytics.provision" // View your Google Analytics data AnalyticsReadonlyScope = "https://www.googleapis.com/auth/analytics.readonly" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // ChildLink: Child link for an account entry. Points to the list of web // properties for this account. ChildLink *AccountChildLink `json:"childLink,omitempty"` // Created: Time the account was created. Created string `json:"created,omitempty"` // Id: Account ID. Id string `json:"id,omitempty"` // Kind: Resource type for Analytics account. Kind string `json:"kind,omitempty"` // Name: Account name. Name string `json:"name,omitempty"` // Permissions: Permissions the user has for this account. Permissions *AccountPermissions `json:"permissions,omitempty"` // SelfLink: Link for this account. SelfLink string `json:"selfLink,omitempty"` // Updated: Time the account was last modified. Updated string `json:"updated,omitempty"` }
type AccountChildLink ¶
type AccountPermissions ¶
type AccountPermissions struct { // Effective: All the permissions that the user has for this account. // These include any implied permissions (e.g., EDIT implies VIEW). Effective []string `json:"effective,omitempty"` }
type AccountRef ¶
type AccountSummaries ¶
type AccountSummaries struct { // Items: A list of AccountSummaries. Items []*AccountSummary `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this AccountSummary collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this AccountSummary // collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type AccountSummary ¶
type AccountSummary struct { // Id: Account ID. Id string `json:"id,omitempty"` // Kind: Resource type for Analytics AccountSummary. Kind string `json:"kind,omitempty"` // Name: Account name. Name string `json:"name,omitempty"` // WebProperties: List of web properties under this account. WebProperties []*WebPropertySummary `json:"webProperties,omitempty"` }
type AccountTicket ¶
type AccountTicket struct { // Account: Account for this ticket. Account *Account `json:"account,omitempty"` // Id: Account ticket ID used to access the account ticket. Id string `json:"id,omitempty"` // Kind: Resource type for account ticket. Kind string `json:"kind,omitempty"` // Profile: View (Profile) for the account. Profile *Profile `json:"profile,omitempty"` // RedirectUri: Redirect URI where the user will be sent after accepting // Terms of Service. Must be configured in APIs console as a callback // URL. RedirectUri string `json:"redirectUri,omitempty"` // Webproperty: Web property for the account. Webproperty *Webproperty `json:"webproperty,omitempty"` }
type Accounts ¶
type Accounts struct { // Items: A list of accounts. Items []*Account `json:"items,omitempty"` // ItemsPerPage: The maximum number of entries the response can contain, // regardless of the actual number of entries returned. Its value ranges // from 1 to 1000 with a value of 1000 by default, or otherwise // specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Next link for this account collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Previous link for this account collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the entries, which is 1 by default // or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type AdWordsAccount ¶
type AdWordsAccount struct { // AutoTaggingEnabled: True if auto-tagging is enabled on the AdWords // account. Read-only after the insert operation. AutoTaggingEnabled bool `json:"autoTaggingEnabled,omitempty"` // CustomerId: Customer ID. This field is required when creating an // AdWords link. CustomerId string `json:"customerId,omitempty"` // Kind: Resource type for AdWords account. Kind string `json:"kind,omitempty"` }
type AnalyticsDataimportDeleteUploadDataRequest ¶
type AnalyticsDataimportDeleteUploadDataRequest struct { // CustomDataImportUids: A list of upload UIDs. CustomDataImportUids []string `json:"customDataImportUids,omitempty"` }
type Columns ¶
type Columns struct { // AttributeNames: List of attributes names returned by columns. AttributeNames []string `json:"attributeNames,omitempty"` // Etag: Etag of collection. This etag can be compared with the last // response etag to check if response has changed. Etag string `json:"etag,omitempty"` // Items: List of columns for a report type. Items []*Column `json:"items,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // TotalResults: Total number of columns returned in the response. TotalResults int64 `json:"totalResults,omitempty"` }
type CustomDataSource ¶
type CustomDataSource struct { // AccountId: Account ID to which this custom data source belongs. AccountId string `json:"accountId,omitempty"` ChildLink *CustomDataSourceChildLink `json:"childLink,omitempty"` // Created: Time this custom data source was created. Created string `json:"created,omitempty"` // Description: Description of custom data source. Description string `json:"description,omitempty"` // Id: Custom data source ID. Id string `json:"id,omitempty"` ImportBehavior string `json:"importBehavior,omitempty"` // Kind: Resource type for Analytics custom data source. Kind string `json:"kind,omitempty"` // Name: Name of this custom data source. Name string `json:"name,omitempty"` // ParentLink: Parent link for this custom data source. Points to the // web property to which this custom data source belongs. ParentLink *CustomDataSourceParentLink `json:"parentLink,omitempty"` // ProfilesLinked: IDs of views (profiles) linked to the custom data // source. ProfilesLinked []string `json:"profilesLinked,omitempty"` // SelfLink: Link for this Analytics custom data source. SelfLink string `json:"selfLink,omitempty"` // Type: Type of the custom data source. Type string `json:"type,omitempty"` // Updated: Time this custom data source was last modified. Updated string `json:"updated,omitempty"` UploadType string `json:"uploadType,omitempty"` // WebPropertyId: Web property ID of the form UA-XXXXX-YY to which this // custom data source belongs. WebPropertyId string `json:"webPropertyId,omitempty"` }
type CustomDataSourceChildLink ¶
type CustomDataSourceChildLink struct { // Href: Link to the list of daily uploads for this custom data source. // Link to the list of uploads for this custom data source. Href string `json:"href,omitempty"` // Type: Value is "analytics#dailyUploads". Value is // "analytics#uploads". Type string `json:"type,omitempty"` }
type CustomDataSources ¶
type CustomDataSources struct { // Items: Collection of custom data sources. Items []*CustomDataSource `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this custom data source collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this custom data source // collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type DailyUpload ¶
type DailyUpload struct { // AccountId: Account ID to which this daily upload belongs. AccountId string `json:"accountId,omitempty"` // AppendCount: Number of appends for this date. AppendCount int64 `json:"appendCount,omitempty"` // CreatedTime: Time this daily upload was created. CreatedTime string `json:"createdTime,omitempty"` // CustomDataSourceId: Custom data source ID to which this daily upload // belongs. CustomDataSourceId string `json:"customDataSourceId,omitempty"` // Date: Date associated with daily upload. Date string `json:"date,omitempty"` // Kind: Resource type for Analytics daily upload. Kind string `json:"kind,omitempty"` // ModifiedTime: Time this daily upload was last modified. ModifiedTime string `json:"modifiedTime,omitempty"` // ParentLink: Parent link for a daily upload. Points to the custom data // source to which this daily upload belongs. ParentLink *DailyUploadParentLink `json:"parentLink,omitempty"` // RecentChanges: Change log for last 10 changes in chronological order. RecentChanges []*DailyUploadRecentChanges `json:"recentChanges,omitempty"` // SelfLink: Link for this daily upload. SelfLink string `json:"selfLink,omitempty"` // WebPropertyId: Web property ID of the form UA-XXXXX-YY to which this // daily upload belongs. WebPropertyId string `json:"webPropertyId,omitempty"` }
type DailyUploadAppend ¶
type DailyUploadAppend struct { // AccountId: Account Id to which this daily upload append belongs. AccountId string `json:"accountId,omitempty"` // AppendNumber: Append number. AppendNumber int64 `json:"appendNumber,omitempty"` // CustomDataSourceId: Custom data source Id to which this daily upload // append belongs. CustomDataSourceId string `json:"customDataSourceId,omitempty"` // Date: Date associated with daily upload append. Date string `json:"date,omitempty"` // Kind: Resource type for Analytics daily upload append. Kind string `json:"kind,omitempty"` NextAppendLink string `json:"nextAppendLink,omitempty"` // WebPropertyId: Web property Id of the form UA-XXXXX-YY to which this // daily upload append belongs. WebPropertyId string `json:"webPropertyId,omitempty"` }
type DailyUploadParentLink ¶
type DailyUploads ¶
type DailyUploads struct { // Items: A collection of daily uploads. Items []*DailyUpload `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Value is analytics#dailyUploads. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this daily upload collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this daily upload collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type DataGaGetCall ¶
type DataGaGetCall struct {
// contains filtered or unexported fields
}
func (*DataGaGetCall) Dimensions ¶
func (c *DataGaGetCall) Dimensions(dimensions string) *DataGaGetCall
Dimensions sets the optional parameter "dimensions": A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
func (*DataGaGetCall) Do ¶
func (c *DataGaGetCall) Do() (*GaData, error)
func (*DataGaGetCall) Fields ¶
func (c *DataGaGetCall) Fields(s ...googleapi.Field) *DataGaGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DataGaGetCall) Filters ¶
func (c *DataGaGetCall) Filters(filters string) *DataGaGetCall
Filters sets the optional parameter "filters": A comma-separated list of dimension or metric filters to be applied to Analytics data.
func (*DataGaGetCall) MaxResults ¶
func (c *DataGaGetCall) MaxResults(maxResults int64) *DataGaGetCall
MaxResults sets the optional parameter "max-results": The maximum number of entries to include in this feed.
func (*DataGaGetCall) Output ¶
func (c *DataGaGetCall) Output(output string) *DataGaGetCall
Output sets the optional parameter "output": The selected format for the response. Default format is JSON.
func (*DataGaGetCall) SamplingLevel ¶
func (c *DataGaGetCall) SamplingLevel(samplingLevel string) *DataGaGetCall
SamplingLevel sets the optional parameter "samplingLevel": The desired sampling level.
func (*DataGaGetCall) Segment ¶
func (c *DataGaGetCall) Segment(segment string) *DataGaGetCall
Segment sets the optional parameter "segment": An Analytics segment to be applied to data.
func (*DataGaGetCall) Sort ¶
func (c *DataGaGetCall) Sort(sort string) *DataGaGetCall
Sort sets the optional parameter "sort": A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.
func (*DataGaGetCall) StartIndex ¶
func (c *DataGaGetCall) StartIndex(startIndex int64) *DataGaGetCall
StartIndex sets the optional parameter "start-index": An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type DataGaService ¶
type DataGaService struct {
// contains filtered or unexported fields
}
func NewDataGaService ¶
func NewDataGaService(s *Service) *DataGaService
func (*DataGaService) Get ¶
func (r *DataGaService) Get(ids string, startDate string, endDate string, metrics string) *DataGaGetCall
Get: Returns Analytics data for a view (profile).
type DataMcfGetCall ¶
type DataMcfGetCall struct {
// contains filtered or unexported fields
}
func (*DataMcfGetCall) Dimensions ¶
func (c *DataMcfGetCall) Dimensions(dimensions string) *DataMcfGetCall
Dimensions sets the optional parameter "dimensions": A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
func (*DataMcfGetCall) Do ¶
func (c *DataMcfGetCall) Do() (*McfData, error)
func (*DataMcfGetCall) Fields ¶
func (c *DataMcfGetCall) Fields(s ...googleapi.Field) *DataMcfGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DataMcfGetCall) Filters ¶
func (c *DataMcfGetCall) Filters(filters string) *DataMcfGetCall
Filters sets the optional parameter "filters": A comma-separated list of dimension or metric filters to be applied to the Analytics data.
func (*DataMcfGetCall) MaxResults ¶
func (c *DataMcfGetCall) MaxResults(maxResults int64) *DataMcfGetCall
MaxResults sets the optional parameter "max-results": The maximum number of entries to include in this feed.
func (*DataMcfGetCall) SamplingLevel ¶
func (c *DataMcfGetCall) SamplingLevel(samplingLevel string) *DataMcfGetCall
SamplingLevel sets the optional parameter "samplingLevel": The desired sampling level.
func (*DataMcfGetCall) Sort ¶
func (c *DataMcfGetCall) Sort(sort string) *DataMcfGetCall
Sort sets the optional parameter "sort": A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
func (*DataMcfGetCall) StartIndex ¶
func (c *DataMcfGetCall) StartIndex(startIndex int64) *DataMcfGetCall
StartIndex sets the optional parameter "start-index": An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type DataMcfService ¶
type DataMcfService struct {
// contains filtered or unexported fields
}
func NewDataMcfService ¶
func NewDataMcfService(s *Service) *DataMcfService
func (*DataMcfService) Get ¶
func (r *DataMcfService) Get(ids string, startDate string, endDate string, metrics string) *DataMcfGetCall
Get: Returns Analytics Multi-Channel Funnels data for a view (profile).
type DataRealtimeGetCall ¶
type DataRealtimeGetCall struct {
// contains filtered or unexported fields
}
func (*DataRealtimeGetCall) Dimensions ¶
func (c *DataRealtimeGetCall) Dimensions(dimensions string) *DataRealtimeGetCall
Dimensions sets the optional parameter "dimensions": A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
func (*DataRealtimeGetCall) Do ¶
func (c *DataRealtimeGetCall) Do() (*RealtimeData, error)
func (*DataRealtimeGetCall) Fields ¶
func (c *DataRealtimeGetCall) Fields(s ...googleapi.Field) *DataRealtimeGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DataRealtimeGetCall) Filters ¶
func (c *DataRealtimeGetCall) Filters(filters string) *DataRealtimeGetCall
Filters sets the optional parameter "filters": A comma-separated list of dimension or metric filters to be applied to real time data.
func (*DataRealtimeGetCall) MaxResults ¶
func (c *DataRealtimeGetCall) MaxResults(maxResults int64) *DataRealtimeGetCall
MaxResults sets the optional parameter "max-results": The maximum number of entries to include in this feed.
func (*DataRealtimeGetCall) Sort ¶
func (c *DataRealtimeGetCall) Sort(sort string) *DataRealtimeGetCall
Sort sets the optional parameter "sort": A comma-separated list of dimensions or metrics that determine the sort order for real time data.
type DataRealtimeService ¶
type DataRealtimeService struct {
// contains filtered or unexported fields
}
func NewDataRealtimeService ¶
func NewDataRealtimeService(s *Service) *DataRealtimeService
func (*DataRealtimeService) Get ¶
func (r *DataRealtimeService) Get(ids string, metrics string) *DataRealtimeGetCall
Get: Returns real time data for a view (profile).
type DataService ¶
type DataService struct { Ga *DataGaService Mcf *DataMcfService Realtime *DataRealtimeService // contains filtered or unexported fields }
func NewDataService ¶
func NewDataService(s *Service) *DataService
type EntityAdWordsLink ¶
type EntityAdWordsLink struct { // AdWordsAccounts: A list of AdWords client accounts. These cannot be // MCC accounts. This field is required when creating an AdWords link. // It cannot be empty. AdWordsAccounts []*AdWordsAccount `json:"adWordsAccounts,omitempty"` // Entity: Web property being linked. Entity *EntityAdWordsLinkEntity `json:"entity,omitempty"` // Id: Entity AdWords link ID Id string `json:"id,omitempty"` // Kind: Resource type for entity AdWords link. Kind string `json:"kind,omitempty"` // Name: Name of the link. This field is required when creating an // AdWords link. Name string `json:"name,omitempty"` // ProfileIds: IDs of linked Views (Profiles) represented as strings. ProfileIds []string `json:"profileIds,omitempty"` // SelfLink: URL link for this Google Analytics - Google AdWords link. SelfLink string `json:"selfLink,omitempty"` }
type EntityAdWordsLinkEntity ¶
type EntityAdWordsLinkEntity struct {
WebPropertyRef *WebPropertyRef `json:"webPropertyRef,omitempty"`
}
type EntityAdWordsLinks ¶
type EntityAdWordsLinks struct { // Items: A list of entity AdWords links. Items []*EntityAdWordsLink `json:"items,omitempty"` // ItemsPerPage: The maximum number of entries the response can contain, // regardless of the actual number of entries returned. Its value ranges // from 1 to 1000 with a value of 1000 by default, or otherwise // specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Next link for this AdWords link collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Previous link for this AdWords link collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the entries, which is 1 by default // or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` }
type EntityUserLink ¶
type EntityUserLink struct { // Entity: Entity for this link. It can be an account, a web property, // or a view (profile). Entity *EntityUserLinkEntity `json:"entity,omitempty"` // Id: Entity user link ID Id string `json:"id,omitempty"` // Kind: Resource type for entity user link. Kind string `json:"kind,omitempty"` // Permissions: Permissions the user has for this entity. Permissions *EntityUserLinkPermissions `json:"permissions,omitempty"` // SelfLink: Self link for this resource. SelfLink string `json:"selfLink,omitempty"` // UserRef: User reference. UserRef *UserRef `json:"userRef,omitempty"` }
type EntityUserLinkEntity ¶
type EntityUserLinkEntity struct { // AccountRef: Account for this link. AccountRef *AccountRef `json:"accountRef,omitempty"` // ProfileRef: View (Profile) for this link. ProfileRef *ProfileRef `json:"profileRef,omitempty"` // WebPropertyRef: Web property for this link. WebPropertyRef *WebPropertyRef `json:"webPropertyRef,omitempty"` }
type EntityUserLinkPermissions ¶
type EntityUserLinkPermissions struct { // Effective: Effective permissions represent all the permissions that a // user has for this entity. These include any implied permissions // (e.g., EDIT implies VIEW) or inherited permissions from the parent // entity. Effective permissions are read-only. Effective []string `json:"effective,omitempty"` // Local: Permissions that a user has been assigned at this very level. // Does not include any implied or inherited permissions. Local // permissions are modifiable. Local []string `json:"local,omitempty"` }
type EntityUserLinks ¶
type EntityUserLinks struct { // Items: A list of entity user links. Items []*EntityUserLink `json:"items,omitempty"` // ItemsPerPage: The maximum number of entries the response can contain, // regardless of the actual number of entries returned. Its value ranges // from 1 to 1000 with a value of 1000 by default, or otherwise // specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Next link for this account collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Previous link for this account collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the entries, which is 1 by default // or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` }
type Experiment ¶
type Experiment struct { // AccountId: Account ID to which this experiment belongs. This field is // read-only. AccountId string `json:"accountId,omitempty"` // Created: Time the experiment was created. This field is read-only. Created string `json:"created,omitempty"` // Description: Notes about this experiment. Description string `json:"description,omitempty"` // EditableInGaUi: If true, the end user will be able to edit the // experiment via the Google Analytics user interface. EditableInGaUi bool `json:"editableInGaUi,omitempty"` // EndTime: The ending time of the experiment (the time the status // changed from RUNNING to ENDED). This field is present only if the // experiment has ended. This field is read-only. EndTime string `json:"endTime,omitempty"` // EqualWeighting: Boolean specifying whether to distribute traffic // evenly across all variations. If the value is False, content // experiments follows the default behavior of adjusting traffic // dynamically based on variation performance. Optional -- defaults to // False. This field may not be changed for an experiment whose status // is ENDED. EqualWeighting bool `json:"equalWeighting,omitempty"` // Id: Experiment ID. Required for patch and update. Disallowed for // create. Id string `json:"id,omitempty"` // InternalWebPropertyId: Internal ID for the web property to which this // experiment belongs. This field is read-only. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // Kind: Resource type for an Analytics experiment. This field is // read-only. Kind string `json:"kind,omitempty"` // MinimumExperimentLengthInDays: An integer number in [3, 90]. // Specifies the minimum length of the experiment. Can be changed for a // running experiment. This field may not be changed for an experiments // whose status is ENDED. MinimumExperimentLengthInDays int64 `json:"minimumExperimentLengthInDays,omitempty"` // Name: Experiment name. This field may not be changed for an // experiment whose status is ENDED. This field is required when // creating an experiment. Name string `json:"name,omitempty"` // ObjectiveMetric: The metric that the experiment is optimizing. Valid // values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", // "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", // "ga:pageviews", "ga:sessionDuration", "ga:transactions", // "ga:transactionRevenue". This field is required if status is // "RUNNING" and servingFramework is one of "REDIRECT" or "API". ObjectiveMetric string `json:"objectiveMetric,omitempty"` // OptimizationType: Whether the objectiveMetric should be minimized or // maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults // to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be // modified when status is "RUNNING" or "ENDED". OptimizationType string `json:"optimizationType,omitempty"` // ParentLink: Parent link for an experiment. Points to the view // (profile) to which this experiment belongs. ParentLink *ExperimentParentLink `json:"parentLink,omitempty"` // ProfileId: View (Profile) ID to which this experiment belongs. This // field is read-only. ProfileId string `json:"profileId,omitempty"` // ReasonExperimentEnded: Why the experiment ended. Possible values: // "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", // "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". // "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no // winner was projected to be found. If the experiment status is changed // via the API to ENDED this field is set to STOPPED_BY_USER. This field // is read-only. ReasonExperimentEnded string `json:"reasonExperimentEnded,omitempty"` // RewriteVariationUrlsAsOriginal: Boolean specifying whether variations // URLS are rewritten to match those of the original. This field may not // be changed for an experiments whose status is ENDED. RewriteVariationUrlsAsOriginal bool `json:"rewriteVariationUrlsAsOriginal,omitempty"` // SelfLink: Link for this experiment. This field is read-only. SelfLink string `json:"selfLink,omitempty"` // ServingFramework: The framework used to serve the experiment // variations and evaluate the results. One of: // - REDIRECT: Google // Analytics redirects traffic to different variation pages, reports the // chosen variation and evaluates the results. // - API: Google Analytics // chooses and reports the variation to serve and evaluates the results; // the caller is responsible for serving the selected variation. // - // EXTERNAL: The variations will be served externally and the chosen // variation reported to Google Analytics. The caller is responsible for // serving the selected variation and evaluating the results. ServingFramework string `json:"servingFramework,omitempty"` // Snippet: The snippet of code to include on the control page(s). This // field is read-only. Snippet string `json:"snippet,omitempty"` // StartTime: The starting time of the experiment (the time the status // changed from READY_TO_RUN to RUNNING). This field is present only if // the experiment has started. This field is read-only. StartTime string `json:"startTime,omitempty"` // Status: Experiment status. Possible values: "DRAFT", "READY_TO_RUN", // "RUNNING", "ENDED". Experiments can be created in the "DRAFT", // "READY_TO_RUN" or "RUNNING" state. This field is required when // creating an experiment. Status string `json:"status,omitempty"` // TrafficCoverage: A floating-point number between 0 and 1. Specifies // the fraction of the traffic that participates in the experiment. Can // be changed for a running experiment. This field may not be changed // for an experiments whose status is ENDED. TrafficCoverage float64 `json:"trafficCoverage,omitempty"` // Updated: Time the experiment was last modified. This field is // read-only. Updated string `json:"updated,omitempty"` // Variations: Array of variations. The first variation in the array is // the original. The number of variations may not change once an // experiment is in the RUNNING state. At least two variations are // required before status can be set to RUNNING. Variations []*ExperimentVariations `json:"variations,omitempty"` // WebPropertyId: Web property ID to which this experiment belongs. The // web property ID is of the form UA-XXXXX-YY. This field is read-only. WebPropertyId string `json:"webPropertyId,omitempty"` // WinnerConfidenceLevel: A floating-point number between 0 and 1. // Specifies the necessary confidence level to choose a winner. This // field may not be changed for an experiments whose status is ENDED. WinnerConfidenceLevel float64 `json:"winnerConfidenceLevel,omitempty"` // WinnerFound: Boolean specifying whether a winner has been found for // this experiment. This field is read-only. WinnerFound bool `json:"winnerFound,omitempty"` }
type ExperimentParentLink ¶
type ExperimentVariations ¶
type ExperimentVariations struct { // Name: The name of the variation. This field is required when creating // an experiment. This field may not be changed for an experiment whose // status is ENDED. Name string `json:"name,omitempty"` // Status: Status of the variation. Possible values: "ACTIVE", // "INACTIVE". INACTIVE variations are not served. This field may not be // changed for an experiment whose status is ENDED. Status string `json:"status,omitempty"` // Url: The URL of the variation. This field may not be changed for an // experiment whose status is RUNNING or ENDED. Url string `json:"url,omitempty"` // Weight: Weight that this variation should receive. Only present if // the experiment is running. This field is read-only. Weight float64 `json:"weight,omitempty"` // Won: True if the experiment has ended and this variation performed // (statistically) significantly better than the original. This field is // read-only. Won bool `json:"won,omitempty"` }
type Experiments ¶
type Experiments struct { // Items: A list of experiments. Items []*Experiment `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this experiment collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this experiment collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of resources in the result. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type Filter ¶
type Filter struct { // AccountId: Account ID to which this filter belongs. AccountId string `json:"accountId,omitempty"` // AdvancedDetails: Details for the filter of the type ADVANCED. AdvancedDetails *FilterAdvancedDetails `json:"advancedDetails,omitempty"` // Created: Time this filter was created. Created string `json:"created,omitempty"` // ExcludeDetails: Details for the filter of the type EXCLUDE. ExcludeDetails *FilterExpression `json:"excludeDetails,omitempty"` // Id: Filter ID. Id string `json:"id,omitempty"` // IncludeDetails: Details for the filter of the type INCLUDE. IncludeDetails *FilterExpression `json:"includeDetails,omitempty"` // Kind: Resource type for Analytics filter. Kind string `json:"kind,omitempty"` // LowercaseDetails: Details for the filter of the type LOWER. LowercaseDetails *FilterLowercaseDetails `json:"lowercaseDetails,omitempty"` // Name: Name of this filter. Name string `json:"name,omitempty"` // ParentLink: Parent link for this filter. Points to the account to // which this filter belongs. ParentLink *FilterParentLink `json:"parentLink,omitempty"` // SearchAndReplaceDetails: Details for the filter of the type // SEARCH_AND_REPLACE. SearchAndReplaceDetails *FilterSearchAndReplaceDetails `json:"searchAndReplaceDetails,omitempty"` // SelfLink: Link for this filter. SelfLink string `json:"selfLink,omitempty"` // Type: Type of this filter. Possible values are INCLUDE, EXCLUDE, // LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED. Type string `json:"type,omitempty"` // Updated: Time this filter was last modified. Updated string `json:"updated,omitempty"` // UppercaseDetails: Details for the filter of the type UPPER. UppercaseDetails *FilterUppercaseDetails `json:"uppercaseDetails,omitempty"` }
type FilterAdvancedDetails ¶
type FilterAdvancedDetails struct { // CaseSensitive: Indicates if the filter expressions are case // sensitive. CaseSensitive bool `json:"caseSensitive,omitempty"` // ExtractA: Expression to extract from field A. ExtractA string `json:"extractA,omitempty"` // ExtractB: Expression to extract from field B. ExtractB string `json:"extractB,omitempty"` // FieldA: Field A. FieldA string `json:"fieldA,omitempty"` // FieldARequired: Indicates if field A is required to match. FieldARequired bool `json:"fieldARequired,omitempty"` // FieldB: Field B. FieldB string `json:"fieldB,omitempty"` // FieldBRequired: Indicates if field B is required to match. FieldBRequired bool `json:"fieldBRequired,omitempty"` // OutputConstructor: Expression used to construct the output value. OutputConstructor string `json:"outputConstructor,omitempty"` // OutputToField: Output field. OutputToField string `json:"outputToField,omitempty"` // OverrideOutputField: Indicates if the existing value of the output // field, if any, should be overridden by the output expression. OverrideOutputField bool `json:"overrideOutputField,omitempty"` }
type FilterExpression ¶
type FilterExpression struct { // CaseSensitive: Determines if the filter is case sensitive. CaseSensitive bool `json:"caseSensitive,omitempty"` // ExpressionValue: Filter expression value ExpressionValue string `json:"expressionValue,omitempty"` // Field: Field to filter. Possible values: // - Reserved // - UNUSED, // // - Content and Traffic // - PAGE_REQUEST_URI, // - PAGE_HOSTNAME, // - // PAGE_TITLE, // - REFERRAL, // - COST_DATA_URI (Campaign target URL), // - // HIT_TYPE, // - INTERNAL_SEARCH_TERM, // - INTERNAL_SEARCH_TYPE, // - // SOURCE_PROPERTY_TRACKING_ID, // - Campaign or AdGroup // - // CAMPAIGN_SOURCE, // - CAMPAIGN_MEDIUM, // - CAMPAIGN_NAME, // - // CAMPAIGN_AD_GROUP, // - CAMPAIGN_TERM, // - CAMPAIGN_CONTENT, // - // CAMPAIGN_CODE, // - CAMPAIGN_REFERRAL_PATH, // - E-Commerce // - // TRANSACTION_COUNTRY, // - TRANSACTION_REGION, // - TRANSACTION_CITY, // - // TRANSACTION_AFFILIATION (Store or order location), // - ITEM_NAME, // - // ITEM_CODE, // - ITEM_VARIATION, // - TRANSACTION_ID, // - // TRANSACTION_CURRENCY_CODE, // - PRODUCT_ACTION_TYPE, // - // Audience/Users // - BROWSER, // - BROWSER_VERSION, // - BROWSER_SIZE, // - // PLATFORM, // - PLATFORM_VERSION, // - LANGUAGE, // - SCREEN_RESOLUTION, // - // SCREEN_COLORS, // - JAVA_ENABLED, // - FLASH_VERSION, // - GEO_SPEED // (Connection speed), // - VISITOR_TYPE, // - GEO_ORGANIZATION (ISP // organization), // - GEO_DOMAIN, // - GEO_IP_ADDRESS, // - GEO_IP_VERSION, // // - Location // - GEO_COUNTRY, // - GEO_REGION, // - GEO_CITY, // - Event // // - EVENT_CATEGORY, // - EVENT_ACTION, // - EVENT_LABEL, // - Other // - // CUSTOM_FIELD_1, // - CUSTOM_FIELD_2, // - USER_DEFINED_VALUE, // - // Application // - APP_ID, // - APP_INSTALLER_ID, // - APP_NAME, // - // APP_VERSION, // - SCREEN, // - IS_APP, // - IS_FATAL_EXCEPTION, // - // EXCEPTION_DESCRIPTION, // - Mobile device // - IS_MOBILE, // - // IS_TABLET, // - DEVICE_CATEGORY, // - MOBILE_HAS_QWERTY_KEYBOARD, // - // MOBILE_HAS_NFC_SUPPORT, // - MOBILE_HAS_CELLULAR_RADIO, // - // MOBILE_HAS_WIFI_SUPPORT, // - MOBILE_BRAND_NAME, // - MOBILE_MODEL_NAME, // // - MOBILE_MARKETING_NAME, // - MOBILE_POINTING_METHOD, // - Social // - // SOCIAL_NETWORK, // - SOCIAL_ACTION, // - SOCIAL_ACTION_TARGET, Field string `json:"field,omitempty"` // Kind: Kind value for filter expression Kind string `json:"kind,omitempty"` // MatchType: Match type for this filter. Possible values are // BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude // filters can use any match type. Match type is not applicable to Upper // case and Lower case filters. Search and Replace expressions in the // Search and Replace filter and all filter expressions in the Advanced // filter default to MATCHES. User should not set match type for those // filters. MatchType string `json:"matchType,omitempty"` }
type FilterLowercaseDetails ¶
type FilterLowercaseDetails struct { // Field: Field to use in the filter. Field string `json:"field,omitempty"` }
type FilterParentLink ¶
type FilterRef ¶
type FilterRef struct { // AccountId: Account ID to which this filter belongs. AccountId string `json:"accountId,omitempty"` // Href: Link for this filter. Href string `json:"href,omitempty"` // Id: Filter ID. Id string `json:"id,omitempty"` // Kind: Kind value for filter reference. Kind string `json:"kind,omitempty"` // Name: Name of this filter. Name string `json:"name,omitempty"` }
type FilterSearchAndReplaceDetails ¶
type FilterSearchAndReplaceDetails struct { // CaseSensitive: Determines if the filter is case sensitive. CaseSensitive bool `json:"caseSensitive,omitempty"` // Field: Field to use in the filter. Field string `json:"field,omitempty"` // ReplaceString: Term to replace the search term with. ReplaceString string `json:"replaceString,omitempty"` // SearchString: Term to search. SearchString string `json:"searchString,omitempty"` }
type FilterUppercaseDetails ¶
type FilterUppercaseDetails struct { // Field: Field to use in the filter. Field string `json:"field,omitempty"` }
type Filters ¶
type Filters struct { // Items: A list of filters. Items []*Filter `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1,000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this filter collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this filter collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type GaData ¶
type GaData struct { // ColumnHeaders: Column headers that list dimension names followed by // the metric names. The order of dimensions and metrics is same as // specified in the request. ColumnHeaders []*GaDataColumnHeaders `json:"columnHeaders,omitempty"` // ContainsSampledData: Determines if Analytics data contains samples. ContainsSampledData bool `json:"containsSampledData,omitempty"` DataTable *GaDataDataTable `json:"dataTable,omitempty"` // Id: Unique ID for this data response. Id string `json:"id,omitempty"` // ItemsPerPage: The maximum number of rows the response can contain, // regardless of the actual number of rows returned. Its value ranges // from 1 to 10,000 with a value of 1000 by default, or otherwise // specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Resource type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this Analytics data query. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this Analytics data query. PreviousLink string `json:"previousLink,omitempty"` // ProfileInfo: Information for the view (profile), for which the // Analytics data was requested. ProfileInfo *GaDataProfileInfo `json:"profileInfo,omitempty"` // Query: Analytics data request query parameters. Query *GaDataQuery `json:"query,omitempty"` // Rows: Analytics data rows, where each row contains a list of // dimension values followed by the metric values. The order of // dimensions and metrics is same as specified in the request. Rows [][]string `json:"rows,omitempty"` // SampleSize: The number of samples used to calculate the result. SampleSize int64 `json:"sampleSize,omitempty,string"` // SampleSpace: Total size of the sample space from which the samples // were selected. SampleSpace int64 `json:"sampleSpace,omitempty,string"` // SelfLink: Link to this page. SelfLink string `json:"selfLink,omitempty"` // TotalResults: The total number of rows for the query, regardless of // the number of rows in the response. TotalResults int64 `json:"totalResults,omitempty"` // TotalsForAllResults: Total values for the requested metrics over all // the results, not just the results returned in this response. The // order of the metric totals is same as the metric order specified in // the request. TotalsForAllResults map[string]string `json:"totalsForAllResults,omitempty"` }
type GaDataColumnHeaders ¶
type GaDataColumnHeaders struct { // ColumnType: Column Type. Either DIMENSION or METRIC. ColumnType string `json:"columnType,omitempty"` // DataType: Data type. Dimension column headers have only STRING as the // data type. Metric column headers have data types for metric values // such as INTEGER, DOUBLE, CURRENCY etc. DataType string `json:"dataType,omitempty"` // Name: Column name. Name string `json:"name,omitempty"` }
type GaDataDataTable ¶
type GaDataDataTable struct { Cols []*GaDataDataTableCols `json:"cols,omitempty"` Rows []*GaDataDataTableRows `json:"rows,omitempty"` }
type GaDataDataTableCols ¶
type GaDataDataTableRows ¶
type GaDataDataTableRows struct {
C []*GaDataDataTableRowsC `json:"c,omitempty"`
}
type GaDataDataTableRowsC ¶
type GaDataDataTableRowsC struct {
V string `json:"v,omitempty"`
}
type GaDataProfileInfo ¶
type GaDataProfileInfo struct { // AccountId: Account ID to which this view (profile) belongs. AccountId string `json:"accountId,omitempty"` // InternalWebPropertyId: Internal ID for the web property to which this // view (profile) belongs. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // ProfileId: View (Profile) ID. ProfileId string `json:"profileId,omitempty"` // ProfileName: View (Profile) name. ProfileName string `json:"profileName,omitempty"` // TableId: Table ID for view (profile). TableId string `json:"tableId,omitempty"` // WebPropertyId: Web Property ID to which this view (profile) belongs. WebPropertyId string `json:"webPropertyId,omitempty"` }
type GaDataQuery ¶
type GaDataQuery struct { // Dimensions: List of analytics dimensions. Dimensions string `json:"dimensions,omitempty"` // EndDate: End date. EndDate string `json:"end-date,omitempty"` // Filters: Comma-separated list of dimension or metric filters. Filters string `json:"filters,omitempty"` // Ids: Unique table ID. Ids string `json:"ids,omitempty"` // MaxResults: Maximum results per page. MaxResults int64 `json:"max-results,omitempty"` // Metrics: List of analytics metrics. Metrics []string `json:"metrics,omitempty"` // SamplingLevel: Desired sampling level SamplingLevel string `json:"samplingLevel,omitempty"` // Segment: Analytics advanced segment. Segment string `json:"segment,omitempty"` // Sort: List of dimensions or metrics based on which Analytics data is // sorted. Sort []string `json:"sort,omitempty"` // StartDate: Start date. StartDate string `json:"start-date,omitempty"` // StartIndex: Start index. StartIndex int64 `json:"start-index,omitempty"` }
type Goal ¶
type Goal struct { // AccountId: Account ID to which this goal belongs. AccountId string `json:"accountId,omitempty"` // Active: Determines whether this goal is active. Active bool `json:"active,omitempty"` // Created: Time this goal was created. Created string `json:"created,omitempty"` // EventDetails: Details for the goal of the type EVENT. EventDetails *GoalEventDetails `json:"eventDetails,omitempty"` // Id: Goal ID. Id string `json:"id,omitempty"` // InternalWebPropertyId: Internal ID for the web property to which this // goal belongs. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // Kind: Resource type for an Analytics goal. Kind string `json:"kind,omitempty"` // Name: Goal name. Name string `json:"name,omitempty"` // ParentLink: Parent link for a goal. Points to the view (profile) to // which this goal belongs. ParentLink *GoalParentLink `json:"parentLink,omitempty"` // ProfileId: View (Profile) ID to which this goal belongs. ProfileId string `json:"profileId,omitempty"` // SelfLink: Link for this goal. SelfLink string `json:"selfLink,omitempty"` // Type: Goal type. Possible values are URL_DESTINATION, // VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT. Type string `json:"type,omitempty"` // Updated: Time this goal was last modified. Updated string `json:"updated,omitempty"` // UrlDestinationDetails: Details for the goal of the type // URL_DESTINATION. UrlDestinationDetails *GoalUrlDestinationDetails `json:"urlDestinationDetails,omitempty"` // Value: Goal value. Value float64 `json:"value,omitempty"` // VisitNumPagesDetails: Details for the goal of the type // VISIT_NUM_PAGES. VisitNumPagesDetails *GoalVisitNumPagesDetails `json:"visitNumPagesDetails,omitempty"` // VisitTimeOnSiteDetails: Details for the goal of the type // VISIT_TIME_ON_SITE. VisitTimeOnSiteDetails *GoalVisitTimeOnSiteDetails `json:"visitTimeOnSiteDetails,omitempty"` // WebPropertyId: Web property ID to which this goal belongs. The web // property ID is of the form UA-XXXXX-YY. WebPropertyId string `json:"webPropertyId,omitempty"` }
type GoalEventDetails ¶
type GoalEventDetails struct { // EventConditions: List of event conditions. EventConditions []*GoalEventDetailsEventConditions `json:"eventConditions,omitempty"` // UseEventValue: Determines if the event value should be used as the // value for this goal. UseEventValue bool `json:"useEventValue,omitempty"` }
type GoalEventDetailsEventConditions ¶
type GoalEventDetailsEventConditions struct { // ComparisonType: Type of comparison. Possible values are LESS_THAN, // GREATER_THAN or EQUAL. ComparisonType string `json:"comparisonType,omitempty"` // ComparisonValue: Value used for this comparison. ComparisonValue int64 `json:"comparisonValue,omitempty,string"` // Expression: Expression used for this match. Expression string `json:"expression,omitempty"` // MatchType: Type of the match to be performed. Possible values are // REGEXP, BEGINS_WITH, or EXACT. MatchType string `json:"matchType,omitempty"` // Type: Type of this event condition. Possible values are CATEGORY, // ACTION, LABEL, or VALUE. Type string `json:"type,omitempty"` }
type GoalParentLink ¶
type GoalUrlDestinationDetails ¶
type GoalUrlDestinationDetails struct { // CaseSensitive: Determines if the goal URL must exactly match the // capitalization of visited URLs. CaseSensitive bool `json:"caseSensitive,omitempty"` // FirstStepRequired: Determines if the first step in this goal is // required. FirstStepRequired bool `json:"firstStepRequired,omitempty"` // MatchType: Match type for the goal URL. Possible values are HEAD, // EXACT, or REGEX. MatchType string `json:"matchType,omitempty"` // Steps: List of steps configured for this goal funnel. Steps []*GoalUrlDestinationDetailsSteps `json:"steps,omitempty"` // Url: URL for this goal. Url string `json:"url,omitempty"` }
type GoalVisitNumPagesDetails ¶
type GoalVisitNumPagesDetails struct { // ComparisonType: Type of comparison. Possible values are LESS_THAN, // GREATER_THAN, or EQUAL. ComparisonType string `json:"comparisonType,omitempty"` // ComparisonValue: Value used for this comparison. ComparisonValue int64 `json:"comparisonValue,omitempty,string"` }
type GoalVisitTimeOnSiteDetails ¶
type GoalVisitTimeOnSiteDetails struct { // ComparisonType: Type of comparison. Possible values are LESS_THAN or // GREATER_THAN. ComparisonType string `json:"comparisonType,omitempty"` // ComparisonValue: Value used for this comparison. ComparisonValue int64 `json:"comparisonValue,omitempty,string"` }
type Goals ¶
type Goals struct { // Items: A list of goals. Items []*Goal `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this goal collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this goal collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of resources in the result. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type ManagementAccountSummariesListCall ¶
type ManagementAccountSummariesListCall struct {
// contains filtered or unexported fields
}
func (*ManagementAccountSummariesListCall) Do ¶
func (c *ManagementAccountSummariesListCall) Do() (*AccountSummaries, error)
func (*ManagementAccountSummariesListCall) Fields ¶
func (c *ManagementAccountSummariesListCall) Fields(s ...googleapi.Field) *ManagementAccountSummariesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementAccountSummariesListCall) MaxResults ¶
func (c *ManagementAccountSummariesListCall) MaxResults(maxResults int64) *ManagementAccountSummariesListCall
MaxResults sets the optional parameter "max-results": The maximum number of account summaries to include in this response, where the largest acceptable value is 1000.
func (*ManagementAccountSummariesListCall) StartIndex ¶
func (c *ManagementAccountSummariesListCall) StartIndex(startIndex int64) *ManagementAccountSummariesListCall
StartIndex sets the optional parameter "start-index": An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementAccountSummariesService ¶
type ManagementAccountSummariesService struct {
// contains filtered or unexported fields
}
func NewManagementAccountSummariesService ¶
func NewManagementAccountSummariesService(s *Service) *ManagementAccountSummariesService
func (*ManagementAccountSummariesService) List ¶
func (r *ManagementAccountSummariesService) List() *ManagementAccountSummariesListCall
List: Lists account summaries (lightweight tree comprised of accounts/properties/profiles) to which the user has access.
type ManagementAccountUserLinksDeleteCall ¶
type ManagementAccountUserLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementAccountUserLinksDeleteCall) Do ¶
func (c *ManagementAccountUserLinksDeleteCall) Do() error
func (*ManagementAccountUserLinksDeleteCall) Fields ¶
func (c *ManagementAccountUserLinksDeleteCall) Fields(s ...googleapi.Field) *ManagementAccountUserLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementAccountUserLinksInsertCall ¶
type ManagementAccountUserLinksInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementAccountUserLinksInsertCall) Do ¶
func (c *ManagementAccountUserLinksInsertCall) Do() (*EntityUserLink, error)
func (*ManagementAccountUserLinksInsertCall) Fields ¶
func (c *ManagementAccountUserLinksInsertCall) Fields(s ...googleapi.Field) *ManagementAccountUserLinksInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementAccountUserLinksListCall ¶
type ManagementAccountUserLinksListCall struct {
// contains filtered or unexported fields
}
func (*ManagementAccountUserLinksListCall) Do ¶
func (c *ManagementAccountUserLinksListCall) Do() (*EntityUserLinks, error)
func (*ManagementAccountUserLinksListCall) Fields ¶
func (c *ManagementAccountUserLinksListCall) Fields(s ...googleapi.Field) *ManagementAccountUserLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementAccountUserLinksListCall) MaxResults ¶
func (c *ManagementAccountUserLinksListCall) MaxResults(maxResults int64) *ManagementAccountUserLinksListCall
MaxResults sets the optional parameter "max-results": The maximum number of account-user links to include in this response.
func (*ManagementAccountUserLinksListCall) StartIndex ¶
func (c *ManagementAccountUserLinksListCall) StartIndex(startIndex int64) *ManagementAccountUserLinksListCall
StartIndex sets the optional parameter "start-index": An index of the first account-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementAccountUserLinksService ¶
type ManagementAccountUserLinksService struct {
// contains filtered or unexported fields
}
func NewManagementAccountUserLinksService ¶
func NewManagementAccountUserLinksService(s *Service) *ManagementAccountUserLinksService
func (*ManagementAccountUserLinksService) Delete ¶
func (r *ManagementAccountUserLinksService) Delete(accountId string, linkId string) *ManagementAccountUserLinksDeleteCall
Delete: Removes a user from the given account.
func (*ManagementAccountUserLinksService) Insert ¶
func (r *ManagementAccountUserLinksService) Insert(accountId string, entityuserlink *EntityUserLink) *ManagementAccountUserLinksInsertCall
Insert: Adds a new user to the given account.
func (*ManagementAccountUserLinksService) List ¶
func (r *ManagementAccountUserLinksService) List(accountId string) *ManagementAccountUserLinksListCall
List: Lists account-user links for a given account.
func (*ManagementAccountUserLinksService) Update ¶
func (r *ManagementAccountUserLinksService) Update(accountId string, linkId string, entityuserlink *EntityUserLink) *ManagementAccountUserLinksUpdateCall
Update: Updates permissions for an existing user on the given account.
type ManagementAccountUserLinksUpdateCall ¶
type ManagementAccountUserLinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementAccountUserLinksUpdateCall) Do ¶
func (c *ManagementAccountUserLinksUpdateCall) Do() (*EntityUserLink, error)
func (*ManagementAccountUserLinksUpdateCall) Fields ¶
func (c *ManagementAccountUserLinksUpdateCall) Fields(s ...googleapi.Field) *ManagementAccountUserLinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementAccountsListCall ¶
type ManagementAccountsListCall struct {
// contains filtered or unexported fields
}
func (*ManagementAccountsListCall) Do ¶
func (c *ManagementAccountsListCall) Do() (*Accounts, error)
func (*ManagementAccountsListCall) Fields ¶
func (c *ManagementAccountsListCall) Fields(s ...googleapi.Field) *ManagementAccountsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementAccountsListCall) MaxResults ¶
func (c *ManagementAccountsListCall) MaxResults(maxResults int64) *ManagementAccountsListCall
MaxResults sets the optional parameter "max-results": The maximum number of accounts to include in this response.
func (*ManagementAccountsListCall) StartIndex ¶
func (c *ManagementAccountsListCall) StartIndex(startIndex int64) *ManagementAccountsListCall
StartIndex sets the optional parameter "start-index": An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementAccountsService ¶
type ManagementAccountsService struct {
// contains filtered or unexported fields
}
func NewManagementAccountsService ¶
func NewManagementAccountsService(s *Service) *ManagementAccountsService
func (*ManagementAccountsService) List ¶
func (r *ManagementAccountsService) List() *ManagementAccountsListCall
List: Lists all accounts to which the user has access.
type ManagementCustomDataSourcesListCall ¶
type ManagementCustomDataSourcesListCall struct {
// contains filtered or unexported fields
}
func (*ManagementCustomDataSourcesListCall) Do ¶
func (c *ManagementCustomDataSourcesListCall) Do() (*CustomDataSources, error)
func (*ManagementCustomDataSourcesListCall) Fields ¶
func (c *ManagementCustomDataSourcesListCall) Fields(s ...googleapi.Field) *ManagementCustomDataSourcesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementCustomDataSourcesListCall) MaxResults ¶
func (c *ManagementCustomDataSourcesListCall) MaxResults(maxResults int64) *ManagementCustomDataSourcesListCall
MaxResults sets the optional parameter "max-results": The maximum number of custom data sources to include in this response.
func (*ManagementCustomDataSourcesListCall) StartIndex ¶
func (c *ManagementCustomDataSourcesListCall) StartIndex(startIndex int64) *ManagementCustomDataSourcesListCall
StartIndex sets the optional parameter "start-index": A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementCustomDataSourcesService ¶
type ManagementCustomDataSourcesService struct {
// contains filtered or unexported fields
}
func NewManagementCustomDataSourcesService ¶
func NewManagementCustomDataSourcesService(s *Service) *ManagementCustomDataSourcesService
func (*ManagementCustomDataSourcesService) List ¶
func (r *ManagementCustomDataSourcesService) List(accountId string, webPropertyId string) *ManagementCustomDataSourcesListCall
List: List custom data sources to which the user has access.
type ManagementDailyUploadsDeleteCall ¶
type ManagementDailyUploadsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementDailyUploadsDeleteCall) Do ¶
func (c *ManagementDailyUploadsDeleteCall) Do() error
func (*ManagementDailyUploadsDeleteCall) Fields ¶
func (c *ManagementDailyUploadsDeleteCall) Fields(s ...googleapi.Field) *ManagementDailyUploadsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementDailyUploadsListCall ¶
type ManagementDailyUploadsListCall struct {
// contains filtered or unexported fields
}
func (*ManagementDailyUploadsListCall) Do ¶
func (c *ManagementDailyUploadsListCall) Do() (*DailyUploads, error)
func (*ManagementDailyUploadsListCall) Fields ¶
func (c *ManagementDailyUploadsListCall) Fields(s ...googleapi.Field) *ManagementDailyUploadsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementDailyUploadsListCall) MaxResults ¶
func (c *ManagementDailyUploadsListCall) MaxResults(maxResults int64) *ManagementDailyUploadsListCall
MaxResults sets the optional parameter "max-results": The maximum number of custom data sources to include in this response.
func (*ManagementDailyUploadsListCall) StartIndex ¶
func (c *ManagementDailyUploadsListCall) StartIndex(startIndex int64) *ManagementDailyUploadsListCall
StartIndex sets the optional parameter "start-index": A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementDailyUploadsService ¶
type ManagementDailyUploadsService struct {
// contains filtered or unexported fields
}
func NewManagementDailyUploadsService ¶
func NewManagementDailyUploadsService(s *Service) *ManagementDailyUploadsService
func (*ManagementDailyUploadsService) Delete ¶
func (r *ManagementDailyUploadsService) Delete(accountId string, webPropertyId string, customDataSourceId string, date string, type_ string) *ManagementDailyUploadsDeleteCall
Delete: Delete uploaded data for the given date.
func (*ManagementDailyUploadsService) List ¶
func (r *ManagementDailyUploadsService) List(accountId string, webPropertyId string, customDataSourceId string, startDate string, endDate string) *ManagementDailyUploadsListCall
List: List daily uploads to which the user has access.
func (*ManagementDailyUploadsService) Upload ¶
func (r *ManagementDailyUploadsService) Upload(accountId string, webPropertyId string, customDataSourceId string, date string, appendNumber int64, type_ string) *ManagementDailyUploadsUploadCall
Upload: Update/Overwrite data for a custom data source.
type ManagementDailyUploadsUploadCall ¶
type ManagementDailyUploadsUploadCall struct {
// contains filtered or unexported fields
}
func (*ManagementDailyUploadsUploadCall) Do ¶
func (c *ManagementDailyUploadsUploadCall) Do() (*DailyUploadAppend, error)
func (*ManagementDailyUploadsUploadCall) Fields ¶
func (c *ManagementDailyUploadsUploadCall) Fields(s ...googleapi.Field) *ManagementDailyUploadsUploadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementDailyUploadsUploadCall) Media ¶
func (c *ManagementDailyUploadsUploadCall) Media(r io.Reader) *ManagementDailyUploadsUploadCall
func (*ManagementDailyUploadsUploadCall) Reset ¶
func (c *ManagementDailyUploadsUploadCall) Reset(reset bool) *ManagementDailyUploadsUploadCall
Reset sets the optional parameter "reset": Reset/Overwrite all previous appends for this date and start over with this file as the first upload.
type ManagementExperimentsDeleteCall ¶
type ManagementExperimentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementExperimentsDeleteCall) Do ¶
func (c *ManagementExperimentsDeleteCall) Do() error
func (*ManagementExperimentsDeleteCall) Fields ¶
func (c *ManagementExperimentsDeleteCall) Fields(s ...googleapi.Field) *ManagementExperimentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementExperimentsGetCall ¶
type ManagementExperimentsGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementExperimentsGetCall) Do ¶
func (c *ManagementExperimentsGetCall) Do() (*Experiment, error)
func (*ManagementExperimentsGetCall) Fields ¶
func (c *ManagementExperimentsGetCall) Fields(s ...googleapi.Field) *ManagementExperimentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementExperimentsInsertCall ¶
type ManagementExperimentsInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementExperimentsInsertCall) Do ¶
func (c *ManagementExperimentsInsertCall) Do() (*Experiment, error)
func (*ManagementExperimentsInsertCall) Fields ¶
func (c *ManagementExperimentsInsertCall) Fields(s ...googleapi.Field) *ManagementExperimentsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementExperimentsListCall ¶
type ManagementExperimentsListCall struct {
// contains filtered or unexported fields
}
func (*ManagementExperimentsListCall) Do ¶
func (c *ManagementExperimentsListCall) Do() (*Experiments, error)
func (*ManagementExperimentsListCall) Fields ¶
func (c *ManagementExperimentsListCall) Fields(s ...googleapi.Field) *ManagementExperimentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementExperimentsListCall) MaxResults ¶
func (c *ManagementExperimentsListCall) MaxResults(maxResults int64) *ManagementExperimentsListCall
MaxResults sets the optional parameter "max-results": The maximum number of experiments to include in this response.
func (*ManagementExperimentsListCall) StartIndex ¶
func (c *ManagementExperimentsListCall) StartIndex(startIndex int64) *ManagementExperimentsListCall
StartIndex sets the optional parameter "start-index": An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementExperimentsPatchCall ¶
type ManagementExperimentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ManagementExperimentsPatchCall) Do ¶
func (c *ManagementExperimentsPatchCall) Do() (*Experiment, error)
func (*ManagementExperimentsPatchCall) Fields ¶
func (c *ManagementExperimentsPatchCall) Fields(s ...googleapi.Field) *ManagementExperimentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementExperimentsService ¶
type ManagementExperimentsService struct {
// contains filtered or unexported fields
}
func NewManagementExperimentsService ¶
func NewManagementExperimentsService(s *Service) *ManagementExperimentsService
func (*ManagementExperimentsService) Delete ¶
func (r *ManagementExperimentsService) Delete(accountId string, webPropertyId string, profileId string, experimentId string) *ManagementExperimentsDeleteCall
Delete: Delete an experiment.
func (*ManagementExperimentsService) Get ¶
func (r *ManagementExperimentsService) Get(accountId string, webPropertyId string, profileId string, experimentId string) *ManagementExperimentsGetCall
Get: Returns an experiment to which the user has access.
func (*ManagementExperimentsService) Insert ¶
func (r *ManagementExperimentsService) Insert(accountId string, webPropertyId string, profileId string, experiment *Experiment) *ManagementExperimentsInsertCall
Insert: Create a new experiment.
func (*ManagementExperimentsService) List ¶
func (r *ManagementExperimentsService) List(accountId string, webPropertyId string, profileId string) *ManagementExperimentsListCall
List: Lists experiments to which the user has access.
func (*ManagementExperimentsService) Patch ¶
func (r *ManagementExperimentsService) Patch(accountId string, webPropertyId string, profileId string, experimentId string, experiment *Experiment) *ManagementExperimentsPatchCall
Patch: Update an existing experiment. This method supports patch semantics.
func (*ManagementExperimentsService) Update ¶
func (r *ManagementExperimentsService) Update(accountId string, webPropertyId string, profileId string, experimentId string, experiment *Experiment) *ManagementExperimentsUpdateCall
Update: Update an existing experiment.
type ManagementExperimentsUpdateCall ¶
type ManagementExperimentsUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementExperimentsUpdateCall) Do ¶
func (c *ManagementExperimentsUpdateCall) Do() (*Experiment, error)
func (*ManagementExperimentsUpdateCall) Fields ¶
func (c *ManagementExperimentsUpdateCall) Fields(s ...googleapi.Field) *ManagementExperimentsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementFiltersDeleteCall ¶
type ManagementFiltersDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementFiltersDeleteCall) Do ¶
func (c *ManagementFiltersDeleteCall) Do() (*Filter, error)
func (*ManagementFiltersDeleteCall) Fields ¶
func (c *ManagementFiltersDeleteCall) Fields(s ...googleapi.Field) *ManagementFiltersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementFiltersGetCall ¶
type ManagementFiltersGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementFiltersGetCall) Do ¶
func (c *ManagementFiltersGetCall) Do() (*Filter, error)
func (*ManagementFiltersGetCall) Fields ¶
func (c *ManagementFiltersGetCall) Fields(s ...googleapi.Field) *ManagementFiltersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementFiltersInsertCall ¶
type ManagementFiltersInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementFiltersInsertCall) Do ¶
func (c *ManagementFiltersInsertCall) Do() (*Filter, error)
func (*ManagementFiltersInsertCall) Fields ¶
func (c *ManagementFiltersInsertCall) Fields(s ...googleapi.Field) *ManagementFiltersInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementFiltersListCall ¶
type ManagementFiltersListCall struct {
// contains filtered or unexported fields
}
func (*ManagementFiltersListCall) Do ¶
func (c *ManagementFiltersListCall) Do() (*Filters, error)
func (*ManagementFiltersListCall) Fields ¶
func (c *ManagementFiltersListCall) Fields(s ...googleapi.Field) *ManagementFiltersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementFiltersListCall) MaxResults ¶
func (c *ManagementFiltersListCall) MaxResults(maxResults int64) *ManagementFiltersListCall
MaxResults sets the optional parameter "max-results": The maximum number of filters to include in this response.
func (*ManagementFiltersListCall) StartIndex ¶
func (c *ManagementFiltersListCall) StartIndex(startIndex int64) *ManagementFiltersListCall
StartIndex sets the optional parameter "start-index": An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementFiltersPatchCall ¶
type ManagementFiltersPatchCall struct {
// contains filtered or unexported fields
}
func (*ManagementFiltersPatchCall) Do ¶
func (c *ManagementFiltersPatchCall) Do() (*Filter, error)
func (*ManagementFiltersPatchCall) Fields ¶
func (c *ManagementFiltersPatchCall) Fields(s ...googleapi.Field) *ManagementFiltersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementFiltersService ¶
type ManagementFiltersService struct {
// contains filtered or unexported fields
}
func NewManagementFiltersService ¶
func NewManagementFiltersService(s *Service) *ManagementFiltersService
func (*ManagementFiltersService) Delete ¶
func (r *ManagementFiltersService) Delete(accountId string, filterId string) *ManagementFiltersDeleteCall
Delete: Delete a filter.
func (*ManagementFiltersService) Get ¶
func (r *ManagementFiltersService) Get(accountId string, filterId string) *ManagementFiltersGetCall
Get: Returns a filters to which the user has access.
func (*ManagementFiltersService) Insert ¶
func (r *ManagementFiltersService) Insert(accountId string, filter *Filter) *ManagementFiltersInsertCall
Insert: Create a new filter.
func (*ManagementFiltersService) List ¶
func (r *ManagementFiltersService) List(accountId string) *ManagementFiltersListCall
List: Lists all filters for an account
func (*ManagementFiltersService) Patch ¶
func (r *ManagementFiltersService) Patch(accountId string, filterId string, filter *Filter) *ManagementFiltersPatchCall
Patch: Updates an existing filter. This method supports patch semantics.
func (*ManagementFiltersService) Update ¶
func (r *ManagementFiltersService) Update(accountId string, filterId string, filter *Filter) *ManagementFiltersUpdateCall
Update: Updates an existing filter.
type ManagementFiltersUpdateCall ¶
type ManagementFiltersUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementFiltersUpdateCall) Do ¶
func (c *ManagementFiltersUpdateCall) Do() (*Filter, error)
func (*ManagementFiltersUpdateCall) Fields ¶
func (c *ManagementFiltersUpdateCall) Fields(s ...googleapi.Field) *ManagementFiltersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementGoalsGetCall ¶
type ManagementGoalsGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementGoalsGetCall) Do ¶
func (c *ManagementGoalsGetCall) Do() (*Goal, error)
func (*ManagementGoalsGetCall) Fields ¶
func (c *ManagementGoalsGetCall) Fields(s ...googleapi.Field) *ManagementGoalsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementGoalsInsertCall ¶
type ManagementGoalsInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementGoalsInsertCall) Do ¶
func (c *ManagementGoalsInsertCall) Do() (*Goal, error)
func (*ManagementGoalsInsertCall) Fields ¶
func (c *ManagementGoalsInsertCall) Fields(s ...googleapi.Field) *ManagementGoalsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementGoalsListCall ¶
type ManagementGoalsListCall struct {
// contains filtered or unexported fields
}
func (*ManagementGoalsListCall) Do ¶
func (c *ManagementGoalsListCall) Do() (*Goals, error)
func (*ManagementGoalsListCall) Fields ¶
func (c *ManagementGoalsListCall) Fields(s ...googleapi.Field) *ManagementGoalsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementGoalsListCall) MaxResults ¶
func (c *ManagementGoalsListCall) MaxResults(maxResults int64) *ManagementGoalsListCall
MaxResults sets the optional parameter "max-results": The maximum number of goals to include in this response.
func (*ManagementGoalsListCall) StartIndex ¶
func (c *ManagementGoalsListCall) StartIndex(startIndex int64) *ManagementGoalsListCall
StartIndex sets the optional parameter "start-index": An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementGoalsPatchCall ¶
type ManagementGoalsPatchCall struct {
// contains filtered or unexported fields
}
func (*ManagementGoalsPatchCall) Do ¶
func (c *ManagementGoalsPatchCall) Do() (*Goal, error)
func (*ManagementGoalsPatchCall) Fields ¶
func (c *ManagementGoalsPatchCall) Fields(s ...googleapi.Field) *ManagementGoalsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementGoalsService ¶
type ManagementGoalsService struct {
// contains filtered or unexported fields
}
func NewManagementGoalsService ¶
func NewManagementGoalsService(s *Service) *ManagementGoalsService
func (*ManagementGoalsService) Get ¶
func (r *ManagementGoalsService) Get(accountId string, webPropertyId string, profileId string, goalId string) *ManagementGoalsGetCall
Get: Gets a goal to which the user has access.
func (*ManagementGoalsService) Insert ¶
func (r *ManagementGoalsService) Insert(accountId string, webPropertyId string, profileId string, goal *Goal) *ManagementGoalsInsertCall
Insert: Create a new goal.
func (*ManagementGoalsService) List ¶
func (r *ManagementGoalsService) List(accountId string, webPropertyId string, profileId string) *ManagementGoalsListCall
List: Lists goals to which the user has access.
func (*ManagementGoalsService) Patch ¶
func (r *ManagementGoalsService) Patch(accountId string, webPropertyId string, profileId string, goalId string, goal *Goal) *ManagementGoalsPatchCall
Patch: Updates an existing view (profile). This method supports patch semantics.
func (*ManagementGoalsService) Update ¶
func (r *ManagementGoalsService) Update(accountId string, webPropertyId string, profileId string, goalId string, goal *Goal) *ManagementGoalsUpdateCall
Update: Updates an existing view (profile).
type ManagementGoalsUpdateCall ¶
type ManagementGoalsUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementGoalsUpdateCall) Do ¶
func (c *ManagementGoalsUpdateCall) Do() (*Goal, error)
func (*ManagementGoalsUpdateCall) Fields ¶
func (c *ManagementGoalsUpdateCall) Fields(s ...googleapi.Field) *ManagementGoalsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfileFilterLinksDeleteCall ¶
type ManagementProfileFilterLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileFilterLinksDeleteCall) Do ¶
func (c *ManagementProfileFilterLinksDeleteCall) Do() error
func (*ManagementProfileFilterLinksDeleteCall) Fields ¶
func (c *ManagementProfileFilterLinksDeleteCall) Fields(s ...googleapi.Field) *ManagementProfileFilterLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfileFilterLinksGetCall ¶
type ManagementProfileFilterLinksGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileFilterLinksGetCall) Do ¶
func (c *ManagementProfileFilterLinksGetCall) Do() (*ProfileFilterLink, error)
func (*ManagementProfileFilterLinksGetCall) Fields ¶
func (c *ManagementProfileFilterLinksGetCall) Fields(s ...googleapi.Field) *ManagementProfileFilterLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfileFilterLinksInsertCall ¶
type ManagementProfileFilterLinksInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileFilterLinksInsertCall) Do ¶
func (c *ManagementProfileFilterLinksInsertCall) Do() (*ProfileFilterLink, error)
func (*ManagementProfileFilterLinksInsertCall) Fields ¶
func (c *ManagementProfileFilterLinksInsertCall) Fields(s ...googleapi.Field) *ManagementProfileFilterLinksInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfileFilterLinksListCall ¶
type ManagementProfileFilterLinksListCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileFilterLinksListCall) Do ¶
func (c *ManagementProfileFilterLinksListCall) Do() (*ProfileFilterLinks, error)
func (*ManagementProfileFilterLinksListCall) Fields ¶
func (c *ManagementProfileFilterLinksListCall) Fields(s ...googleapi.Field) *ManagementProfileFilterLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementProfileFilterLinksListCall) MaxResults ¶
func (c *ManagementProfileFilterLinksListCall) MaxResults(maxResults int64) *ManagementProfileFilterLinksListCall
MaxResults sets the optional parameter "max-results": The maximum number of profile filter links to include in this response.
func (*ManagementProfileFilterLinksListCall) StartIndex ¶
func (c *ManagementProfileFilterLinksListCall) StartIndex(startIndex int64) *ManagementProfileFilterLinksListCall
StartIndex sets the optional parameter "start-index": An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementProfileFilterLinksPatchCall ¶
type ManagementProfileFilterLinksPatchCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileFilterLinksPatchCall) Do ¶
func (c *ManagementProfileFilterLinksPatchCall) Do() (*ProfileFilterLink, error)
func (*ManagementProfileFilterLinksPatchCall) Fields ¶
func (c *ManagementProfileFilterLinksPatchCall) Fields(s ...googleapi.Field) *ManagementProfileFilterLinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfileFilterLinksService ¶
type ManagementProfileFilterLinksService struct {
// contains filtered or unexported fields
}
func NewManagementProfileFilterLinksService ¶
func NewManagementProfileFilterLinksService(s *Service) *ManagementProfileFilterLinksService
func (*ManagementProfileFilterLinksService) Delete ¶
func (r *ManagementProfileFilterLinksService) Delete(accountId string, webPropertyId string, profileId string, linkId string) *ManagementProfileFilterLinksDeleteCall
Delete: Delete a profile filter link.
func (*ManagementProfileFilterLinksService) Get ¶
func (r *ManagementProfileFilterLinksService) Get(accountId string, webPropertyId string, profileId string, linkId string) *ManagementProfileFilterLinksGetCall
Get: Returns a single profile filter link.
func (*ManagementProfileFilterLinksService) Insert ¶
func (r *ManagementProfileFilterLinksService) Insert(accountId string, webPropertyId string, profileId string, profilefilterlink *ProfileFilterLink) *ManagementProfileFilterLinksInsertCall
Insert: Create a new profile filter link.
func (*ManagementProfileFilterLinksService) List ¶
func (r *ManagementProfileFilterLinksService) List(accountId string, webPropertyId string, profileId string) *ManagementProfileFilterLinksListCall
List: Lists all profile filter links for a profile.
func (*ManagementProfileFilterLinksService) Patch ¶
func (r *ManagementProfileFilterLinksService) Patch(accountId string, webPropertyId string, profileId string, linkId string, profilefilterlink *ProfileFilterLink) *ManagementProfileFilterLinksPatchCall
Patch: Update an existing profile filter link. This method supports patch semantics.
func (*ManagementProfileFilterLinksService) Update ¶
func (r *ManagementProfileFilterLinksService) Update(accountId string, webPropertyId string, profileId string, linkId string, profilefilterlink *ProfileFilterLink) *ManagementProfileFilterLinksUpdateCall
Update: Update an existing profile filter link.
type ManagementProfileFilterLinksUpdateCall ¶
type ManagementProfileFilterLinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileFilterLinksUpdateCall) Do ¶
func (c *ManagementProfileFilterLinksUpdateCall) Do() (*ProfileFilterLink, error)
func (*ManagementProfileFilterLinksUpdateCall) Fields ¶
func (c *ManagementProfileFilterLinksUpdateCall) Fields(s ...googleapi.Field) *ManagementProfileFilterLinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfileUserLinksDeleteCall ¶
type ManagementProfileUserLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileUserLinksDeleteCall) Do ¶
func (c *ManagementProfileUserLinksDeleteCall) Do() error
func (*ManagementProfileUserLinksDeleteCall) Fields ¶
func (c *ManagementProfileUserLinksDeleteCall) Fields(s ...googleapi.Field) *ManagementProfileUserLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfileUserLinksInsertCall ¶
type ManagementProfileUserLinksInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileUserLinksInsertCall) Do ¶
func (c *ManagementProfileUserLinksInsertCall) Do() (*EntityUserLink, error)
func (*ManagementProfileUserLinksInsertCall) Fields ¶
func (c *ManagementProfileUserLinksInsertCall) Fields(s ...googleapi.Field) *ManagementProfileUserLinksInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfileUserLinksListCall ¶
type ManagementProfileUserLinksListCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileUserLinksListCall) Do ¶
func (c *ManagementProfileUserLinksListCall) Do() (*EntityUserLinks, error)
func (*ManagementProfileUserLinksListCall) Fields ¶
func (c *ManagementProfileUserLinksListCall) Fields(s ...googleapi.Field) *ManagementProfileUserLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementProfileUserLinksListCall) MaxResults ¶
func (c *ManagementProfileUserLinksListCall) MaxResults(maxResults int64) *ManagementProfileUserLinksListCall
MaxResults sets the optional parameter "max-results": The maximum number of profile-user links to include in this response.
func (*ManagementProfileUserLinksListCall) StartIndex ¶
func (c *ManagementProfileUserLinksListCall) StartIndex(startIndex int64) *ManagementProfileUserLinksListCall
StartIndex sets the optional parameter "start-index": An index of the first profile-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementProfileUserLinksService ¶
type ManagementProfileUserLinksService struct {
// contains filtered or unexported fields
}
func NewManagementProfileUserLinksService ¶
func NewManagementProfileUserLinksService(s *Service) *ManagementProfileUserLinksService
func (*ManagementProfileUserLinksService) Delete ¶
func (r *ManagementProfileUserLinksService) Delete(accountId string, webPropertyId string, profileId string, linkId string) *ManagementProfileUserLinksDeleteCall
Delete: Removes a user from the given view (profile).
func (*ManagementProfileUserLinksService) Insert ¶
func (r *ManagementProfileUserLinksService) Insert(accountId string, webPropertyId string, profileId string, entityuserlink *EntityUserLink) *ManagementProfileUserLinksInsertCall
Insert: Adds a new user to the given view (profile).
func (*ManagementProfileUserLinksService) List ¶
func (r *ManagementProfileUserLinksService) List(accountId string, webPropertyId string, profileId string) *ManagementProfileUserLinksListCall
List: Lists profile-user links for a given view (profile).
func (*ManagementProfileUserLinksService) Update ¶
func (r *ManagementProfileUserLinksService) Update(accountId string, webPropertyId string, profileId string, linkId string, entityuserlink *EntityUserLink) *ManagementProfileUserLinksUpdateCall
Update: Updates permissions for an existing user on the given view (profile).
type ManagementProfileUserLinksUpdateCall ¶
type ManagementProfileUserLinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfileUserLinksUpdateCall) Do ¶
func (c *ManagementProfileUserLinksUpdateCall) Do() (*EntityUserLink, error)
func (*ManagementProfileUserLinksUpdateCall) Fields ¶
func (c *ManagementProfileUserLinksUpdateCall) Fields(s ...googleapi.Field) *ManagementProfileUserLinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfilesDeleteCall ¶
type ManagementProfilesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfilesDeleteCall) Do ¶
func (c *ManagementProfilesDeleteCall) Do() error
func (*ManagementProfilesDeleteCall) Fields ¶
func (c *ManagementProfilesDeleteCall) Fields(s ...googleapi.Field) *ManagementProfilesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfilesGetCall ¶
type ManagementProfilesGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfilesGetCall) Do ¶
func (c *ManagementProfilesGetCall) Do() (*Profile, error)
func (*ManagementProfilesGetCall) Fields ¶
func (c *ManagementProfilesGetCall) Fields(s ...googleapi.Field) *ManagementProfilesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfilesInsertCall ¶
type ManagementProfilesInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfilesInsertCall) Do ¶
func (c *ManagementProfilesInsertCall) Do() (*Profile, error)
func (*ManagementProfilesInsertCall) Fields ¶
func (c *ManagementProfilesInsertCall) Fields(s ...googleapi.Field) *ManagementProfilesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfilesListCall ¶
type ManagementProfilesListCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfilesListCall) Do ¶
func (c *ManagementProfilesListCall) Do() (*Profiles, error)
func (*ManagementProfilesListCall) Fields ¶
func (c *ManagementProfilesListCall) Fields(s ...googleapi.Field) *ManagementProfilesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementProfilesListCall) MaxResults ¶
func (c *ManagementProfilesListCall) MaxResults(maxResults int64) *ManagementProfilesListCall
MaxResults sets the optional parameter "max-results": The maximum number of views (profiles) to include in this response.
func (*ManagementProfilesListCall) StartIndex ¶
func (c *ManagementProfilesListCall) StartIndex(startIndex int64) *ManagementProfilesListCall
StartIndex sets the optional parameter "start-index": An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementProfilesPatchCall ¶
type ManagementProfilesPatchCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfilesPatchCall) Do ¶
func (c *ManagementProfilesPatchCall) Do() (*Profile, error)
func (*ManagementProfilesPatchCall) Fields ¶
func (c *ManagementProfilesPatchCall) Fields(s ...googleapi.Field) *ManagementProfilesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementProfilesService ¶
type ManagementProfilesService struct {
// contains filtered or unexported fields
}
func NewManagementProfilesService ¶
func NewManagementProfilesService(s *Service) *ManagementProfilesService
func (*ManagementProfilesService) Delete ¶
func (r *ManagementProfilesService) Delete(accountId string, webPropertyId string, profileId string) *ManagementProfilesDeleteCall
Delete: Deletes a view (profile).
func (*ManagementProfilesService) Get ¶
func (r *ManagementProfilesService) Get(accountId string, webPropertyId string, profileId string) *ManagementProfilesGetCall
Get: Gets a view (profile) to which the user has access.
func (*ManagementProfilesService) Insert ¶
func (r *ManagementProfilesService) Insert(accountId string, webPropertyId string, profile *Profile) *ManagementProfilesInsertCall
Insert: Create a new view (profile).
func (*ManagementProfilesService) List ¶
func (r *ManagementProfilesService) List(accountId string, webPropertyId string) *ManagementProfilesListCall
List: Lists views (profiles) to which the user has access.
func (*ManagementProfilesService) Patch ¶
func (r *ManagementProfilesService) Patch(accountId string, webPropertyId string, profileId string, profile *Profile) *ManagementProfilesPatchCall
Patch: Updates an existing view (profile). This method supports patch semantics.
func (*ManagementProfilesService) Update ¶
func (r *ManagementProfilesService) Update(accountId string, webPropertyId string, profileId string, profile *Profile) *ManagementProfilesUpdateCall
Update: Updates an existing view (profile).
type ManagementProfilesUpdateCall ¶
type ManagementProfilesUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementProfilesUpdateCall) Do ¶
func (c *ManagementProfilesUpdateCall) Do() (*Profile, error)
func (*ManagementProfilesUpdateCall) Fields ¶
func (c *ManagementProfilesUpdateCall) Fields(s ...googleapi.Field) *ManagementProfilesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementSegmentsListCall ¶
type ManagementSegmentsListCall struct {
// contains filtered or unexported fields
}
func (*ManagementSegmentsListCall) Do ¶
func (c *ManagementSegmentsListCall) Do() (*Segments, error)
func (*ManagementSegmentsListCall) Fields ¶
func (c *ManagementSegmentsListCall) Fields(s ...googleapi.Field) *ManagementSegmentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementSegmentsListCall) MaxResults ¶
func (c *ManagementSegmentsListCall) MaxResults(maxResults int64) *ManagementSegmentsListCall
MaxResults sets the optional parameter "max-results": The maximum number of segments to include in this response.
func (*ManagementSegmentsListCall) StartIndex ¶
func (c *ManagementSegmentsListCall) StartIndex(startIndex int64) *ManagementSegmentsListCall
StartIndex sets the optional parameter "start-index": An index of the first segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementSegmentsService ¶
type ManagementSegmentsService struct {
// contains filtered or unexported fields
}
func NewManagementSegmentsService ¶
func NewManagementSegmentsService(s *Service) *ManagementSegmentsService
func (*ManagementSegmentsService) List ¶
func (r *ManagementSegmentsService) List() *ManagementSegmentsListCall
List: Lists segments to which the user has access.
type ManagementService ¶
type ManagementService struct { AccountSummaries *ManagementAccountSummariesService AccountUserLinks *ManagementAccountUserLinksService Accounts *ManagementAccountsService CustomDataSources *ManagementCustomDataSourcesService DailyUploads *ManagementDailyUploadsService Experiments *ManagementExperimentsService Filters *ManagementFiltersService Goals *ManagementGoalsService ProfileFilterLinks *ManagementProfileFilterLinksService ProfileUserLinks *ManagementProfileUserLinksService Profiles *ManagementProfilesService Segments *ManagementSegmentsService UnsampledReports *ManagementUnsampledReportsService Uploads *ManagementUploadsService WebPropertyAdWordsLinks *ManagementWebPropertyAdWordsLinksService Webproperties *ManagementWebpropertiesService WebpropertyUserLinks *ManagementWebpropertyUserLinksService // contains filtered or unexported fields }
func NewManagementService ¶
func NewManagementService(s *Service) *ManagementService
type ManagementUnsampledReportsGetCall ¶
type ManagementUnsampledReportsGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementUnsampledReportsGetCall) Do ¶
func (c *ManagementUnsampledReportsGetCall) Do() (*UnsampledReport, error)
func (*ManagementUnsampledReportsGetCall) Fields ¶
func (c *ManagementUnsampledReportsGetCall) Fields(s ...googleapi.Field) *ManagementUnsampledReportsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementUnsampledReportsInsertCall ¶
type ManagementUnsampledReportsInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementUnsampledReportsInsertCall) Do ¶
func (c *ManagementUnsampledReportsInsertCall) Do() (*UnsampledReport, error)
func (*ManagementUnsampledReportsInsertCall) Fields ¶
func (c *ManagementUnsampledReportsInsertCall) Fields(s ...googleapi.Field) *ManagementUnsampledReportsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementUnsampledReportsListCall ¶
type ManagementUnsampledReportsListCall struct {
// contains filtered or unexported fields
}
func (*ManagementUnsampledReportsListCall) Do ¶
func (c *ManagementUnsampledReportsListCall) Do() (*UnsampledReports, error)
func (*ManagementUnsampledReportsListCall) Fields ¶
func (c *ManagementUnsampledReportsListCall) Fields(s ...googleapi.Field) *ManagementUnsampledReportsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementUnsampledReportsListCall) MaxResults ¶
func (c *ManagementUnsampledReportsListCall) MaxResults(maxResults int64) *ManagementUnsampledReportsListCall
MaxResults sets the optional parameter "max-results": The maximum number of unsampled reports to include in this response.
func (*ManagementUnsampledReportsListCall) StartIndex ¶
func (c *ManagementUnsampledReportsListCall) StartIndex(startIndex int64) *ManagementUnsampledReportsListCall
StartIndex sets the optional parameter "start-index": An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementUnsampledReportsService ¶
type ManagementUnsampledReportsService struct {
// contains filtered or unexported fields
}
func NewManagementUnsampledReportsService ¶
func NewManagementUnsampledReportsService(s *Service) *ManagementUnsampledReportsService
func (*ManagementUnsampledReportsService) Get ¶
func (r *ManagementUnsampledReportsService) Get(accountId string, webPropertyId string, profileId string, unsampledReportId string) *ManagementUnsampledReportsGetCall
Get: Returns a single unsampled report.
func (*ManagementUnsampledReportsService) Insert ¶
func (r *ManagementUnsampledReportsService) Insert(accountId string, webPropertyId string, profileId string, unsampledreport *UnsampledReport) *ManagementUnsampledReportsInsertCall
Insert: Create a new unsampled report.
func (*ManagementUnsampledReportsService) List ¶
func (r *ManagementUnsampledReportsService) List(accountId string, webPropertyId string, profileId string) *ManagementUnsampledReportsListCall
List: Lists unsampled reports to which the user has access.
type ManagementUploadsDeleteUploadDataCall ¶
type ManagementUploadsDeleteUploadDataCall struct {
// contains filtered or unexported fields
}
func (*ManagementUploadsDeleteUploadDataCall) Do ¶
func (c *ManagementUploadsDeleteUploadDataCall) Do() error
func (*ManagementUploadsDeleteUploadDataCall) Fields ¶
func (c *ManagementUploadsDeleteUploadDataCall) Fields(s ...googleapi.Field) *ManagementUploadsDeleteUploadDataCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementUploadsGetCall ¶
type ManagementUploadsGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementUploadsGetCall) Do ¶
func (c *ManagementUploadsGetCall) Do() (*Upload, error)
func (*ManagementUploadsGetCall) Fields ¶
func (c *ManagementUploadsGetCall) Fields(s ...googleapi.Field) *ManagementUploadsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementUploadsListCall ¶
type ManagementUploadsListCall struct {
// contains filtered or unexported fields
}
func (*ManagementUploadsListCall) Do ¶
func (c *ManagementUploadsListCall) Do() (*Uploads, error)
func (*ManagementUploadsListCall) Fields ¶
func (c *ManagementUploadsListCall) Fields(s ...googleapi.Field) *ManagementUploadsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementUploadsListCall) MaxResults ¶
func (c *ManagementUploadsListCall) MaxResults(maxResults int64) *ManagementUploadsListCall
MaxResults sets the optional parameter "max-results": The maximum number of uploads to include in this response.
func (*ManagementUploadsListCall) StartIndex ¶
func (c *ManagementUploadsListCall) StartIndex(startIndex int64) *ManagementUploadsListCall
StartIndex sets the optional parameter "start-index": A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementUploadsMigrateDataImportCall ¶
type ManagementUploadsMigrateDataImportCall struct {
// contains filtered or unexported fields
}
func (*ManagementUploadsMigrateDataImportCall) Do ¶
func (c *ManagementUploadsMigrateDataImportCall) Do() error
func (*ManagementUploadsMigrateDataImportCall) Fields ¶
func (c *ManagementUploadsMigrateDataImportCall) Fields(s ...googleapi.Field) *ManagementUploadsMigrateDataImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementUploadsService ¶
type ManagementUploadsService struct {
// contains filtered or unexported fields
}
func NewManagementUploadsService ¶
func NewManagementUploadsService(s *Service) *ManagementUploadsService
func (*ManagementUploadsService) DeleteUploadData ¶
func (r *ManagementUploadsService) DeleteUploadData(accountId string, webPropertyId string, customDataSourceId string, analyticsdataimportdeleteuploaddatarequest *AnalyticsDataimportDeleteUploadDataRequest) *ManagementUploadsDeleteUploadDataCall
DeleteUploadData: Delete data associated with a previous upload.
func (*ManagementUploadsService) Get ¶
func (r *ManagementUploadsService) Get(accountId string, webPropertyId string, customDataSourceId string, uploadId string) *ManagementUploadsGetCall
Get: List uploads to which the user has access.
func (*ManagementUploadsService) List ¶
func (r *ManagementUploadsService) List(accountId string, webPropertyId string, customDataSourceId string) *ManagementUploadsListCall
List: List uploads to which the user has access.
func (*ManagementUploadsService) MigrateDataImport ¶
func (r *ManagementUploadsService) MigrateDataImport(accountId string, webPropertyId string, customDataSourceId string) *ManagementUploadsMigrateDataImportCall
MigrateDataImport: Migrate custom data source and data imports to latest version.
func (*ManagementUploadsService) UploadData ¶
func (r *ManagementUploadsService) UploadData(accountId string, webPropertyId string, customDataSourceId string) *ManagementUploadsUploadDataCall
UploadData: Upload data for a custom data source.
type ManagementUploadsUploadDataCall ¶
type ManagementUploadsUploadDataCall struct {
// contains filtered or unexported fields
}
func (*ManagementUploadsUploadDataCall) Do ¶
func (c *ManagementUploadsUploadDataCall) Do() (*Upload, error)
func (*ManagementUploadsUploadDataCall) Fields ¶
func (c *ManagementUploadsUploadDataCall) Fields(s ...googleapi.Field) *ManagementUploadsUploadDataCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementUploadsUploadDataCall) Media ¶
func (c *ManagementUploadsUploadDataCall) Media(r io.Reader) *ManagementUploadsUploadDataCall
type ManagementWebPropertyAdWordsLinksDeleteCall ¶
type ManagementWebPropertyAdWordsLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebPropertyAdWordsLinksDeleteCall) Do ¶
func (c *ManagementWebPropertyAdWordsLinksDeleteCall) Do() error
func (*ManagementWebPropertyAdWordsLinksDeleteCall) Fields ¶
func (c *ManagementWebPropertyAdWordsLinksDeleteCall) Fields(s ...googleapi.Field) *ManagementWebPropertyAdWordsLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebPropertyAdWordsLinksGetCall ¶
type ManagementWebPropertyAdWordsLinksGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebPropertyAdWordsLinksGetCall) Do ¶
func (c *ManagementWebPropertyAdWordsLinksGetCall) Do() (*EntityAdWordsLink, error)
func (*ManagementWebPropertyAdWordsLinksGetCall) Fields ¶
func (c *ManagementWebPropertyAdWordsLinksGetCall) Fields(s ...googleapi.Field) *ManagementWebPropertyAdWordsLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebPropertyAdWordsLinksInsertCall ¶
type ManagementWebPropertyAdWordsLinksInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebPropertyAdWordsLinksInsertCall) Do ¶
func (c *ManagementWebPropertyAdWordsLinksInsertCall) Do() (*EntityAdWordsLink, error)
func (*ManagementWebPropertyAdWordsLinksInsertCall) Fields ¶
func (c *ManagementWebPropertyAdWordsLinksInsertCall) Fields(s ...googleapi.Field) *ManagementWebPropertyAdWordsLinksInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebPropertyAdWordsLinksListCall ¶
type ManagementWebPropertyAdWordsLinksListCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebPropertyAdWordsLinksListCall) Do ¶
func (c *ManagementWebPropertyAdWordsLinksListCall) Do() (*EntityAdWordsLinks, error)
func (*ManagementWebPropertyAdWordsLinksListCall) Fields ¶
func (c *ManagementWebPropertyAdWordsLinksListCall) Fields(s ...googleapi.Field) *ManagementWebPropertyAdWordsLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementWebPropertyAdWordsLinksListCall) MaxResults ¶
func (c *ManagementWebPropertyAdWordsLinksListCall) MaxResults(maxResults int64) *ManagementWebPropertyAdWordsLinksListCall
MaxResults sets the optional parameter "max-results": The maximum number of webProperty-AdWords links to include in this response.
func (*ManagementWebPropertyAdWordsLinksListCall) StartIndex ¶
func (c *ManagementWebPropertyAdWordsLinksListCall) StartIndex(startIndex int64) *ManagementWebPropertyAdWordsLinksListCall
StartIndex sets the optional parameter "start-index": An index of the first webProperty-AdWords link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementWebPropertyAdWordsLinksPatchCall ¶
type ManagementWebPropertyAdWordsLinksPatchCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebPropertyAdWordsLinksPatchCall) Do ¶
func (c *ManagementWebPropertyAdWordsLinksPatchCall) Do() (*EntityAdWordsLink, error)
func (*ManagementWebPropertyAdWordsLinksPatchCall) Fields ¶
func (c *ManagementWebPropertyAdWordsLinksPatchCall) Fields(s ...googleapi.Field) *ManagementWebPropertyAdWordsLinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebPropertyAdWordsLinksService ¶
type ManagementWebPropertyAdWordsLinksService struct {
// contains filtered or unexported fields
}
func NewManagementWebPropertyAdWordsLinksService ¶
func NewManagementWebPropertyAdWordsLinksService(s *Service) *ManagementWebPropertyAdWordsLinksService
func (*ManagementWebPropertyAdWordsLinksService) Delete ¶
func (r *ManagementWebPropertyAdWordsLinksService) Delete(accountId string, webPropertyId string, webPropertyAdWordsLinkId string) *ManagementWebPropertyAdWordsLinksDeleteCall
Delete: Deletes a web property-AdWords link.
func (*ManagementWebPropertyAdWordsLinksService) Get ¶
func (r *ManagementWebPropertyAdWordsLinksService) Get(accountId string, webPropertyId string, webPropertyAdWordsLinkId string) *ManagementWebPropertyAdWordsLinksGetCall
Get: Returns a web property-AdWords link to which the user has access.
func (*ManagementWebPropertyAdWordsLinksService) Insert ¶
func (r *ManagementWebPropertyAdWordsLinksService) Insert(accountId string, webPropertyId string, entityadwordslink *EntityAdWordsLink) *ManagementWebPropertyAdWordsLinksInsertCall
Insert: Creates a webProperty-AdWords link.
func (*ManagementWebPropertyAdWordsLinksService) List ¶
func (r *ManagementWebPropertyAdWordsLinksService) List(accountId string, webPropertyId string) *ManagementWebPropertyAdWordsLinksListCall
List: Lists webProperty-AdWords links for a given web property.
func (*ManagementWebPropertyAdWordsLinksService) Patch ¶
func (r *ManagementWebPropertyAdWordsLinksService) Patch(accountId string, webPropertyId string, webPropertyAdWordsLinkId string, entityadwordslink *EntityAdWordsLink) *ManagementWebPropertyAdWordsLinksPatchCall
Patch: Updates an existing webProperty-AdWords link. This method supports patch semantics.
func (*ManagementWebPropertyAdWordsLinksService) Update ¶
func (r *ManagementWebPropertyAdWordsLinksService) Update(accountId string, webPropertyId string, webPropertyAdWordsLinkId string, entityadwordslink *EntityAdWordsLink) *ManagementWebPropertyAdWordsLinksUpdateCall
Update: Updates an existing webProperty-AdWords link.
type ManagementWebPropertyAdWordsLinksUpdateCall ¶
type ManagementWebPropertyAdWordsLinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebPropertyAdWordsLinksUpdateCall) Do ¶
func (c *ManagementWebPropertyAdWordsLinksUpdateCall) Do() (*EntityAdWordsLink, error)
func (*ManagementWebPropertyAdWordsLinksUpdateCall) Fields ¶
func (c *ManagementWebPropertyAdWordsLinksUpdateCall) Fields(s ...googleapi.Field) *ManagementWebPropertyAdWordsLinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebpropertiesGetCall ¶
type ManagementWebpropertiesGetCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertiesGetCall) Do ¶
func (c *ManagementWebpropertiesGetCall) Do() (*Webproperty, error)
func (*ManagementWebpropertiesGetCall) Fields ¶
func (c *ManagementWebpropertiesGetCall) Fields(s ...googleapi.Field) *ManagementWebpropertiesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebpropertiesInsertCall ¶
type ManagementWebpropertiesInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertiesInsertCall) Do ¶
func (c *ManagementWebpropertiesInsertCall) Do() (*Webproperty, error)
func (*ManagementWebpropertiesInsertCall) Fields ¶
func (c *ManagementWebpropertiesInsertCall) Fields(s ...googleapi.Field) *ManagementWebpropertiesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebpropertiesListCall ¶
type ManagementWebpropertiesListCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertiesListCall) Do ¶
func (c *ManagementWebpropertiesListCall) Do() (*Webproperties, error)
func (*ManagementWebpropertiesListCall) Fields ¶
func (c *ManagementWebpropertiesListCall) Fields(s ...googleapi.Field) *ManagementWebpropertiesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementWebpropertiesListCall) MaxResults ¶
func (c *ManagementWebpropertiesListCall) MaxResults(maxResults int64) *ManagementWebpropertiesListCall
MaxResults sets the optional parameter "max-results": The maximum number of web properties to include in this response.
func (*ManagementWebpropertiesListCall) StartIndex ¶
func (c *ManagementWebpropertiesListCall) StartIndex(startIndex int64) *ManagementWebpropertiesListCall
StartIndex sets the optional parameter "start-index": An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementWebpropertiesPatchCall ¶
type ManagementWebpropertiesPatchCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertiesPatchCall) Do ¶
func (c *ManagementWebpropertiesPatchCall) Do() (*Webproperty, error)
func (*ManagementWebpropertiesPatchCall) Fields ¶
func (c *ManagementWebpropertiesPatchCall) Fields(s ...googleapi.Field) *ManagementWebpropertiesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebpropertiesService ¶
type ManagementWebpropertiesService struct {
// contains filtered or unexported fields
}
func NewManagementWebpropertiesService ¶
func NewManagementWebpropertiesService(s *Service) *ManagementWebpropertiesService
func (*ManagementWebpropertiesService) Get ¶
func (r *ManagementWebpropertiesService) Get(accountId string, webPropertyId string) *ManagementWebpropertiesGetCall
Get: Gets a web property to which the user has access.
func (*ManagementWebpropertiesService) Insert ¶
func (r *ManagementWebpropertiesService) Insert(accountId string, webproperty *Webproperty) *ManagementWebpropertiesInsertCall
Insert: Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.
func (*ManagementWebpropertiesService) List ¶
func (r *ManagementWebpropertiesService) List(accountId string) *ManagementWebpropertiesListCall
List: Lists web properties to which the user has access.
func (*ManagementWebpropertiesService) Patch ¶
func (r *ManagementWebpropertiesService) Patch(accountId string, webPropertyId string, webproperty *Webproperty) *ManagementWebpropertiesPatchCall
Patch: Updates an existing web property. This method supports patch semantics.
func (*ManagementWebpropertiesService) Update ¶
func (r *ManagementWebpropertiesService) Update(accountId string, webPropertyId string, webproperty *Webproperty) *ManagementWebpropertiesUpdateCall
Update: Updates an existing web property.
type ManagementWebpropertiesUpdateCall ¶
type ManagementWebpropertiesUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertiesUpdateCall) Do ¶
func (c *ManagementWebpropertiesUpdateCall) Do() (*Webproperty, error)
func (*ManagementWebpropertiesUpdateCall) Fields ¶
func (c *ManagementWebpropertiesUpdateCall) Fields(s ...googleapi.Field) *ManagementWebpropertiesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebpropertyUserLinksDeleteCall ¶
type ManagementWebpropertyUserLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertyUserLinksDeleteCall) Do ¶
func (c *ManagementWebpropertyUserLinksDeleteCall) Do() error
func (*ManagementWebpropertyUserLinksDeleteCall) Fields ¶
func (c *ManagementWebpropertyUserLinksDeleteCall) Fields(s ...googleapi.Field) *ManagementWebpropertyUserLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebpropertyUserLinksInsertCall ¶
type ManagementWebpropertyUserLinksInsertCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertyUserLinksInsertCall) Do ¶
func (c *ManagementWebpropertyUserLinksInsertCall) Do() (*EntityUserLink, error)
func (*ManagementWebpropertyUserLinksInsertCall) Fields ¶
func (c *ManagementWebpropertyUserLinksInsertCall) Fields(s ...googleapi.Field) *ManagementWebpropertyUserLinksInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ManagementWebpropertyUserLinksListCall ¶
type ManagementWebpropertyUserLinksListCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertyUserLinksListCall) Do ¶
func (c *ManagementWebpropertyUserLinksListCall) Do() (*EntityUserLinks, error)
func (*ManagementWebpropertyUserLinksListCall) Fields ¶
func (c *ManagementWebpropertyUserLinksListCall) Fields(s ...googleapi.Field) *ManagementWebpropertyUserLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ManagementWebpropertyUserLinksListCall) MaxResults ¶
func (c *ManagementWebpropertyUserLinksListCall) MaxResults(maxResults int64) *ManagementWebpropertyUserLinksListCall
MaxResults sets the optional parameter "max-results": The maximum number of webProperty-user Links to include in this response.
func (*ManagementWebpropertyUserLinksListCall) StartIndex ¶
func (c *ManagementWebpropertyUserLinksListCall) StartIndex(startIndex int64) *ManagementWebpropertyUserLinksListCall
StartIndex sets the optional parameter "start-index": An index of the first webProperty-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
type ManagementWebpropertyUserLinksService ¶
type ManagementWebpropertyUserLinksService struct {
// contains filtered or unexported fields
}
func NewManagementWebpropertyUserLinksService ¶
func NewManagementWebpropertyUserLinksService(s *Service) *ManagementWebpropertyUserLinksService
func (*ManagementWebpropertyUserLinksService) Delete ¶
func (r *ManagementWebpropertyUserLinksService) Delete(accountId string, webPropertyId string, linkId string) *ManagementWebpropertyUserLinksDeleteCall
Delete: Removes a user from the given web property.
func (*ManagementWebpropertyUserLinksService) Insert ¶
func (r *ManagementWebpropertyUserLinksService) Insert(accountId string, webPropertyId string, entityuserlink *EntityUserLink) *ManagementWebpropertyUserLinksInsertCall
Insert: Adds a new user to the given web property.
func (*ManagementWebpropertyUserLinksService) List ¶
func (r *ManagementWebpropertyUserLinksService) List(accountId string, webPropertyId string) *ManagementWebpropertyUserLinksListCall
List: Lists webProperty-user links for a given web property.
func (*ManagementWebpropertyUserLinksService) Update ¶
func (r *ManagementWebpropertyUserLinksService) Update(accountId string, webPropertyId string, linkId string, entityuserlink *EntityUserLink) *ManagementWebpropertyUserLinksUpdateCall
Update: Updates permissions for an existing user on the given web property.
type ManagementWebpropertyUserLinksUpdateCall ¶
type ManagementWebpropertyUserLinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*ManagementWebpropertyUserLinksUpdateCall) Do ¶
func (c *ManagementWebpropertyUserLinksUpdateCall) Do() (*EntityUserLink, error)
func (*ManagementWebpropertyUserLinksUpdateCall) Fields ¶
func (c *ManagementWebpropertyUserLinksUpdateCall) Fields(s ...googleapi.Field) *ManagementWebpropertyUserLinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type McfData ¶
type McfData struct { // ColumnHeaders: Column headers that list dimension names followed by // the metric names. The order of dimensions and metrics is same as // specified in the request. ColumnHeaders []*McfDataColumnHeaders `json:"columnHeaders,omitempty"` // ContainsSampledData: Determines if the Analytics data contains // sampled data. ContainsSampledData bool `json:"containsSampledData,omitempty"` // Id: Unique ID for this data response. Id string `json:"id,omitempty"` // ItemsPerPage: The maximum number of rows the response can contain, // regardless of the actual number of rows returned. Its value ranges // from 1 to 10,000 with a value of 1000 by default, or otherwise // specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Resource type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this Analytics data query. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this Analytics data query. PreviousLink string `json:"previousLink,omitempty"` // ProfileInfo: Information for the view (profile), for which the // Analytics data was requested. ProfileInfo *McfDataProfileInfo `json:"profileInfo,omitempty"` // Query: Analytics data request query parameters. Query *McfDataQuery `json:"query,omitempty"` // Rows: Analytics data rows, where each row contains a list of // dimension values followed by the metric values. The order of // dimensions and metrics is same as specified in the request. Rows [][]*McfDataRowsItem `json:"rows,omitempty"` // SampleSize: The number of samples used to calculate the result. SampleSize int64 `json:"sampleSize,omitempty,string"` // SampleSpace: Total size of the sample space from which the samples // were selected. SampleSpace int64 `json:"sampleSpace,omitempty,string"` // SelfLink: Link to this page. SelfLink string `json:"selfLink,omitempty"` // TotalResults: The total number of rows for the query, regardless of // the number of rows in the response. TotalResults int64 `json:"totalResults,omitempty"` // TotalsForAllResults: Total values for the requested metrics over all // the results, not just the results returned in this response. The // order of the metric totals is same as the metric order specified in // the request. TotalsForAllResults map[string]string `json:"totalsForAllResults,omitempty"` }
type McfDataColumnHeaders ¶
type McfDataColumnHeaders struct { // ColumnType: Column Type. Either DIMENSION or METRIC. ColumnType string `json:"columnType,omitempty"` // DataType: Data type. Dimension and metric values data types such as // INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc. DataType string `json:"dataType,omitempty"` // Name: Column name. Name string `json:"name,omitempty"` }
type McfDataProfileInfo ¶
type McfDataProfileInfo struct { // AccountId: Account ID to which this view (profile) belongs. AccountId string `json:"accountId,omitempty"` // InternalWebPropertyId: Internal ID for the web property to which this // view (profile) belongs. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // ProfileId: View (Profile) ID. ProfileId string `json:"profileId,omitempty"` // ProfileName: View (Profile) name. ProfileName string `json:"profileName,omitempty"` // TableId: Table ID for view (profile). TableId string `json:"tableId,omitempty"` // WebPropertyId: Web Property ID to which this view (profile) belongs. WebPropertyId string `json:"webPropertyId,omitempty"` }
type McfDataQuery ¶
type McfDataQuery struct { // Dimensions: List of analytics dimensions. Dimensions string `json:"dimensions,omitempty"` // EndDate: End date. EndDate string `json:"end-date,omitempty"` // Filters: Comma-separated list of dimension or metric filters. Filters string `json:"filters,omitempty"` // Ids: Unique table ID. Ids string `json:"ids,omitempty"` // MaxResults: Maximum results per page. MaxResults int64 `json:"max-results,omitempty"` // Metrics: List of analytics metrics. Metrics []string `json:"metrics,omitempty"` // SamplingLevel: Desired sampling level SamplingLevel string `json:"samplingLevel,omitempty"` // Segment: Analytics advanced segment. Segment string `json:"segment,omitempty"` // Sort: List of dimensions or metrics based on which Analytics data is // sorted. Sort []string `json:"sort,omitempty"` // StartDate: Start date. StartDate string `json:"start-date,omitempty"` // StartIndex: Start index. StartIndex int64 `json:"start-index,omitempty"` }
type McfDataRowsItem ¶
type McfDataRowsItem struct { // ConversionPathValue: A conversion path dimension value, containing a // list of interactions with their attributes. ConversionPathValue []*McfDataRowsItemConversionPathValue `json:"conversionPathValue,omitempty"` // PrimitiveValue: A primitive dimension value. A primitive metric // value. PrimitiveValue string `json:"primitiveValue,omitempty"` }
type McfDataRowsItemConversionPathValue ¶
type McfDataRowsItemConversionPathValue struct { // InteractionType: Type of an interaction on conversion path. Such as // CLICK, IMPRESSION etc. InteractionType string `json:"interactionType,omitempty"` // NodeValue: Node value of an interaction on conversion path. Such as // source, medium etc. NodeValue string `json:"nodeValue,omitempty"` }
type MetadataColumnsListCall ¶
type MetadataColumnsListCall struct {
// contains filtered or unexported fields
}
func (*MetadataColumnsListCall) Do ¶
func (c *MetadataColumnsListCall) Do() (*Columns, error)
func (*MetadataColumnsListCall) Fields ¶
func (c *MetadataColumnsListCall) Fields(s ...googleapi.Field) *MetadataColumnsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type MetadataColumnsService ¶
type MetadataColumnsService struct {
// contains filtered or unexported fields
}
func NewMetadataColumnsService ¶
func NewMetadataColumnsService(s *Service) *MetadataColumnsService
func (*MetadataColumnsService) List ¶
func (r *MetadataColumnsService) List(reportType string) *MetadataColumnsListCall
List: Lists all columns for a report type
type MetadataService ¶
type MetadataService struct { Columns *MetadataColumnsService // contains filtered or unexported fields }
func NewMetadataService ¶
func NewMetadataService(s *Service) *MetadataService
type Profile ¶
type Profile struct { // AccountId: Account ID to which this view (profile) belongs. AccountId string `json:"accountId,omitempty"` // ChildLink: Child link for this view (profile). Points to the list of // goals for this view (profile). ChildLink *ProfileChildLink `json:"childLink,omitempty"` // Created: Time this view (profile) was created. Created string `json:"created,omitempty"` // Currency: The currency type associated with this view (profile). The // supported values are: // ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, // EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, // RUB, SEK, THB, TRY, TWD, USD, VND, ZAR Currency string `json:"currency,omitempty"` // DefaultPage: Default page for this view (profile). DefaultPage string `json:"defaultPage,omitempty"` // ECommerceTracking: Indicates whether ecommerce tracking is enabled // for this view (profile). ECommerceTracking bool `json:"eCommerceTracking,omitempty"` // EnhancedECommerceTracking: Indicates whether enhanced ecommerce // tracking is enabled for this view (profile). This property can only // be enabled if ecommerce tracking is enabled. EnhancedECommerceTracking bool `json:"enhancedECommerceTracking,omitempty"` // ExcludeQueryParameters: The query parameters that are excluded from // this view (profile). ExcludeQueryParameters string `json:"excludeQueryParameters,omitempty"` // Id: View (Profile) ID. Id string `json:"id,omitempty"` // InternalWebPropertyId: Internal ID for the web property to which this // view (profile) belongs. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // Kind: Resource type for Analytics view (profile). Kind string `json:"kind,omitempty"` // Name: Name of this view (profile). Name string `json:"name,omitempty"` // ParentLink: Parent link for this view (profile). Points to the web // property to which this view (profile) belongs. ParentLink *ProfileParentLink `json:"parentLink,omitempty"` // Permissions: Permissions the user has for this view (profile). Permissions *ProfilePermissions `json:"permissions,omitempty"` // SelfLink: Link for this view (profile). SelfLink string `json:"selfLink,omitempty"` // SiteSearchCategoryParameters: Site search category parameters for // this view (profile). SiteSearchCategoryParameters string `json:"siteSearchCategoryParameters,omitempty"` // SiteSearchQueryParameters: The site search query parameters for this // view (profile). SiteSearchQueryParameters string `json:"siteSearchQueryParameters,omitempty"` // StripSiteSearchCategoryParameters: Whether or not Analytics will // strip search category parameters from the URLs in your reports. StripSiteSearchCategoryParameters bool `json:"stripSiteSearchCategoryParameters,omitempty"` // StripSiteSearchQueryParameters: Whether or not Analytics will strip // search query parameters from the URLs in your reports. StripSiteSearchQueryParameters bool `json:"stripSiteSearchQueryParameters,omitempty"` // Timezone: Time zone for which this view (profile) has been // configured. Time zones are identified by strings from the TZ // database. Timezone string `json:"timezone,omitempty"` // Type: View (Profile) type. Supported types: WEB or APP. Type string `json:"type,omitempty"` // Updated: Time this view (profile) was last modified. Updated string `json:"updated,omitempty"` // WebPropertyId: Web property ID of the form UA-XXXXX-YY to which this // view (profile) belongs. WebPropertyId string `json:"webPropertyId,omitempty"` // WebsiteUrl: Website URL for this view (profile). WebsiteUrl string `json:"websiteUrl,omitempty"` }
type ProfileChildLink ¶
type ProfileFilterLink ¶
type ProfileFilterLink struct { // FilterRef: Filter for this link. FilterRef *FilterRef `json:"filterRef,omitempty"` // Id: Profile filter link ID. Id string `json:"id,omitempty"` // Kind: Resource type for Analytics filter. Kind string `json:"kind,omitempty"` // ProfileRef: View (Profile) for this link. ProfileRef *ProfileRef `json:"profileRef,omitempty"` // Rank: The rank of this profile filter link relative to the other // filters linked to the same profile. // For readonly (i.e., list and get) // operations, the rank always starts at 1. // For write (i.e., create, // update, or delete) operations, you may specify a value between 0 and // 255 inclusively, [0, 255]. In order to insert a link at the end of // the list, either don't specify a rank or set a rank to a number // greater than the largest rank in the list. In order to insert a link // to the beginning of the list specify a rank that is less than or // equal to 1. The new link will move all existing filters with the same // or lower rank down the list. After the link is // inserted/updated/deleted all profile filter links will be renumbered // starting at 1. Rank int64 `json:"rank,omitempty"` // SelfLink: Link for this profile filter link. SelfLink string `json:"selfLink,omitempty"` }
type ProfileFilterLinks ¶
type ProfileFilterLinks struct { // Items: A list of profile filter links. Items []*ProfileFilterLink `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1,000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this profile filter link collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this profile filter link // collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type ProfileParentLink ¶
type ProfilePermissions ¶
type ProfilePermissions struct { // Effective: All the permissions that the user has for this view // (profile). These include any implied permissions (e.g., EDIT implies // VIEW) or inherited permissions from the parent web property. Effective []string `json:"effective,omitempty"` }
type ProfileRef ¶
type ProfileRef struct { // AccountId: Account ID to which this view (profile) belongs. AccountId string `json:"accountId,omitempty"` // Href: Link for this view (profile). Href string `json:"href,omitempty"` // Id: View (Profile) ID. Id string `json:"id,omitempty"` // InternalWebPropertyId: Internal ID for the web property to which this // view (profile) belongs. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // Kind: Analytics view (profile) reference. Kind string `json:"kind,omitempty"` // Name: Name of this view (profile). Name string `json:"name,omitempty"` // WebPropertyId: Web property ID of the form UA-XXXXX-YY to which this // view (profile) belongs. WebPropertyId string `json:"webPropertyId,omitempty"` }
type ProfileSummary ¶
type ProfileSummary struct { // Id: View (profile) ID. Id string `json:"id,omitempty"` // Kind: Resource type for Analytics ProfileSummary. Kind string `json:"kind,omitempty"` // Name: View (profile) name. Name string `json:"name,omitempty"` // Type: View (Profile) type. Supported types: WEB or APP. Type string `json:"type,omitempty"` }
type Profiles ¶
type Profiles struct { // Items: A list of views (profiles). Items []*Profile `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this view (profile) collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this view (profile) // collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type ProvisioningCreateAccountTicketCall ¶
type ProvisioningCreateAccountTicketCall struct {
// contains filtered or unexported fields
}
func (*ProvisioningCreateAccountTicketCall) Do ¶
func (c *ProvisioningCreateAccountTicketCall) Do() (*AccountTicket, error)
func (*ProvisioningCreateAccountTicketCall) Fields ¶
func (c *ProvisioningCreateAccountTicketCall) Fields(s ...googleapi.Field) *ProvisioningCreateAccountTicketCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ProvisioningService ¶
type ProvisioningService struct {
// contains filtered or unexported fields
}
func NewProvisioningService ¶
func NewProvisioningService(s *Service) *ProvisioningService
func (*ProvisioningService) CreateAccountTicket ¶
func (r *ProvisioningService) CreateAccountTicket(accountticket *AccountTicket) *ProvisioningCreateAccountTicketCall
CreateAccountTicket: Creates an account ticket.
type RealtimeData ¶
type RealtimeData struct { // ColumnHeaders: Column headers that list dimension names followed by // the metric names. The order of dimensions and metrics is same as // specified in the request. ColumnHeaders []*RealtimeDataColumnHeaders `json:"columnHeaders,omitempty"` // Id: Unique ID for this data response. Id string `json:"id,omitempty"` // Kind: Resource type. Kind string `json:"kind,omitempty"` // ProfileInfo: Information for the view (profile), for which the real // time data was requested. ProfileInfo *RealtimeDataProfileInfo `json:"profileInfo,omitempty"` // Query: Real time data request query parameters. Query *RealtimeDataQuery `json:"query,omitempty"` // Rows: Real time data rows, where each row contains a list of // dimension values followed by the metric values. The order of // dimensions and metrics is same as specified in the request. Rows [][]string `json:"rows,omitempty"` // SelfLink: Link to this page. SelfLink string `json:"selfLink,omitempty"` // TotalResults: The total number of rows for the query, regardless of // the number of rows in the response. TotalResults int64 `json:"totalResults,omitempty"` // TotalsForAllResults: Total values for the requested metrics over all // the results, not just the results returned in this response. The // order of the metric totals is same as the metric order specified in // the request. TotalsForAllResults map[string]string `json:"totalsForAllResults,omitempty"` }
type RealtimeDataColumnHeaders ¶
type RealtimeDataColumnHeaders struct { // ColumnType: Column Type. Either DIMENSION or METRIC. ColumnType string `json:"columnType,omitempty"` // DataType: Data type. Dimension column headers have only STRING as the // data type. Metric column headers have data types for metric values // such as INTEGER, DOUBLE, CURRENCY etc. DataType string `json:"dataType,omitempty"` // Name: Column name. Name string `json:"name,omitempty"` }
type RealtimeDataProfileInfo ¶
type RealtimeDataProfileInfo struct { // AccountId: Account ID to which this view (profile) belongs. AccountId string `json:"accountId,omitempty"` // InternalWebPropertyId: Internal ID for the web property to which this // view (profile) belongs. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // ProfileId: View (Profile) ID. ProfileId string `json:"profileId,omitempty"` // ProfileName: View (Profile) name. ProfileName string `json:"profileName,omitempty"` // TableId: Table ID for view (profile). TableId string `json:"tableId,omitempty"` // WebPropertyId: Web Property ID to which this view (profile) belongs. WebPropertyId string `json:"webPropertyId,omitempty"` }
type RealtimeDataQuery ¶
type RealtimeDataQuery struct { // Dimensions: List of real time dimensions. Dimensions string `json:"dimensions,omitempty"` // Filters: Comma-separated list of dimension or metric filters. Filters string `json:"filters,omitempty"` // Ids: Unique table ID. Ids string `json:"ids,omitempty"` // MaxResults: Maximum results per page. MaxResults int64 `json:"max-results,omitempty"` // Metrics: List of real time metrics. Metrics []string `json:"metrics,omitempty"` // Sort: List of dimensions or metrics based on which real time data is // sorted. Sort []string `json:"sort,omitempty"` }
type Segment ¶
type Segment struct { // Created: Time the segment was created. Created string `json:"created,omitempty"` // Definition: Segment definition. Definition string `json:"definition,omitempty"` // Id: Segment ID. Id string `json:"id,omitempty"` // Kind: Resource type for Analytics segment. Kind string `json:"kind,omitempty"` // Name: Segment name. Name string `json:"name,omitempty"` // SegmentId: Segment ID. Can be used with the 'segment' parameter in // Core Reporting API. SegmentId string `json:"segmentId,omitempty"` // SelfLink: Link for this segment. SelfLink string `json:"selfLink,omitempty"` // Type: Type for a segment. Possible values are "BUILT_IN" or "CUSTOM". Type string `json:"type,omitempty"` // Updated: Time the segment was last modified. Updated string `json:"updated,omitempty"` }
type Segments ¶
type Segments struct { // Items: A list of segments. Items []*Segment `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type for segments. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this segment collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this segment collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type Service ¶
type Service struct { BasePath string // API endpoint base URL Data *DataService Management *ManagementService Metadata *MetadataService Provisioning *ProvisioningService // contains filtered or unexported fields }
type UnsampledReport ¶
type UnsampledReport struct { // AccountId: Account ID to which this unsampled report belongs. AccountId string `json:"accountId,omitempty"` // CloudStorageDownloadDetails: Download details for a file stored in // Google Cloud Storage. CloudStorageDownloadDetails *UnsampledReportCloudStorageDownloadDetails `json:"cloudStorageDownloadDetails,omitempty"` // Created: Time this unsampled report was created. Created string `json:"created,omitempty"` // Dimensions: The dimensions for the unsampled report. Dimensions string `json:"dimensions,omitempty"` // DownloadType: The type of download you need to use for the report // data file. DownloadType string `json:"downloadType,omitempty"` // DriveDownloadDetails: Download details for a file stored in Google // Drive. DriveDownloadDetails *UnsampledReportDriveDownloadDetails `json:"driveDownloadDetails,omitempty"` // EndDate: The end date for the unsampled report. EndDate string `json:"end-date,omitempty"` // Filters: The filters for the unsampled report. Filters string `json:"filters,omitempty"` // Id: Unsampled report ID. Id string `json:"id,omitempty"` // Kind: Resource type for an Analytics unsampled report. Kind string `json:"kind,omitempty"` // Metrics: The metrics for the unsampled report. Metrics string `json:"metrics,omitempty"` // ProfileId: View (Profile) ID to which this unsampled report belongs. ProfileId string `json:"profileId,omitempty"` // Segment: The segment for the unsampled report. Segment string `json:"segment,omitempty"` // SelfLink: Link for this unsampled report. SelfLink string `json:"selfLink,omitempty"` // StartDate: The start date for the unsampled report. StartDate string `json:"start-date,omitempty"` // Status: Status of this unsampled report. Possible values are PENDING, // COMPLETED, or FAILED. Status string `json:"status,omitempty"` // Title: Title of the unsampled report. Title string `json:"title,omitempty"` // Updated: Time this unsampled report was last modified. Updated string `json:"updated,omitempty"` // WebPropertyId: Web property ID to which this unsampled report // belongs. The web property ID is of the form UA-XXXXX-YY. WebPropertyId string `json:"webPropertyId,omitempty"` }
type UnsampledReportDriveDownloadDetails ¶
type UnsampledReportDriveDownloadDetails struct { // DocumentId: Id of the document/file containing the report data. DocumentId string `json:"documentId,omitempty"` }
type UnsampledReports ¶
type UnsampledReports struct { // Items: A list of unsampled reports. Items []*UnsampledReport `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this unsampled report collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this unsampled report // collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of resources in the result. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type Upload ¶
type Upload struct { // AccountId: Account Id to which this upload belongs. AccountId int64 `json:"accountId,omitempty,string"` // CustomDataSourceId: Custom data source Id to which this data import // belongs. CustomDataSourceId string `json:"customDataSourceId,omitempty"` // Errors: Data import errors collection. Errors []string `json:"errors,omitempty"` // Id: A unique ID for this upload. Id string `json:"id,omitempty"` // Kind: Resource type for Analytics upload. Kind string `json:"kind,omitempty"` // Status: Upload status. Possible values: PENDING, COMPLETED, FAILED, // DELETING, DELETED. Status string `json:"status,omitempty"` }
type Uploads ¶
type Uploads struct { // Items: A list of uploads. Items []*Upload `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this upload collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this upload collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of resources in the result. TotalResults int64 `json:"totalResults,omitempty"` }
type WebPropertyRef ¶
type WebPropertyRef struct { // AccountId: Account ID to which this web property belongs. AccountId string `json:"accountId,omitempty"` // Href: Link for this web property. Href string `json:"href,omitempty"` // Id: Web property ID of the form UA-XXXXX-YY. Id string `json:"id,omitempty"` // InternalWebPropertyId: Internal ID for this web property. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // Kind: Analytics web property reference. Kind string `json:"kind,omitempty"` // Name: Name of this web property. Name string `json:"name,omitempty"` }
type WebPropertySummary ¶
type WebPropertySummary struct { // Id: Web property ID of the form UA-XXXXX-YY. Id string `json:"id,omitempty"` // InternalWebPropertyId: Internal ID for this web property. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // Kind: Resource type for Analytics WebPropertySummary. Kind string `json:"kind,omitempty"` // Level: Level for this web property. Possible values are STANDARD or // PREMIUM. Level string `json:"level,omitempty"` // Name: Web property name. Name string `json:"name,omitempty"` // Profiles: List of profiles under this web property. Profiles []*ProfileSummary `json:"profiles,omitempty"` // WebsiteUrl: Website url for this web property. WebsiteUrl string `json:"websiteUrl,omitempty"` }
type Webproperties ¶
type Webproperties struct { // Items: A list of web properties. Items []*Webproperty `json:"items,omitempty"` // ItemsPerPage: The maximum number of resources the response can // contain, regardless of the actual number of resources returned. Its // value ranges from 1 to 1000 with a value of 1000 by default, or // otherwise specified by the max-results query parameter. ItemsPerPage int64 `json:"itemsPerPage,omitempty"` // Kind: Collection type. Kind string `json:"kind,omitempty"` // NextLink: Link to next page for this web property collection. NextLink string `json:"nextLink,omitempty"` // PreviousLink: Link to previous page for this web property collection. PreviousLink string `json:"previousLink,omitempty"` // StartIndex: The starting index of the resources, which is 1 by // default or otherwise specified by the start-index query parameter. StartIndex int64 `json:"startIndex,omitempty"` // TotalResults: The total number of results for the query, regardless // of the number of results in the response. TotalResults int64 `json:"totalResults,omitempty"` // Username: Email ID of the authenticated user Username string `json:"username,omitempty"` }
type Webproperty ¶
type Webproperty struct { // AccountId: Account ID to which this web property belongs. AccountId string `json:"accountId,omitempty"` // ChildLink: Child link for this web property. Points to the list of // views (profiles) for this web property. ChildLink *WebpropertyChildLink `json:"childLink,omitempty"` // Created: Time this web property was created. Created string `json:"created,omitempty"` // DefaultProfileId: Default view (profile) ID. DefaultProfileId int64 `json:"defaultProfileId,omitempty,string"` // Id: Web property ID of the form UA-XXXXX-YY. Id string `json:"id,omitempty"` // IndustryVertical: The industry vertical/category selected for this // web property. IndustryVertical string `json:"industryVertical,omitempty"` // InternalWebPropertyId: Internal ID for this web property. InternalWebPropertyId string `json:"internalWebPropertyId,omitempty"` // Kind: Resource type for Analytics WebProperty. Kind string `json:"kind,omitempty"` // Level: Level for this web property. Possible values are STANDARD or // PREMIUM. Level string `json:"level,omitempty"` // Name: Name of this web property. Name string `json:"name,omitempty"` // ParentLink: Parent link for this web property. Points to the account // to which this web property belongs. ParentLink *WebpropertyParentLink `json:"parentLink,omitempty"` // Permissions: Permissions the user has for this web property. Permissions *WebpropertyPermissions `json:"permissions,omitempty"` // ProfileCount: View (Profile) count for this web property. ProfileCount int64 `json:"profileCount,omitempty"` // SelfLink: Link for this web property. SelfLink string `json:"selfLink,omitempty"` // Updated: Time this web property was last modified. Updated string `json:"updated,omitempty"` // WebsiteUrl: Website url for this web property. WebsiteUrl string `json:"websiteUrl,omitempty"` }
type WebpropertyChildLink ¶
type WebpropertyParentLink ¶
type WebpropertyPermissions ¶
type WebpropertyPermissions struct { // Effective: All the permissions that the user has for this web // property. These include any implied permissions (e.g., EDIT implies // VIEW) or inherited permissions from the parent account. Effective []string `json:"effective,omitempty"` }