Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/snippets/run_report_with_named_date_ranges.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
See https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/DateRange#FIELDS.name
for more information.
"""
# [START analyticsdata_run_report_with_date_ranges]
# [START analyticsdata_run_report_with_named_date_ranges]
from google.analytics.data_v1beta import BetaAnalyticsDataClient
from google.analytics.data_v1beta.types import DateRange
from google.analytics.data_v1beta.types import Dimension
Expand Down Expand Up @@ -57,7 +57,7 @@ def run_report_with_named_date_ranges(property_id="YOUR-GA4-PROPERTY-ID"):
print_run_report_response(response)


# [END analyticsdata_run_report_with_date_ranges]
# [END analyticsdata_run_report_with_named_date_ranges]


if __name__ == "__main__":
Expand Down