googleanalytics / googleanalytics/python-docs-samples
Enhancement Request: Completing Pagination Implementation for Google Analytics 4 Data API
Open
@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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.