Search for Campaign Groups
GET {{baseUrl}}/adAccounts/{{adAccountsId}}/adCampaignGroups?q=search&search=(status:(values:List(ACTIVE,DRAFT)))&sort=(field:ID,order:DESCENDING)
Use the q=search
parameter to search for campaign groups by ID, account, name, and status fields. Search criteria can be chained together for increased granularity. If a search query is omitted, all campaign groups the caller has access to is returned in a paginated response. this example fetches campaign groups by the status values DRAFT or ACTIVE and orders it by ID descending.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
q | string | ||
search | string | ||
sort | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
LinkedIn-Version | string | ||
X-RestLi-Protocol-Version | string |