AdGroups
Retrieve a list of Ad Groups
Changed onRetrieves a paginated list of Ad Groups.
get/v2/adgroups
Request
- Base URLhttps://api.workiz.com/crm/api
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageSizenumber
Example:10
Number of records to return per page.
pagenumber
Example:1
The page index.
disabledboolean
Filter by disabled state. When true, returns only disabled ad groups; when false, returns only enabled ad groups.
Headers
Authorizationstring required
Example:Bearer <token>
Bearer Token
Response
A paginated list of Ad Groups.
Example response
{
"pageSize": 10,
"page": 1,
"totalResults": 50,
"hasMore": true,
"data": [
{
"id": "AG-71b8d7310acbf8cc",
"name": "Group A",
"displayOrder": 1,
"description": "This is a sample ad group."
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
added the new optional
queryrequest parameterdisabled - info
added the non-success response with the status
- info