« Back to Documentation Overviewget_campaign_predefines
Section: Campaigns
Version: 1.5.0
Get predefined fields in campaign.
Parameters
|
---|
string | API_KEY |
object | string | campaign | CAMPAIGN_ID |
|
Return Value
|
---|
string | name1 | content1 |
string | name2 | content2 |
Example Request JSON
[
"API_KEY",
{
"campaign": "CAMPAIGN_ID"
}
]
Example Response JSON
{
"name1": "content1",
"name2": "content2"
}
Example Error Response JSON
{
"code": -1,
"message": "Missing campaign"
}
Method-specific Errors
|
---|
Missing campaign |
API-wide Errors
|
---|
API key verification failed
| API key verification failed |
API client IP not allowed
| API client IP not allowed |
Invalid params
| Attribute params must be reference to hash |