API Method – setOfferBanners
API Method – setOfferBanners
setOfferBanners
Set offer banner information.
API Category
Offer
HTTP Method
POST
Request Call Example
HTTP:
POST /api/v2/setOfferBanners?key=yourapikey&offer_id=536 HTTP/1.1
Host: yourapplicationdomain
Content-Type: multipart/form-data;
Content-Disposition: form-data; name="file[0]"; filename="1.zip"
Content-Type: application/x-zip-compressed
Java:
Unirest.post("http://yourapplicationdomain/api/v2/setOfferBanners?key=yourapikey&offer_id=536").header("content-type", "multipart/form-data").body(Content-Disposition: form-data; name=\"file[0]\"; filename=\"C:\\Users\\Administrator\\Desktop\\banners\\1.zip\"\r\nContent-Type: application/zip\r\n").asString()
Parameters
Response
Sample in JSON:
setOfferBanners
Set offer banner information.
API Category
Offer
HTTP Method
POST
Request Call Example
HTTP:
POST /api/v2/setOfferBanners?key=yourapikey&offer_id=536 HTTP/1.1
Host: yourapplicationdomain
Content-Type: multipart/form-data;
Content-Disposition: form-data; name="file[0]"; filename="1.zip"
Content-Type: application/x-zip-compressed
Java:
Unirest.post("http://yourapplicationdomain/api/v2/setOfferBanners?key=yourapikey&offer_id=536").header("content-type", "multipart/form-data").body(Content-Disposition: form-data; name=\"file[0]\"; filename=\"C:\\Users\\Administrator\\Desktop\\banners\\1.zip\"\r\nContent-Type: application/zip\r\n").asString()
Parameters
Name | Type | Description |
offer_id* | Integer | Offer Id |
file[] | File Array | The banner files to be uploaded. |
Response
Sample in JSON:
{ "httpStatus": 202, "data": { "371": [ { "banner_id": "80", "offer_id": "371", "path": "http://test.fuseclick.com/resource/rw/offer/371/banners/1499829186_20150126025208292_easyicon_net_128.png", "width": "111", "height": "106" }, { "banner_id": "81", "offer_id": "371", "path": "http://test.fuseclick.com/resource/rw/offer/371/banners/1499829186_Shap_40_copy.png", "width": "90", "height": "56" }, { "banner_id": "82", "offer_id": "371", "path": "http://test.fuseclick.com/resource/rw/offer/371/banners/1499829186_signuplogo.png", "width": "120", "height": "40" }, { "banner_id": "83", "offer_id": "371", "path": "http://test.fuseclick.com/resource/rw/offer/371/banners/1499829186_small_logo.png", "width": "99", "height": "29" }, { "banner_id": "84", "offer_id": "371", "path": "http://test.fuseclick.com/resource/rw/offer/371/banners/1499829186_small_logo.png", "width": "99", "height": "29" } ] }, "errorCode": 0, "message": "" } |
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
-
User - Advertiser
-
offer
-
Dictionary
API V1 (DEPRECATED)