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.
Response format
The endpoint now returns an object with pagination metadata:Query parameters
These work alongside existing parameters (
search, exclude_removed, etc.).
Usage examples
- First page (default)
- Second page
- Search + pagination
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. totalalways reflects the count after search filtering but before pagination slicing.