API Method – delOfferBanners

    delOfferBanners
    Remove offer banner information.

API Category

    Offer

HTTP Method

    POST

Request Call Example

    HTTP:
    POST /api/v3/delOfferBanners?key=yourapikey HTTP/1.1
    Host: yourapplicationdomain
    Content-Type: application/x-www-form-urlencoded
 
    offer_id=3725165&banner_id=13%2C14
 
    Java:
    Unirest.post("yourapplicationdomain/api/v3/delOfferBanners?key=yourapikey").header("Content-Type", "application/x-www-form-urlencoded").body("offer_id=3725165&banner_id=13%2C14").asString();

Parameters


Name Type Description
offer_id* Integer Offer Id
banner_id String A list of banner ids. Remove all banners by removing this parameter in request.
type Integer 1 banners 2 Feedings 3 Open Screens

Response

Sample in JSON:

{
    "httpStatus": 200,
    "data": [
        {
            "id": 255,
            "network_id": 8,
            "offer_id": 36045,
            "material_id": 114,
            "type": 1,
            "created_at": "2021-12-29 05:21:34",
            "updated_at": "2021-12-29 05:21:34",
            "deleted_at": null,
            "banner_id": 255,
            "path": "http://resource.javatoo.info/resource/lijy2/creative/1640765992_phpQziJSu",
            "width": 1080,
            "height": 1439
        }
    ],
    "errorCode": 0,
    "message": "",
    "api-trace-id": "2b817cb",
    "trace-id": "fZFkWpS"
}