As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Changelog

0.18.15 (2024-10-31)

Bug Fixes

  • disable universe-domain validation (85c7512)

0.18.14 (2024-10-24)

Features

0.18.13 (2024-10-23)

Features

  • add sampling_level to the ReportDefinition type (d395233)

  • add SamplingLevel type to Data API v1alpha (d395233)

0.18.12 (2024-09-23)

Features

  • add GetPropertyQuotasSnapshot method to the Data API v1alpha (65f098a)

  • add PropertyQuotasSnapshot type to the Data API v1alpha (65f098a)

Documentation

  • update the documentation for the CreateReportTask method (65f098a)

0.18.11 (2024-08-08)

Features

  • add the Comparison type (2c4e4d1)

  • add the ComparisonMetadata type (2c4e4d1)

  • add the comparisons field to the Metadata resource (2c4e4d1)

  • add the comparisons field to the RunReportRequest, RunPivotReportRequest resources (2c4e4d1)

Documentation

  • a comment for field custom_definition in message DimensionMetadata is changed (2c4e4d1)

0.18.10 (2024-07-30)

Bug Fixes

  • Retry and timeout values do not propagate in requests during pagination (c6eeae0)

0.18.9 (2024-07-08)

Bug Fixes

0.18.8 (2024-05-07)

Features

  • add CreateReportTask, QueryReportTask, GetReportTask, ListReportTasks methods to the Data API v1alpha (dbca741)

  • add ReportTask, Metric, OrderBy, Cohort, CohortsRange, CohortReportSettings, ResponseMetaData, MetricAggregation, RestrictedMetricType types to the Data API v1alpha (dbca741)

0.18.7 (2024-03-05)

Bug Fixes

0.18.6 (2024-02-22)

Bug Fixes

  • [Many APIs] fix ValueError in test__validate_universe_domain (#12280) (2d75d0e)

  • deps: [Many APIs] Require google-api-core>=1.34.1 (#12303) (fbb80c3)

0.18.5 (2024-02-06)

Bug Fixes

  • Add google-auth as a direct dependency (780c5f1)

  • Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint (780c5f1)

  • Resolve AttributeError ‘Credentials’ object has no attribute ‘universe_domain’ (780c5f1)

0.18.4 (2024-02-01)

Features

  • Allow users to explicitly configure universe domain (a0392ee)

0.18.3 (2024-01-24)

Features

  • add the webhook_notification field to the AudienceList resource (29e65f8)

  • add the webhook_notification field to the RecurringAudienceList resource (29e65f8)

  • add the WebhookNotification type (29e65f8)

Documentation

  • announce that ListAudienceLists, GetAudienceList, QueryAudienceList, CreateAudienceList methods are now available in the v1beta version of the Data API (29e65f8)

0.18.2 (2023-12-09)

Features

  • [google-analytics-data] add CreateAudienceExport, QueryAudienceExport, GetAudienceExport, ListAudienceExports methods to the Data API v1 beta (182c4cf)

  • add sampling_metadatas field to ResponseMetaData (182c4cf)

  • add SamplingMetadata, AudienceExport, AudienceExportMetadata, AudienceDimensionValue types (182c4cf)

Bug Fixes

  • add optional label to consumed, remaining fields of the QuotaStatus type (182c4cf)

Documentation

0.18.1 (2023-12-07)

Features

  • Add CreateRecurringAudienceList, GetRecurringAudienceList, ListRecurringAudienceLists methods to the Data API v1 alpha (48c0978)

  • Add percentage_completed, recurring_audience_list fields to the AudienceList resource (48c0978)

  • Add support for python 3.12 (48c0978)

  • Add the RecurringAudienceList type (48c0978)

  • Introduce compatibility with native namespace packages (48c0978)

Bug Fixes

  • Require proto-plus >= 1.22.3 (48c0978)

  • Use retry_async instead of retry in async client (48c0978)

0.18.0 (2023-11-13)

⚠ BREAKING CHANGES

  • change the resource pattern value to properties/{property}/audienceLists/{audience_list} for the resource definition analyticsdata.googleapis.com/AudienceList

  • change the resource pattern value to properties/{property} for the resource definition analyticsadmin.googleapis.com/Property

Features

  • add creation_quota_tokens_charged, row_count, error_message to the AudienceList resource (c28986d)

  • add the SheetExportAudienceList method to the Data API v1 alpha (c28986d)

Bug Fixes

  • add optional annotation to the dimension_name field of the AudienceDimension type (c28986d)

  • add optional annotation to the offset, limit fields of the QueryAudienceListRequest type (c28986d)

  • add optional annotation to the page_token field of the ListAudienceListsRequest type (c28986d)

  • add optional annotation to the property, date_ranges, funnel, funnel_breakdown, funnel_visualization_type, segments, dimension_filter, return_property_quota, limit fields of the RunFunnelReportRequest type (c28986d)

  • add required annotation to the name field of the QueryAudienceListRequest type (c28986d)

  • change the resource pattern value to properties/{property}/audienceLists/{audience_list} for the resource definition analyticsdata.googleapis.com/AudienceList (c28986d)

  • change the resource pattern value to properties/{property} for the resource definition analyticsadmin.googleapis.com/Property (c28986d)

0.17.2 (2023-10-09)

Documentation

0.17.1 (2023-08-06)

Documentation

0.17.0 (2023-07-11)

Features

  • v1alpha: Add AudienceList, AudienceRow, AudienceDimensionValue types (538cf45)

  • v1alpha: Add CreateAudienceList, QueryAudienceList,GetAudienceList,ListAudienceLists methods (538cf45)

  • v1alpha: Add the tokens_per_project_per_hour field to the PropertyQuota type (538cf45)

0.16.3 (2023-07-04)

Bug Fixes

  • Add async context manager return types (#362) (fa7d615)

0.16.2 (2023-03-23)

Documentation

  • Fix formatting of request arg in docstring (#347) (50505cd)

0.16.1 (2023-01-20)

Bug Fixes

  • Add context manager return types (1154bd3)

Documentation

  • Add documentation for enums (1154bd3)

0.16.0 (2023-01-10)

Features

0.15.0 (2022-12-14)

Features

  • Add subject_to_thresholding field to ResponseMetadata type (#302) (779da22)

  • Add tokens_per_project_per_hour field to PropertyQuota type (779da22)

  • Add support for google.analytics.data.__version__ (3cade4a)

  • Add typing to proto.Message based class attributes (a09cbdf)

Bug Fixes

  • Add dict typing for client_options (3cade4a)

  • deps: Require google-api-core >=1.34.0, >= 2.11.0 (4682a42)

  • Drop usage of pkg_resources (4682a42)

  • Fix timeout default values (4682a42)

Documentation

  • Add a sample for using minute ranges in realtime reports (#314) (4f1305f)

  • samples: Snippetgen handling of repeated enum field (a09cbdf)

  • samples: Snippetgen should call await on the operation coroutine before calling result (4682a42)

0.14.2 (2022-10-10)

Bug Fixes

  • deps: Allow protobuf 3.19.5 (#303) (6eadb8c)

  • deps: require google-api-core>=1.33.2 (6eadb8c)

0.14.1 (2022-09-30)

Bug Fixes

0.14.0 (2022-09-19)

Features

Bug Fixes

  • deps: require google-api-core>=1.33.1,>=2.8.0 (1e4f58e)

  • deps: require protobuf >= 3.20.1 (1e4f58e)

0.13.2 (2022-08-11)

Bug Fixes

  • deps: allow protobuf < 5.0.0 (#266) (0990dae)

  • deps: require proto-plus >= 1.22.0 (0990dae)

0.13.1 (2022-07-19)

Documentation

0.13.0 (2022-07-17)

Features

Bug Fixes

  • deps: require google-api-core>=1.32.0,>=2.8.0 (#253) (c2a27d7)

  • rename the funnel_filter field of the FunnelFilterExpression type to funnel_field_filter (3ff59b2)

  • rename the type FunnelFilter to FunnelFieldFilter (#251) (3ff59b2)

  • require python 3.7+ (#255) (0b81da4)

0.12.1 (2022-06-03)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#243) (8e65b0d)

0.12.0 (2022-05-07)

Features

  • v1alpha: add analytics admin v1alpha (#239) (383e896)

Documentation

  • clarify start_minutes_ago and end_minutes_ago (#235) (45dd51e)

  • fix typo in get_common_metadata.py sample (#224) (7234e84)

  • fixes incorrect comment in python sample (#220) (749e8f2)

  • removes unnecessary period in python sample description (#225) (5e363e4)

0.11.2 (2022-04-01)

Documentation

0.11.1 (2022-03-05)

Bug Fixes

  • deps: require google-api-core>=1.31.5, >=2.3.2 (#202) (cc351cd)

  • deps: require proto-plus>=1.15.0 (cc351cd)

0.11.0 (2022-02-24)

Features

Bug Fixes

  • deps: delete unused dependency libcst (#191) (dbba912)

  • resolve DuplicateCredentialArgs error when using credentials_file (97804fe)

Documentation

  • add autogenerated code snippets (f34ee10)

0.10.0 (2021-11-01)

Features

  • add the blocked_reasons field to the MetricMetadata type that contains reasons why access was blocked (583920a)

  • add the currency_code, time_zone fields to the ResponseMetaData type (583920a)

  • add the empty_reason field to the ResponseMetaData type that contains an empty report reason (583920a)

  • add the schema_restriction_response field to the ResponseMetaData type (#157) (583920a)

Bug Fixes

  • deps: require google-api-core >= 1.28.0 (1f81d4e)

Documentation

  • list oneofs in docstring (1f81d4e)

0.9.0 (2021-10-11)

Features

  • add context manager support in client (#147) (4773796)

  • add trove classifier for python 3.9 and python 3.10 (#150) (199ab6f)

0.8.1 (2021-09-24)

Bug Fixes

  • add ‘dict’ annotation type to ‘request’ (a9accfd)

0.8.0 (2021-09-01)

Features

  • add category field to DimensionMetadata, MetricMetadata types (81c2eea)

  • add CheckCompatibility method to the API (#131) (81c2eea)

  • add DimensionCompatibility, MetricCompatibility, Compatibility types to the API (81c2eea)

0.7.2 (2021-07-27)

Bug Fixes

Documentation

  • add Samples section to CONTRIBUTING.rst (#110) (6d3c10c)

Miscellaneous Chores

0.7.1 (2021-07-20)

Bug Fixes

  • deps: pin ‘google-{api,cloud}-core’, ‘google-auth’ to allow 2.x versions (#109) (62e0ee7)

0.7.0 (2021-07-10)

Features

  • add minute_ranges field to RunRealtimeReportRequest object (#101) (8523e6a)

  • add always_use_jwt_access (1678019)

Bug Fixes

Documentation

  • document the increase of the number of allowed dimensions in a report query (8523e6a)

  • omit mention of Python 2.7 in ‘CONTRIBUTING.rst’ (#1127) (#87) (6e30719), closes #1126

0.6.1 (2021-06-16)

Bug Fixes

  • exclude docs and tests from package (#82) (acd60f1)

0.6.0 (2021-06-08)

Features

  • support self-signed JWT flow for service accounts (ff2beb8)

Bug Fixes

  • add async client to %name_%version/init.py (ff2beb8)

0.5.1 (2021-05-28)

Bug Fixes

  • deps: require google-api-core>=1.22.2 (675ae9f)

Documentation

0.5.0 (2021-04-01)

Features

  • add kind field which is used to distinguish between response types (#60) (83f1fc1)

  • add potentially_thresholded_requests_per_hour field to PropertyQuota (83f1fc1)

Documentation

  • update quickstart samples to support the Data API v1 beta (#50) (ad51cf2)

  • update region tag names to match the convention (#55) (747f551)

0.4.1 (2021-03-16)

Bug Fixes

  • fix from_service_account_info for async clients (#44) (fdebf9b)

  • v1beta: (BREAKING) rename the ‘page_size’, ‘page_token’, ‘total_size’ fields to ‘limit’, ‘offset’ and ‘row_count’ respectively (8fd57a3)

0.4.0 (2021-02-25)

Features

0.3.0 (2021-01-06)

Features

  • add custom_definition to DimensionMetadata object and MetricMetadata object (9bd3477)

  • add from_service_account_info factory and fix sphinx identifiers (#27) (2775104)

Bug Fixes

  • remove client recv msg limit and add enums to types/__init__.py (#22) (b3dc882)

0.2.0 (2020-11-16)

Features

Documentation

0.1.0 (2020-09-14)

Features