List New Strategy Groups
Get a paginated list of strategy groups. The q parameter must include a campaign_id==<id> clause (required for permission scoping); additional filter clauses (joined by &, URL-encoded as %26) and sort_by follow the standard Campaigns API list-endpoint convention and may reference any strategy_groups column — e.g. q=campaign_id==100%26name=:Prospecting*&sort_by=-spend_cap_amount.
Request
- Base URLhttps://api.mediamath.com/api/v3.0
- AuthOAuth 2Authorization codehttps://auth.mediamath.com/authorizeToken URLhttps://auth.mediamath.com/oauth/tokenScopesoffline_access, manage:services
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Number of elements in the collection to retrieve
Index of the first element in the collection to retrieve
The field to sort by. You can use any field name in ascending or descending order. For ascending order, use the field name directly, e.g., id. For descending order, prefix the field name with a hyphen (-), e.g., -id.
Query search for filtering. This parameter can be used to filter results based on various fields. Supported operators:
- == - numeric equality or case-sensitive string identity,
- ==(1,2,3) - IN query (only works for integers),
- != - numeric inequality or case-sensitive string non-identity,
- =: - case-insensitive match, allows substring using * wildcards,
- !: - case-insensitive non-match ("does not contain"), allows substring using * wildcards; rows where the field is NULL are excluded,
- < - less than,
- <= - less than or equal to,
- > - greater than,
- >= - greater than or equal to. Examples:
- q=name=:{search}* to find all results with names starting with {search}.
- Numeric q=id=:*123* searches are treated as exact primary-key matches, equivalent to q=id==123; likewise q=id!:*123* is equivalent to q=id!=123.
- q=name!:*promo* to exclude all results whose name contains "promo".
- q=status==true to find all active entities.
- q=id>=1000 to find all entities with id greater than or equal to 1000.
- q=id==(1,2,3) to find specific entities by ID.
- q=created_on>1999-02-02 or q=created_on>1999-02-02T00:00:00Z to find entities created later than date.
- q=id>5&status==true to find all active entities with id greater than 5.
Pass full=* to return the full entity in each list item.
Comma-separated list of related entities to embed. Only strategies is supported; when set, the full response includes a strategies array per group, each entry carrying id, entity_type, name, status, and the strategy's monetary and impression pacing fields (pacing_type, pacing_amount, pacing_interval, impression_pacing_type, impression_pacing_amount, impression_pacing_interval).
Response
List new strategy groups response
Example response
{
"data": [
{
"entity_type": "strategy_group",
"strategy_count": 3,
"strategies": [
{
"entity_type": "strategy"
}
]
}
],
"meta": {
"status": "success",
"count": 10,
"total_count": 100
}
}Changes
No recorded changes to this operation across all 1 revision of this API.