MngAddMarketingCampaign¶
Creates an active marketing campaign. A non-admin manager can only use the brand assigned to the manager.
Request¶
{"command":"MngAddMarketingCampaign","extID":"1","data":{"brand":"default","code":"FB_CY_01","name":"Facebook Cyprus","channel":"paid_social","source":"facebook","medium":"cpc","landing_path":"/en/register","budget":5000,"currency":"USD"}}
| Field | Type | Required | Description |
|---|---|---|---|
brand |
string | Admin: yes | Brand code. For a scoped manager the server uses the manager brand |
code |
string | Yes | Unique campaign code inside the brand |
name |
string | Yes | Display name |
description |
string | No | Internal description |
channel, source, medium |
string | No | Acquisition classification |
landing_path |
string | No | Default brand-relative page |
budget |
double | No | Planned budget |
currency |
string | No | Budget currency |
Response¶
{"id":12}
Errors¶
INVALID_DATA, DUPLICATE_RECORD, NOT_ENOUGH_RIGHTS.