Volume Owner Callback

This document describes how volume owner use the callback API to notify and return data to OpenAD Protocol.


API Callback URL

https://6bf9546ea5.srv.openad.network/v1/getInfo/lineId

Callback Method

POST Content-Type: application/json


Prevent malicious and frequent interface calls by limiting each API key to a maximum of 100 interface calls per 30 seconds.

Request

{
    "zone_id"=159,  //This is an example zone_id, please get your own code parameters
    "event_id"=158,   //This is an example event_id, please get your own code parameters
    "access_key": "your_access_key", //When you need to access this API, please ask us for the ak.
    "sign": "request_signature",    //zone_id-event_id-access_key-once-secret,sha256 HMAC signing with these 5 parameters
    "once": "unique_request_id", //random string
    // hash,signature,cb  pass at least one.
    "hash": "",  // hash from the getAd interface,whether the user clicks
    "signature":"", // signature from the getAd interface,whether the user view
    "cb":"",    // cb from the getAd interface,whether the click jumps to the corresponding advertisement app or not
}

Response

{
    "data":{
        "hash_count":0, //zero means no click
        "cb_count":0,  //zero means no jump
        "signature_count":1 //1 means view
    }
}

Last updated