Skip to main content
This page is also available in Ukrainian.

Overview

GET /ad-groups now returns a paginated response instead of a flat array. Use offset and limit query parameters to page through results.
Breaking change — the response shape changed. FE code that treats the response as an array must be updated to read .results.

Response format

The endpoint now returns an object with pagination metadata:

Query parameters

These work alongside existing parameters (search, exclude_removed, etc.).

Usage examples

Returns the first 50 ad groups with total reflecting the full count.

Frontend integration

Update your API call to handle the new response shape:

Notes

  • The CSV endpoint (GET /ad-groups/csv) is not affected — it still returns a flat CSV file.
  • total always reflects the count after search filtering but before pagination slicing.