ad.call_postback.get

Gets the Call End Postback URL for the specified ad campaign.

Request syntax 

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

Request parameters 

campaign_id
Required string. The unique, system-generated ID that identifies an ad campaign.

Response syntax 

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

Response parameters 

result
A string containing the Call End Postback URL for the specified ad campaign.

Permissions 

The API user must belong to the same group as the specified ad campaign. Note that users with the Account Admin permission are members of all groups in an account, and users with the Client Admin permission are members of all groups in all .

Example 

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

Request

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

Response

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