AI-generated Key Takeaways
-
New dimension filter type
EmptyFilterwas added to compare against blank values. -
The
samplingLevelfeature was added to thereportTasksmethod, allowing control over report sampling and access to higher sampling limits for Google Analytics 360 properties. -
A
properties.getPropertyQuotasSnapshotmethod was introduced to get a current snapshot of property quotas. -
A "client errors per project per property" quota was added, limiting API server errors within a 15-minute window.
-
The Comparisons feature is now available, allowing side-by-side evaluation of data subsets with updates to core reporting methods and
getMetadata.
For official Google Analytics API announcements, please subscribe to Google Analytics API Notify Group.
2024-10-20 Added the EmptyFilter dimension filter type
Using the EmptyFilter dimension filter you can create filtering conditions to compare against a blank value.
2024-10-15 Added Sampling level feature to the reportTasks method
Using the samplingLevel field of the properties.runReportTask method you can control the report's sampling level.
This feature gives Google Analytics 360 properties access to higher sampling
limits of 1 billion events. Also, sampling limits can be set to UNSAMPLED
for large event count unsampled results.
2024-09-18 Added Property Quotas Snapshot feature
Using the properties.getPropertyQuotasSnapshot method, you can get a current snapshot of all property quotas organized by quota category for a given property.
2024-06-28 Added "client errors per project per property" quota
There is now a limit of 10,000 API server errors allowed per project, per
property, within a 15-minute window. This includes all requests resulting in a
response with any code other than 500 or 200. Examples of errors falling
under this quota: using incompatible dimensions and metrics combinations, all
authentication errors.
If this limit is exceeded, further API calls to that property will be temporarily blocked for the associated Google Cloud project until the 15-minute window ends.
2024-05-14 Added Comparisons feature
Using Comparisons, you can evaluate subsets of your data side by side.
Core reporting methods of the Data API v1beta are updated to support the
comparisons
field which, when included, specifies the configuration of comparisons
requested.
In a request, you can specify either a basic comparison, by providing the dimensionFilter
expression with a request, or use a saved comparison by providing the
comparison's resource name in the
comparison
field.
The getMetadata method is updated to
list all saved comparisons available for a property under the
comparisons
response field.
When at least one comparison is specified in a request, the response will
contain the comparison column identifying each comparison.
Currently, saved comparisons can only be created using the Google Analytics UI.
2024-05-08 Added report tasks, an asynchronous reporting feature, to the Data API v1alpha.
Using report tasks, you can initiate a long running asynchronous request to form a customized report of your Google Analytics event data.
The following report task manipulation methods have been added to the Data API v1alpha:
- properties.reportTasks.create
- properties.reportTasks.get
- properties.reportTasks.list
- properties.reportTasks.query
2024-05-06 New dimensions for key events
Dimensions and metrics for key events are now available.
Modify your report requests that use the isConversionEvent dimension to
use the isKeyEvent dimension instead.
Modify any report requests that use a Deprecated Metric in the following table to use the Key Event Metric instead.
| Deprecated Metric | Key Event Metric |
|---|---|
advertiserAdCostPerConversion |
advertiserAdCostPerKeyEvent |
conversions |
keyEvents |
firstTimePurchaserConversionRate |
firstTimePurchaserRate |
purchaserConversionRate |
purchaserRate |
sessionConversionRate |
sessionKeyEventRate |
userConversionRate |
userKeyEventRate |
Make similar modifications to any usage of key event metrics for one key event in your report requests.
The response for the properties/getMetadata method reflects the introduction
of key event dimensions and metrics in DimensionMetadata and
MetricMetadata objects as follows:
- The
apiName,uiName, anddescriptioncontain the key event API name, UI name, and description. - The
deprecatedApiNamesrepeated field has an entry with the deprecated conversion API name.
2024-03-25 Added primary channel group, manual traffic source & integration specific dimensions.
Primary channel group, manual traffic source and CM360, DV360, SA360 integration specific dimensions added to the Data API schema.
Audience dimensions:
audienceIdAudience ID. The numeric identifier of an Audience.
Primary Channel Group dimensions:
firstUserPrimaryChannelGroupFirst user primary channel groupprimaryChannelGroupPrimary channel groupsessionPrimaryChannelGroupSession primary channel group
Manual Traffic Source dimensions:
manualCampaignIdManual campaign IDmanualCampaignNameManual campaign namemanualCreativeFormatManual creative formatmanualMarketingTacticManual marketing tacticmanualMediumManual mediummanualSourceManual sourcemanualSourceMediumManual source / mediummanualSourcePlatformManual source platformfirstUserManualCampaignIdFirst user manual campaign IDfirstUserManualCampaignNameFirst user manual campaign namefirstUserManualCreativeFormatFirst user manual creative formatfirstUserManualMarketingTacticFirst user manual marketing tacticfirstUserManualMediumFirst user manual mediumfirstUserManualSourceFirst user manual sourcefirstUserManualSourceMediumFirst user manual source / mediumfirstUserManualSourcePlatformFirst user manual source platformsessionManualCampaignIdSession manual campaign IDsessionManualCampaignNameSession manual campaign namesessionManualCreativeFormatSession manual creative formatsessionManualMarketingTacticSession manual marketing tacticsessionManualMediumSession manual mediumsessionManualSourceSession manual sourcesessionManualSourceMediumSession manual source / mediumsessionManualSourcePlatformSession manual source platform
Campaign Manager 360 (CM360) integration dimensions:
cm360AccountIdCM360 account IDcm360AccountNameCM360 account namecm360AdvertiserIdCM360 advertiser IDcm360AdvertiserNameCM360 advertiser namecm360CampaignIdCM360 campaign IDcm360CampaignNameCM360 campaign namecm360CreativeFormatCM360 creative formatcm360CreativeIdCM360 creative IDcm360CreativeNameCM360 creative namecm360CreativeTypeCM360 creative typecm360CreativeTypeIdCM360 creative type IDcm360CreativeVersionCM360 creative versioncm360MediumCM360 mediumcm360PlacementCostStructureCM360 placement cost structurecm360PlacementIdCM360 placement IDcm360PlacementNameCM360 placement namecm360RenderingIdCM360 rendering IDcm360SiteIdCM360 site IDcm360SiteNameCM360 site namecm360SourceCM360 sourcecm360SourceMediumCM360 source / mediumfirstUserCm360AccountIdFirst user CM360 account IDfirstUserCm360AccountNameFirst user CM360 account namefirstUserCm360AdvertiserIdFirst user CM360 advertiser IDfirstUserCm360AdvertiserNameFirst user CM360 advertiser namefirstUserCm360CampaignIdFirst user CM360 campaign IDfirstUserCm360CampaignNameFirst user CM360 campaign namefirstUserCm360CreativeFormatFirst user CM360 creative formatfirstUserCm360CreativeIdFirst user CM360 creative IDfirstUserCm360CreativeNameFirst user CM360 creative namefirstUserCm360CreativeTypeFirst user CM360 creative typefirstUserCm360CreativeTypeIdFirst user CM360 creative type IDfirstUserCm360CreativeVersionFirst user CM360 creative versionfirstUserCm360MediumFirst user CM360 mediumfirstUserCm360PlacementCostStructureFirst user CM360 placement cost structurefirstUserCm360PlacementIdFirst user CM360 placement IDfirstUserCm360PlacementNameFirst user CM360 placement namefirstUserCm360RenderingIdFirst user CM360 rendering IDfirstUserCm360SiteIdFirst user CM360 site IDfirstUserCm360SiteNameFirst user CM360 site namefirstUserCm360SourceFirst user CM360 sourcefirstUserCm360SourceMediumFirst user CM360 source / mediumsessionCm360AccountIdSession CM360 account IDsessionCm360AccountNameSession CM360 account namesessionCm360AdvertiserIdSession CM360 advertiser IDsessionCm360AdvertiserNameSession CM360 advertiser namesessionCm360CampaignIdSession CM360 campaign IDsessionCm360CampaignNameSession CM360 campaign namesessionCm360CreativeFormatSession CM360 creative formatsessionCm360CreativeIdSession CM360 creative IDsessionCm360CreativeNameSession CM360 creative namesessionCm360CreativeTypeSession CM360 creative typesessionCm360CreativeTypeIdSession CM360 creative type IDsessionCm360CreativeVersionSession CM360 creative versionsessionCm360MediumSession CM360 mediumsessionCm360PlacementCostStructureSession CM360 placement cost structuresessionCm360PlacementIdSession CM360 placement IDsessionCm360PlacementNameSession CM360 placement namesessionCm360RenderingIdSession CM360 rendering IDsessionCm360SiteIdSession CM360 site IDsessionCm360SiteNameSession CM360 site namesessionCm360SourceSession CM360 sourcesessionCm360SourceMediumSession CM360 source / medium
Google Display & Video 360 (DV360) integration dimensions:
dv360AdvertiserIdDV360 advertiser IDdv360AdvertiserNameDV360 advertiser namedv360CampaignIdDV360 campaign IDdv360CampaignNameDV360 campaign namedv360CreativeFormatDV360 creative formatdv360CreativeIdDV360 creative IDdv360CreativeNameDV360 creative namedv360ExchangeIdDV360 exchange IDdv360ExchangeNameDV360 exchange namedv360InsertionOrderIdDV360 insertion order IDdv360InsertionOrderNameDV360 insertion order namedv360LineItemIdDV360 line item IDdv360LineItemNameDV360 line item namedv360MediumDV360 mediumdv360PartnerIdDV360 partner IDdv360PartnerNameDV360 partner namedv360SourceDV360 sourcedv360SourceMediumDV360 source / mediumfirstUserDv360AdvertiserIdFirst user DV360 advertiser IDfirstUserDv360AdvertiserNameFirst user DV360 advertiser namefirstUserDv360CampaignIdFirst user DV360 campaign IDfirstUserDv360CampaignNameFirst user DV360 campaign namefirstUserDv360CreativeFormatFirst user DV360 creative formatfirstUserDv360CreativeIdFirst user DV360 creative IDfirstUserDv360CreativeNameFirst user DV360 creative namefirstUserDv360ExchangeIdFirst user DV360 exchange IDfirstUserDv360ExchangeNameFirst user DV360 exchange namefirstUserDv360InsertionOrderIdFirst user DV360 insertion order IDfirstUserDv360InsertionOrderNameFirst user DV360 insertion order namefirstUserDv360LineItemIdFirst user DV360 line item IDfirstUserDv360LinteItemNameFirst user DV360 line item namefirstUserDv360MediumFirst user DV360 mediumfirstUserDv360PartnerIdFirst user DV360 partner IDfirstUserDv360PartnerNameFirst user DV360 partner namefirstUserDv360SourceFirst user DV360 sourcefirstUserDv360SourceMediumFirst user DV360 source / mediumsessionDv360AdvertiserIdSession DV360 advertiser IDsessionDv360AdvertiserNameSession DV360 advertiser namesessionDv360CampaignIdSession DV360 campaign IDsessionDv360CampaignNameSession DV360 campaign namesessionDv360CreativeFormatSession DV360 creative formatsessionDv360CreativeIdSession DV360 creative IDsessionDv360CreativeNameSession DV360 creative namesessionDv360ExchangeIdSession DV360 exchange IDsessionDv360ExchangeNameSession DV360 exchange namesessionDv360InsertionOrderIdSession DV360 insertion order IDsessionDv360InsertionOrderNameSession DV360 insertion order namesessionDv360LineItemIdSession DV360 line item IDsessionDv360LineItemNameSession DV360 line item namesessionDv360MediumSession DV360 mediumsessionDv360PartnerIdSession DV360 partner IDsessionDv360PartnerNameSession DV360 partner namesessionDv360SourceSession DV360 sourcesessionDv360SourceMediumSession DV360 source / medium
Google Search Ads 360 (SA360) integration dimensions:
firstUserSa360AdGroupIdFirst user SA360 ad group IDfirstUserSa360AdGroupNameFirst user SA360 ad group namefirstUserSa360CampaignIdFirst user SA360 campaign IDfirstUserSa360CampaignNameFirst user SA360 campaignfirstUserSa360CreativeFormatFirst user SA360 creative formatfirstUserSa360EngineAccountIdFirst user SA360 engine account IDfirstUserSa360EngineAccountNameFirst user SA360 engine account namefirstUserSa360EngineAccountTypeFirst user SA360 engine account typefirstUserSa360KeywordTextFirst user SA360 keyword textfirstUserSa360ManagerAccountIdFirst user SA360 manager account IDfirstUserSa360ManagerAccountNameFirst user SA360 manager account namefirstUserSa360MediumFirst user SA360 mediumfirstUserSa360QueryFirst user SA360 queryfirstUserSa360SourceFirst user SA360 sourcefirstUserSa360SourceMediumFirst user SA360 source / mediumsa360AdGroupIdSA360 ad group IDsa360CampaignIdSA360 campaign IDsa360AdGroupNameSA360 ad group namesa360CampaignNameSA360 campaignsa360CreativeFormatSA360 creative formatsa360EngineAccountIdSA360 engine account IDsa360EngineAccountNameSA360 engine account namesa360EngineAccountTypeSA360 engine account typesa360KeywordTextSA360 keyword textsa360ManagerAccountIdSA360 manager account IDsa360ManagerAccountNameSA360 manager account namesa360MediumSA360 mediumsa360QuerySA360 querysa360SourceSA360 sourcesa360SourceMediumSA360 source / mediumsessionSa360AdGroupIdSession SA360 ad group IDsessionSa360CampaignIdSession SA360 campaign IDsessionSa360ManagerAccountIdSession SA360 manager account IDsessionSa360ManagerAccountNameSession SA360 manager account namesessionSa360SourceMediumSession SA360 source / medium
2024-03-06 Inactive user audiences support in Audience Exports.
The Audience Export feature better supports exporting inactive user audiences. Users enter these audiences without a qualifying event; for example, the user can enter the audience by not visiting your website for seven days. Examples of inactive user audiences include "7-day inactive purchasers", "7-day inactive users", & "7-day unnotified users". To learn more about those suggested audiences, see Suggested audiences.
2024-02-28 Audience Exports return the user ID specified in tagging.
Audience Exports now return the user ID specified in tagging even if user-provided data is turned on for your property. If user-provided data collection is turned on, user-provided data along with User-ID can be sent to Google Analytics in tagging to improve measurement. To learn more, see user-provided data collection.
2024-01-30 Webhook notifications support for Audience Lists, Recurring Audience Lists in the Data API v1 alpha.
AudienceList.webhookNotification
and RecurringAudienceList.webhookNotification
fields can be specified when creating an Audience List (using properties.audienceLists.create)
or Recurring Audience List (using properties.recurringAudienceLists.create).
This functionality lets you asynchronously receive Webhook notifications when an audience list becomes available.
2024-01-18 Improved compatibility for dimensions that include the query string or minute component.
Dimensions that include the query string are now compatible with most fields.
Dimensions like pagePathPlusQueryString, unifiedPageScreen, pageLocation
and fullPageUrl are now compatible with many additional fields including
sessionSource, browser, city and landingPage.
Dimensions that include the minute component are now compatible with most
fields. Dimensions like minute, nthMinute and dateHourMinute are now
compatible with a similar set of additional fields.
See the GA4 Dimensions & Metrics Explorer for comprehensive compatibility information.
2023-12-13 Custom item-scoped parameters
Item-scoped custom dimensions can now be included in Analytics Data API queries using the following syntax:
| Generic API Name | Description |
|---|---|
| customItem:parameter_name | Item-scoped Custom Dimension for parameter_name |
See the API Dimensions & Metrics for more information.
2023-12-05 Audience Lists are available in the Data API v1 beta as Audience Exports
Audience Lists feature has been renamed to Audience Exports and added to the Data API v1 beta.
Added the following methods to the Data API v1 beta:
2023-11-28 Added samplingMetadatas to report response
Added samplingMetadatas to
ResponseMetaData. This collection will
contain a SampleMetadata
for each date range in the request for which the results were
sampled. Google Analytics
will apply sampling only when it anticipates that cardinality limits will
reduce data quality.
2023-11-28 Added recurring Audience List export functionality to the Data API v1 alpha
Added properties.recurringAudienceLists.create,
properties.recurringAudienceLists.create,
properties.recurringAudienceLists.list
methods to the Data API v1 alpha.
This functionality lets you produce audience lists daily as Audience memberships change. Recurring audience lists ensure you are working with the freshest Audience membership results.
2023-10-13 Added support for Audiences with membership durations of 1 day
Audiences with membership durations of 1 day are now supported by the Audience Lists export functionality.
2023-09-12 AudienceList default ordering rules
By default, reports created using the Audience Lists export functionality follow the same ordering rules as the other reporting methods of the Data API: the ordering will be descending by first column, then descending by second column, etc.
Before this change, you might have received the following report:
| deviceId | isAdsPersonalizationAllowed |
|---|---|
| ABC | true |
| DAC | false |
| ABC | false |
| AAA | true |
After this change, you will receive the following report:
| deviceId | isAdsPersonalizationAllowed |
|---|---|
| AAA | true |
| ABC | false |
| ABC | true |
| DAC | false |
2023-08-15 Added isLimitedAdTracking dimension to the Audience List export schema
isLimitedAdTrackingThe device's Limit Ad Tracking setting. Possible values include:true,false, and(not set).To learn more, see Audience List Dimensions.
2023-08-15 Added currencyCode dimension, itemDiscountAmount metric
currencyCodeThe local currency code (based on ISO 4217 standard) of the eCommerce event. For example, 'USD' or 'GBP'.itemDiscountAmountThe monetary value of item discounts in eCommerce events. This metric is populated in tagging by the 'discount' item parameter.
To learn more, see Data API reporting schema.
2023-08-10 Added isAdsPersonalizationAllowed dimension to the Audience List export schema
isAdsPersonalizationAllowedIs ads personalization allowed. If a user is eligible for ads personalizationisAdsPersonalizationAllowedreturnstrue. If a user is not eligible for ads personalization,isAdsPersonalizationAllowedreturnsfalse.To learn more, see Audience List Dimensions.
2023-07-10 Audience Lists
Audience Lists support added to the Data API v1 alpha. Audiences Lists include a snapshot of the users in the audience at the time of Audience List creation.
The following methods added to the Data API v1 alpha:
2023-05-19 Custom Channel Groups
Custom channel groups support added to the Data API.
2023-05-11 Tokens quota changes.
The quota system of the Data API has been updated to allow for more precise charges.
The number of tokens charged for each request has been updated in line with the quota change and rebalanced in a way to allow for a larger number of simple reporting queries, while charging significantly more quota tokens for large date reports.
After this change, while the charge for some requests will remain the same, there will be a noticeable increase in the charges for more complicated queries. For example, requests for more than 6 months of data can charge 1,000 or more quota tokens.
Standard Properties
| Quota Name | Old Limit | New Limit |
|---|---|---|
| Core Tokens Per Property Per Day | 25,000 | 200,000 |
| Core Tokens Per Property Per Hour | 5,000 | 40,000 |
| Core Tokens Per Project Per Property Per Hour | 1,750 | 14,000 |
| Realtime Tokens Per Property Per Day | 25,000 | 200,000 |
| Realtime Tokens Per Property Per Hour | 5,000 | 40,000 |
| Realtime Tokens Per Project Per Property Per Hour | 1,750 | 14,000 |
| Funnel Tokens Per Property Per Day | 25,000 | 200,000 |
| Funnel Tokens Per Property Per Hour | 5,000 | 40,000 |
| Funnel Tokens Per Project Per Property Per Hour | 1,750 | 14,000 |
Analytics 360 Properties
| Quota Name | Old Limit | New Limit |
|---|---|---|
| Core Tokens Per Property Per Day | 250,000 | 2,000,000 |
| Core Tokens Per Property Per Hour | 50,000 | 400,000 |
| Core Tokens Per Project Per Property Per Hour | 17,500 | 140,000 |
| Realtime Tokens Per Property Per Day | 250,000 | 2,000,000 |
| Realtime Tokens Per Property Per Hour | 50,000 | 400,000 |
| Realtime Tokens Per Project Per Property Per Hour | 17,500 | 140,000 |
| Funnel Tokens Per Property Per Day | 250,000 | 2,000,000 |
| Funnel Tokens Per Property Per Hour | 50,000 | 400,000 |
| Funnel Tokens Per Project Per Property Per Hour | 17,500 | 140,000 |
2023-03-02 Added date dimensions.
dayOfWeekNameDay of week name. The day of the week in English. This dimension has values ofSunday,Monday, etc.isoWeekISO week of the year. ISO week number, where each week starts on Monday. For details, see https://en.wikipedia.org/wiki/ISO_week_date. Example values include01,02, &53.isoYearISO year. The ISO year of the event. For details, see https://en.wikipedia.org/wiki/ISO_week_date. Example values include2022&2023.isoYearIsoWeekISO week of ISO year. The combined values ofisoWeekandisoYear. Example values include201652&201701.yearMonthYear month. The combined values ofyearandmonth. Example values include202212or202301.yearWeekYear week. The combined values ofyearandweek. Example values include202253or202301.
2023-02-27 Added e-commerce dimensions.
itemListPositionItem list position. 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.itemLocationIDItem location ID. The physical location associated with the item (e.g. the physical store location). It's 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.itemPromotionCreativeSlotItem promotion creative slot. The name of the promotional creative slot associated with the item. This dimension can be specified in tagging by thecreative_slotparameter at the event or item level. If the parameter is specified at both the event & item level, the item-level parameter is used.
2023-02-21 Added 'Landing page + query string' dimension.
landingPagePlusQueryStringLanding page + query string. The page path + query string associated with the first pageview in a session.
This field replaces the landingPage dimension which is deprecated and will be updated to not return a query string on May 14, 2023.
2023-01-28 Added 'Views per user', 'Scrolled users' metrics.
screenPageViewsPerUserViews per user. The number of app screens or web pages your users viewed per active user. Repeated views of a single page or screen are counted.(screen_view + page_view events) / active users.scrolledUsersScrolled users. The number of unique users who scrolled down at least 90% of the page.
2023-01-23 Added 'Continent', 'Continent ID' dimensions.
continentContinent. The continent from which the user activity originated. For example,AmericasorAsia.continentIdContinent ID. The geographic ID of the continent from which the user activity originated, derived from their IP address.
2023-01-23 Added 'Test data filter ID' dimension.
testDataFilterIdTest data filter ID. The numeric identifier of a data filter in testing state. You use data filters to include or exclude event data from your reports based on event-parameter values. To learn more, see https://support.google.com/analytics/answer/10108813.
2022-10-18 Added Ads metrics.
advertiserAdClicksAds clicks. Total number of times users have clicked on an ad to reach the property.advertiserAdCostAds cost. The total amount you paid for your ads.advertiserAdCostPerClickAds cost per click. Ads cost per click is ad cost divided by ad clicks and is often abbreviated CPC.advertiserAdCostPerConversionCost per conversion. Cost per conversion is ad cost divided by conversions.advertiserAdImpressionsAds impressions. The total number of impressions.returnOnAdSpendReturn on ad spend. Return On Ad Spend (ROAS) is total revenue divided by advertiser ad cost.
2022-10-17 Added item-scoped metrics.
itemsAddedToCartItems added to cart. The number of units added to cart for a single item.itemsCheckedOutItems checked out. The number of units checked out for a single item.itemsClickedInListItems clicked in list. The number of units clicked in list for a single item.itemsClickedInPromotionItems clicked in promotion. The number of units clicked in promotion for a single item.itemsViewedItems viewed. The number of units viewed for a single item.itemsViewedInListItems viewed in list. The number of units viewed in list for a single item.itemsViewedInPromotionItems viewed in promotion. The number of units viewed in promotion for a single item.
2022-09-13 Schema compatibility changes announcement.
On December 1st 2022, the following breaking changes will occur:
Item-scoped dimensions like
itemNameare becoming incompatible with event-scoped metrics likeeventCount. Item-scoped dimensions will still be compatible with item-scoped metrics likeitemRevenue, user-based metrics likeactiveUsers, and session-based metrics likesessions.Attribution dimensions like
sourceare becoming incompatible with some event-scoped metrics likeeventCount. Attribution dimensions will still be compatible with attributable metrics likeconversions, user-based metrics likeactiveUsers, and session-based metrics likesessions.Dimensions that include the query string like
pagePathPlusQueryStringwill only be compatible with a limited set of dimensions & metrics.
2022-09-01 Quota changes.
Requests per day,Requests Per Minute,Requests Per Minute Per Userquotas are removed from the Data API.Tokens Per Project Per Property Per Hourquota has been added to the API.Each request consumes quota for both
Tokens Per Property Per HourandTokens Per Project Per Property Per Hour.See the Quotas documentation for the detailed information on new quotas.
2022-08-03 Added session scoped SA360 dimensions.
sessionSa360AdGroupNameSession SA360 ad group name. The Ad Group name from Search Ads 360 that led to this session.sessionSa360CampaignNameSession SA360 campaign. The Campaign name from Search Ads 360 that led to this session.sessionSa360CreativeFormatSession SA360 creative format. The type of creative in Search Ads 360 that led to this session. For example, 'Responsive search ad' or 'Expanded text ad'.sessionSa360EngineAccountIdSession SA360 engine account ID. The ID of the engine account in SA360 that led to this session.sessionSa360EngineAccountNameSession SA360 engine account name. The name of the engine account in SA360 that led to this session.sessionSa360EngineAccountTypeSession SA360 engine account type. The type of the engine account in Search Ads 360 that led to this session. For example, 'google ads', 'bing', or 'baidu'.sessionSa360KeywordSession SA360 keyword text. The search engine keyword from Search Ads 360 that led to this session.sessionSa360MediumSession SA360 medium. The search engine keyword from Search Ads 360 that led to this session. For example, 'cpc'.sessionSa360QuerySession SA360 query. The search query from Search Ads 360 that led to this session.sessionSa360SourceSession SA360 source. The source of the traffic from Search Ads 360 that led to this session. For example, 'example.com' or 'google'.sessionCampaignId,sessionCampaignNamedimensions now support Search Ads 360 campaigns.
2022-07-11 Added conversion rate metrics.
Conversion rate
sessionConversionRateThe percentage of sessions in which any conversion event was triggered.userConversionRateThe percentage of users who triggered any conversion event.
Conversion Rate Metrics For One Conversion
sessionConversionRate:event_nameThe percentage of sessions in which a specific conversion event was triggered.userConversionRate:event_nameThe percentage of users who triggered a specific conversion event.
2022-05-05 Added Funnel reporting functionality to the Alpha channel.
runFunnelReportmethod added to the v1alpha version of the API, which returns a customized funnel report of your Google Analytics event data.This method is introduced at alpha stability with the intention of gathering feedback on syntax and capabilities before entering beta. Please complete the Google Analytics Data API Funnel Reporting Feedback to give your feedback on this API.
2022-02-16 Added new dimensions.
Manual term & content
firstUserManualAdContentFirst user manual ad content. The ad content that first acquired the user. Populated by theutm_contentparameter.firstUserManualTermFirst user manual term. The term that first acquired the user. Populated by theutm_termparameter.manualAdContentManual ad content. The ad content attributed to the conversion event. Populated by theutm_contentparameter.manualTermManual term. The term attributed to the conversion event. Populated by theutm_termparameter.sessionManualAdContentSession manual ad content. The ad content that led to a session. Populated by theutm_contentparameter.sessionManualTermSession manual term. The term that led to a session. Populated by theutm_termparameter.
Crash analysis
crashAffectedUsersCrash-affected users. The number of users that logged a crash in this row of the report.crashFreeUsersRateCrash-free users rate.
App/Web
averageSessionDurationThe average duration (in seconds) of users' sessions.newVsReturningNew / returning users.screenPageViewsPerSessionViews per session.landingPageLanding page. The page path + query string associated with the first pageview in a session.platformDeviceCategoryThe platform and type of device on which your website or mobile app ran.
Mobile App
averagePurchaseRevenuePerUserAverage purchase revenue per user.firstTimePurchaserConversionRateThe percentage of active users who made their first purchase.firstTimePurchasersPerNewUserThe average number of first time purchasers per new user.dauPerMauDAU / MAU. The rolling percent of 30-day active users who are also 1-day active users.dauPerWauDAU / WAU. The rolling percent of 7-day active users who are also 1-day active users.wauPerMauWAU / MAU. The rolling percent of 30-day active users who are also 7-day active users.purchaserConversionRateThe percentage of active users who made 1 or more purchase transactions.transactionsPerPurchaserTransactions per purchaser.
Google Ads campaign
firstUserGoogleAdsCampaignTypeThe campaign type of the Google Ads campaign that first acquired the user.googleAdsCampaignTypeThe campaign type for the Google Ads campaign attributed to the conversion event.sessionGoogleAdsCampaignTypeThe campaign type for the Google Ads campaign that led to this session.
2021-09-07 Added new Date/time dimensions.
dateHourMinuteThe combined values of date, hour, and minute formatted as YYYYMMDDHHMM.minuteThe two-digit minute of the hour that the event was logged.nthMinuteThe number of minutes since the start of the date range.
2021-09-07 Added new dimensions populated by event parameters.
achievementIdThe achievement ID in a game for an event.characterThe player character in a game for an event.fileExtensionThe extension of the downloaded file.fileNameThe page path of the downloaded file.groupIdThe player group ID in a game for an event.linkClassesThe HTML class attribute for an outbound link.linkDomainThe destination domain of the outbound link.linkIdThe HTML id attribute for an outbound link or file download.linkTextThe link text of the file download.linkUrlThe full url for an outbound link or file download.methodThe method by which an event was triggered.outboundReturns 'true' if the link leads to a site is not a part of the property’s domain.pageLocationThe protocol, hostname, page path, and query string for web pages visited.pageReferrerThe full referring URL including the hostname and path.percentScrolledThe percentage down the page that the user has scrolled (for example, '90').searchTermThe term searched by the user.videoProviderThe source of the video (for example, 'youtube').videoTitleThe title of the video.videoUrlThe url of the video.visibleReturns 'true' if the content is visible.unifiedPagePathScreenThe page path (web) or screen class (app) on which the event was logged.
2021-09-07 API schema changes.
Changes in existing dimensions:
unifiedPageScreenFor web generated events, this dimension now returns the page path and query string on which the event was logged.
Upcoming changes announcement:
firstUserTrafficOriginThe traffic origin 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.sessionTrafficOriginThe traffic origin of the session's campaign. 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.trafficOriginThe traffic origin of the conversion event's campaign. 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.
2021-09-07 checkCompatibility method added to the API.
checkCompatibility
method lists dimensions and metrics that can be added to a report request and
maintain compatibility.
2021-07-21 Realtime reporting changes.
It is now possible to specify the minute ranges of event data to read using
the minuteRanges
parameter of the runRealtimeReport
method.
2021-07-21 New channel grouping dimensions.
New channel grouping dimensions added to the Data API reporting schema:
firstUserDefaultChannelGroupingFirst user default channel grouping.defaultChannelGroupingDefault channel grouping.
2021-06-10 API schema changes.
minutesAgodimension added to the Data API realtime schema and can be used in queries to therunRealtimeReportmethod. This dimension contains the number of minutes ago that an event was collected. 00 is the current minute, and 01 means the previous minute.googleAdsCreativeIddimension added to the Data API schema. This dimension contains the ID of the Google Ads creative attributed to the conversion event.sessionGoogleAdsCreativeIddimension added to the Data API schema. This dimension contains the ID of the Google Ads creative that lead to a session on your website or app.firstUserCreativeIddimension renamed tofirstUserGoogleAdsCreativeIdin the Data API schema. This dimension contains the ID of the Google Ads creative that first acquired the user.
2021-04-09 The Google Analytics Data API v1 beta has been released.
The API endpoint updated to
https://analyticsdata.googleapis.com/v1beta.runReport,runPivotReport,batchRunReports,batchRunPivotReportsmethods now accept the id of a Google Analytics 4 property in thepropertyparameter of the URL path instead of theentityfield of a request body:POST https://analyticsdata.googleapis.com/v1beta/GA4_PROPERTY_ID:batchRunReportsAPI client libraries have been updated to use the new API endpoint.
2021-02-19 Pagination changes.
The default report response size increased from 10 to 10,000 rows of event data.
"limit" : -1value that was used to indicate an attempt to retrieve all rows is no longer supported in RunReportRequest.The maximum value of the
limitfield is set to100000. Use pagination to retrieve reports containing more than 100,000 rows.
2021-02-08 New e-commerce dimensions and metrics.
New e-commerce dimensions and metrics have been added to the API schema:
Dimensions: adFormat, adSourceName, adUnitName, itemBrand,
itemCategory, itemCategory2, itemCategory3, itemCategory4,
itemCategory5 itemId, itemListId, itemListName, itemName,
itemPromotionCreativeName, itemPromotionId, itemPromotionName,
orderCoupon, transactionId.
Metrics: adUnitExposure, addToCarts, cartToViewRate, checkouts,
ecommercePurchases, firstTimePurchasers, itemListClickThroughRate,
itemListClicks, itemListViews, itemPromotionClickThroughRate,
itemPromotionClicks, itemPromotionViews, itemPurchaseQuantity,
itemRevenue, itemViews, publisherAdClicks,
publisherAdImpressions, totalPurchasers.
2021-02-08 Added new campaign dimensions.
New campaign dimensions have been added to the API schema:
campaignId, campaignName, googleAdsAccountName,
googleAdsAdGroupId, googleAdsAdGroupName, googleAdsAdNetworkType,
source, trafficOrigin
2021-02-08 dayOfWeek, week dimension changes.
The value of
dayOfWeekdimension now starts with 0 instead of 1.The value of
weekdimension now starts with 01 and returns a two-digit number from 01 to 53. Each week starts on Sunday. January 1st is always in week 01.
2021-01-28 Added aggregation variants for custom metrics.
Each custom metric that a property registers creates three API metric variants: a sum, an average, and a count.
2021-01-28 Added new Date/time dimensions.
The following new dimensions have been added to the API schema:
hour, nthHour, nthYear, dateHour.
2021-01-28 The Data API reduced the quota tokens charged per query.
The Data API reduced the quota tokens charged per query. The quota limits for property quota tokens per hour and per day were not changed.
2020-11-09 The method getUniversalMetadata has been deleted.
The method getUniversalMetadata has been deleted. Please use
getMetadata. The one year maximum
date range per API request has been removed.
2020-11-02 Added a Realtime Reporting Method.
See the Creating a Realtime Report for examples and runRealtimeReport for the REST reference documentation.
2020-10-19 Client library artifacts updated.
Client library artifacts updated along with usage instructions and code samples.
2020-10-13 App + Web properties have been renamed to Google Analytics 4 (GA4).
2020-10-08 getMetadata method added to the API.
getMetadata method returns Custom dimensions and metrics available for the specified GA4 property ID, as well as Universal metadata.
2020-10-08 Custom dimensions and metrics are available in reports.
See the API schema documentation for documentation on custom dimensions and metrics. This update includes Event-scoped Custom Dimensions and metrics as well as User-scoped Custom Dimensions.