Skip to content

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

Description

@Ashism766

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

Activity

  1. Stepheni0 commented on Jul 19, 2025

    @Stepheni0
  2. jradcliff commented on Jul 22, 2025

    @jradcliff
    Member

    Thanks for the feedback! I'll take a look at adding the appropriate looping logic to fetch all pages.

  3. self-assigned this
    on Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions