API Method – getOfferBanners

    getOfferBanners
    Get offer banner and creative information.

API Category

    Offer

HTTP Method
   
    GET

Request Call Example

    HTTP:
    GET /api/v3/getOfferBanners?key=yourapikey&a=youraffiliateid &offer_id=1,2,3 HTTP/1.1
    Host: yournetworkapplicationdomain
 
    Java:
    Unirest.get("http://yournetworkapplicationdomain/api/v3/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
type Integer 1 banners 2 Feedings 3 Open Screens

Response

Sample in JSON:

{
    "httpStatus": 200,
    "data": [
        {
            "id": 285,
            "url": "http://resource.javatoo.info/resource/lijy2/creative/1640835780_phpSbs1EO",
            "material_id": 118,
            "type": 1,
            "name": "car1",
            "offer_id": 36046,
            "width": 680,
            "height": 434,
            "type_dict": "Banners",
            "track_url": "http://www.baidu2.com",
            "banner_id": 285,
            "path": "http://resource.javatoo.info/resource/lijy2/creative/1640835780_phpSbs1EO",
            "upload_time": "2021-12-30 03:43:01",
            "size": "0.05M",
            "picture_format": "jpg",
            "signature": "e74cc7057a37a3d9f7bc0beb9880fff5"
        },
        {
            "id": 284,
            "url": "http://resource.javatoo.info/resource/lijy2/creative/1640835966_phpxu1f3B",
            "material_id": 122,
            "type": 1,
            "name": "car5",
            "offer_id": 36046,
            "width": 744,
            "height": 492,
            "type_dict": "Banners",
            "track_url": "http://www.baidu2.com",
            "banner_id": 284,
            "path": "http://resource.javatoo.info/resource/lijy2/creative/1640835966_phpxu1f3B",
            "upload_time": "2021-12-30 03:46:07",
            "size": "0.03M",
            "picture_format": "jpg",
            "signature": "1d4f2067e3c07c46f8f637fb390bda71"
        },
        {
            "id": 283,
            "url": "http://resource.javatoo.info/resource/lijy2/creative/1640835884_phpyg6c3P",
            "material_id": 121,
            "type": 1,
            "name": "car4",
            "offer_id": 36046,
            "width": 800,
            "height": 800,
            "type_dict": "Banners",
            "track_url": "http://www.baidu2.com",
            "banner_id": 283,
            "path": "http://resource.javatoo.info/resource/lijy2/creative/1640835884_phpyg6c3P",
            "upload_time": "2021-12-30 03:44:45",
            "size": "0.05M",
            "picture_format": "jpg",
            "signature": "a7b9640811a9a41a39221140512fff8f"
        },
        {
            "id": 282,
            "url": "http://resource.javatoo.info/resource/lijy2/creative/1640835791_phpQG5jqj",
            "material_id": 120,
            "type": 1,
            "name": "car3",
            "offer_id": 36046,
            "width": 744,
            "height": 510,
            "type_dict": "Banners",
            "track_url": "http://www.baidu2.com",
            "banner_id": 282,
            "path": "http://resource.javatoo.info/resource/lijy2/creative/1640835791_phpQG5jqj",
            "upload_time": "2021-12-30 03:43:12",
            "size": "0.04M",
            "picture_format": "jpg",
            "signature": "406a76f5abd52fef85cb059cb94cc1fa"
        },
        {
            "id": 281,
            "url": "http://resource.javatoo.info/resource/lijy2/creative/1640835791_phpIjcpeB",
            "material_id": 119,
            "type": 1,
            "name": "car2",
            "offer_id": 36046,
            "width": 700,
            "height": 525,
            "type_dict": "Banners",
            "track_url": "http://www.baidu2.com",
            "banner_id": 281,
            "path": "http://resource.javatoo.info/resource/lijy2/creative/1640835791_phpIjcpeB",
            "upload_time": "2021-12-30 03:43:12",
            "size": "0.05M",
            "picture_format": "jpg",
            "signature": "6d6042b68c2ee03f8d427419bcdddc0b"
        },
        {
            "id": 182,
            "url": "http://resource.javatoo.info/resource/lijy2/creative/1640229786_phpXgsy4v",
            "material_id": 73,
            "type": 2,
            "name": "sz01",
            "offer_id": 36046,
            "width": 800,
            "height": 800,
            "type_dict": "Feedings",
            "track_url": "http://www.baidu2.com",
            "banner_id": 182,
            "path": "http://resource.javatoo.info/resource/lijy2/creative/1640229786_phpXgsy4v",
            "upload_time": "2021-12-23 03:23:07",
            "size": "0.09M",
            "picture_format": "gif",
            "signature": "beac1f6df9dbd189d52aac598501ca4b"
        },
        {
            "id": 181,
            "url": "http://resource.javatoo.info/resource/lijy2/creative/1640229848_phpoEoOHq",
            "material_id": 74,
            "type": 2,
            "name": "fuse_click转化3",
            "offer_id": 36046,
            "width": 1489,
            "height": 707,
            "type_dict": "Feedings",
            "track_url": "http://www.baidu2.com",
            "banner_id": 181,
            "path": "http://resource.javatoo.info/resource/lijy2/creative/1640229848_phpoEoOHq",
            "upload_time": "2021-12-23 03:24:10",
            "size": "0.27M",
            "picture_format": "png",
            "signature": "e3e5b994a967bcceda601eff80bd40ff"
        }
    ],
    "errorCode": 0,
    "message": "",
    "api-trace-id": "d181ccc",
    "trace-id": "ENJvewF"
}