/
Create a New Strategy Gro...
Create a strategy group within a campaign.
Security
Auth0(Required scopes: offline_accessmanage:services)
Required when spend_cap_type is 'even' or 'asap'. Optional (and may be null) when spend_cap_type is 'no-limit'. May be sent while spend_cap_automatic is true but is ignored until automatic is turned off.
Required when impression_cap_type is 'even' or 'asap'. Optional (and may be null) when impression_cap_type is 'no-limit'. May be sent while impression_cap_automatic is true but is ignored until automatic is turned off.
- Live Serverhttps://api.mediamath.com/api/v3.0/new_strategy_groups
curl -i -X POST \
https://api.mediamath.com/api/v3.0/new_strategy_groups \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"description": "string",
"spend_cap_type": "even",
"spend_cap_amount": 0.01,
"impression_cap_type": "even",
"impression_cap_amount": 1,
"external_identifier": "string",
"campaign_id": 100
}'Response
{ "data": { "name": "string", "description": "string", "spend_cap_type": "even", "spend_cap_amount": 0.01, "impression_cap_type": "even", "impression_cap_amount": 1, "external_identifier": "string", "id": 0, "entity_type": "string", "version": 0, "campaign_id": 0, "strategy_count": 3, "strategies": [ … ], "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z" }, "meta": { "status": "success" } }