ADO.NET Provider for Google Analytics

Build 25.0.9434

OAuth Scopes and Endpoints

Required Scopes and Endpoint Domains for Google Analytics

When integrating with Google Analytics, your application needs specific permissions to interact with the API.

These permissions are defined by access scopes, which determine what data your application can access and what actions it can perform.

This topic provides information about the required access scopes and endpoint domains for the Google Analytics provider.

Understanding Scopes

Scopes are a way to limit an application's access to a user's data. They define the specific actions that an application can perform on behalf of the user.

For example, a read-only scope might allow an application to view data, while a full access scope might allow it to modify data.

Required Scopes for Google Analytics

Scope Description
googleapis.com/auth/analytics.readonly Read-only access to the Google Analytics API. Accepted values are NONE, CONSENT, and the default SELECT ACCOUNT.

Understanding Endpoint Domains

Endpoint domains are the specific URLs that the application needs to communicate with in order to authenticate, retrieve records, and perform other essential operations.

Allowlisting these domains ensures that the network traffic between your application and the API is not blocked by firewalls or security settings.

Note: Most users do not need to make any special configurations. Allowlisting is typically only necessary for environments with strict security measures, such as restricted outbound network traffic.

Required Endpoint Domains for Google Analytics

Domain Always Required? Description
analyticsadmin.googleapis.com TRUE
analyticsdata.googleapis.com TRUE
accounts.google.com FALSE This domain is required when the AuthScheme connection property is set to OAuth.
www.googleapis.com and iamcredentials.googleapis.com FALSE This domain is required when the AuthScheme connection property is set to OAuthJWT. In the case of "www.googleapis.com", the "www." part is part of the domain name and must be added in your application's egress policy.
metadata.google.internal FALSE This domain is required when the AuthScheme connection property is set to GCPInstanceAccount.
sts.googleapis.com FALSE This domain is required when the AuthScheme connection property is set to AWSWorkloadIdentity.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434