API Method – getOfferBanners

    getOfferBanners
    Get offer banner and creative information.

API Category

    Offer

HTTP Method
   
    GET

Request Call Example

    HTTP:
    GET /api/v2/getOfferBanners?key=yourapikey&a=youraffiliateid &offer_id=1,2,3 HTTP/1.1
    Host: yournetworkapplicationdomain
 
    Java:
    Unirest.get("http://yournetworkapplicationdomain/api/v2/getOfferBanners?key=yourapikey&a=youraffiliateid&offer_id=1,2,3").asString();


Parameters

Name Type Description
a* Integer Your ID
offer_id* String A list of offer ids: 3,123,445

Response

Sample in JSON:

{
    "httpStatus": 200,
    "data": {
        "148": [
            {
                "banner_id": "5",
                "offer_id": "148",
                "path": "http://test.fuseclick.com/resource/rw/offer/148/banners/1492683170_1.png",
                "width": "280",
                "height": "140"
            }
        ],
        "149": [
            {
                "banner_id": "6",
                "offer_id": "149",
                "path": "http://test.fuseclick.com/resource/rw/offer/149/banners/1493017871_2.png",
                "width": "12",
                "height": "12"
            },
            {
                "banner_id": "7",
                "offer_id": "149",
                "path": "http://test.fuseclick.com/resource/rw/offer/149/banners/1493017871_3.png",
                "width": "16",
                "height": "13"
            }
        ]
    },
    "errorCode": 0,
    "message": ""
}