Cloud

Build 25.0.9434
  • Google Analytics
    • Getting Started
      • Establishing a Connection
      • Retrieving Google Analytics Data
      • Advanced Queries
      • OAuth Scopes and Endpoints
      • SSL Configuration
      • Firewall and Proxy
    • Data Model
      • GoogleAnalytics4 Data Model
        • Server Side Filtering
        • Views
          • Accounts
          • AccountSummaries
          • Acquisitions
          • AcquisitionsFirstUserCampaignReport
          • AcquisitionsFirstUserGoogleAdsAdGroupNameReport
          • AcquisitionsFirstUserGoogleAdsNetworkTypeReport
          • AcquisitionsFirstUserMediumReport
          • AcquisitionsFirstUserSourceMediumReport
          • AcquisitionsFirstUserSourcePlatformReport
          • AcquisitionsFirstUserSourceReport
          • AcquisitionsSessionCampaignReport
          • AcquisitionsSessionDefaultChannelGroupingReport
          • AcquisitionsSessionMediumReport
          • AcquisitionsSessionSourceMediumReport
          • AcquisitionsSessionSourcePlatformReport
          • AcquisitionsSessionSourceReport
          • ActiveUsers
          • DemographicAgeReport
          • DemographicCityReport
          • DemographicCountryReport
          • DemographicGenderReport
          • DemographicInterestsReport
          • DemographicLanguageReport
          • DemographicRegionReport
          • Demographics
          • EcommPurchasesItemBrandReport
          • EcommPurchasesItemCategory2Report
          • EcommPurchasesItemCategory3Report
          • EcommPurchasesItemCategory4Report
          • EcommPurchasesItemCategory5Report
          • EcommPurchasesItemCategoryReport
          • EcommPurchasesItemCategoryReportCombined
          • EcommPurchasesItemIdReport
          • EcommPurchasesItemNameReport
          • Engagement
          • EngagementContentGroupReport
          • EngagementConversionsReport
          • EngagementEventsReport
          • EngagementPagesPathReport
          • EngagementPagesTitleAndScreenClassReport
          • EngagementPagesTitleAndScreenNameReport
          • Events
          • GamesReporting
          • GlobalAccessObject
          • KeyEvents
          • MetaData
          • Monetization
          • MonetizationPublisherAdsAdFormatReport
          • MonetizationPublisherAdsAdSourceReport
          • MonetizationPublisherAdsAdUnitReport
          • MonetizationPublisherAdsPagePathReport
          • Properties
          • PropertiesAccessBindings
          • PropertiesAudiences
          • PropertiesDataStreams
          • PropertiesFireBaseLinks
          • PropertiesGoogleAdsLinks
          • PropertiesKeyEvents
          • ScreenPageViews
          • Tech
          • TechAppVersionReport
          • TechBrowserReport
          • TechDeviceCategoryReport
          • TechDeviceModelReport
          • TechOSSystemReport
          • TechOSVersionReport
          • TechPlatformDeviceCategoryReport
          • TechPlatformReport
          • TechScreenResolutionReport
        • Stored Procedures
          • CreateCustomSchema
          • GetSignalsSettings
      • System Tables
        • sys_catalogs
        • sys_schemas
        • sys_tables
        • sys_tablecolumns
        • sys_procedures
        • sys_procedureparameters
        • sys_keycolumns
        • sys_foreignkeys
        • sys_primarykeys
        • sys_indexes
        • sys_connection_props
        • sys_sqlinfo
        • sys_identity
        • sys_information
    • Connection String Options
      • Authentication
        • AuthScheme
        • Schema
      • OAuth
        • OAuthClientId
        • OAuthClientSecret
        • DelegatedServiceAccounts
        • RequestingServiceAccount
        • Scope
      • JWT OAuth
        • OAuthJWTCert
        • OAuthJWTCertType
        • OAuthJWTCertPassword
        • OAuthJWTCertSubject
        • OAuthJWTIssuer
        • OAuthJWTSubject
      • SSL
        • SSLServerCert
      • Logging
        • Verbosity
      • Schema
        • BrowsableSchemas
      • Miscellaneous
        • AWSWorkloadIdentityConfig
        • AzureWorkloadIdentityConfig
        • DefaultEndDate
        • DefaultStartDate
        • IgnorePermissionsException
        • IncludeDeleted
        • IncludeEmptyRows
        • MaxRows
        • Pagesize
        • PropertyId
        • PseudoColumns
        • ReportType
        • SupportEnhancedSQL
        • Timeout
        • WorkloadPoolId
        • WorkloadProjectId
        • WorkloadProviderId
    • Third Party Copyrights

Google Analytics - CData Cloud

Overview

CData Cloud offers access to Google Analytics across several standard services and protocols, in a cloud-hosted solution. Any application that can connect to a SQL Server database can connect to Google Analytics through CData Cloud.

CData Cloud allows you to standardize and configure connections to Google Analytics as though it were any other OData endpoint or standard SQL Server.

Key Features

  • Full SQL Support: Google Analytics appears as standard relational databases, allowing you to perform operations - Filter, Group, Join, etc. - using standard SQL, regardless of whether these operations are supported by the underlying API.
  • CRUD Support: Both read and write operations are supported, restricted only by security settings that you can configure in Cloud or downstream in the source itself.
  • Secure Access: The administrator can create users and define their access to specific databases and read-only operations or grant full read & write privileges.
  • Comprehensive Data Model & Dynamic Discovery: CData Cloud provides comprehensive access to all of the data exposed in the underlying data source, including full access to dynamic data and easily searchable metadata.

CData Cloud

Getting Started

This page provides a guide to Establishing a Connection to Google Analytics in CData Cloud, as well as information on the available resources, and a reference to the available connection properties.

Connecting to Google Analytics

Establishing a Connection shows how to authenticate to Google Analytics and configure any necessary connection properties to create a database in CData Cloud

Accessing Data from CData Cloud Services

Accessing data from Google Analytics through the available standard services and CData Cloud administration is documented in further details in the CData Cloud Documentation.

CData Cloud

Establishing a Connection

Connect to Google Analytics by selecting the corresponding icon in the Database tab. Required properties are listed under Settings. The Advanced tab lists connection properties that are not typically required.

Connecting to Google Analytics

Google Analytics 4

Provide the following connection properties before adding the authentication properties.

  • Schema: Set this to GoogleAnalytics4.
  • PropertyId: Set this to the Google Analytics profile or view you want to connect to. This value can be retrieved from the Properties table. If this is not specified, the first Profile returned will be used.

Authenticating to Google Analytics

The Cloud supports using user accounts and GCP instance accounts for authentication.

The following sections discuss the available authentication schemes for Google Analytics:

  • User Accounts (OAuth)
  • Service Account (OAuthJWT)
  • GCP Instance Account

User Accounts (OAuth)

AuthScheme must be set to OAuth in all user account flows.

Web Applications

When connecting via a Web application, you need to create and register a custom OAuth application with Google Analytics. You can then use the Cloud to acquire and manage the OAuth token values. See Creating a Custom OAuth App for more information about custom applications.

Get an OAuth Access Token

Set the following connection properties to obtain the OAuthAccessToken:

  • OAuthClientId: Set this to the Client Id in your application settings.
  • OAuthClientSecret: Set this to the Client Secret in your application settings.

Then call stored procedures to complete the OAuth exchange:

  1. Call the GetOAuthAuthorizationURL stored procedure. Set the CallbackURL input to the Callback URL you specified in your application settings. The stored procedure returns the URL to the OAuth endpoint.
  2. Navigate to the URL that the stored procedure returned in Step 1. Log in to the custom OAuth application and authorize the web application. Once authenticated, the browser redirects you to the callback URL.
  3. Call the GetOAuthAccessToken stored procedure. Set AuthMode to WEB and the Verifier input to the "code" parameter in the query string of the callback URL.

Once you have obtained the access and refresh tokens, you can connect to data and refresh the OAuth access token either automatically or manually.

Automatic Refresh of the OAuth Access Token

To have the driver automatically refresh the OAuth access token, set the following on the first data connection:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthClientId: Set this to the Client Id in your application settings.
  • OAuthClientSecret: Set this to the Client Secret in your application settings.
  • OAuthAccessToken: Set this to the access token returned by GetOAuthAccessToken.
  • OAuthRefreshToken: Set this to the refresh token returned by GetOAuthAccessToken.
  • OAuthSettingsLocation: Set this to the location where the Cloud saves the OAuth token values, which persist across connections.
On subsequent data connections, the values for OAuthAccessToken and OAuthRefreshToken are taken from OAuthSettingsLocation.

Manual Refresh of the OAuth Access Token

The only value needed to manually refresh the OAuth access token when connecting to data is the OAuth refresh token.

Use the RefreshOAuthAccessToken stored procedure to manually refresh the OAuthAccessToken after the ExpiresIn parameter value returned by GetOAuthAccessToken has elapsed, then set the following connection properties:

  • OAuthClientId: Set this to the Client Id in your application settings.
  • OAuthClientSecret: Set this to the Client Secret in your application settings.

Then call RefreshOAuthAccessToken with OAuthRefreshToken set to the OAuth refresh token returned by GetOAuthAccessToken. After the new tokens have been retrieved, open a new connection by setting the OAuthAccessToken property to the value returned by RefreshOAuthAccessToken.

Finally, store the OAuth refresh token so that you can use it to manually refresh the OAuth access token after it has expired.

Headless Machines

To configure the driver to use OAuth with a user account on a headless machine, you need to authenticate on another device that has an internet browser.

  1. Choose one of two options:
    • Option 1: Obtain the OAuthVerifier value as described in "Obtain and Exchange a Verifier Code" below.
    • Option 2: Install the Cloud on a machine with an internet browser and transfer the OAuth authentication values after you authenticate through the usual browser-based flow, as described in "Transfer OAuth Settings" below.
  2. Then configure the Cloud to automatically refresh the access token on the headless machine.

Option 1: Obtain and Exchange a Verifier Code

To obtain a verifier code, you must authenticate at the OAuth authorization URL.

Follow the steps below to authenticate from the machine with an internet browser and obtain the OAuthVerifier connection property.

  1. Choose one of these options:
    • If you are using the Embedded OAuth Application click Google Analytics OAuth endpoint to open the endpoint in your browser.
    • If you are using a custom OAuth application, create the Authorization URL by setting the following properties:
      • InitiateOAuth: Set to OFF.
      • OAuthClientId: Set to the client Id assigned when you registered your application.
      • OAuthClientSecret: Set to the client secret assigned when you registered your application.
      Then call the GetOAuthAuthorizationURL stored procedure with the appropriate CallbackURL. Open the URL returned by the stored procedure in a browser.
  2. Log in and grant permissions to the Cloud. You are then redirected to the callback URL, which contains the verifier code.
  3. Save the value of the verifier code. Later you will set this in the OAuthVerifier connection property.
Next, you need to exchange the OAuth verifier code for OAuth refresh and access tokens. Set the following properties:

On the headless machine, set the following connection properties to obtain the OAuth authentication values:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthVerifier: Set this to the verifier code.
  • OAuthClientId: (custom applications only) Set this to the Client Id in your custom OAuth application settings.
  • OAuthClientSecret: (custom applications only) Set this to the Client Secret in the custom OAuth application settings.
  • OAuthSettingsLocation: Set this to persist the encrypted OAuth authentication values to the specified location.

After the OAuth settings file is generated, you need to re-set the following properties to connect:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthClientId: (custom applications only) Set this to the client Id assigned when you registered your application.
  • OAuthClientSecret: (custom applications only) Set this to the client secret assigned when you registered your application.
  • OAuthSettingsLocation: Set this to the location containing the encrypted OAuth authentication values. Make sure this location gives read and write permissions to the Cloud to enable the automatic refreshing of the access token.

Option 2: Transfer OAuth Settings

Prior to connecting on a headless machine, you need to create and install a connection with the driver on a device that supports an internet browser. Set the connection properties as described in "Desktop Applications" above.

After completing the instructions in "Desktop Applications", the resulting authentication values are encrypted and written to the location specified by OAuthSettingsLocation. The default filename is OAuthSettings.txt.

Once you have successfully tested the connection, copy the OAuth settings file to your headless machine.

On the headless machine, set the following connection properties to connect to data:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthClientId: (custom applications only) Set this to the client Id assigned when you registered your application.
  • OAuthClientSecret: (custom applications only) Set this to the client secret assigned when you registered your application.
  • OAuthSettingsLocation: Set this to the location of your OAuth settings file. Make sure this location gives read and write permissions to the Cloud to enable the automatic refreshing of the access token.

GCP Instance Accounts

When running on a GCP virtual machine, the Cloud can authenticate using a service account tied to the virtual machine. To use this mode, set AuthScheme to GCPInstanceAccount.

CData Cloud

Retrieving Google Analytics Data

Google Analytics data is organized into various metrics (Sessions, Impressions, AdClicks, etc.), which can be queried over various dimensions (Country, Month, etc.). There are many valid combinations of metrics and dimensions. The Cloud surfaces some of the most commonly used combinations as tables for ease of use.

Additionally, the Cloud allows you to query all valid combinations, even those not included in the predefined tables, using two methods: by using the Dimensions and Metrics columns and by defining custom schemas. Refer to Advanced Queries for more information. Below is a guide to getting started with the default tables.

Selecting Dimensions and Measures

The dimensions and metrics are clearly defined for each table and can be seen in the Data Model: Simply select the metrics and dimensions you are interested in. For example, to find the number of sessions in each month, query the Session metric over the Month dimension. This would return 12 rows: one for each month.

SELECT Sessions, Month FROM Traffic 
To separate out the months in each year, include both the month and the year dimensions in the query:
SELECT Sessions, Month, Year FROM Traffic 

Date Ranges

All Google Analytics reports cover a specific date range. The default behavior is to pull the last month of data if the StartDate and EndDate inputs are left unset. To override this behavior, the values can be set directly in the query. For example:

SELECT Sessions, Month, Year FROM Traffic WHERE StartDate = '90daysAgo' AND EndDate = 'Today'

The supported inputs for StartDate and EndDate in the Google Analytics API are 'today', 'yesterday', 'NdaysAgo' (where N is some number), and an exact date. Starting with the v4 API, up to two separate date ranges can be set in the filter.

SELECT * Query

Unlike most database tables, it is not very helpful to select all metrics and dimensions in a given table.

In some cases, it is not possible to do this since Google Analytics allows a maximum of nine dimensions and 10 metrics in a single query.

The Cloud interprets the SELECT * query as a request for a default set of metrics and dimensions.

This includes queries that explicitly select all columns. For schemas with fewer than 10 metrics, all metrics are returned.

Refer to the individual view's documentation in Data Model to see which fields are the default for each schema.

CData Cloud

Advanced Queries

Google Analytics has a very large number of metrics and dimensions that would clutter table definitions, so the table definitions included with the product only list the most commonly used combinations. We offer two alternatives to this design choice: You can use the Dimensions and Metrics columns to request fields that are not in the default table, or you can define your own table.

Using the Dimensions and Metrics Columns

To request additional dimensions or metrics for any existing table, the recommended approach is to define custom schemas; however, you can also set the Dimensions and Metrics inputs in the WHERE clause. Both inputs take a comma-separated list so that you can specify multiple fields at once. The values will be returned in the corresponding Dimensions and Metrics column in the same order that you submitted them. For example, the following query will query the Traffic table for Sessions, the Goal 1 Conversion Rate, and Goal 1 Completions and group these metrics together by the User Age Bracket dimension:

SELECT Sessions, Dimensions, Metrics FROM Traffic WHERE Dimensions='UserAgeBracket' AND Metrics='Goal1ConversionRate,Goal1Completions'
In the results from the query above, the value for UserAgeBracket will be returned in the Dimensions field for each row. The Metrics field will contain a comma-separated value containing the requested metrics for Goal 1.

CData Cloud

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 Cloud.

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.

CData Cloud

SSL Configuration

Customizing the SSL Configuration

By default, the Cloud attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.

To specify another certificate, see the SSLServerCert connection property.

CData Cloud

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

To authenticate to an HTTP proxy, set the following:

  • ProxyServer: the hostname or IP address of the proxy server that you want to route HTTP traffic through.
  • ProxyPort: the TCP port that the proxy server is running on.
  • ProxyAuthScheme: the authentication method the Cloud uses when authenticating to the proxy server.
  • ProxyUser: the username of a user account registered with the proxy server.
  • ProxyPassword: the password associated with the ProxyUser.

Other Proxies

Set the following properties:

  • To use a proxy-based firewall, set FirewallType, FirewallServer, and FirewallPort.
  • To tunnel the connection, set FirewallType to TUNNEL.
  • To authenticate, specify FirewallUser and FirewallPassword.
  • To authenticate to a SOCKS proxy, additionally set FirewallType to SOCKS5.

CData Cloud

Data Model

The CData Cloud models Google Analytics entities in relational Tables, Views, and Stored Procedures. The provided tables will give you an overview of your account information and the profiles available for Google Analytics queries. Google Analytics allows for Dimensions and Metrics to be queried in a large number of arrangements. Some sample views are provided based on common Google Analytics reports. You can, however, also create your own custom views based on any combination of Dimensions and Metrics you need.

The Cloud uses the Google Analytics API to process supported filters. The Cloud processes other filters client-side within the Cloud.

Create Additional Schemas

The CreateCustomSchema stored procedure can be used to easily generate new schema files with a custom combination of Dimensions and Metrics. This procedure takes the TableName and a comma-separated lists of Dimensions and Metrics and builds a schema file that can be read by the Cloud. Each Dimension or Metric in the list takes the name of the value from Google Analytics (without the 'ga:' prefix). For example:

Dimensions=UserType,SessionCount

Metrics=Users,PercentNewSessions
If the Location connection property is set, the file will be output to that folder. Otherwise, the OutputFolder input can be used to specify an output folder. To begin querying these new files, simply set the Location connection property to the folder containing these new schema files.

Using Google Analytics 4 API

See GoogleAnalytics4 Data Model for the available entities in the Google Analytics 4 API.

CData Cloud

GoogleAnalytics4 Data Model

The CData Cloud models the Google Analytics 4 API as relational tables, views, and stored procedures. The provided tables give you an overview of your account information and the profiles available for Google Analytics queries. Google Analytics supports the querying of dimensions and metrics in various arrangements. Some sample views are provided based on common Google Analytics reports.

You can also create your own custom views based on any combination of Dimensions and Metrics you need.

The Cloud uses the Google Analytics API to process supported filters. The Cloud processes other filters client-side within the Cloud. There is a strict limit of nine dimensions and 10 metrics per query, unless otherwise stated in the specific table or view pages.

Views

Views are tables that cannot be modified, such as Accounts, Properties, Events, Acquisitions, and Engagement. Typically, data that is read-only and cannot be updated are shown as views. Two types of views are made available:

  • Base Views are statically defined to model Engagements, Acquisitions, Active Users, and more. You can use base views to create your custom reports. By default, these views return data from all time aggregated into a single row. All base views are subsets of GlobalAccessObject, a view that contains all data for all available dimensions and metrics.
  • Predefined Report Views are a set of standard reports that mimic exactly what you see in the Google Analytics UI. All Predefined Report Views have "report" appended to their name. By default, these views return data from all time with a daily breakdown.

Date Ranges and Aggregation

Date Ranges You can specify date ranges in the WHERE clause using the "Date" field with these operators: =, <,>

Additional predefined date fields are available:

  • week
  • month
  • quarter
When filtering on these time intervals, you can use the = operator, specifying the date of first day of the time period. If you specify a different date, an error is returned. For example, to specify the month of May in the year 2022, use the following, specifying the first day of that month:
month = '2022-05-01' 
NOTE: The default time interval for views is 30 days.

Aggregation

Aggregation is the process of reducing and summarizing data. You can apply aggregation at multiple levels:

The following examples show the syntax of aggregation queries:


SELECT Date,NewUsers, TotalUsers From Tech where StartDate = '2022-01-01' and EndDate = '2023-05-18'

SELECT Hour,NewUsers, TotalUsers From Tech where StartDate = '2022-01-01' and EndDate = '2023-05-18'

SELECT Day,NewUsers, TotalUsers From Tech where StartDate = '2022-01-01' and EndDate = '2023-05-18'

SELECT Week,NewUsers, TotalUsers From Tech where StartDate = '2022-01-01' and EndDate = '2023-05-18'

SELECT Month,NewUsers, TotalUsers From Tech where StartDate = '2022-01-01' and EndDate = '2023-05-18'

SELECT Year,NewUsers, TotalUsers From Tech where StartDate = '2022-01-01' and EndDate = '2023-05-18' 
Some comments about the aggregation code examples:

  • Date: returns daily data in the query results.
  • Hour: returns data aggregated by hour across the specified date range. For example, querying two years worth of data and selecting "Hour" returns 24 rows of data (one for each hour) with two years data aggregated for each hour.
  • Day: returns data aggregated by day across the specified date range. For example, querying two years worth of data and selecting "Day" returns seven rows of data (one for each day) with two years data aggregated for each day
  • Week: returns data aggregated by week across the specified date range. For example, querying two years worth of data and selecting "Week" returns 104 rows of data (one for each week) with data aggregated for each week
  • Month: returns data aggregated by month across the specified date range. For example, querying two years worth of data and selecting "Month" returns 24 rows of data (one for each month) with data aggregated for each month.
  • Year: returns data aggregated by year across the specified date range. For example, querying two years worth of data and selecting "Year" returns two rows of data (one for each year) with data aggregated by year.

NOTE: choosing "Date" as a metric overrides any other date metric you select. Only daily data is returned.

Stored Procedures

Stored Procedures are function-like interfaces to the data source. You can use these to search, update, and modify information in the data source.

CData Cloud

Server Side Filtering

Server Side Filtering

Fully qualified queries support both the OR and AND operators used together. The OR operator can only be used with the same columns if it is combined with the AND operator for filtering dimensions or metrics. If the OR operator is used with different columns in combination with the AND operator, it may produce unexpected results. For example, the following query may give unexpected results:

 SELECT * FROM [Acquisitions] WHERE [StartDate] = '2023-03-22' AND [EndDate] = '2023-03-22' AND [PagePath] LIKE '%as' OR [Country] LIKE 'US' 
Given below are a few valid queries:
 SELECT * FROM [Acquisitions] WHERE [StartDate] = '2023-03-22' AND [EndDate] = '2023-03-22' AND ([Country] LIKE 'US' OR [Country] LIKE '%In') 

 SELECT * FROM [Acquisitions] WHERE [StartDate] = '2023-03-22' AND [EndDate] = '2023-03-22' OR [PagePath] LIKE '%as' 

 SELECT * FROM [Acquisitions] WHERE [PagePath] LIKE '%as' OR  [PagePath] LIKE 'A' OR [Country] LIKE '%In' 

 SELECT * FROM [Acquisitions] WHERE [PagePath] LIKE '%as' AND [Country] LIKE '%In' 

 SELECT * FROM [Acquisitions] WHERE [PagePath] LIKE '%as' AND ([Country] LIKE 'India' OR [Country] LIKE '%US') 

 SELECT * FROM [Tech] WHERE [StartDate] = '2021-01-01' AND [EndDate] = '2021-05-18' AND [NewUsers] >= 26 AND [NewUsers] < 35 AND ([Browser] IN ('Chrome', 'Edge') OR [Browser] = 'Edge') 

 SELECT * FROM [TechDeviceModelReport] WHERE [Date] >= '2020-05-13' AND [Date] <= '2023-06-13' AND [DeviceModel] != '(not set)' AND [DeviceModel] != '(test)' AND ([NewUsers] = 15 OR [NewUsers] = 20) 

 SELECT * FROM [Tech] WHERE [StartDate] = '2017-01-01' AND [EndDate] = '2023-05-02' AND CONTAINS ([Browser], 'ed') OR CONTAINS ([Browser], 'ch') 

CData Cloud

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

CData Cloud - Google Analytics Views

Name Description
Accounts Lists all Accounts to which the user has access.
AccountSummaries Lists summaries of all Accounts to which the user has access.
Acquisitions A base view that retrieves Acquisitions data.
AcquisitionsFirstUserCampaignReport A predefined view that retrieves Acquisitions first user Campaign data.
AcquisitionsFirstUserGoogleAdsAdGroupNameReport A predefined view that retrieves user Acquisitions first user google ads ad group name data.
AcquisitionsFirstUserGoogleAdsNetworkTypeReport A predefined view that retrieves Acquisitions first user google ads ad network type platform data.
AcquisitionsFirstUserMediumReport A predefined view that retrieves Acquisitions first user medium data.
AcquisitionsFirstUserSourceMediumReport A predefined view that retrieves Acquisitions first user source medium data.
AcquisitionsFirstUserSourcePlatformReport A predefined view that retrieves Acquisitions first user source platform data.
AcquisitionsFirstUserSourceReport A predefined view that retrieves Acquisitions first user source data.
AcquisitionsSessionCampaignReport A predefined view that retrieves Acquisitions session campaign report data.
AcquisitionsSessionDefaultChannelGroupingReport A predefined view that retrieves Acquisitions session default channel grouping report data.
AcquisitionsSessionMediumReport A predefined view that retrieves Acquisitions session medium report data.
AcquisitionsSessionSourceMediumReport A predefined view that retrieves Acquisitions session source medium report data.
AcquisitionsSessionSourcePlatformReport A predefined view that retrieves Acquisitions session source platform report data.
AcquisitionsSessionSourceReport A predefined view that retrieves Acquisitions session source report data.
ActiveUsers A base view that retrieves Active Users data.
DemographicAgeReport A predefined view that retrieves Demographics UserAgeBracket data.
DemographicCityReport A predefined view that retrieves Demographics City data.
DemographicCountryReport A predefined view that retrieves Demographics Country data.
DemographicGenderReport A predefined view that retrieves Demographics UserGender data.
DemographicInterestsReport A predefined view that retrieves Demographics BrandingInterest data.
DemographicLanguageReport A predefined view that retrieves Demographics Language data.
DemographicRegionReport A predefined view that retrieves Demographics Region data.
Demographics A base view that retrieves Demographics data.
EcommPurchasesItemBrandReport A predefined view that retrieves Ecommerce purchase item brand data.
EcommPurchasesItemCategory2Report A predefined view that retrieves Ecommerce purchase item category data.
EcommPurchasesItemCategory3Report A predefined view that retrieves Ecommerce purchase item category data.
EcommPurchasesItemCategory4Report A predefined view that retrieves Ecommerce purchase item category data.
EcommPurchasesItemCategory5Report A predefined view that retrieves Ecommerce purchase item category data.
EcommPurchasesItemCategoryReport A predefined view that retrieves Ecommerce purchase item category data.
EcommPurchasesItemCategoryReportCombined A predefined view that retrieves Ecommerce purchase item category data.
EcommPurchasesItemIdReport A predefined view that retrieves Ecommerce purchase item data.
EcommPurchasesItemNameReport A predefined view that retrieves Ecommerce purchase item data.
Engagement A base view that retrieves Engagement data
EngagementContentGroupReport A predefined view that retrieves Engagement Content Group Report data.
EngagementConversionsReport A predefined view that retrieves Engagement conversions data.
EngagementEventsReport A predefined view that retrieves Engagement events data.
EngagementPagesPathReport A predefined view that retrieves Engagement Pages path report data.
EngagementPagesTitleAndScreenClassReport A predefined view that retrieves Engagement Pages title and screen class data.
EngagementPagesTitleAndScreenNameReport A predefined view that retrieves Engagement Pages Title And ScreenName data.
Events A base view that retrieves Event data
GamesReporting A base view that retrieves Games Reporting data.
GlobalAccessObject Retrieves data for all the available dimensions and metrics.
KeyEvents A base view that retrieves KeyEvents data
MetaData Retrieves metadata information for standard and custom dimensions / metrics.
Monetization A base view that retrieves Monetization data.
MonetizationPublisherAdsAdFormatReport A predefined view that retrieves publisher ads page ad format data.
MonetizationPublisherAdsAdSourceReport A predefined view that retrieves publisher ads ad source data.
MonetizationPublisherAdsAdUnitReport A predefined view that retrieves publisher ads ad unit data.
MonetizationPublisherAdsPagePathReport A predefined view that retrieves publisher ads page path data.
Properties Lists all Properties to which the user has access.
PropertiesAccessBindings Lists all access bindings on an account or property. Requires one of the following OAuth scopes: https://www.googleapis.com/auth/analytics.manage.users.readonly https://www.googleapis.com/auth/analytics.manage.users
PropertiesAudiences Lists Audiences on a property.
PropertiesDataStreams Lists all data streams under a property to which the user has access. Attribute Parent (e.g: 'properties/123') or Name (e.g: 'properties/123/webDataStreams/456') is required to query the table.
PropertiesFireBaseLinks Lists all FirebaseLinks on a property to which the user has access.
PropertiesGoogleAdsLinks Lists all GoogleAdsLinks on a property to which the user has access.
PropertiesKeyEvents Returns a list of Key Events in the specified parent property.
ScreenPageViews A base view that retrieves ScreenPage data
Tech A base view that retrieves Tech data.
TechAppVersionReport A predefined view that retrieves Tech App Version data.
TechBrowserReport A predefined view that retrieves Tech Browser data.
TechDeviceCategoryReport A predefined view that retrieves Tech Device Category data.
TechDeviceModelReport A predefined view that retrieves Tech Device Model data.
TechOSSystemReport A predefined view that retrieves Tech os system data.
TechOSVersionReport A predefined view that retrieves Tech Os version data.
TechPlatformDeviceCategoryReport A predefined view that retrieves Tech platform device category data.
TechPlatformReport A predefined view that retrieves Tech platform data.
TechScreenResolutionReport A predefined view that retrieves Tech Screen Resolution data.

CData Cloud

Accounts

Lists all Accounts to which the user has access.

Table Specific Information

Select

The Accounts table exposes every account the user has access to. The provider uses the GoogleAnalytics4 API to process WHERE clause conditions built with the Name column, which supports the = operator.

The following query is processed server-side:

	SELECT * FROM Accounts WHERE Name = 'accounts/54516992'
The rest of the filter is executed client-side within the provider.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
CreateTime Datetime Time the account was created.
DisplayName String display name for the account.
Name String Account name.
RegionCode String Country for the account.
UpdateTime Datetime Time the account was last modified.
Deleted Boolean Indicates whether this Account is soft-deleted or not.

CData Cloud

AccountSummaries

Lists summaries of all Accounts to which the user has access.

Table Specific Information

Select

The AccountSummaries table exposes summaries of all accounts accessible by the caller. The following query is processed server-side:

    SELECT * FROM AccountSummaries

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Account String Account name referred to by this account summary.
DisplayName String display name for the account referred to by this account summary.
Name String Account summary name.
Propertysummaries String Summaries for child accounts of the specific account.

CData Cloud

Acquisitions

A base view that retrieves Acquisitions data.

Table Specific Information

Select

Retrieves data for Acquisitions report. At least one metric must be specified in the query. In the query you can also specify up to 9 dimensions.

The following is an example query:

	SELECT KeyEvents, NewUsers FROM Acquisitions

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT SessionCustomChannelGroupName, FirstGroupCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM Acquisitions 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Date Date True The date of the session formatted as YYYYMMDD.
Year Integer True The year of the session. A four-digit year from 2005 to the current year.
Month Integer True The month of the session. An integer from 01 to 12.
Week Integer True The week of the session. A number from 01 to 53. Each week starts on Sunday.
Day Integer True The day of the month. A number from 01 to 31.
DayOfWeekName String True The day of the week in English. This dimension has values of Sunday, Monday, etc.
IsoWeek Integer True ISO week number, where each week starts on Monday Example values include 01, 02, 53.
IsoYear Integer True The ISO year of the event. For details, see Example values include 2022 2023.
IsoYearIsoWeek Integer True The combined values of isoWeek and isoYear. Example values include 201652 and 201701.
YearMonth Integer True The combined values of year and month. Example values include 202212 or 202301.
YearWeek Integer True The combined values of year and week. Example values include 202253 or 202301.
Hour Integer True An hour of the day ranging from 00-23 in the timezone configured for the account. This value is also corrected for daylight savings time.
FirstUserGoogleAdsAdGroupName String True The Ad Group Name in Google Ads that first acquired the user.
FirstUserGoogleAdsAdNetworkType String True The advertising network that first acquired the user.
FirstUserCampaignName String True Name of the marketing campaign that first acquired the user.
FirstUserGoogleAdsCreativeId String True The campaign creative ID that first acquired the users.
FirstUserMedium String True True The medium that first acquired the user to the website or app.
FirstUserSource String True The source that first acquired the user to the website or app.
SessionCampaignName String True Campaign that referred the user's session.
SessionDefaultChannelGroup String True Channel groupings are rule-based definitions of your traffic sources. These default system definitions reflect Analytics' current view of what constitutes each channel.
SessionMedium String True Channel that referred the user's session.
SessionSource String True The source that initiated a session on your website or app.
EventName String True The name of the event.
BrandingInterest String True Interests demonstrated by users who are higher in the shopping funnel. Users can be counted in multiple interest categories.
Country String True Country from which user activity originated.
City String True City from which user activity originated.
Language String True Language setting for the device from which activity originated.
UserAgeBracket String True User age brackets.
UserGender String True User gender.
Region String True Geographic region from which activity originated.
UnifiedScreenClass String True The page title (web) or screen class (app) on which the event was logged.
PagePath String True The portion of the URL between the hostname and query string for web.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EngagedSessionsPerUser Decimal False True Average number of engaged sessions per user.
EventCount Integer False True The count of events.
EventsPerSession Decimal False True The average number of events per session.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
Sessions Integer False True The number of sessions that began on the site or app.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False False The total amount of time (in seconds) the website or app was in the foreground of users device.
ScreenPageViews Integer False False The number of app screens or web pages the users viewed. Repeated views of a single page or screen are counted.
EventCountPerUser Decimal False False Average number of events triggered by each user.
SessionsPerUser Decimal False False The average number of sessions per user (Sessions divided by Active Users).
StartDate String Start date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
EndDate String End date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsFirstUserCampaignReport

A predefined view that retrieves Acquisitions first user Campaign data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserGoogleAdsAdGroupName supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE FirstUserGoogleAdsAdGroupName = 'Test' 
SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE PropertyId = 342020667  AND FirstUserGoogleAdsAdGroupName = 'Test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsFirstUserCampaignReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT FirstUserCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsFirstUserCampaignReport 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
FirstUserCampaignName String True True Name of the marketing campaign that first acquired the user.
Date Date True True The date of the session formatted as YYYYMMDD.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False False The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsFirstUserGoogleAdsAdGroupNameReport

A predefined view that retrieves user Acquisitions first user google ads ad group name data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserGoogleAdsAdGroupName supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE FirstUserGoogleAdsAdGroupName = 'Test' 
SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE PropertyId = 342020667  AND FirstUserGoogleAdsAdGroupName = 'Test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsFirstUserGoogleAdsAdGroupNameReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
FirstUserGoogleAdsAdGroupName String True True The Ad Group Name in Google Ads that first acquired the user.
Date Date True True The date of the session formatted as YYYYMMDD.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsFirstUserGoogleAdsNetworkTypeReport

A predefined view that retrieves Acquisitions first user google ads ad network type platform data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserGoogleAdsNetworkType supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE FirstUserGoogleAdsNetworkType = 'test' 
SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE PropertyId = 342020667  AND FirstUserGoogleAdsNetworkType = 'test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsFirstUserGoogleAdsNetworkType WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
FirstUserGoogleAdsAdNetworkType String True True The source platform that first acquired the user.
Date Date True True The date of the session formatted as YYYYMMDD.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsFirstUserMediumReport

A predefined view that retrieves Acquisitions first user medium data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserMedium supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsFirstUserMediumReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsFirstUserMediumReport WHERE FirstUserMedium = 'test' 
SELECT * FROM AcquisitionsFirstUserMediumReport WHERE Date = '20221115' 
SELECT * FROM AcquisitionsFirstUserMediumReport WHERE PropertyId = 342020667  AND FirstUserMedium = 'test' AND Date = '01/05/2023''
SELECT * FROM AcquisitionsFirstUserMediumReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsFirstUserMediumReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserMediumReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserMediumReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsFirstUserMediumReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT FirstUserCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsFirstUserMediumReport WHERE FirstUserMedium = 'test' 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
FirstUserMedium String True True The medium that first acquired the user to the website or app.
Date Date True True The date of the session formatted as YYYYMMDD.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsFirstUserSourceMediumReport

A predefined view that retrieves Acquisitions first user source medium data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserGoogleAdsAdGroupName supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE FirstUserGoogleAdsAdGroupName = 'Test' 
SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE Date = '01/05/2023'' 
SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE PropertyId = 342020667  AND FirstUserGoogleAdsAdGroupName = 'Test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourceMediumReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT FirstUserCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsFirstUserSourceMediumReport 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
FirstUserSource String True True The source that first acquired the user to the website or app.
FirstUserMedium String True True The medium that first acquired the user to the website or app.
Date Date True True The date of the session formatted as YYYYMMDD.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsFirstUserSourcePlatformReport

A predefined view that retrieves Acquisitions first user source platform data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserSourcePlatform supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE FirstUserSourcePlatform = 'Test' 
SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE PropertyId = 342020667  AND FirstUserSourcePlatform = 'Test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourcePlatformReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT FirstUserCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsFirstUserSourcePlatformReport WHERE FirstUserSourcePlatform = 'Test'

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
FirstUserSourcePlatform String True True The source platform that first acquired the user.
Date Date True True The date of the session formatted as YYYYMMDD.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsFirstUserSourceReport

A predefined view that retrieves Acquisitions first user source data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserSource supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsFirstUserSourceReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsFirstUserSourceReport WHERE FirstUserSource = '(direct)' 
SELECT * FROM AcquisitionsFirstUserSourceReport WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsFirstUserSourceReport WHERE PropertyId = 342020667  AND FirstUserSource = '(direct)' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsFirstUserSourceReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsFirstUserSourceReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourceReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourceReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsFirstUserSourceReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT FirstUserCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsFirstUserSourceReport WHERE FirstUserSource = '(direct)' 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
FirstUserSource String True True The source that first acquired the user to the website or app.
Date Date True True The date of the session formatted as YYYYMMDD.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False False The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsSessionCampaignReport

A predefined view that retrieves Acquisitions session campaign report data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • SessionDefaultChannelGrouping supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE SessionDefaultChannelGrouping = 'Direct' 
SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE PropertyId = 342020667  AND SessionDefaultChannelGrouping = 'Direct' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT SessionCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsSessionDefaultChannelGroupingReport WHERE SessionDefaultChannelGrouping = 'Direct' 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
SessionCampaignName String True True Campaign that referred the user
Date Date True True The date of the session formatted as YYYYMMDD.
Sessions Integer False True The number of sessions that began on the site or app.
EventsPerSession Decimal False True The average number of events per session.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsSessionDefaultChannelGroupingReport

A predefined view that retrieves Acquisitions session default channel grouping report data.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
SessionDefaultChannelGroup String True True Channel groupings are rule-based definitions of your traffic sources. These default system definitions reflect Analytics current view of what constitutes each channel.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EventsPerSession Decimal False True The average number of events per session.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsSessionMediumReport

A predefined view that retrieves Acquisitions session medium report data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • SessionMedium supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsSessionMediumReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsSessionMediumReport WHERE SessionMedium = 'test' 
SELECT * FROM AcquisitionsSessionMediumReport WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsSessionMediumReport WHERE PropertyId = 342020667  AND SessionMedium = 'test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsSessionMediumReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsSessionMediumReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsSessionMediumReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsSessionMediumReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsSessionMediumReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT SessionCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsSessionMediumReport WHERE SessionMedium = 'test'

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
SessionMedium String True True Channel that referred the user
Date Date True True The date of the session formatted as YYYYMMDD.
Sessions Integer False True The number of sessions that began on the site or app.
EventsPerSession Decimal False True The average number of events per session.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsSessionSourceMediumReport

A predefined view that retrieves Acquisitions session source medium report data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserGoogleAdsAdGroupName supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE FirstUserGoogleAdsAdGroupName = 'Test' 
SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE PropertyId = 342020667  AND FirstUserGoogleAdsAdGroupName = 'Test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsSessionSourceMediumReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT SessionCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsSessionSourceMediumReport 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
SessionMedium String True True Channel that referred the user
SessionSource String True True The source that initiated a session on your website or app.
Date Date True True The date of the session formatted as YYYYMMDD.
Sessions Integer False True The number of sessions that began on the site or app.
EventsPerSession Decimal False True The average number of events per session.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False False The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsSessionSourcePlatformReport

A predefined view that retrieves Acquisitions session source platform report data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserGoogleAdsAdGroupName supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE FirstUserGoogleAdsAdGroupName = 'Test' 
SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE Date = '01/05/2023' 
SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE PropertyId = 342020667  AND FirstUserGoogleAdsAdGroupName = 'Test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsSessionSourcePlatformReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT SessionCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsSessionSourcePlatformReport 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
SessionSourcePlatform String True True The source platform of the session
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EventsPerSession Decimal False True The average number of events per session.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False False The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

AcquisitionsSessionSourceReport

A predefined view that retrieves Acquisitions session source report data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • FirstUserGoogleAdsAdGroupName supports the following operator: =
  • Date supports the following operators: =, >=, <=, <, >

For example, the following queries are processed server-side:

SELECT * FROM AcquisitionsSessionSourceReport WHERE PropertyId = 342020667
SELECT * FROM AcquisitionsSessionSourceReport WHERE FirstUserGoogleAdsAdGroupName = 'Test' 
SELECT * FROM AcquisitionsSessionSourceReport WHERE Date = '01/01/2022' 
SELECT * FROM AcquisitionsSessionSourceReport WHERE PropertyId = 342020667  AND FirstUserGoogleAdsAdGroupName = 'Test' AND Date = '01/05/2023'
SELECT * FROM AcquisitionsSessionSourceReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM AcquisitionsSessionSourceReport WHERE Date >= '01/01/2022'
SELECT * FROM AcquisitionsSessionSourceReport WHERE Date <= '01/01/2022'
SELECT * FROM AcquisitionsSessionSourceReport WHERE Date >  '01/01/2022'
SELECT * FROM AcquisitionsSessionSourceReport WHERE Date < '01/01/2022'

CustomChannelGroups are added as dimension columns. You can query customChannelGroup in the following way:

 SELECT SessionCustomChannelGroupName, SessionDefaultChannelGrouping, KeyEvents FROM AcquisitionsSessionSourceReport 

NOTE: CustomChannelGroupName is for reference purposes only. The exact value depends on the channelGroupName added. The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
SessionSource String True True The source that initiated a session on your website or app.
Date Date True True The date of the session formatted as YYYYMMDD.
Sessions Integer False True The number of sessions that began on the site or app.
EventsPerSession Decimal False True The average number of events per session.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
UserEngagementDuration Bigint False False The total amount of time (in seconds) the website or app was in the foreground of users

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

ActiveUsers

A base view that retrieves Active Users data.

Table Specific Information

Select

Retrieves data for ActiveUsers report. At least one metric must be specified in the query. This endpoint uses the realtime report API endpoint to get more up to date data than the standard reporting endpoint. The realtime reporting API supports a maximum of four dimensions compared to the standard nine for the standard report API.

The following is an example query:

	SELECT ActiveUsers, Platform FROM ActiveUsers

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AppVersion String True The app's versionName (Android) or short bundle version (iOS).
City String True The city from which the user activity originated.
Country String True The country from which the user activity originated.
DeviceCategory String True The type of device: Desktop, Tablet, or Mobile.
Platform String True True The platform on which your app or website ran.
AudienceName String True The given name of an Audience.
UnifiedScreenName String True The page title (web) or screen name (app) on which the event was logged.
ActiveUsers Integer False True The total number of active users.
AudienceId Long True The numeric identifier of an Audience.
AudienceResourceName String True The resource name of this audience.
CityId Integer True The geographic ID of the city from which the user activity originated, derived from their IP address.
CountryId String True The geographic ID of the country from which the user activity originated, derived from their IP address.
MinutesAgo Integer True The number of minutes ago that an event was collected. 00 is the current minute, and 01 means the previous minute.
StreamId Long True The numeric data stream identifier for your app or website.
StreamName String True The data stream name for your app or website.
EventName String True The name of the event

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

DemographicAgeReport

A predefined view that retrieves Demographics UserAgeBracket data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the '=' operator.
  • UserAgeBracket supports the '=' operator.
  • Date supports the '=,>=,<=,<,>' operators.

For example, the following queries are processed server-side:

SELECT * FROM DemographicAgeReport WHERE PropertyId = 342020667
SELECT * FROM DemographicAgeReport WHERE UserAgeBracket = '18-24' 
SELECT * FROM DemographicAgeReport WHERE Date = '01/05/2023' 
SELECT * FROM DemographicAgeReport WHERE PropertyId = 342020667 AND Date = '01/05/2023' AND UserAgeBracket = '18-24'
SELECT * FROM DemographicAgeReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM DemographicAgeReport WHERE Date >= '01/01/2022'
SELECT * FROM DemographicAgeReport WHERE Date <= '01/01/2022'
SELECT * FROM DemographicAgeReport WHERE Date >  '01/01/2022'
SELECT * FROM DemographicAgeReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
UserAgeBracket String True True User age brackets.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

DemographicCityReport

A predefined view that retrieves Demographics City data.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
City String True True City from which user activity originated.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

DemographicCountryReport

A predefined view that retrieves Demographics Country data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the '=' operator.
  • Country supports the '=' operator.
  • Date supports the '=,>=,<=,<,>' operators.

For example, the following queries are processed server-side:

SELECT * FROM DemographicCountryReport WHERE PropertyId = 342020667
SELECT * FROM DemographicCountryReport WHERE Country = 'America' 
SELECT * FROM DemographicCountryReport WHERE Date = '01/05/2023' 
SELECT * FROM DemographicCountryReport WHERE PropertyId = 342020667 AND Date = '01/05/2023' AND Country = 'America'
SELECT * FROM DemographicCountryReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM DemographicCountryReport WHERE Date >= '01/01/2022'
SELECT * FROM DemographicCountryReport WHERE Date <= '01/01/2022'
SELECT * FROM DemographicCountryReport WHERE Date >  '01/01/2022'
SELECT * FROM DemographicCountryReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Country String True True Country from which user activity originated.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

DemographicGenderReport

A predefined view that retrieves Demographics UserGender data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the '=' operator.
  • UserGender supports the '=' operator.
  • Date supports the '=,>=,<=,<,>' operators.

For example, the following queries are processed server-side:

SELECT * FROM DemographicGenderReport WHERE PropertyId = 342020667
SELECT * FROM DemographicGenderReport WHERE UserGender = 'Female' 
SELECT * FROM DemographicGenderReport WHERE Date = '01/01/2022' 
SELECT * FROM DemographicGenderReport WHERE PropertyId = 342020667 AND Date = '01/01/2022' AND UserGender = 'Female'
SELECT * FROM DemographicGenderReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM DemographicGenderReport WHERE Date >= '01/01/2022'
SELECT * FROM DemographicGenderReport WHERE Date <= '01/01/2022'
SELECT * FROM DemographicGenderReport WHERE Date >  '01/01/2022'
SELECT * FROM DemographicGenderReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
UserGender String True True User gender.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

DemographicInterestsReport

A predefined view that retrieves Demographics BrandingInterest data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the '=' operator.
  • BrandingInterest supports the '=' operator.
  • Date supports the '=,>=,<=,<,>' operators.

For example, the following queries are processed server-side:

SELECT * FROM DemographicInterestsReport WHERE PropertyId = 342020667
SELECT * FROM DemographicInterestsReport WHERE BrandingInterest = 'Marketing' 
SELECT * FROM DemographicInterestsReport WHERE Date = '01/05/2023' 
SELECT * FROM DemographicInterestsReport WHERE PropertyId = 342020667 AND Date = '01/05/2023' AND BrandingInterest = 'Marketing'
SELECT * FROM DemographicInterestsReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM DemographicInterestsReport WHERE Date >= '01/01/2022'
SELECT * FROM DemographicInterestsReport WHERE Date <= '01/01/2022'
SELECT * FROM DemographicInterestsReport WHERE Date >  '01/01/2022'
SELECT * FROM DemographicInterestsReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
BrandingInterest String True True Interests demonstrated by users who are higher in the shopping funnel. Users can be counted in multiple interest categories.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

DemographicLanguageReport

A predefined view that retrieves Demographics Language data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the '=' operator.
  • Language supports the '=' operator.
  • Date supports the '=,>=,<=,<,>' operators.

For example, the following queries are processed server-side:

SELECT * FROM DemographicLanguageReport WHERE PropertyId = 342020667
SELECT * FROM DemographicLanguageReport WHERE Language = 'English' 
SELECT * FROM DemographicLanguageReport WHERE Date = '01/05/2023' 
SELECT * FROM DemographicLanguageReport WHERE PropertyId = 342020667 AND Date = '01/05/2023' AND Language = 'English'
SELECT * FROM DemographicLanguageReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM DemographicLanguageReport WHERE Date >= '01/01/2022'
SELECT * FROM DemographicLanguageReport WHERE Date <= '01/01/2022'
SELECT * FROM DemographicLanguageReport WHERE Date >  '01/01/2022'
SELECT * FROM DemographicLanguageReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Language String True True Language setting for the device from which activity originated.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

DemographicRegionReport

A predefined view that retrieves Demographics Region data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the '=' operator.
  • Region supports the '=' operator.
  • Date supports the '=,>=,<=,<,>' operators.

For example, the following queries are processed server-side:

SELECT * FROM DemographicRegionReport WHERE PropertyId = 342020667
SELECT * FROM DemographicRegionReport WHERE Region = 'California' 
SELECT * FROM DemographicRegionReport WHERE Date = '01/05/2023' 
SELECT * FROM DemographicRegionReport WHERE PropertyId = 342020667 AND Date = '01/05/2023' AND Region = 'California'
SELECT * FROM DemographicRegionReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM DemographicRegionReport WHERE Date >= '01/01/2022'
SELECT * FROM DemographicRegionReport WHERE Date <= '01/01/2022'
SELECT * FROM DemographicRegionReport WHERE Date >  '01/01/2022'
SELECT * FROM DemographicRegionReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Region String True True Geographic region from which activity originated.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

Demographics

A base view that retrieves Demographics data.

Table Specific Information

Select

Retrieves data for Demographics report. At least one metric must be specified in the query. In the query you can also specify up to nine dimensions. The following is an example query:

	SELECT KeyEvents, TotalRevenue FROM Demographics

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Date Date True The date of the session formatted as YYYYMMDD.
Year Integer True The year of the session. A four-digit year from 2005 to the current year.
Month Integer True The month of the session. An integer from 01 to 12.
Week Integer True The week of the session. A number from 01 to 53. Each week starts on Sunday.
Day Integer True The day of the month. A number from 01 to 31.
DayOfWeekName String True The day of the week in English. This dimension has values of Sunday, Monday, etc.
IsoWeek Integer True ISO week number, where each week starts on Monday. Example values include 01, 02, 53.
IsoYear Integer True The ISO year of the event.Example values include 2022 2023.
IsoYearIsoWeek Integer True The combined values of isoWeek and isoYear. Example values include 201652 and 201701.
YearMonth Integer True The combined values of year and month. Example values include 202212 or 202301.
YearWeek Integer True The combined values of year and week. Example values include 202253 or 202301.
Hour Integer True An hour of the day ranging from 00-23 in the timezone configured for the account. This value is also corrected for daylight savings time.
BrandingInterest String True Interests demonstrated by users who are higher in the shopping funnel. Users can be counted in multiple interest categories.
Country String True True Country from which user activity originated.
City String True City from which user activity originated.
Language String True Language setting for the device from which activity originated.
UserAgeBracket String True User age brackets.
UserGender String True User gender.
Region String True Geographic region from which activity originated.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EngagedSessionsPerUser Decimal False True Average number of engaged sessions per user.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
StartDate String Start date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
EndDate String End date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EcommPurchasesItemBrandReport

A predefined view that retrieves Ecommerce purchase item brand data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemBrand supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemBrandReport WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemBrandReport WHERE ItemBrand = 'test' 
SELECT * FROM EcommPurchasesItemBrandReport WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemBrandReport WHERE PropertyId = 342020667  AND ItemBrand = 'test' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemBrandReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemBrandReport WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemBrandReport WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemBrandReport WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemBrandReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemBrand String True True Brand name of the item.
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.
ItemsViewed Integer False True The number of units viewed for a single item. This metric counts the quantity of items in 'view_item' events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EcommPurchasesItemCategory2Report

A predefined view that retrieves Ecommerce purchase item category data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemCategory2 supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemCategory2Report WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemCategory2Report WHERE ItemCategory2 = 'Apparel' 
SELECT * FROM EcommPurchasesItemCategory2Report WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemCategory2Report WHERE PropertyId = 342020667  AND ItemCategory2 = 'Apparel' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemCategory2Report WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemCategory2Report WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory2Report WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory2Report WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory2Report WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemCategory2 String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Mens is the item category2
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.
ItemsViewed Integer False True The number of units viewed for a single item. This metric counts the quantity of items in 'view_item' events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EcommPurchasesItemCategory3Report

A predefined view that retrieves Ecommerce purchase item category data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemCategory3 supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemCategory3Report WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemCategory3Report WHERE ItemCategory3 = 'Apparel' 
SELECT * FROM EcommPurchasesItemCategory3Report WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemCategory3Report WHERE PropertyId = 342020667  AND ItemCategory3 = 'Apparel' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemCategory3Report WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemCategory3Report WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory3Report WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory3Report WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory3Report WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemCategory3 String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Summer is the item category3.
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.
ItemsViewed Integer False True The number of units viewed for a single item. This metric counts the quantity of items in 'view_item' events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EcommPurchasesItemCategory4Report

A predefined view that retrieves Ecommerce purchase item category data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemCategory4 supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemCategory4Report WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemCategory4Report WHERE ItemCategory4 = 'Apparel' 
SELECT * FROM EcommPurchasesItemCategory4Report WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemCategory4Report WHERE PropertyId = 342020667  AND ItemCategory4 = 'Apparel' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemCategory4Report WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemCategory4Report WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory4Report WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory4Report WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory4Report WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemCategory4 String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Shirts is the item category4.
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.
ItemsViewed Integer False True The number of units viewed for a single item. This metric counts the quantity of items in 'view_item' events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EcommPurchasesItemCategory5Report

A predefined view that retrieves Ecommerce purchase item category data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemCategory5 supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemCategory5Report WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemCategory5Report WHERE ItemCategory4 = 'Apparel' 
SELECT * FROM EcommPurchasesItemCategory5Report WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemCategory5Report WHERE PropertyId = 342020667  AND ItemCategory5 = 'Apparel' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemCategory5Report WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemCategory5Report WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory5Report WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory5Report WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemCategory5Report WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemCategory5 String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, T-shirts is the item category5.
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.
ItemsViewed Integer False True The number of units viewed for a single item. This metric counts the quantity of items in 'view_item' events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EcommPurchasesItemCategoryReport

A predefined view that retrieves Ecommerce purchase item category data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemCategory supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemCategoryReport WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemCategoryReport WHERE ItemCategory = 'Apparel' 
SELECT * FROM EcommPurchasesItemCategoryReport WHERE PropertyId = 342020667  AND ItemCategory = 'Apparel' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemCategoryReport WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemCategoryReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemCategoryReport WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategoryReport WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategoryReport WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemCategoryReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemCategory String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Apparel is the item category.
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.
ItemsViewed Integer False True The number of units viewed for a single item. This metric counts the quantity of items in 'view_item' events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EcommPurchasesItemCategoryReportCombined

A predefined view that retrieves Ecommerce purchase item category data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemCategory supports the following operator: =
  • ItemCategory2 supports the following operator: =
  • ItemCategory3 supports the following operator: =
  • ItemCategory3 supports the following operator: =
  • ItemCategory5 supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE ItemCategory = 'Apparel' 
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE ItemCategory2 = 'Mens' 
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE ItemCategory3 = 'Summer' 
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE ItemCategory4 = 'Shirts' 
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE ItemCategory5 = 'T-shirts' 
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE PropertyId = 342020667  AND ItemCategory = 'Apparel' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemCategoryReportCombined WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemCategory String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Apparel is the item category.
ItemCategory2 String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Mens is the item category2
ItemCategory3 String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Summer is the item category3.
ItemCategory4 String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Shirts is the item category4.
ItemCategory5 String True True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, T-shirts is the item category5.
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.
ItemsViewed Integer False True The number of units viewed for a single item. This metric counts the quantity of items in 'view_item' events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EcommPurchasesItemIdReport

A predefined view that retrieves Ecommerce purchase item data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemId supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemIdReport WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemIdReport WHERE ItemId = '1234' 
SELECT * FROM EcommPurchasesItemIdReport WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemIdReport WHERE PropertyId = 342020667  AND ItemId = '1234' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemIdReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemIdReport WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemIdReport WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemIdReport WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemIdReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemId String True True Id of the item.
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property Id value to be used when querying this table.

CData Cloud

EcommPurchasesItemNameReport

A predefined view that retrieves Ecommerce purchase item data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ItemName supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EcommPurchasesItemNameReport WHERE PropertyId = 342020667
SELECT * FROM EcommPurchasesItemNameReport WHERE ItemName = 'test' 
SELECT * FROM EcommPurchasesItemNameReport WHERE Date = '01/05/2023' 
SELECT * FROM EcommPurchasesItemNameReport WHERE PropertyId = 342020667  AND ItemName = 'test' AND Date = '01/05/2023'
SELECT * FROM EcommPurchasesItemNameReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EcommPurchasesItemNameReport WHERE Date >= '01/01/2022'
SELECT * FROM EcommPurchasesItemNameReport WHERE Date <= '01/01/2022'
SELECT * FROM EcommPurchasesItemNameReport WHERE Date >  '01/01/2022'
SELECT * FROM EcommPurchasesItemNameReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ItemName String True True The name of the item.
Date Date True True The date of the session formatted as YYYYMMDD.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
PurchaseToViewRate Decimal False True The number of users who purchased a product(s) divided by the number of users who viewed the same product(s). This metric is returned as a fraction. For example, a value of 0.128 indicates that 12.8% of users who viewed a product(s) also purchased the product(s).
ItemsPurchased Integer False True The number of units for a single item included in purchase events. This metric counts the quantity of items in purchase events.
ItemRevenue Decimal False True The total revenue from items only. Item revenue is the product of its price and quantity.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

Engagement

A base view that retrieves Engagement data

Table Specific Information

Select

Retrieves data for Engagement report. At least one metric must be specified in the query. In the query you can also specify up to 9 dimensions. The following are example queries:

	SELECT NewUsers, TotalRevenue FROM Engagement

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Date Date True The date of the session formatted as YYYYMMDD
Year Integer True The year of the session. A four-digit year from 2005 to the current year.
Month Integer True The month of the session. A two digit integer from 01 to 12.
Week Integer True The week of the session. A two-digit number from 01 to 53. Each week starts on Sunday.
Day Integer True The day of the month. A two-digit number from 01 to 31.
DayOfWeekName String True The day of the week in English. This dimension has values of Sunday, Monday, etc.
IsoWeek Integer True ISO week number, where each week starts on Monday. For details, see http://en.wikipedia.org/wiki/ISO_week_date. Example values include 01, 02, 53.
IsoYear Integer True The ISO year of the event. For details, see http://en.wikipedia.org/wiki/ISO_week_date. Example values include 2022 2023.
IsoYearIsoWeek Integer True The combined values of isoWeek and isoYear. Example values include 201652 and 201701.
YearMonth Integer True The combined values of year and month. Example values include 202212 or 202301.
YearWeek Integer True The combined values of year and week. Example values include 202253 or 202301.
Hour Integer True A two-digit hour of the day ranging from 00-23 in the timezone configured for the account. This value is also corrected for daylight savings time.
ContentGroup String True A category that applies to items of published content
EventName String True The name of the event
UnifiedPageScreen String True The page path (web) or screen class (app) on which the event was logged
UnifiedScreenClass String True True The page title (web) or screen class (app) on which the event was logged
UnifiedScreenName String True The page title (web) or screen name (app) on which the event was logged
PagePath String True The portion of the URL between the hostname and query string for web
PageTitle String True The web page titles used on your site
KeyEvents Decimal False True The count of key events.
EngagedSessionsPerUser Decimal False True Average number of engaged sessions per user
EventCount Integer False True The count of events
EventCountPerUser Decimal False True Average number of events triggered by each user
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time
ScreenPageViews Integer False True The number of app screens or web pages the users viewed. Repeated views of a single page or screen are counted.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising
TotalUsers Integer False True The number of distinct users who visited the site or app
userEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users' device
ViewsPerUser Decimal False True Average number of screens viewed by each user
SessionsPerUser Decimal False False The average number of sessions per user (Sessions divided by Active Users).
StartDate String Start date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
EndDate String End date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table

CData Cloud

EngagementContentGroupReport

A predefined view that retrieves Engagement Content Group Report data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ContentGroup supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EngagementContentGroupReport WHERE PropertyId = 342020667
SELECT * FROM EngagementContentGroupReport WHERE ContentGroup = 'CData Test' 
SELECT * FROM EngagementContentGroupReport WHERE Date = '01/05/2023' 
SELECT * FROM EngagementContentGroupReport WHERE PropertyId = 342020667  AND ContentGroup = 'CData Test' AND Date = '01/05/2023'
SELECT * FROM EngagementContentGroupReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EngagementContentGroupReport WHERE Date >= '01/01/2022'
SELECT * FROM EngagementContentGroupReport WHERE Date <= '01/01/2022'
SELECT * FROM EngagementContentGroupReport WHERE Date >  '01/01/2022'
SELECT * FROM EngagementContentGroupReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ContentGroup String True True A category that applies to items of published content.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
ScreenPageViews Integer False True The number of app screens or web pages the users viewed. Repeated views of a single page or screen are counted.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The number of distinct users who visited the site or app.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users device.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EngagementConversionsReport

A predefined view that retrieves Engagement conversions data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • EventName supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EngagementConversionsReport WHERE PropertyId = 342020667
SELECT * FROM EngagementConversionsReport WHERE EventName = 'page_view' 
SELECT * FROM EngagementConversionsReport WHERE Date = '01/05/2023' 
SELECT * FROM EngagementConversionsReport WHERE PropertyId = 342020667  AND EventName = 'page_view' AND Date = '01/05/2023'
SELECT * FROM EngagementConversionsReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EngagementConversionsReport WHERE Date >= '01/01/2022'
SELECT * FROM EngagementConversionsReport WHERE Date <= '01/01/2022'
SELECT * FROM EngagementConversionsReport WHERE Date >  '01/01/2022'
SELECT * FROM EngagementConversionsReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
EventName String True True The name of the event.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EventCountPerUser Decimal False True Average number of events triggered by each user.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The number of distinct users who visited the site or app.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EngagementEventsReport

A predefined view that retrieves Engagement events data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • EventName supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EngagementEventsReport WHERE PropertyId = 342020667
SELECT * FROM EngagementEventsReport WHERE EventName = 'page_view' 
SELECT * FROM EngagementEventsReport WHERE Date = '01/05/2023' 
SELECT * FROM EngagementEventsReport WHERE PropertyId = 342020667  AND EventName = 'page_view' AND Date = '01/05/2023'
SELECT * FROM EngagementEventsReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EngagementEventsReport WHERE Date >= '01/01/2022'
SELECT * FROM EngagementEventsReport WHERE Date <= '01/01/2022'
SELECT * FROM EngagementEventsReport WHERE Date >  '01/01/2022'
SELECT * FROM EngagementEventsReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
EventName String True True The name of the event.
Date Date True True The date of the session formatted as YYYYMMDD.
EventCountPerUser Decimal False True Average number of events triggered by each user.
EventCount Integer False True The count of events.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The number of distinct users who visited the site or app.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String The Property Id value to be used when querying this table.

CData Cloud

EngagementPagesPathReport

A predefined view that retrieves Engagement Pages path report data.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
PagePath String True True The portion of the URL between the hostname and query string for web.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
ScreenPageViews Integer False True The number of app screens or web pages the users viewed. Repeated views of a single page or screen are counted.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The number of distinct users who visited the site or app.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users device.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EngagementPagesTitleAndScreenClassReport

A predefined view that retrieves Engagement Pages title and screen class data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • UnifiedScreenClass supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE PropertyId = 342020667
SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE UnifiedScreenClass = 'CData Test' 
SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE Date = '01/05/2023' 
SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE PropertyId = 342020667  AND UnifiedScreenClass = 'CData Test' AND Date = '01/05/2023'
SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE Date >= '01/01/2022'
SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE Date <= '01/01/2022'
SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE Date >  '01/01/2022'
SELECT * FROM EngagementPagesTitleAndScreenClassReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
UnifiedScreenClass String True True The page title (web) or screen class (app) on which the event was logged.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
ScreenPageViews Integer False True The number of app screens or web pages the users viewed. Repeated views of a single page or screen are counted.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The number of distinct users who visited the site or app.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users device.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

EngagementPagesTitleAndScreenNameReport

A predefined view that retrieves Engagement Pages Title And ScreenName data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • UnifiedScreenName supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE PropertyId = 342020667
SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE UnifiedScreenName = 'CData Test' 
SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE Date = '01/05/2023' 
SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE PropertyId = 342020667  AND UnifiedScreenName = 'CData Test' AND Date = '01/05/2023'
SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE Date >= '01/01/2022'
SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE Date <= '01/01/2022'
SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE Date >  '01/01/2022'
SELECT * FROM EngagementPagesTitleAndScreenNameReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
UnifiedScreenName String True True The page title (web) or screen name (app) on which the event was logged.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
ScreenPageViews Integer False True The number of app screens or web pages the users viewed. Repeated views of a single page or screen are counted.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The number of distinct users who visited the site or app.
UserEngagementDuration Bigint False True The total amount of time (in seconds) the website or app was in the foreground of users device.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

Events

A base view that retrieves Event data

Table Specific Information

Select

Retrieves data for Events reports. At least one metric must be specified in the query. This endpoint uses the real-time report API endpoint to get more up-to-date data than the standard reporting endpoint. The real-time reporting API supports a maximum of four dimensions compared to nine for the standard report API.

The following is an example query:

	SELECT EventCount, Platform FROM Events

Since PagePath and PlatTitle dimensions are not available in the runRealReport endpoint, use the connection property ReportType = reports to leverage the result with these dimensions.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AppVersion String True The application's versionName (Android) or short bundle version (iOS)
City String True The city from which the user activity originated
Country String True The country from which the user activity originated
DeviceCategory String True The type of device: Desktop, Tablet, or Mobile
Platform String True The platform on which your app or website ran
AudienceName String True The given name of an Audience
UnifiedScreenName String True The page title (web) or screen name (app) on which the event was logged
EventName String True True The name of the event
PagePath String True The portion of the URL between the hostname and query string for web. This works when connection property ReportType=reports;.
PageTitle String True The web page titles used on your site. This works when connection property ReportType=reports;
EventCount Integer False True Number of times an individual event was triggered
KeyEvents Decimal False True The count of key events.
AudienceId Long True The numeric identifier of an Audience.
AudienceResourceName String True The resource name of this audience.
CityId Integer True The geographic ID of the city from which the user activity originated, derived from their IP address.
CountryId String True The geographic ID of the country from which the user activity originated, derived from their IP address.
MinutesAgo Integer True The number of minutes ago that an event was collected. 00 is the current minute, and 01 means the previous minute.
StreamId Long True The numeric data stream identifier for your app or website.
StreamName String True The data stream name for your app or website.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table

CData Cloud

GamesReporting

A base view that retrieves Games Reporting data.

Table Specific Information

Select

Retrieves data for GamesReporting report. At least one metric must be specified in the query. In the query you can also specify up to 9 dimensions.

The following is an example query:

	SELECT AveragePurchaseRevenue, AverageRevenuePerUser FROM GamesReporting

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Date Date True The date of the session formatted as YYYYMMDD.
Year Integer True The year of the session. A four-digit year from 2005 to the current year.
Month Integer True The month of the session. A two digit integer from 01 to 12.
Week Integer True The week of the session. A two-digit number from 01 to 53. Each week starts on Sunday.
Day Integer True The day of the month. A two-digit number from 01 to 31.
DayOfWeekName String True The day of the week in English. This dimension has values of Sunday, Monday, etc.
IsoWeek Integer True ISO week number, where each week starts on Monday. Example values include 01, 02, 53.
IsoYear Integer True The ISO year of the event. Example values include 2022 2023.
IsoYearIsoWeek Integer True The combined values of isoWeek and isoYear. Example values include 201652 and 201701.
YearMonth Integer True The combined values of year and month. Example values include 202212 or 202301.
YearWeek Integer True The combined values of year and week. Example values include 202253 or 202301.
Hour Integer True A two-digit hour of the day ranging from 00-23 in the timezone configured for the account. This value is also corrected for daylight savings time.
AudienceName String True The given name of an Audience.
FirstUserCampaignName String True Name of the marketing campaign that first acquired the user.
FirstUserGoogleAdsCreativeId String True The campaign creative ID that first acquired the user.
FirstUserGoogleAdsAdGroupId String True The Ad Group Id in Google Ads that first acquired the user.
FirstUserGoogleAdsAdGroupName String True The Ad Group Name in Google Ads that first acquired the user.
FirstUserGoogleAdsAdNetworkType String True The advertising network that first acquired the user.
FirstUserMedium String True True The medium that first acquired the user to the website or app.
FirstUserSource String True The source that first acquired the user to the website or app.
AveragePurchaseRevenue Decimal False True The average purchase revenue in the transaction group of events.
AveragePurchaseRevenuePerPayingUser Decimal False True Average revenue per paying user (ARPPU) is the total purchase revenue per active user that logged a purchase event. The summary metric is for the time period selected.
AverageRevenuePerUser Decimal False True Average revenue per active user (ARPU). The summary metric is for the time period selected.
EngagedSessionsPerUser Decimal False True Average number of engaged sessions per user.
FirstTimeBuyersPerNewUsers Decimal False True Percentage of unique new users to the game who made their first in-app purchase.
FirstTimePurchasers Integer False True The number of users that completed their first purchase event.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
StartDate String Start date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
EndDate String End date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

GlobalAccessObject

Retrieves data for all the available dimensions and metrics.

Table Specific Information

Select

Retrieves data for the GlobalAccessObject. You must specify at least one metric in the query, and can include up to 9 dimensions. Example query:
	SELECT ActiveUsers, city FROM GlobalAccessObject;

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
achievementId String True The achievement Id in a game for an event. Populated by the event parameter achievementid.
adFormat String True Describes the way ads looked and where they were located. Typical formats include Interstitial, Banner, Rewarded, and Native advanced.
adSourceName String True The source network that served the ad. Typical sources include AdMob Network, Liftoff, Facebook Audience Network, and Mediated house ads.
adUnitName String True The name you chose to describe this Ad unit. Ad units are containers you place in your apps to show ads to users.
appVersion String True The apps versionName (Android) or short bundle version (iOS).
audienceId String True The numeric identifier of an Audience. Users are reported in the audiences to which they belonged during the reports date range. Current user behavior does not affect historical audience membership in reports.
audienceName String True The given name of an Audience. Users are reported in the audiences to which they belonged during the report's date range. Current user behavior does not affect historical audience membership in reports.
brandingInterest String True Interests demonstrated by users who are higher in the shopping funnel. Users can be counted in multiple interest categories.
browser String True The browsers used to view your website.
campaignId String True The identifier of the marketing campaign. Present only for conversion events. Includes Google Ads Campaigns, Manual Campaigns, and other Campaigns.
campaignName String True The name of the marketing campaign. Present only for conversion events. Includes Google Ads Campaigns, Manual Campaigns, and other Campaigns.
character String True The player character in a game for an event. Populated by the event parameter character.
city String True The city from which the user activity originated.
cityId String True The geographic Id of the city from which the user activity originated, derived from their IP address.
cohort String True The cohorts name in the request. A cohort is a set of users who started using your website or app in any consecutive group of days. If a cohort name is not specified in the request, cohorts are named by their zero based index: cohort_0, cohort_1, etc.
cohortNthDay String True Day offset relative to the firstSessionDate for the users in the cohort. For example, if a cohort is selected with the start and end date of 2020-03-01, then for the date 2020-03-02, cohortNthDay is 0001.
cohortNthMonth String True Month offset relative to the firstSessionDate for the users in the cohort. Month boundaries align with calendar month boundaries. For example, if a cohort is selected with the start and end date in March 2020, then for any date in April 2020, cohortNthMonth is 0001.
cohortNthWeek String True Week offset relative to the firstSessionDate for the users in the cohort. Weeks start on Sunday and end on Saturday. For example, if a cohort is selected with the start and end date in the range 2020-11-08 to 2020-11-14, then for the dates in the range 2020-11-15 to 2020-11-21, cohortNthWeek is 0001.
contentGroup String True A category that applies to items of published content. Populated by the event parameter content_group.
contentId String True The identifier of the selected content. Populated by the event parameter content_id.
contentType String True The category of the selected content. Populated by the event parameter content_type.
continent String True The continent from which the user activity originated. For example, Americas or Asia.
continentId String True The geographic Id of the continent from which the user activity originated, derived from their IP address.
country String True The country from which the user activity originated.
countryId String True The geographic Id of the country from which the user activity originated, derived from their IP address. Formatted according to ISO 3166-1 alpha-2 standard.
date String True The date of the event, formatted as YYYYMMDD.
dateHour String True The combined values of date and hour formatted as YYYYMMDDHH.
dateHourMinute String True The combined values of date, hour, and minute formatted as YYYYMMDDHHMM.
day String True The day of the month, a two-digit number from 01 to 31.
dayOfWeek String True The integer day of the week. It returns values in the range [0,6] with Sunday as the first day of the week.
dayOfWeekName String True The day of the week in English. This dimension has values of Sunday, Monday, etc.
defaultChannelGroup String True The conversion's default channel group is based primarily on source and medium.
deviceCategory String True The type of device: Desktop, Tablet, or Mobile.
deviceModel String True The mobile device model (example: iPhone 10,6).
eventName String True The name of the event.
fileExtension String True The extension of the downloaded file (for example, pdf or txt). Automatically populated if Enhanced Measurement is enabled .
fileName String True The page path of the downloaded file . Automatically populated if Enhanced Measurement is enabled.
firstSessionDate String True The date the user's first session occurred, formatted as YYYYMMDD.
firstUserCampaignId String True Identifier of the marketing campaign that first acquired the user. Includes Google Ads Campaigns, Manual Campaigns, and other Campaigns.
firstUserCampaignName String True Name of the marketing campaign that first acquired the user. Includes Google Ads Campaigns, Manual Campaigns, and other Campaigns.
firstUserDefaultChannelGroup String True The default channel group that first acquired the user. Default channel group is based primarily on source and medium.
firstUserGoogleAdsAccountName String True The Account name from Google Ads that first acquired the user.
firstUserGoogleAdsAdGroupId String True The Ad Group Id in Google Ads that first acquired the user.
firstUserGoogleAdsAdGroupName String True The Ad Group Name in Google Ads that first acquired the user.
firstUserGoogleAdsAdNetworkType String True The advertising network that first acquired the user.
firstUserGoogleAdsCampaignId String True Identifier of the Google Ads marketing campaign that first acquired the user.
firstUserGoogleAdsCampaignName String True Name of the Google Ads marketing campaign that first acquired the user.
firstUserGoogleAdsCampaignType String True The campaign type of the Google Ads campaign that first acquired the user. Campaign types determine where customers see your ads and the settings and options available to you in Google Ads. Campaign type is an enumeration that includes: Search, Display, Shopping, Video, Discovery, App, Smart, Hotel, Local, and Performance Max.
firstUserGoogleAdsCreativeId String True The Id of the Google Ads creative that first acquired the user. Creative IDs identify individual ads.
firstUserGoogleAdsCustomerId String True The Customer Id from Google Ads that first acquired the user. Customer IDs in Google Ads uniquely identify Google Ads accounts.
firstUserGoogleAdsKeyword String True The matched keyword that first acquired the user. Keywords are words or phrases describing your product or service that you choose to get your ad in front of the right customers.
firstUserGoogleAdsQuery String True The search query that first acquired the user.
firstUserManualAdContent String True The ad content that first acquired the user. Populated by the utm_content parameter.
firstUserManualTerm String True The term that first acquired the user. Populated by the utm_term parameter.
firstUserMedium String True The medium that first acquired the user to your website or app.
firstUserSource String True The source that first acquired the user to your website or app.
firstUserSourceMedium String True The combined values of the dimensions firstUserSource and firstUserMedium.
firstUserSourcePlatform String True The source platform that first acquired the user. Please do not depend on this field returning Manual for traffic that uses UTMs; this field will update from returning Manual to returning (not set) for an upcoming feature launch.
fullPageUrl String True The hostname, page path, and query string for web pages visited
googleAdsAccountName String True The Account name from Google Ads for the campaign that led to the conversion event. Corresponds to customer.descriptive_name in the Google Ads API.
googleAdsAdGroupId String True The ad group id attributed to the conversion event.
googleAdsAdGroupName String True The ad group name attributed to the conversion event.
googleAdsAdNetworkType String True The advertising network type of the conversion.
googleAdsCampaignId String True The campaign Id for the Google Ads campaign attributed to the conversion event.
googleAdsCampaignName String True The campaign name for the Google Ads campaign attributed to the conversion event.
googleAdsCampaignType String True The campaign type for the Google Ads campaign attributed to the conversion event. Campaign types determine where customers see your ads and the settings and options available to you in Google Ads. Campaign type is an enumeration that includes: Search, Display, Shopping, Video, Discovery, App, Smart, Hotel, Local, and Performance Max.
googleAdsCreativeId String True The Id of the Google Ads creative attributed to the conversion event. Creative IDs identify individual ads.
googleAdsCustomerId String True The Customer Id from Google Ads for the campaign that led to conversion event. Customer IDs in Google Ads uniquely identify Google Ads accounts.
googleAdsKeyword String True The matched keyword that led to the conversion event. Keywords are words or phrases describing your product or service that you choose to get your ad in front of the right customers.
googleAdsQuery String True The search query that led to the conversion event.
groupId String True The player group Id in a game for an event. Populated by the event parameter group_id.
hostName String True Includes the subdomain and domain names of a URL; for example, the Host Name of www.example.com/contact.html is www.example.com.
hour String True The two-digit hour of the day that the event was logged. This dimension ranges from 0-23 and is reported in your property's timezone.
isConversionEvent String True The string 'true' if the event is a conversion. Events are marked as conversions at collection time; changes to an event's conversion marking apply going forward. You can mark any event as a conversion in Google Analytics, and some events (i.e. first_open, purchase) are marked as conversions by default.
isoWeek String True ISO week number, where each week starts on Monday. Example values include 01, 02, and 53.
isoYear String True The ISO year of the event. Example values include 2022 and 2023.
isoYearIsoWeek String True The combined values of isoWeek and isoYear. Example values include 201652 and 201701.
itemAffiliation String True The name or code of the affiliate (partner/vendor if any) associated with an individual item. Populated by the 'affiliation' item parameter.
itemBrand String True Brand name of the item.
itemCategory String True The hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Apparel is the item category.
itemCategory2 String True The hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Mens is the item category 2.
itemCategory3 String True The hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Summer is the item category 3.
itemCategory4 String True The hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Shirts is the item category 4.
itemCategory5 String True The hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, T-shirts is the item category 5.
itemId String True The Id of the item.
itemListId String True The Id of the item list.
itemListName String True The name of the item list.
itemListPosition String True The position of an item (e.g., a product you sell) in a list. This dimension is populated in tagging by the index parameter in the items array.
itemLocationID String True The physical location associated with the item (e.g. the physical store location). It is recommended to use the [Google Place ID] that corresponds to the associated item. A custom location Id can also be used. This field is populated in tagging by the location_id parameter in the items array.
itemName String True The name of the item.
itemPromotionCreativeName String True The name of the item-promotion creative.
itemPromotionCreativeSlot String True The name of the promotional creative slot associated with the item. This dimension can be specified in tagging by the creative_slot parameter at the event or item level. If the parameter is specified at both the event and item level, the item-level parameter is used.
itemPromotionId String True The Id of the item promotion.
itemPromotionName String True The name of the promotion for the item.
itemVariant String True The specific variation of a product. e.g., XS, S, M, L for size; or Red, Blue, Green, Black for color. Populated by the item_variant parameter.
landingPage String True The page path associated with the first pageview in a session.
landingPagePlusQueryString String True The page path + query string associated with the first pageview in a session.
language String True The language setting of the user's browser or device. e.g. English
languageCode String True The language setting (ISO 639) of the user's browser or device. e.g. en-us
level String True The players level in a game. Populated by the event parameter level.
linkClasses String True The HTML class attribute for an outbound link
StartDate String Start date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
EndDate String End date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).

CData Cloud

KeyEvents

A base view that retrieves KeyEvents data

Table Specific Information

Select

Retrieves data for KeyEvents reports. At least one metric must be specified in the query. This endpoint uses the real-time report API endpoint to get more up-to-date data than the standard reporting endpoint. The real-time reporting API supports a maximum of four dimensions compared to nine for the standard report API.

The following is an example query:

	SELECT KeyEvents, EventName FROM KeyEvents;

Since PagePath and PlatTitle dimensions are not available in the runRealReport endpoint, use the connection property ReportType = reports to leverage the result with these dimensions.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AppVersion String True The application's versionName (Android) or short bundle version (iOS)
City String True The city from which the user activity originated
Country String True The country from which the user activity originated
DeviceCategory String True The type of device: Desktop, Tablet, or Mobile
Platform String True The platform on which your app or website ran
AudienceName String True The given name of an Audience
UnifiedScreenName String True The page title (web) or screen name (app) on which the event was logged
EventName String True True The name of the event
PagePath String True The portion of the URL between the hostname and query string for web. This works when connection property ReportType=reports;.
PageTitle String True The web page titles used on your site. This works when connection property ReportType=reports;
AudienceId Long True The numeric identifier of an Audience.
AudienceResourceName String True The resource name of this audience.
CityId Integer True The geographic ID of the city from which the user activity originated, derived from their IP address.
CountryId String True The geographic ID of the country from which the user activity originated, derived from their IP address.
MinutesAgo Integer True The number of minutes ago that an event was collected. 00 is the current minute, and 01 means the previous minute.
StreamId Long True The numeric data stream identifier for your app or website.
StreamName String True The data stream name for your app or website.
KeyEvents String False True The count of key events.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table

CData Cloud

MetaData

Retrieves metadata information for standard and custom dimensions / metrics.

Table Specific Information

Select

Retrieves metadata information for standard and custom dimensions / metrics. If PropertyID connection property not set, dimensions and metrics common to all properties will be retrieved. The following is an example query:

	SELECT * FROM Metadata

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ApiName String The API name for the dimension / metric.
CustomDefinition Boolean Whether the dimension / metric is custom or not.
Description String Description of how the dimension / metric is used and calculated.
Type String Datatype of the dimension / metric.
FieldType String Whether the field is a dimension or metric.
UIName String The dimension / metric name within the Google Analytics user interface.
DimensionDeprecatedAPINames String Returns the list of depricated names for this dimension but still usable.
MetricDeprecatedAPINames String Returns the list of depricated names for this metric but still usable.
Expressions String The mathematical expression for this derived metric.
BlockedReasons String Return the reasons why access to this metric is blocked for this property.
Category String The display name of the category that this dimension / metric belongs to.

CData Cloud

Monetization

A base view that retrieves Monetization data.

Table Specific Information

Select

Retrieves data for Monetization report. At least one metric must be specified in the query. In the query you can also specify up to nine dimensions. The following is an example query:

	SELECT ItemsAddedToCart, CartToViewRate FROM Monetization

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Date Date True The date of the session formatted as YYYYMMDD.
Year Integer True The year of the session. A four-digit year from 2005 to the current year.
Month Integer True The month of the session. An integer from 01 to 12.
Week Integer True The week of the session. A number from 01 to 53. Each week starts on Sunday.
Day Integer True The day of the month. A number from 01 to 31.
DayOfWeekName String True The day of the week in English. This dimension has values of Sunday, Monday, etc.
IsoWeek Integer True ISO week number, where each week starts on Monday. Example values include 01, 02, 53.
IsoYear Integer True The ISO year of the event. Example values include 2022 2023.
IsoYearIsoWeek Integer True The combined values of isoWeek and isoYear. Example values include 201652 and 201701.
YearMonth Integer True The combined values of year and month. Example values include 202212 or 202301.
YearWeek Integer True The combined values of year and week. Example values include 202253 or 202301.
Hour Integer True An hour of the day ranging from 00-23 in the timezone configured for the account. This value is also corrected for daylight savings time.
Country String True The country of users, derived from IP addresses.
City String True The cities of property users, derived from IP addresses.
AdFormat String True Format of the ad(e.g., text, image, video).
AdSourceName String True Demand source that provided the ad.
AdUnitName String True Space on the website or app that displayed the ad.
ItemBrand String True Brand name of the item.
ItemCategory String True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Apparel is the item category.
ItemCategory2 String True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Mens is the item category2
ItemCategory3 String True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Summer is the item category3.
ItemCategory4 String True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, Shirts is the item category4.
ItemCategory5 String True Hierarchical category in which the item is classified. For example, in Apparel/Mens/Summer/Shirts/T-shirts, T-shirts is the item category5.
ItemId String True ID of the item.
ItemListId String True The ID of the item list.
ItemListName String True The name of the item list.
ItemName String True True The name of the item.
ItemPromotionCreativeName String True The name of the item-promotion creative.
ItemPromotionId String True ID of the item promotion.
ItemPromotionName String True Name of the promotion for the item.
OrderCoupon String True Code for the order-level coupon.
UnifiedPageScreen String True The page path (web) or screen class (app) on which the event was logged.
TransactionId String True The ID of the ecommerce transaction.
adUnitExposure Integer False The amount of time the ad unit was exposed to the user. This metric is not compatible with item-scoped dimensions.
ItemsAddedToCart Integer False True The number of times users added items to their shopping carts. Since AddToCarts is not compatible with item-scoped dimensions, hence this is the replacement of the AddToCarts metric.
CartToViewRate Decimal False True The number of users who added a product(s) to their cart divided by the number of users who viewed the same product(s).
ItemsCheckedOut Integer False True Number of times users started the checkout process. Since Checkouts is not compatible with item-scoped dimensions, hence this is the replacement of the Checkouts metric.
EcommercePurchases Integer False The number of times users completed a purchase. This metric is not compatible with item-scoped dimensions.
EventCount Integer False The count of events. This metric is not compatible with item-scoped dimensions. This metric is not compatible with item-scoped dimensions.
FirstTimePurchasers Integer False True The number of users that completed their first purchase event.
ItemsClickedInList Integer False True The number of times users clicked an item when it appeared in a list. Since ItemListClicks is not compatible with item-scoped dimensions, hence this is the replacement of the ItemListClicks metric.
ItemListClickThroughRate Decimal False True Rate at which users clicked the item in an item list to view the item details.
ItemsViewedInList Integer False True The number of times the item list was viewed. Since ItemListViews is not compatible with item-scoped dimensions, hence this is the replacement of the ItemListViews metric.
PromotionClicks Integer False The number of times an item promotion was clicked. ItemPromotionClicks metric has been renamed to this metric.
ItemPromotionClickThroughRate Decimal False The number of users who selected a promotion(s) divided by the number of users who viewed the same promotion(s).
PromotionViews Integer False The number of times an item promotion was viewed. ItemPromotionViews metric has been renamed to this metric.
ItemsPurchased Integer False The total amount of tax. ItemPurchaseQuantity metric has been renamed to this metric.
ItemRevenue Decimal False The total revenue from items only. Item revenue is the product of its price and quantity.
ItemViewEvents Integer False The number of times the item details were viewed. ItemViews metric has been renamed to this metric.
PublisherAdClicks Integer False The number of times an ad was clicked on the publisher's site.
PublisherAdImpressions Integer False The number of times an ad was displayed on the publisher's site.
PurchaseToViewRate Decimal False The total cost of shipping.
TotalAdRevenue Integer False Sum of all advertising revenue.
StartDate String Start date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
EndDate String End date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

MonetizationPublisherAdsAdFormatReport

A predefined view that retrieves publisher ads page ad format data.

n

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • AdFormat supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE PropertyId = 342020667
SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE AdFormat = 'image' 
SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE Date = '01/05/2023' 
SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE PropertyId = 342020667  AND AdFormat = 'image' AND Date = '01/05/2023'
SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE Date >= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE Date <= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE Date >  '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdFormatReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AdFormat String True True Format of the ad(e.g., text, image, video).
Date Date True True The date of the session formatted as YYYYMMDD.
PublisherAdImpressions Integer False True The number of times an ad was displayed on the publishers site.
adUnitExposure Integer False True The amount of time the ad unit was exposed to the user.
PublisherAdClicks Integer False True The number of times an ad was clicked on the publisherss site.
TotalAdRevenue Integer False True Sum of all advertising revenue.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String The Property Id value to be used when querying this table.

CData Cloud

MonetizationPublisherAdsAdSourceReport

A predefined view that retrieves publisher ads ad source data.

n

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • AdSourceName supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE PropertyId = 342020667
SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE AdSourceName = 'test' 
SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE Date = '01/05/2023' 
SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE PropertyId = 342020667  AND AdSourceName = 'test' AND Date = '01/05/2023'
SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE Date >= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE Date <= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE Date >  '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdSourceReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AdSourceName String True True Demand source that provided the ad.
Date Date True True The date of the session formatted as YYYYMMDD.
PublisherAdImpressions Integer False True The number of times an ad was displayed on the publishers site.
adUnitExposure Integer False True The amount of time the ad unit was exposed to the user.
PublisherAdClicks Integer False True The number of times an ad was clicked on the publishers site.
TotalAdRevenue Integer False True Sum of all advertising revenue.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String The Property Id value to be used when querying this table.

CData Cloud

MonetizationPublisherAdsAdUnitReport

A predefined view that retrieves publisher ads ad unit data.

n

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • AdUnitName supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE PropertyId = 342020667
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE AdUnitName = 'Test' 
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date = '01/05/2023' 
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE PropertyId = 342020667  AND AdUnitName = 'Test' AND Date = '01/05/2023'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date >= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date <= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date >  '01/01/2022'
SELECT * FROM MonetizationPublisherAdsAdUnitReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AdUnitName String True True Space on the website or app that displayed the ad.
Date Date True True The date of the session formatted as YYYYMMDD.
PublisherAdImpressions Integer False True The number of times an ad was displayed on the publishers site.
adUnitExposure Integer False True The amount of time the ad unit was exposed to the user.
PublisherAdClicks Integer False True The number of times an ad was clicked on the publishers site.
TotalAdRevenue Integer False True Sum of all advertising revenue.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String The Property Id value to be used when querying this table.

CData Cloud

MonetizationPublisherAdsPagePathReport

A predefined view that retrieves publisher ads page path data.

n

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • PagePath supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE PropertyId = 342020667
SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE PagePath = '/cdataH.test.io/' 
SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE Date = '01/05/2023' 
SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE PropertyId = 342020667  AND PagePath = '/cdataH.test.io/' AND Date = '01/05/2023'
SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE Date >= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE Date <= '01/01/2022'
SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE Date >  '01/01/2022'
SELECT * FROM MonetizationPublisherAdsPagePathReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
PagePath String True True The portion of the URL between the hostname and query string for web.
Date Date True True The date of the session formatted as YYYYMMDD.
PublisherAdImpressions Integer False True The number of times an ad was displayed on the publishers site.
adUnitExposure Integer False True The amount of time the ad unit was exposed to the user.
PublisherAdClicks Integer False True The number of times an ad was clicked on the publishers site.
TotalAdRevenue Integer False True Sum of all advertising revenue.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String The Property Id value to be used when querying this table.

CData Cloud

Properties

Lists all Properties to which the user has access.

Table Specific Information

Select

The provider will use the GoogleAnalytics4 API to process WHERE clause conditions built with the following columns and operators: The rest of the filter is executed client-side within the provider.

  • Parent supports the following operators: =,IN
  • Id supports the following operators: =,IN
The following queries are processed server-side:
   	SELECT * FROM Properties WHERE Id = '54516992'
    SELECT * FROM Properties WHERE Parent = 'accounts/54516992'

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
CreateTime Datetime Time the property was created.
CurrencyCode String The currency type used in reports involving monetary values.
DisplayName String Display name for the property.
IndustryCategory String Industry associated with the property. Possible values are INDUSTRY_CATEGORY_UNSPECIFIED, AUTOMOTIVE, BUSINESS_AND_INDUSTRIAL_MARKETS, FINANCE, HEALTHCARE, TECHNOLOGY, TRAVEL, OTHER, ARTS_AND_ENTERTAINMENT, BEAUTY_AND_FITNESS, BOOKS_AND_LITERATURE, FOOD_AND_DRINK, GAMES, HOBBIES_AND_LEISURE, HOME_AND_GARDEN,INTERNET_AND_TELECOM, LAW_AND_GOVERNMENT, NEWS, ONLINE_COMMUNITIES, PEOPLE_AND_SOCIETY, PETS_AND_ANIMALS, REAL_ESTATE, REFERENCE, SCIENCE, SPORTS, JOBS_AND_EDUCATION, SHOPPING
Id Integer Property Id.
Parent String Name of the property's logical parent.
TimeZone String Reporting Time Zone.
UpdateTime Datetime Time the property was last modified.
DeleteTime Datetime Time at which this property was trashed.

CData Cloud

PropertiesAccessBindings

Lists all access bindings on an account or property. Requires one of the following OAuth scopes: https://www.googleapis.com/auth/analytics.manage.users.readonly https://www.googleapis.com/auth/analytics.manage.users

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • Parent supports the following operator: =
  • Name supports the following operator: =
The Name or Parent is required to make a request. For example, the following queries are processed server-side:
	SELECT * FROM PropertiesAccessBindings where parent ='properties/307712345';
	SELECT * FROM PropertiesAccessBindings where name = 'properties/307712345/accessBindings/1234559643';
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Name [KEY] String Resource name of this binding. Format: accounts/{account}/accessBindings/{accessBinding} or properties/{property}/accessBindings/{accessBinding}.
Parent String Name of the Access Binding's logical parent. Format: accounts/{account} or properties/{property}.
User String The email address of the user to set roles for.
Roles String A list of roles to grant to the parent resource.
PropertyId Integer Property ID value to be used when querying this table.

CData Cloud

PropertiesAudiences

Lists Audiences on a property.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • Parent supports the following operator: =
  • Name supports the following operator: =
The Name or Parent is required to make a request. For example, the following queries are processed server-side:
	SELECT * FROM PropertiesAudiences where parent = 'properties/153123282'
	SELECT * FROM PropertiesAudiences where name = 'properties/211225502/audiences/2041236988'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Name [KEY] String The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}.
Parent String Name of the Audiences's logical parent.
PropertyId Integer Property ID value to be used when querying this table.
DisplayName String The display name of the Audience.
Description String The description of the Audience.
MembershipDurationDays Integer The duration a user should stay in an Audience. It cannot be set to more than 540 days.
AdsPersonalizationEnabled Boolean It is automatically set by GA to false if this is an NPA Audience and is excluded from ads personalization.
EventTrigger String Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
ExclusionDurationMode String Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience.
FilterClauses String Filter clauses that define the Audience. All clauses will be AND’ed together.
CreateTime Datetime Time when the Audience was created.

CData Cloud

PropertiesDataStreams

Lists all data streams under a property to which the user has access. Attribute Parent (e.g: 'properties/123') or Name (e.g: 'properties/123/webDataStreams/456') is required to query the table.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • Parent supports the following operator: =
  • Name supports the following operator: =
The Name or Parent is required to make a request. For example, the following queries are processed server-side:
	SELECT * FROM PropertiesDataStreams WHERE Parent = 'properties/123'
	SELECT * FROM PropertiesDataStreams WHERE Name =   'properties/123/webDataStreams/456'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
CreateTime Datetime Time the stream was created.
DisplayName String Display name for the data stream.
Name String Web data stream name.
Parent String Name of the web data stream's logical parent.
Type String The type of this DataStream resource. Possible values are DATA_STREAM_TYPE_UNSPECIFIED, WEB_DATA_STREAM, ANDROID_APP_DATA_STREAM, IOS_APP_DATA_STREAM
webStreamData String Data specific to web streams.
androidAppStreamData String Data specific to Android app streams.
iosAppStreamData String Data specific to iOS app streams.
UpdateTime Datetime Time the stream was last modified.
PropertyId Integer Property ID value to be used when querying this table.

CData Cloud

PropertiesFireBaseLinks

Lists all FirebaseLinks on a property to which the user has access.

Table Specific Information

Select

Lists all FirebaseLinks on a property to which the user has access. The provider uses the GoogleAnalytics4 API to process WHERE clause conditions built with the Parent column and the = operator. Queries are processed server-side.

The following is an example query:

	SELECT * FROM PropertiesFirebaseLinks WHERE Parent = 'properties/54516992'

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
CreateTime Datetime Time the FirebaseLink was created.
Name String FirebaseLink name.
Parent String Name of the FirebaseLink's logical parent.
Project String Firebase project resource name.
PropertyId Integer Property ID value to be used when querying this table.

CData Cloud

PropertiesGoogleAdsLinks

Lists all GoogleAdsLinks on a property to which the user has access.

Table Specific Information

Select

Lists all GoogleAdsLinks on a property to which the user has access. The provider will use the GoogleAnalytics4 API to process WHERE clause conditions built with the Parent column with the = operator. Queries are processed server-side, and a value for the attribute Parent is required to query this table. The following is an example query:

	SELECT * FROM PropertiesGoogleAdsLinks WHERE Parent = 'properties/54516992'
The rest of the filter is executed client-side within the provider.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
CanManageClients Boolean Whether the link if for a Google Ads manager account.
AdsPersonalizationEnabled Boolean Whether to enable personalized advertising.
CreateTime Datetime Time the link was created.
CustomerId String Google Ads customer ID.
EmailAddress String Email address of the user that created the link.
Name String GoogleAdsLinks name.
Parent String Name of the GoogleAdsLink's logical parent.
UpdateTime Datetime Time the link was last modified.
PropertyId Integer Property ID value to be used when querying this table.

CData Cloud

PropertiesKeyEvents

Returns a list of Key Events in the specified parent property.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • Parent supports the following operator: =
  • Name supports the following operator: =
The Name or Parent is required to make a request. For example, the following queries are processed server-side:
	SELECT * FROM PropertiesKeyEvents where parent = 'properties/309787233'
	SELECT * FROM PropertiesKeyEvents where name = 'properties/309787233/keyEvents/7710067029'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Name [KEY] String Resource name of this key event. Format: properties/{property}/keyEvents/{keyEvent}.
Parent String Name of the Key Events's logical parent.
PropertyId Integer Property ID value to be used when querying this table.
EventName String The event name for this key event. Examples: 'click', 'purchase'
CreateTime Datetime Time when this key event was created in the property.
Deletable Boolean Whether this event can be deleted.
Custom Boolean Whether this key event refers to a custom event.
CountingMethod String The method by which Key Events will be counted across multiple events within a session.
DefaultValue String Defines a default value/currency for a key event.

CData Cloud

ScreenPageViews

A base view that retrieves ScreenPage data

Table Specific Information

Select

Retrieves data for ScreenPageViews reports. At least one metric must be specified in the query. This endpoint uses the real-time report API endpoint to get more up-to-date data than the standard reporting endpoint. The real-time reporting API supports a maximum of four dimensions compared to nine for the standard report API.

The following is an example query:

	SELECT ScreenPageViews, EventName FROM ScreenPageViews;

Since PagePath and PlatTitle dimensions are not available in the runRealReport endpoint, use the connection property ReportType = reports to leverage the result with these dimensions.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AppVersion String True The application's versionName (Android) or short bundle version (iOS)
City String True The city from which the user activity originated
Country String True The country from which the user activity originated
DeviceCategory String True The type of device: Desktop, Tablet, or Mobile
Platform String True The platform on which your app or website ran
AudienceName String True The given name of an Audience
UnifiedScreenName String True The page title (web) or screen name (app) on which the event was logged
EventName String True True The name of the event
PagePath String True The portion of the URL between the hostname and query string for web. This works when connection property ReportType=reports;.
PageTitle String True The web page titles used on your site. This works when connection property ReportType=reports;
AudienceId Long True The numeric identifier of an Audience.
AudienceResourceName String True The resource name of this audience.
CityId Integer True The geographic ID of the city from which the user activity originated, derived from their IP address.
CountryId String True The geographic ID of the country from which the user activity originated, derived from their IP address.
MinutesAgo Integer True The number of minutes ago that an event was collected. 00 is the current minute, and 01 means the previous minute.
StreamId Long True The numeric data stream identifier for your app or website.
StreamName String True The data stream name for your app or website.
ScreenPageViews String False True The number of app screens or web pages your users viewed. Repeated views of a single page or screen are counted.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table

CData Cloud

Tech

A base view that retrieves Tech data.

Table Specific Information

Select

Retrieves data for Tech report. At least one metric must be specified in the query. In the query you can also specify up to nine dimensions. The following is an example query:

	SELECT KeyEvents, EngagementRate, EventCount FROM Tech

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Date Date True The date of the session formatted as YYYYMMDD.
Year Integer True The year of the session. A four-digit year from 2005 to the current year.
Month Integer True The month of the session. An integer from 01 to 12.
Week Integer True The week of the session. A number from 01 to 53. Each week starts on Sunday.
Day Integer True The day of the month. A number from 01 to 31.
DayOfWeekName String True The day of the week in English. This dimension has values of Sunday, Monday, etc.
IsoWeek Integer True ISO week number, where each week starts on Monday. Example values include 01, 02, 53.
IsoYear Integer True The ISO year of the event. Example values include 2022 2023.
IsoYearIsoWeek Integer True The combined values of isoWeek and isoYear. Example values include 201652 and 201701.
YearMonth Integer True The combined values of year and month. Example values include 202212 or 202301.
YearWeek Integer True The combined values of year and week. Example values include 202253 or 202301.
Hour Integer True An hour of the day ranging from 00-23 in the timezone configured for the account. This value is also corrected for daylight savings time.
AppVersion String True Version of the app.
Browser String True True Browser used to engage with the site.
DeviceCategory String True Type of device used to engage with the site/app: Desktop, Tablet, or Mobile.
DeviceModel String True Model of the device used to engage with the site/app.
OperatingSystem String True Operating systems used by visitors to the app or website.
OperatingSystemVersion String True Version of the operating systems used by visitors to the app or website.
OperatingSystemWithVersion String True Operating system name and version.
Platform String True Platform for the app or site (Android, iOS, Web).
ScreenResolution String True Resolution of the screen used to engage with the site/app.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.
StartDate String Start date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
EndDate String End date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

TechAppVersionReport

A predefined view that retrieves Tech App Version data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • AppVersion supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechAppVersionReport WHERE PropertyId = 342020667
SELECT * FROM TechAppVersionReport WHERE AppVersion = 'test' 
SELECT * FROM TechAppVersionReport WHERE Date = '01/05/2023' 
SELECT * FROM TechAppVersionReport WHERE PropertyId = 342020667  AND AppVersion = 'test' AND Date = '01/05/2023'
SELECT * FROM TechAppVersionReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechAppVersionReport WHERE Date >= '01/01/2022'
SELECT * FROM TechAppVersionReport WHERE Date <= '01/01/2022'
SELECT * FROM TechAppVersionReport WHERE Date >  '01/01/2022'
SELECT * FROM TechAppVersionReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AppVersion String True True Version of the app.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

TechBrowserReport

A predefined view that retrieves Tech Browser data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • Browser supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechBrowserReport WHERE PropertyId = 342020667
SELECT * FROM TechBrowserReport WHERE Browser = 'chrome' 
SELECT * FROM TechBrowserReport WHERE Date = '01/05/2023' 
SELECT * FROM TechBrowserReport WHERE PropertyId = 342020667  AND Browser = 'chrome' AND Date = '01/05/2023'
SELECT * FROM TechBrowserReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechBrowserReport WHERE Date >= '01/01/2022'
SELECT * FROM TechBrowserReport WHERE Date <= '01/01/2022'
SELECT * FROM TechBrowserReport WHERE Date >  '01/01/2022'
SELECT * FROM TechBrowserReport WHERE Date < '01/01/2022'

The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Browser String True True Browser used to engage with the site.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

TechDeviceCategoryReport

A predefined view that retrieves Tech Device Category data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • DeviceCategory supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechDeviceCategoryReport WHERE PropertyId = 342020667
SELECT * FROM TechDeviceCategoryReport WHERE  DeviceCategory = 'desktop' 
SELECT * FROM TechDeviceCategoryReport WHERE Date = '01/05/2023' 
SELECT * FROM TechDeviceCategoryReport WHERE PropertyId = 342020667  AND  DeviceCategory = 'desktop' AND Date = '01/05/2023'
SELECT * FROM TechDeviceCategoryReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechDeviceCategoryReport WHERE Date >= '01/01/2022'
SELECT * FROM TechDeviceCategoryReport WHERE Date <= '01/01/2022'
SELECT * FROM TechDeviceCategoryReport WHERE Date >  '01/01/2022'
SELECT * FROM TechDeviceCategoryReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
DeviceCategory String True True Type of device used to engage with the site/app: Desktop, Tablet, or Mobile.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

TechDeviceModelReport

A predefined view that retrieves Tech Device Model data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • DeviceModel supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechDeviceModelReport WHERE PropertyId = 342020667
SELECT * FROM TechDeviceModelReport WHERE DeviceModel = 'test' 
SELECT * FROM TechDeviceModelReport WHERE Date = '01/01/2022' 
SELECT * FROM TechDeviceModelReport WHERE PropertyId = 342020667  AND DeviceModel = 'test' AND Date = '01/01/2022'
SELECT * FROM TechDeviceModelReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechDeviceModelReport WHERE Date >= '01/01/2022'
SELECT * FROM TechDeviceModelReport WHERE Date <= '01/01/2022'
SELECT * FROM TechDeviceModelReport WHERE Date >  '01/01/2022'
SELECT * FROM TechDeviceModelReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
DeviceModel String True True Model of the device used to engage with the site/app.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

TechOSSystemReport

A predefined view that retrieves Tech os system data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • OperatingSystem supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechOSSystemReport WHERE PropertyId = 342020667
SELECT * FROM TechOSSystemReport WHERE OperatingSystem = 'Windows' 
SELECT * FROM TechOSSystemReport WHERE Date = '01/05/2023' 
SELECT * FROM TechOSSystemReport WHERE PropertyId = 342020667  AND OperatingSystem = 'Windows' AND Date = '01/05/2023'
SELECT * FROM TechOSSystemReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechOSSystemReport WHERE Date >= '01/01/2022'
SELECT * FROM TechOSSystemReport WHERE Date <= '01/01/2022'
SELECT * FROM TechOSSystemReport WHERE Date >  '01/01/2022'
SELECT * FROM TechOSSystemReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
OperatingSystem String True True Operating systems used by visitors to the app or website.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

TechOSVersionReport

A predefined view that retrieves Tech Os version data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • OperatingSystemVersion supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechOSVersionReport WHERE PropertyId = 342020667
SELECT * FROM TechOSVersionReport WHERE OperatingSystemVersion = '10' 
SELECT * FROM TechOSVersionReport WHERE Date = '01/01/2022' 
SELECT * FROM TechOSVersionReport WHERE PropertyId = 342020667  AND OperatingSystem = '10' AND Date = '01/01/2022'
SELECT * FROM TechOSVersionReport  WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechOSVersionReport  WHERE Date >= '01/01/2022'
SELECT * FROM TechOSVersionReport  WHERE Date <= '01/01/2022'
SELECT * FROM TechOSVersionReport  WHERE Date >  '01/01/2022'
SELECT * FROM TechOSVersionReport  WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
OperatingSystemVersion String True True Version of the operating systems used by visitors to the app or website.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

TechPlatformDeviceCategoryReport

A predefined view that retrieves Tech platform device category data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • Platform supports the following operator: =
  • Date supports the following operator: =
  • DeviceCategory supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechPlatformDeviceCategoryReport WHERE PropertyId = 342020667
SELECT * FROM TechPlatformDeviceCategoryReport WHERE Platform = 'web' 
SELECT * FROM TechPlatformDeviceCategoryReport WHERE Date = '01/05/2023' 
SELECT * FROM TechPlatformDeviceCategoryReport WHERE PropertyId = 342020667 AND DeviceCategory = 'desktop'
SELECT * FROM TechPlatformDeviceCategoryReport WHERE PropertyId = 342020667 AND Platform = 'web'
SELECT * FROM TechPlatformDeviceCategoryReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechPlatformDeviceCategoryReport WHERE Date >= '01/01/2022'
SELECT * FROM TechPlatformDeviceCategoryReport WHERE Date <= '01/01/2022'
SELECT * FROM TechPlatformDeviceCategoryReport WHERE Date >  '01/01/2022'
SELECT * FROM TechPlatformDeviceCategoryReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
DeviceCategory String True True Type of device used to engage with the site/app: Desktop, Tablet, or Mobile.
Platform String True True Platform for the app or site (Android, iOS, Web).
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

TechPlatformReport

A predefined view that retrieves Tech platform data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • OperatinPlatformgSystem supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechPlatformReport WHERE PropertyId = 342020667
SELECT * FROM TechPlatformReport WHERE Platform  = 'web' 
SELECT * FROM TechPlatformReport WHERE Date = '01/05/2023' 
SELECT * FROM TechPlatformReport WHERE PropertyId = 342020667  AND Platform = 'web' AND Date = '01/05/2023'
SELECT * FROM TechPlatformReport WHERE PropertyId = 342020667 AND Platform = 'web'
SELECT * FROM TechPlatformReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechPlatformReport WHERE Date >= '01/01/2022'
SELECT * FROM TechPlatformReport WHERE Date <= '01/01/2022'
SELECT * FROM TechPlatformReport WHERE Date >  '01/01/2022'
SELECT * FROM TechPlatformReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
Platform String True True Platform for the app or site (Android, iOS, Web).
Date Date True True The date of the session formatted as YYYYMMDD.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than ten seconds, had a conversion event, or had two or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String The Property Id value to be used when querying this table.

CData Cloud

TechScreenResolutionReport

A predefined view that retrieves Tech Screen Resolution data.

Select

The Cloud uses the Google Analytics API to process WHERE clause conditions built with the following columns and operators:

  • PropertyId supports the following operator: =
  • ScreenResolution supports the following operator: =
  • Date supports the following operators: =,>=,<=,<,>

For example, the following queries are processed server-side:

SELECT * FROM TechScreenResolutionReport WHERE PropertyId = 342020667
SELECT * FROM TechScreenResolutionReport WHERE ScreenResolution = '1920x1080' 
SELECT * FROM TechScreenResolutionReport WHERE Date = '01/05/2023' 
SELECT * FROM TechScreenResolutionReport WHERE PropertyId = 342020667  AND ScreenResolution = '1920x1080' AND Date = '01/05/2023'
SELECT * FROM TechScreenResolutionReport WHERE Date >= '01/01/2022' AND <= '01/05/2023'
SELECT * FROM TechScreenResolutionReport WHERE Date >= '01/01/2022'
SELECT * FROM TechScreenResolutionReport WHERE Date <= '01/01/2022'
SELECT * FROM TechScreenResolutionReport WHERE Date >  '01/01/2022'
SELECT * FROM TechScreenResolutionReport WHERE Date < '01/01/2022'
The rest of the filter is executed client-side in the Cloud.

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
ScreenResolution String True True Resolution of the screen used to engage with the site/app.
Date Date True True The date of the session formatted as YYYYMMDD.
KeyEvents Decimal False True The count of key events.
EngagementRate Decimal False True The percentage of engaged sessions.
EngagedSessions Integer False True The number of sessions that lasted longer than 10 seconds, or had a conversion event, or had 2 or more screen views.
EventCount Integer False True The count of events.
NewUsers Integer False True The number of users who interacted with the site or launched the app for the first time.
TotalRevenue Integer False True The sum of revenue from purchases, subscriptions, and advertising.
TotalUsers Integer False True The total number of users.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
PropertyId String Property ID value to be used when querying this table.

CData Cloud

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT operations with Google Analytics.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Google Analytics, along with an indication of whether the procedure succeeded or failed.

CData Cloud - Google Analytics Stored Procedures

Name Description
CreateCustomSchema Creates a custom schema file based on the specified Dimensions and Metrics.
GetSignalsSettings Get Settings values for Google Signals.

CData Cloud

CreateCustomSchema

Creates a custom schema file based on the specified Dimensions and Metrics.

CreateCustomSchema

Creates a custom schema file based on the specified Dimensions and Metrics.

A custom schema may be used for a more tailored approach to your data. Custom options may include comma-separated lists for specific data.

Input

Name Type Required Description
TableName String True The name for the new table.
Description String False An optional description for the table.
WriteToFile String False Whether to write to an output file. Defaults totrue and must be set to false to write to FileStream or FileData.
Dimensions String False A comma-separated list of dimensions to include in the schema file. Here is a list of the possible values: https://ga-dev-tools.web.app/ga4/dimensions-metrics-explorer/
Metrics String False A comma-separated list of metrics to include in the schema file. Here is a list of the possible values: https://ga-dev-tools.web.app/ga4/dimensions-metrics-explorer/
PropertyId String False The Property Id to retrieve data from. If not specified, dimensions and metrics common to all properties will be retrieved.
ReportyType String False The type of report to be created using this custom schema. Available values are: 'RealTime' and 'Standard' (default)

Result Set Columns

Name Type Description
Success String Whether the schema was created successfully.
SchemaFile String The generated schema file.
FileData String The generated schema encoded in base64. Only returned if WriteToFile set to false and FileStream is not set.

CData Cloud

GetSignalsSettings

Get Settings values for Google Signals.

Input

Name Type Required Description
PropertyId String False The Id of the property for which Google signals settings to retrieve. Format:PropertyId=1234

Result Set Columns

Name Type Description
Name String Resource name of this setting.
State String Status of this setting.
Consent String Terms of Service acceptance.

CData Cloud

System Tables

You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.

Schema Tables

The following tables return database metadata for Google Analytics:

  • sys_catalogs: Lists the available databases.
  • sys_schemas: Lists the available schemas.
  • sys_tables: Lists the available tables and views.
  • sys_tablecolumns: Describes the columns of the available tables and views.
  • sys_procedures: Describes the available stored procedures.
  • sys_procedureparameters: Describes stored procedure parameters.
  • sys_keycolumns: Describes the primary and foreign keys.
  • sys_indexes: Describes the available indexes.

Data Source Tables

The following tables return information about how to connect to and query the data source:

  • sys_connection_props: Returns information on the available connection properties.
  • sys_sqlinfo: Describes the SELECT queries that the Cloud can offload to the data source.

Query Information Tables

The following table returns query statistics for data modification queries:

  • sys_identity: Returns information about batch operations or single updates.

CData Cloud

sys_catalogs

Lists the available databases.

The following query retrieves all databases determined by the connection string:

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String The database name.

CData Cloud

sys_schemas

Lists the available schemas.

The following query retrieves all available schemas:

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String The database name.
SchemaName String The schema name.

CData Cloud

sys_tables

Lists the available tables.

The following query retrieves the available tables and views:

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String The database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view.
TableType String The table type (table or view).
Description String A description of the table or view.
IsUpdateable Boolean Whether the table can be updated.

CData Cloud

sys_tablecolumns

Describes the columns of the available tables and views.

The following query returns the columns and data types for the Traffic table:

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Traffic' 

Columns

Name Type Description
CatalogName String The name of the database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view containing the column.
ColumnName String The column name.
DataTypeName String The data type name.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
Length Int32 The storage size of the column.
DisplaySize Int32 The designated column's normal maximum width in characters.
NumericPrecision Int32 The maximum number of digits in numeric data. The column length in characters for character and date-time data.
NumericScale Int32 The column scale or number of digits to the right of the decimal point.
IsNullable Boolean Whether the column can contain null.
Description String A brief description of the column.
Ordinal Int32 The sequence number of the column.
IsAutoIncrement String Whether the column value is assigned in fixed increments.
IsGeneratedColumn String Whether the column is generated.
IsHidden Boolean Whether the column is hidden.
IsArray Boolean Whether the column is an array.
IsReadOnly Boolean Whether the column is read-only.
IsKey Boolean Indicates whether a field returned from sys_tablecolumns is the primary key of the table.
ColumnType String The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN.

CData Cloud

sys_procedures

Lists the available stored procedures.

The following query retrieves the available stored procedures:

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String The database containing the stored procedure.
SchemaName String The schema containing the stored procedure.
ProcedureName String The name of the stored procedure.
Description String A description of the stored procedure.
ProcedureType String The type of the procedure, such as PROCEDURE or FUNCTION.

CData Cloud

sys_procedureparameters

Describes stored procedure parameters.

The following query returns information about all of the input parameters for the CreateCustomSchema stored procedure:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'CreateCustomSchema' AND Direction = 1 OR Direction = 2

To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'CreateCustomSchema' AND IncludeResultColumns='True'

Columns

Name Type Description
CatalogName String The name of the database containing the stored procedure.
SchemaName String The name of the schema containing the stored procedure.
ProcedureName String The name of the stored procedure containing the parameter.
ColumnName String The name of the stored procedure parameter.
Direction Int32 An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
DataTypeName String The name of the data type.
NumericPrecision Int32 The maximum precision for numeric data. The column length in characters for character and date-time data.
Length Int32 The number of characters allowed for character data. The number of digits allowed for numeric data.
NumericScale Int32 The number of digits to the right of the decimal point in numeric data.
IsNullable Boolean Whether the parameter can contain null.
IsRequired Boolean Whether the parameter is required for execution of the procedure.
IsArray Boolean Whether the parameter is an array.
Description String The description of the parameter.
Ordinal Int32 The index of the parameter.
Values String The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated.
SupportsStreams Boolean Whether the parameter represents a file that you can pass as either a file path or a stream.
IsPath Boolean Whether the parameter is a target path for a schema creation operation.
Default String The value used for this parameter when no value is specified.
SpecificName String A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here.
IsCDataProvided Boolean Whether the procedure is added/implemented by CData, as opposed to being a native Google Analytics procedure.

Pseudo-Columns

Name Type Description
IncludeResultColumns Boolean Whether the output should include columns from the result set in addition to parameters. Defaults to False.

CData Cloud

sys_keycolumns

Describes the primary and foreign keys.

The following query retrieves the primary key for the Traffic table:

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Traffic' 
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
IsKey Boolean Whether the column is a primary key in the table referenced in the TableName field.
IsForeignKey Boolean Whether the column is a foreign key referenced in the TableName field.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.

CData Cloud

sys_foreignkeys

Describes the foreign keys.

The following query retrieves all foreign keys which refer to other tables:

         SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.
ForeignKeyType String Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key.

CData Cloud

sys_primarykeys

Describes the primary keys.

The following query retrieves the primary keys from all tables and views:

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
KeySeq String The sequence number of the primary key.
KeyName String The name of the primary key.

CData Cloud

sys_indexes

Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.

The following query retrieves all indexes that are not primary keys:

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

Name Type Description
CatalogName String The name of the database containing the index.
SchemaName String The name of the schema containing the index.
TableName String The name of the table containing the index.
IndexName String The index name.
ColumnName String The name of the column associated with the index.
IsUnique Boolean True if the index is unique. False otherwise.
IsPrimary Boolean True if the index is a primary key. False otherwise.
Type Int16 An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3).
SortOrder String The sort order: A for ascending or D for descending.
OrdinalPosition Int16 The sequence number of the column in the index.

CData Cloud

sys_connection_props

Returns information on the available connection properties and those set in the connection string.

The following query retrieves all connection properties that have been set in the connection string or set through a default value:

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

Name Type Description
Name String The name of the connection property.
ShortDescription String A brief description.
Type String The data type of the connection property.
Default String The default value if one is not explicitly set.
Values String A comma-separated list of possible values. A validation error is thrown if another value is specified.
Value String The value you set or a preconfigured default.
Required Boolean Whether the property is required to connect.
Category String The category of the connection property.
IsSessionProperty String Whether the property is a session property, used to save information about the current connection.
Sensitivity String The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms.
PropertyName String A camel-cased truncated form of the connection property name.
Ordinal Int32 The index of the parameter.
CatOrdinal Int32 The index of the parameter category.
Hierarchy String Shows dependent properties associated that need to be set alongside this one.
Visible Boolean Informs whether the property is visible in the connection UI.
ETC String Various miscellaneous information about the property.

CData Cloud

sys_sqlinfo

Describes the SELECT query processing that the Cloud can offload to the data source.

See SQL Compliance for SQL syntax details.

Discovering the Data Source's SELECT Capabilities

Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.

NameDescriptionPossible Values
AGGREGATE_FUNCTIONSSupported aggregation functions.AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTWhether COUNT function is supported.YES, NO
IDENTIFIER_QUOTE_OPEN_CHARThe opening character used to escape an identifier.[
IDENTIFIER_QUOTE_CLOSE_CHARThe closing character used to escape an identifier.]
SUPPORTED_OPERATORSA list of supported SQL operators.=, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BYWhether GROUP BY is supported, and, if so, the degree of support.NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
OJ_CAPABILITIESThe supported varieties of outer joins supported.NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS
OUTER_JOINSWhether outer joins are supported.YES, NO
SUBQUERIESWhether subqueries are supported, and, if so, the degree of support.NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED
STRING_FUNCTIONSSupported string functions.LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONSSupported numeric functions.ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONSSupported date/time functions.NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLESIndicates tables skipped during replication.
REPLICATION_TIMECHECK_COLUMNSA string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication.
IDENTIFIER_PATTERNString value indicating what string is valid for an identifier.
SUPPORT_TRANSACTIONIndicates if the provider supports transactions such as commit and rollback.YES, NO
DIALECTIndicates the SQL dialect to use.
KEY_PROPERTIESIndicates the properties which identify the uniform database.
SUPPORTS_MULTIPLE_SCHEMASIndicates if multiple schemas may exist for the provider.YES, NO
SUPPORTS_MULTIPLE_CATALOGSIndicates if multiple catalogs may exist for the provider.YES, NO
DATASYNCVERSIONThe CData Data Sync version needed to access this driver.Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYThe CData Data Sync category of this driver.Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLWhether enhanced SQL functionality beyond what is offered by the API is supported.TRUE, FALSE
SUPPORTS_BATCH_OPERATIONSWhether batch operations are supported.YES, NO
SQL_CAPAll supported SQL capabilities for this driver.SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONSA string value specifies the preferred cacheOptions.
ENABLE_EF_ADVANCED_QUERYIndicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side.YES, NO
PSEUDO_COLUMNSA string array indicating the available pseudo columns.
MERGE_ALWAYSIf the value is true, The Merge Mode is forcibly executed in Data Sync.TRUE, FALSE
REPLICATION_MIN_DATE_QUERYA select query to return the replicate start datetime.
REPLICATION_MIN_FUNCTIONAllows a provider to specify the formula name to use for executing a server side min.
REPLICATION_START_DATEAllows a provider to specify a replicate startdate.
REPLICATION_MAX_DATE_QUERYA select query to return the replicate end datetime.
REPLICATION_MAX_FUNCTIONAllows a provider to specify the formula name to use for executing a server side max.
IGNORE_INTERVALS_ON_INITIAL_REPLICATEA list of tables which will skip dividing the replicate into chunks on the initial replicate.
CHECKCACHE_USE_PARENTIDIndicates whether the CheckCache statement should be done against the parent key column.TRUE, FALSE
CREATE_SCHEMA_PROCEDURESIndicates stored procedures that can be used for generating schema files.

The following query retrieves the operators that can be used in the WHERE clause:

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.

Columns

Name Type Description
NAME String A component of SQL syntax, or a capability that can be processed on the server.
VALUE String Detail on the supported SQL or SQL syntax.

CData Cloud

sys_identity

Returns information about attempted modifications.

The following query retrieves the Ids of the modified rows in a batch operation:

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String The database-generated Id returned from a data modification operation.
Batch String An identifier for the batch. 1 for a single operation.
Operation String The result of the operation in the batch: INSERTED, UPDATED, or DELETED.
Message String SUCCESS or an error message if the update in the batch failed.

CData Cloud

sys_information

Describes the available system information.

The following query retrieves all columns:

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductStringThe name of the product.
VersionStringThe version number of the product.
DatasourceStringThe name of the datasource the product connects to.
NodeIdStringThe unique identifier of the machine where the product is installed.
HelpURLStringThe URL to the product's help documentation.
LicenseStringThe license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.)
LocationStringThe file path location where the product's library is stored.
EnvironmentStringThe version of the environment or rumtine the product is currently running under.
DataSyncVersionStringThe tier of CData Sync required to use this connector.
DataSyncCategoryStringThe category of CData Sync functionality (e.g., Source, Destination).

CData Cloud

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
AuthSchemeSpecifies the authentication method used to connect to Google Analytics.
SchemaThe type of schema to use.

OAuth


PropertyDescription
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
DelegatedServiceAccountsSpecifies a space-delimited list of service account emails for delegated requests.
RequestingServiceAccountSpecifies a service account email to make a delegated request.
ScopeSpecifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.

JWT OAuth


PropertyDescription
OAuthJWTCertSupplies the name of the client certificate's JWT Certificate store.
OAuthJWTCertTypeIdentifies the type of key store containing the JWT Certificate.
OAuthJWTCertPasswordProvides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.
OAuthJWTCertSubjectIdentifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.
OAuthJWTIssuerThe issuer of the Java Web Token.
OAuthJWTSubjectThe user subject for which the application is requesting delegated access.

SSL


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.

Logging


PropertyDescription
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Schema


PropertyDescription
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Miscellaneous


PropertyDescription
AWSWorkloadIdentityConfigConfiguration properties to provide when using Workload Identity Federation via AWS.
AzureWorkloadIdentityConfigConfiguration properties to provide when using Workload Identity Federation via Azure.
DefaultEndDateA default end date to be applied to all queries.
DefaultStartDateA default start date to be applied to all queries.
IgnorePermissionsExceptionWhether to ignore exceptions related to insufficient permissions for a specific profile.
IncludeDeletedSpecifies whether soft-deleted or trashed items should be included in a list request.
IncludeEmptyRowsIf set to false, the provider does not include rows if all the retrieved metrics are equal to zero. The default is true which will include these rows.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
PagesizeSpecifies the maximum number of records per page the provider returns when requesting data from Google Analytics.
PropertyIdProperty ID value to be used when querying reports views in V4 schema.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
ReportTypeThe type of Reports to get results in case of Events and ActiveUsers view.
SupportEnhancedSQLThis property enhances SQL functionality beyond what can be supported through the API directly, by enabling in-memory client-side processing.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
WorkloadPoolIdThe ID of your Workload Identity Federation pool.
WorkloadProjectIdThe ID of the Google Cloud project that hosts your Workload Identity Federation pool.
WorkloadProviderIdThe ID of your Workload Identity Federation pool provider.
CData Cloud

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
AuthSchemeSpecifies the authentication method used to connect to Google Analytics.
SchemaThe type of schema to use.
CData Cloud

AuthScheme

Specifies the authentication method used to connect to Google Analytics.

Possible Values

OAuth, OAuthJWT, AWSWorkloadIdentity, AzureWorkloadIdentity

Data Type

string

Default Value

"OAuth"

Remarks

  • OAuth: Set this to perform OAuth authentication using a standard user account.
  • OAuthJWT: Set this to perform OAuth authentication using an OAuth service account.
  • GCPInstanceAccount: Set this to get Access Token from Google Cloud Platform instance.
  • AWSWorkloadIdentity: Set this to authenticate using Workload Identity Federation via AWS. The Cloud authenticates to AWS according to the AWSWorkloadIdentityConfig and provides Google Security Token Service with an authentication token. The Google STS validates this token and produces an OAuth token that can access Google services.
  • AzureWorkloadIdentity: Set this to authenticate using Workload Identity Federation via Azure. The Cloud authenticates to Azure according to the AzureWorkloadIdentityConfig and provides Google Security Token Service with an authentication token. The Google STS validates this token and produces an OAuth token that can access Google services.

CData Cloud

Schema

The type of schema to use.

Possible Values

GoogleAnalytics4

Data Type

string

Default Value

"GoogleAnalytics4"

Remarks

The schema available is GoogleAnalytics4.

CData Cloud

OAuth

This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.


PropertyDescription
OAuthClientIdSpecifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecretSpecifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
DelegatedServiceAccountsSpecifies a space-delimited list of service account emails for delegated requests.
RequestingServiceAccountSpecifies a service account email to make a delegated request.
ScopeSpecifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.
CData Cloud

OAuthClientId

Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.

Data Type

string

Default Value

""

Remarks

This property is required in two cases:

  • When using a custom OAuth application, such as in web-based authentication flows, service-based authentication, or certificate-based flows that require application registration.
  • If the driver does not provide embedded OAuth credentials.

(When the driver provides embedded OAuth credentials, this value may already be provided by the Cloud and thus not require manual entry.)

OAuthClientId is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.

OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can usually find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.

While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.

For more information on how this property is used when configuring a connection, see Establishing a Connection.

CData Cloud

OAuthClientSecret

Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).

Data Type

string

Default Value

""

Remarks

This property (sometimes called the application secret or consumer secret) is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.

The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication fails with either an invalid_client or an unauthorized_client error.

OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application.

Notes:

  • This value should be stored securely and never exposed in public repositories, scripts, or unsecured environments.
  • Client secrets may also expire after a set period. Be sure to monitor expiration dates and rotate secrets as needed to maintain uninterrupted access.

For more information on how this property is used when configuring a connection, see Establishing a Connection

CData Cloud

DelegatedServiceAccounts

Specifies a space-delimited list of service account emails for delegated requests.

Data Type

string

Default Value

""

Remarks

The service account emails must be specified in a space-delimited list.

Each service account must be granted the roles/iam.serviceAccountTokenCreator role on its next service account in the chain.

The last service account in the chain must be granted the roles/iam.serviceAccountTokenCreator role on the requesting service account. The requesting service account is the one specified in the RequestingServiceAccount property.

Note that for delegated requests, the requesting service account must have the permission iam.serviceAccounts.getAccessToken, which can also be granted through the serviceAccountTokenCreator role.

CData Cloud

RequestingServiceAccount

Specifies a service account email to make a delegated request.

Data Type

string

Default Value

""

Remarks

The service account email of the account for which the credentials are requested in a delegated request. With the list of delegated service accounts in DelegatedServiceAccounts, this property is used to make a delegated request.

You must have the IAM permission iam.serviceAccounts.getAccessToken on this service account.

CData Cloud

Scope

Specifies the scope of the authenticating user's access to the application, to ensure they get appropriate access to data. If a custom OAuth application is needed, this is generally specified at the time the application is created.

Data Type

string

Default Value

""

Remarks

Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.

When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.

When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.

CData Cloud

JWT OAuth

This section provides a complete list of the JWT OAuth properties you can configure in the connection string for this provider.


PropertyDescription
OAuthJWTCertSupplies the name of the client certificate's JWT Certificate store.
OAuthJWTCertTypeIdentifies the type of key store containing the JWT Certificate.
OAuthJWTCertPasswordProvides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.
OAuthJWTCertSubjectIdentifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.
OAuthJWTIssuerThe issuer of the Java Web Token.
OAuthJWTSubjectThe user subject for which the application is requesting delegated access.
CData Cloud

OAuthJWTCert

Supplies the name of the client certificate's JWT Certificate store.

Data Type

string

Default Value

""

Remarks

The OAuthJWTCertType field specifies the type of the certificate store specified in OAuthJWTCert. If the store is password-protected, use OAuthJWTCertPassword to supply the password..

OAuthJWTCert is used in conjunction with the OAuthJWTCertSubject field in order to specify client certificates. If OAuthJWTCert has a value, and OAuthJWTCertSubject is set, the CData Cloud initiates a search for a certificate. For further information, see OAuthJWTCertSubject.

Designations of certificate stores are platform-dependent.

Notes

  • The most common User and Machine certificate stores in Windows include:
    • MY: A certificate store holding personal certificates with their associated private keys.
    • CA: Certifying authority certificates.
    • ROOT: Root certificates.
    • SPC: Software publisher certificates.
  • In Java, the certificate store normally is a file containing certificates and optional private keys.
  • When the certificate store type is PFXFile, this property must be set to the name of the file.
  • When the type is PFXBlob, the property must be set to the binary contents of a PFX file (i.e. PKCS12 certificate store).

CData Cloud

OAuthJWTCertType

Identifies the type of key store containing the JWT Certificate.

Possible Values

PFXBLOB, JKSBLOB, PEMKEY_BLOB, PUBLIC_KEY_BLOB, SSHPUBLIC_KEY_BLOB, XMLBLOB, BCFKSBLOB, GOOGLEJSONBLOB

Data Type

string

Default Value

"GOOGLEJSONBLOB"

Remarks

ValueDescriptionNotes
USERA certificate store owned by the current user. Only available in Windows.
MACHINEA machine store.Not available in Java or other non-Windows environments.
PFXFILEA PFX (PKCS12) file containing certificates.
PFXBLOBA string (base-64-encoded) representing a certificate store in PFX (PKCS12) format.
JKSFILEA Java key store (JKS) file containing certificates.Only available in Java.
JKSBLOBA string (base-64-encoded) representing a certificate store in Java key store (JKS) format. Only available in Java.
PEMKEY_FILEA PEM-encoded file that contains a private key and an optional certificate.
PEMKEY_BLOBA string (base64-encoded) that contains a private key and an optional certificate.
PUBLIC_KEY_FILEA file that contains a PEM- or DER-encoded public key certificate.
PUBLIC_KEY_BLOBA string (base-64-encoded) that contains a PEM- or DER-encoded public key certificate.
SSHPUBLIC_KEY_FILEA file that contains an SSH-style public key.
SSHPUBLIC_KEY_BLOBA string (base-64-encoded) that contains an SSH-style public key.
P7BFILEA PKCS7 file containing certificates.
PPKFILEA file that contains a PPK (PuTTY Private Key).
XMLFILEA file that contains a certificate in XML format.
XMLBLOBAstring that contains a certificate in XML format.
BCFKSFILEA file that contains an Bouncy Castle keystore.
BCFKSBLOBA string (base-64-encoded) that contains a Bouncy Castle keystore.
GOOGLEJSONA JSON file containing the service account information. Only valid when connecting to a Google service.
GOOGLEJSONBLOBA string that contains the service account JSON. Only valid when connecting to a Google service.

CData Cloud

OAuthJWTCertPassword

Provides the password for the OAuth JWT certificate used to access a password-protected certificate store. If the certificate store does not require a password, leave this property blank.

Data Type

string

Default Value

""

Remarks

This property specifies the password needed to open a password-protected certificate store. To determine if a password is necessary, refer to the documentation or configuration for your specific certificate store.

This is not required when using the GOOGLEJSON OAuthJWTCertType. Google JSON keys are not encrypted.

CData Cloud

OAuthJWTCertSubject

Identifies the subject of the OAuth JWT certificate used to locate a matching certificate in the store. Supports partial matches and the wildcard '*' to select the first certificate.

Data Type

string

Default Value

"*"

Remarks

The value of this property is used to locate a matching certificate in the store. The search process works as follows:

  • If an exact match for the subject is found, the corresponding certificate is selected.
  • If no exact match is found, the store is searched for certificates whose subjects contain the property value.
  • If no match is found, no certificate is selected.

You can set the value to '*' to automatically select the first certificate in the store. The certificate subject is a comma-separated list of distinguished name fields and values. For example: CN=www.server.com, OU=test, C=US, [email protected].

Common fields include:

FieldMeaning
CNCommon Name. This is commonly a host name like www.server.com.
OOrganization
OUOrganizational Unit
LLocality
SState
CCountry
EEmail Address

If a field value contains a comma, enclose it in quotes. For example: "O=ACME, Inc.".

CData Cloud

OAuthJWTIssuer

The issuer of the Java Web Token.

Data Type

string

Default Value

""

Remarks

The issuer of the Java Web Token. Enter the value of the service account email address.

This is not required when using the GOOGLEJSON OAuthJWTCertType. Google JSON keys contain a copy of the issuer account.

CData Cloud

OAuthJWTSubject

The user subject for which the application is requesting delegated access.

Data Type

string

Default Value

""

Remarks

The user subject for which the application is requesting delegated access. Enter the email address of the user for which the application is requesting delegated access.

CData Cloud

SSL

This section provides a complete list of the SSL properties you can configure in the connection string for this provider.


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.
CData Cloud

SSLServerCert

Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

Data Type

string

Default Value

""

Remarks

If you are using a TLS/SSL connection, use this property to specify the TLS/SSL certificate to be accepted from the server. If you specify a value for this property, all other certificates that are not trusted by the machine are rejected.

This property can take the following forms:

Description Example
A full PEM Certificate (example shortened for brevity) -----BEGIN CERTIFICATE-----
MIIChTCCAe4CAQAwDQYJKoZIhv......Qw==
-----END CERTIFICATE-----
A path to a local file containing the certificate C:\cert.cer
The public key (example shortened for brevity) -----BEGIN RSA PUBLIC KEY-----
MIGfMA0GCSq......AQAB
-----END RSA PUBLIC KEY-----
The MD5 Thumbprint (hex values can also be either space- or colon-separated) ecadbdda5a1529c58a1e9e09828d70e4
The SHA1 Thumbprint (hex values can also be either space- or colon-separated) 34a929226ae0819f2ec14b4a3d904f801cbb150d

Note: It is possible to use '*' to signify that all certificates should be accepted, but due to security concerns this is not recommended.

CData Cloud

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
VerbositySpecifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
CData Cloud

Verbosity

Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.

Data Type

string

Default Value

"1"

Remarks

This property defines the level of detail the Cloud includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.

The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.

When combined with the LogModules property, Verbosity can refine logging to specific categories of information.

CData Cloud

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
CData Cloud

BrowsableSchemas

Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Data Type

string

Default Value

""

Remarks

Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.

CData Cloud

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
AWSWorkloadIdentityConfigConfiguration properties to provide when using Workload Identity Federation via AWS.
AzureWorkloadIdentityConfigConfiguration properties to provide when using Workload Identity Federation via Azure.
DefaultEndDateA default end date to be applied to all queries.
DefaultStartDateA default start date to be applied to all queries.
IgnorePermissionsExceptionWhether to ignore exceptions related to insufficient permissions for a specific profile.
IncludeDeletedSpecifies whether soft-deleted or trashed items should be included in a list request.
IncludeEmptyRowsIf set to false, the provider does not include rows if all the retrieved metrics are equal to zero. The default is true which will include these rows.
MaxRowsSpecifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
PagesizeSpecifies the maximum number of records per page the provider returns when requesting data from Google Analytics.
PropertyIdProperty ID value to be used when querying reports views in V4 schema.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
ReportTypeThe type of Reports to get results in case of Events and ActiveUsers view.
SupportEnhancedSQLThis property enhances SQL functionality beyond what can be supported through the API directly, by enabling in-memory client-side processing.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
WorkloadPoolIdThe ID of your Workload Identity Federation pool.
WorkloadProjectIdThe ID of the Google Cloud project that hosts your Workload Identity Federation pool.
WorkloadProviderIdThe ID of your Workload Identity Federation pool provider.
CData Cloud

AWSWorkloadIdentityConfig

Configuration properties to provide when using Workload Identity Federation via AWS.

Data Type

string

Default Value

""

Remarks

The properties are formatted as a semicolon-separated list of Key=Value properties, where the value is optionally quoted. For example, this setting authenticates in AWS using a user's root keys:

AWSWorkloadIdentityConfig="AuthScheme=AwsRootKeys;AccessKey='AKIAABCDEF123456';SecretKey=...;Region=us-east-1"

CData Cloud

AzureWorkloadIdentityConfig

Configuration properties to provide when using Workload Identity Federation via Azure.

Data Type

string

Default Value

""

Remarks

The properties are formatted as a semicolon-separated list of Key=Value properties, where the value is optionally quoted. For example, this setting authenticates in Azure using client credentials:

AzureWorkloadIdentityConfig="AuthScheme=AzureServicePrincipal;AzureTenant=directory (tenant) id;OAuthClientID=application (client) id;OAuthClientSecret=client secret;AzureResource=application id uri;"

CData Cloud

DefaultEndDate

A default end date to be applied to all queries.

Data Type

string

Default Value

""

Remarks

A default end date to be applied to all queries. These values will be overridden if set in the query.

CData Cloud

DefaultStartDate

A default start date to be applied to all queries.

Data Type

string

Default Value

""

Remarks

A default start date to be applied to all queries. These values will be overridden if set in the query.

CData Cloud

IgnorePermissionsException

Whether to ignore exceptions related to insufficient permissions for a specific profile.

Data Type

bool

Default Value

false

Remarks

Whether to ignore exceptions related to insufficient permissions for a specific profile.

CData Cloud

IncludeDeleted

Specifies whether soft-deleted or trashed items should be included in a list request.

Data Type

bool

Default Value

false

Remarks

By default, list requests exclude soft-deleted (trashed) items. When IncludeDeleted is set to True, the results contain resources that are in the trash.

CData Cloud

IncludeEmptyRows

If set to false, the provider does not include rows if all the retrieved metrics are equal to zero. The default is true which will include these rows.

Data Type

bool

Default Value

true

Remarks

Allowed Values:

TRUEThe provider includes the rows where all the retrieved metrics are equal to zero.
FALSEThe provider does not include the rows where all the retrieved metrics are equal to zero.

Note that it is still possible for no rows to be returned with this set to TRUE depending on the dimensions included in the query. This property will only work when the cardinality of the dimension is known over the date range (such as with the Date dimension). If the cardinality is unknown or not defined, such as with the ProductName dimension on the Ecommerce table, no results would be returned.

CData Cloud

MaxRows

Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.

Data Type

int

Default Value

-1

Remarks

The default value for this property, -1, means that no row limit is enforced unless the query explicitly includes a LIMIT clause. (When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting.)

Setting MaxRows to a whole number greater than 0 ensures that queries do not return excessively large result sets by default.

This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.

CData Cloud

Pagesize

Specifies the maximum number of records per page the provider returns when requesting data from Google Analytics.

Data Type

int

Default Value

10000

Remarks

When processing a query, instead of requesting all of the queried data at once from Google Analytics, the Cloud can request the queried data in pieces called pages.

This connection property determines the maximum number of results that the Cloud requests per page.

Note: Setting large page sizes may improve overall query execution time, but doing so causes the Cloud to use more memory when executing queries and risks triggering a timeout.

CData Cloud

PropertyId

Property ID value to be used when querying reports views in V4 schema.

Data Type

string

Default Value

""

Remarks

Property ID value to be used when querying reports views in V4 schema.

CData Cloud

PseudoColumns

Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.

Data Type

string

Default Value

""

Remarks

This property allows you to define which pseudocolumns the Cloud exposes as table columns.

To specify individual pseudocolumns, use the following format:

Table1=Column1;Table1=Column2;Table2=Column3

To include all pseudocolumns for all tables use:

*=*

CData Cloud

ReportType

The type of Reports to get results in case of Events and ActiveUsers view.

Possible Values

RealtimeReports, Reports

Data Type

string

Default Value

"RealtimeReports"

Remarks

The ReportType available are RealtimeReports and Reports. For the Events and ActiveUsers view

RealtimeReportsDriver will use runRealtimeReport endpoint.
ReportsDriver will use runReport endpoint.

CData Cloud

SupportEnhancedSQL

This property enhances SQL functionality beyond what can be supported through the API directly, by enabling in-memory client-side processing.

Data Type

bool

Default Value

true

Remarks

When SupportEnhancedSQL = true, the Cloud offloads as much of the SELECT statement processing as possible to Google Analytics and then processes the rest of the query in memory. In this way, the Cloud can execute unsupported predicates, joins, and aggregation.

When SupportEnhancedSQL = false, the Cloud limits SQL execution to what is supported by the Google Analytics API.

Execution of Predicates

The Cloud determines which of the clauses are supported by the data source and then pushes them to the source to get the smallest superset of rows that would satisfy the query. It then filters the rest of the rows locally. The filter operation is streamed, which enables the Cloud to filter effectively for even very large datasets.

Execution of Joins

The Cloud uses various techniques to join in memory. The Cloud trades off memory utilization against the requirement of reading the same table more than once.

Execution of Aggregates

The Cloud retrieves all rows necessary to process the aggregation in memory.

CData Cloud

Timeout

Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.

Data Type

int

Default Value

60

Remarks

The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.

Timeout is set to 60 seconds by default. To disable timeouts, set this property to 0.

Disabling the timeout allows operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server.

Note: Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.

CData Cloud

WorkloadPoolId

The ID of your Workload Identity Federation pool.

Data Type

string

Default Value

""

Remarks

The ID of your Workload Identity Federation pool.

CData Cloud

WorkloadProjectId

The ID of the Google Cloud project that hosts your Workload Identity Federation pool.

Data Type

string

Default Value

""

Remarks

The ID of the Google Cloud project that hosts your Workload Identity Federation pool.

CData Cloud

WorkloadProviderId

The ID of your Workload Identity Federation pool provider.

Data Type

string

Default Value

""

Remarks

The ID of your Workload Identity Federation pool provider.

CData Cloud

Third Party Copyrights

LZMA from 7Zip LZMA SDK

LZMA SDK is placed in the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

LZMA2 from XZ SDK

Version 1.9 and older are in the public domain.

Xamarin.Forms

Xamarin SDK

The MIT License (MIT)

Copyright (c) .NET Foundation Contributors

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NSIS 3.10

Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS

"Contribution" means:

a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:

i) changes to the Program, and

ii) additions to the Program;

where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.

"Contributor" means any person or entity that distributes the Program.

"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.

2. GRANT OF RIGHTS

a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.

b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.

c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.

d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.

3. REQUIREMENTS

A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:

a) it complies with the terms and conditions of this Agreement; and

b) its license agreement:

i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;

ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;

iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and

iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.

When the Program is made available in source code form:

a) it must be made available under this Agreement; and

b) a copy of this Agreement must be included with each copy of the Program.

Contributors may not remove or alter any copyright notices contained within the Program.

Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.

4. COMMERCIAL DISTRIBUTION

Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL

If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.

This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.

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