« Back to Documentation Overview

get_campaign_predefines

Section: Campaigns
Version: 1.5.0


Get predefined fields in campaign.


Parameters
stringAPI_KEY
object
stringcampaignCAMPAIGN_ID
Return Value
stringname1content1
stringname2content2

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