ad.precall_postback.get

Gets the call start postback URL for the specified ad campaign.

Request syntax 

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "ad.precall_postback.get",
    "params": [
        "cmpid"    
    ]
}

Request parameters 

cmpid
Required string. The unique, system-generated campaign ID of the specified ad campaign.

Response syntax 

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "result"
}  

Response parameters 

result
Required string. The call start postback URL for the specified ad campaign.

Permissions 

The user must have administrator permissions for the account to which the specified ad campaign is associated.

Example 

The following JSON-RPC request and response describe a successful call to the ad.precall_postback.get method. The response returns the precall postback URL, "http://mydomain.com/precall_postback", for the ad campaign specified in the request.

Request

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "ad.precall_postback.get",
    "params": [
        "QrOXy0RPy_gATgEB"    
    ]
}

Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "http://mydomain.com/precall_postback"
}