Google Analytics API
Views and manages your Google Analytics data.
Data & analytics#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Views and manages your Google Analytics data.
Endpoints 88
data
- GETanalytics.data.ga.get
/data/ga?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&ids=string&start-date=string&end-date=string&metrics=string&dimensions=string&filters=string&include-empty-rows=true&max-results=0&output=dataTable&samplingLevel=DEFAULT&segment=string&sort=string&start-index=1Returns Analytics data for a view (profile). - GETanalytics.data.mcf.get
/data/mcf?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&ids=string&start-date=string&end-date=string&metrics=string&dimensions=string&filters=string&max-results=0&samplingLevel=DEFAULT&sort=string&start-index=1Returns Analytics Multi-Channel Funnels data for a view (profile). - GETanalytics.data.realtime.get
/data/realtime?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&ids=string&metrics=string&dimensions=string&filters=string&max-results=0&sort=stringReturns real time data for a view (profile).
management
- GETanalytics.management.accountSummaries.list
/management/accountSummaries?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists account summaries (lightweight tree comprised of accounts/properties/profiles) to which the user has access. - GETanalytics.management.accounts.list
/management/accounts?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists all accounts to which the user has access. - GETanalytics.management.accountUserLinks.list
/management/accounts/:accountId/entityUserLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists account-user links for a given account. - POSTanalytics.management.accountUserLinks.insert
/management/accounts/:accountId/entityUserLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringAdds a new user to the given account. - PUTanalytics.management.accountUserLinks.update
/management/accounts/:accountId/entityUserLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates permissions for an existing user on the given account. - DELETEanalytics.management.accountUserLinks.delete
/management/accounts/:accountId/entityUserLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringRemoves a user from the given account. - GETanalytics.management.filters.list
/management/accounts/:accountId/filters?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists all filters for an account - POSTanalytics.management.filters.insert
/management/accounts/:accountId/filters?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate a new filter. - GETanalytics.management.filters.get
/management/accounts/:accountId/filters/:filterId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringReturns filters to which the user has access. - PUTanalytics.management.filters.update
/management/accounts/:accountId/filters/:filterId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing filter. - DELETEanalytics.management.filters.delete
/management/accounts/:accountId/filters/:filterId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDelete a filter. - PATCHanalytics.management.filters.patch
/management/accounts/:accountId/filters/:filterId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing filter. This method supports patch semantics. - GETanalytics.management.webproperties.list
/management/accounts/:accountId/webproperties?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists web properties to which the user has access. - POSTanalytics.management.webproperties.insert
/management/accounts/:accountId/webproperties?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate 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… - GETanalytics.management.webproperties.get
/management/accounts/:accountId/webproperties/:webPropertyId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGets a web property to which the user has access. - PUTanalytics.management.webproperties.update
/management/accounts/:accountId/webproperties/:webPropertyId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing web property. - PATCHanalytics.management.webproperties.patch
/management/accounts/:accountId/webproperties/:webPropertyId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing web property. This method supports patch semantics. - GETanalytics.management.customDataSources.list
/management/accounts/:accountId/webproperties/:webPropertyId/customDataSources?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=1&start-index=1List custom data sources to which the user has access. - POSTanalytics.management.uploads.deleteUploadData
/management/accounts/:accountId/webproperties/:webPropertyId/customDataSources/:customDataSourceId/deleteUploadData?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDelete data associated with a previous upload. - GETanalytics.management.uploads.list
/management/accounts/:accountId/webproperties/:webPropertyId/customDataSources/:customDataSourceId/uploads?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=1&start-index=1List uploads to which the user has access. - POSTanalytics.management.uploads.uploadData
/management/accounts/:accountId/webproperties/:webPropertyId/customDataSources/:customDataSourceId/uploads?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpload data for a custom data source. - GETanalytics.management.uploads.get
/management/accounts/:accountId/webproperties/:webPropertyId/customDataSources/:customDataSourceId/uploads/:uploadId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringList uploads to which the user has access. - GETanalytics.management.customDimensions.list
/management/accounts/:accountId/webproperties/:webPropertyId/customDimensions?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists custom dimensions to which the user has access. - POSTanalytics.management.customDimensions.insert
/management/accounts/:accountId/webproperties/:webPropertyId/customDimensions?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate a new custom dimension. - GETanalytics.management.customDimensions.get
/management/accounts/:accountId/webproperties/:webPropertyId/customDimensions/:customDimensionId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGet a custom dimension to which the user has access. - PUTanalytics.management.customDimensions.update
/management/accounts/:accountId/webproperties/:webPropertyId/customDimensions/:customDimensionId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&ignoreCustomDataSourceLinks=trueUpdates an existing custom dimension. - PATCHanalytics.management.customDimensions.patch
/management/accounts/:accountId/webproperties/:webPropertyId/customDimensions/:customDimensionId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&ignoreCustomDataSourceLinks=trueUpdates an existing custom dimension. This method supports patch semantics. - GETanalytics.management.customMetrics.list
/management/accounts/:accountId/webproperties/:webPropertyId/customMetrics?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists custom metrics to which the user has access. - POSTanalytics.management.customMetrics.insert
/management/accounts/:accountId/webproperties/:webPropertyId/customMetrics?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate a new custom metric. - GETanalytics.management.customMetrics.get
/management/accounts/:accountId/webproperties/:webPropertyId/customMetrics/:customMetricId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGet a custom metric to which the user has access. - PUTanalytics.management.customMetrics.update
/management/accounts/:accountId/webproperties/:webPropertyId/customMetrics/:customMetricId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&ignoreCustomDataSourceLinks=trueUpdates an existing custom metric. - PATCHanalytics.management.customMetrics.patch
/management/accounts/:accountId/webproperties/:webPropertyId/customMetrics/:customMetricId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&ignoreCustomDataSourceLinks=trueUpdates an existing custom metric. This method supports patch semantics. - GETanalytics.management.webPropertyAdWordsLinks.list
/management/accounts/:accountId/webproperties/:webPropertyId/entityAdWordsLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists webProperty-Google Ads links for a given web property. - POSTanalytics.management.webPropertyAdWordsLinks.insert
/management/accounts/:accountId/webproperties/:webPropertyId/entityAdWordsLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreates a webProperty-Google Ads link. - GETanalytics.management.webPropertyAdWordsLinks.get
/management/accounts/:accountId/webproperties/:webPropertyId/entityAdWordsLinks/:webPropertyAdWordsLinkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringReturns a web property-Google Ads link to which the user has access. - PUTanalytics.management.webPropertyAdWordsLinks.update
/management/accounts/:accountId/webproperties/:webPropertyId/entityAdWordsLinks/:webPropertyAdWordsLinkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing webProperty-Google Ads link. - DELETEanalytics.management.webPropertyAdWordsLinks.delete
/management/accounts/:accountId/webproperties/:webPropertyId/entityAdWordsLinks/:webPropertyAdWordsLinkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDeletes a web property-Google Ads link. - PATCHanalytics.management.webPropertyAdWordsLinks.patch
/management/accounts/:accountId/webproperties/:webPropertyId/entityAdWordsLinks/:webPropertyAdWordsLinkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing webProperty-Google Ads link. This method supports patch semantics. - GETanalytics.management.webpropertyUserLinks.list
/management/accounts/:accountId/webproperties/:webPropertyId/entityUserLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists webProperty-user links for a given web property. - POSTanalytics.management.webpropertyUserLinks.insert
/management/accounts/:accountId/webproperties/:webPropertyId/entityUserLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringAdds a new user to the given web property. - PUTanalytics.management.webpropertyUserLinks.update
/management/accounts/:accountId/webproperties/:webPropertyId/entityUserLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates permissions for an existing user on the given web property. - DELETEanalytics.management.webpropertyUserLinks.delete
/management/accounts/:accountId/webproperties/:webPropertyId/entityUserLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringRemoves a user from the given web property. - GETanalytics.management.profiles.list
/management/accounts/:accountId/webproperties/:webPropertyId/profiles?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists views (profiles) to which the user has access. - POSTanalytics.management.profiles.insert
/management/accounts/:accountId/webproperties/:webPropertyId/profiles?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate a new view (profile). - GETanalytics.management.profiles.get
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGets a view (profile) to which the user has access. - PUTanalytics.management.profiles.update
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing view (profile). - DELETEanalytics.management.profiles.delete
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDeletes a view (profile). - PATCHanalytics.management.profiles.patch
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing view (profile). This method supports patch semantics. - GETanalytics.management.profileUserLinks.list
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/entityUserLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists profile-user links for a given view (profile). - POSTanalytics.management.profileUserLinks.insert
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/entityUserLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringAdds a new user to the given view (profile). - PUTanalytics.management.profileUserLinks.update
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/entityUserLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates permissions for an existing user on the given view (profile). - DELETEanalytics.management.profileUserLinks.delete
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/entityUserLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringRemoves a user from the given view (profile). - GETanalytics.management.experiments.list
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/experiments?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists experiments to which the user has access. - POSTanalytics.management.experiments.insert
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/experiments?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate a new experiment. - GETanalytics.management.experiments.get
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/experiments/:experimentId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringReturns an experiment to which the user has access. - PUTanalytics.management.experiments.update
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/experiments/:experimentId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdate an existing experiment. - DELETEanalytics.management.experiments.delete
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/experiments/:experimentId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDelete an experiment. - PATCHanalytics.management.experiments.patch
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/experiments/:experimentId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdate an existing experiment. This method supports patch semantics. - GETanalytics.management.goals.list
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/goals?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists goals to which the user has access. - POSTanalytics.management.goals.insert
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/goals?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate a new goal. - GETanalytics.management.goals.get
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/goals/:goalId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGets a goal to which the user has access. - PUTanalytics.management.goals.update
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/goals/:goalId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing goal. - PATCHanalytics.management.goals.patch
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/goals/:goalId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing goal. This method supports patch semantics. - GETanalytics.management.profileFilterLinks.list
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/profileFilterLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists all profile filter links for a profile. - POSTanalytics.management.profileFilterLinks.insert
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/profileFilterLinks?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate a new profile filter link. - GETanalytics.management.profileFilterLinks.get
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/profileFilterLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringReturns a single profile filter link. - PUTanalytics.management.profileFilterLinks.update
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/profileFilterLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdate an existing profile filter link. - DELETEanalytics.management.profileFilterLinks.delete
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/profileFilterLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDelete a profile filter link. - PATCHanalytics.management.profileFilterLinks.patch
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/profileFilterLinks/:linkId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdate an existing profile filter link. This method supports patch semantics. - GETanalytics.management.unsampledReports.list
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/unsampledReports?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists unsampled reports to which the user has access. - POSTanalytics.management.unsampledReports.insert
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/unsampledReports?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreate a new unsampled report. - GETanalytics.management.unsampledReports.get
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/unsampledReports/:unsampledReportId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringReturns a single unsampled report. - DELETEanalytics.management.unsampledReports.delete
/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId/unsampledReports/:unsampledReportId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDeletes an unsampled report. - GETanalytics.management.remarketingAudience.list
/management/accounts/:accountId/webproperties/:webPropertyId/remarketingAudiences?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1&type=stringLists remarketing audiences to which the user has access. - POSTanalytics.management.remarketingAudience.insert
/management/accounts/:accountId/webproperties/:webPropertyId/remarketingAudiences?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreates a new remarketing audience. - GETanalytics.management.remarketingAudience.get
/management/accounts/:accountId/webproperties/:webPropertyId/remarketingAudiences/:remarketingAudienceId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGets a remarketing audience to which the user has access. - PUTanalytics.management.remarketingAudience.update
/management/accounts/:accountId/webproperties/:webPropertyId/remarketingAudiences/:remarketingAudienceId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing remarketing audience. - DELETEanalytics.management.remarketingAudience.delete
/management/accounts/:accountId/webproperties/:webPropertyId/remarketingAudiences/:remarketingAudienceId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDelete a remarketing audience. - PATCHanalytics.management.remarketingAudience.patch
/management/accounts/:accountId/webproperties/:webPropertyId/remarketingAudiences/:remarketingAudienceId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing remarketing audience. This method supports patch semantics. - POSTanalytics.management.clientId.hashClientId
/management/clientId:hashClientId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringHashes the given Client ID. - GETanalytics.management.segments.list
/management/segments?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&max-results=0&start-index=1Lists segments to which the user has access.
metadata
- GETanalytics.metadata.columns.list
/metadata/:reportType/columns?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringLists all columns for a report type
provisioning
- POSTanalytics.provisioning.createAccountTicket
/provisioning/createAccountTicket?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreates an account ticket. - POSTanalytics.provisioning.createAccountTree
/provisioning/createAccountTree?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringProvision account.
userDeletion
- POSTanalytics.userDeletion.userDeletionRequest.upsert
/userDeletion/userDeletionRequests:upsert?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringInsert or update a user deletion requests.
API details
- Base URL
https://analytics.googleapis.com/analytics/v3- Authentication
- OAuth 2.0 (implicit flow) with 7 scopes
OAuth 2.0 (authorization code flow) with 7 scopes - Operations
- 88 operations on 43 pathsGET 35POST 20PUT 13PATCH 10DELETE 10
- Main resources
- management 81data 3provisioning 2metadata 1userDeletion 1
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
v3 - Links
- Documentation · OpenAPI document · Terms of service · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Google Analytics API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Google Analytics API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 7 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “analytics.data.ga.get” (GET /data/ga?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&ids=string&start-date=string&end-date=string&metrics=string&dimensions=string&filters=string&include-empty-rows=true&max-results=0&output=dataTable&samplingLevel=DEFAULT&segment=string&sort=string&start-index=1), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Google Analytics API?
Views and manages your Google Analytics data. It is listed under Data & analytics and has 88 endpoints.
Who publishes the Google Analytics API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Google Analytics API?
Requests go to https://analytics.googleapis.com/analytics/v3. Endpoint paths are added to this base URL.
How do I authenticate with the Google Analytics API?
It accepts 2 methods: OAuth 2.0 (implicit flow) with 7 scopes; OAuth 2.0 (authorization code flow) with 7 scopes.
How many endpoints does the Google Analytics API have?
88 operations on 43 paths (35 GET, 20 POST, 13 PUT, 10 PATCH, 10 DELETE). The largest groups are management, data, provisioning, metadata.
Is forking the Google Analytics API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.