googleanalytics / googleanalytics/python-docs-samples

Enhancement Request: Completing Pagination Implementation for Google Analytics 4 Data API

Open
#5 2 comments 0 reactions 1 assignee View on GitHub

@jradcliff is already working on this.

Since Jul 22, 2025.

Dominant language
Python
Stars
39
Forks
28
Avg merge
12h 4m
Merged PRs (30d)
1

Description

Hi there @jradcliff @philipwalton

The run_report_with_pagination.py file in the google-analytics-data documentation provides valuable insights into pagination for handling large data. However, there's a need for clarity on when to update the offset in subsequent API requests.

The documentation doesn't specify the conditions for which an offset should update.
Clear guidance on for offset update based on reponse.row_count would greatly benefit developers using the API.

Here is the change I want to implement
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.