Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ async def run_report(
criteria, such as country or event name.


.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -293,7 +293,7 @@ async def run_pivot_report(
dissect your data.


.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -362,7 +362,7 @@ async def batch_run_reports(
be for the same GA4 Property.


.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -431,7 +431,7 @@ async def batch_run_pivot_reports(
reports must be for the same GA4 Property.


.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -510,7 +510,7 @@ async def get_metadata(
such as ``country`` and ``totalUsers``.


.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -613,7 +613,7 @@ async def run_realtime_report(
last 30 minutes.


.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -691,7 +691,7 @@ async def check_compatibility(
for Core reports.


.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,7 @@ def run_report(
criteria, such as country or event name.



.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -489,8 +488,7 @@ def run_pivot_report(
dissect your data.



.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -560,8 +558,7 @@ def batch_run_reports(
be for the same GA4 Property.



.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -631,8 +628,7 @@ def batch_run_pivot_reports(
reports must be for the same GA4 Property.



.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -712,8 +708,7 @@ def get_metadata(
such as ``country`` and ``totalUsers``.



.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -816,8 +811,7 @@ def run_realtime_report(
last 30 minutes.



.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down Expand Up @@ -896,8 +890,7 @@ def check_compatibility(
for Core reports.



.. code-block::
.. code-block:: python

from google.analytics import data_v1beta

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_async]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_async]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ async def sample_batch_run_pivot_reports():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_async]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_sync]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_sync]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ def sample_batch_run_pivot_reports():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_sync]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_async]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_async]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ async def sample_batch_run_reports():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_async]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_sync]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_sync]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ def sample_batch_run_reports():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_sync]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_async]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_CheckCompatibility_async]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ async def sample_check_compatibility():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_async]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_CheckCompatibility_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_sync]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_CheckCompatibility_sync]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ def sample_check_compatibility():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_sync]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_CheckCompatibility_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_async]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_GetMetadata_async]
from google.analytics import data_v1beta


Expand All @@ -42,4 +42,4 @@ async def sample_get_metadata():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_async]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_GetMetadata_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_sync]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_GetMetadata_sync]
from google.analytics import data_v1beta


Expand All @@ -42,4 +42,4 @@ def sample_get_metadata():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_sync]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_GetMetadata_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_async]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_RunPivotReport_async]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ async def sample_run_pivot_report():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_async]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_RunPivotReport_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_sync]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_RunPivotReport_sync]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ def sample_run_pivot_report():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_sync]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_RunPivotReport_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_async]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_RunRealtimeReport_async]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ async def sample_run_realtime_report():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_async]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_RunRealtimeReport_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_sync]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_RunRealtimeReport_sync]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ def sample_run_realtime_report():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_sync]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_RunRealtimeReport_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_async]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_RunReport_async]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ async def sample_run_report():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_async]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_RunReport_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-analytics-data


# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_sync]
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_RunReport_sync]
from google.analytics import data_v1beta


Expand All @@ -41,4 +41,4 @@ def sample_run_report():
# Handle the response
print(response)

# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_sync]
# [END analyticsdata_v1beta_generated_BetaAnalyticsData_RunReport_sync]
Loading