setOfferBanners
1.1.1 Summary
For a given Offer set Banner information.Can set up multiple Banner at the same time, automatically ignore the file does not meet the conditions, the return value offers all the Banners of information.1.1.2 Request
Request Method: POST
Parameters:
Parameter | Description | Type | Data Range |
key |
Network API Key; *Required |
string |
POST Parameters:
Parameter | Description | Type | Data Range | |
offer_id |
Offer ID*Required |
Int | >0 | |
file[] | The file is being uploaded,Only the following file extensions are acceptable: “png”, “gif”, “jpg”, “zip”. | Array |
1.1.3 Response
Header:HTTP Status | Object | Description | Error Code |
202 | Accepted | 0 | |
400 | Parameter | Invalid Parameter | 63XX, 69XX |
Content Format: JSON
1.1.4 Example
Sample Request URL:http://{your_network_domain}/api/v1/setOfferBanners?key=603E3F0E3266
Response sample:
{ "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
-
Dictionary
API V1 (DEPRECATED)