1.1.1 Summary

Create or update offer basic information.
 

1.1.2 Request 

Request Method: POST
Query String Parameters:

Parameter Description Type Data Range
key Network API Key;
*Required
string  

POST Parameters:
Parameter Description Type Data Range System Version
id *Required for Updating Int Single Value 1.0+
advertiser_id
 
Advertiser ID int Single Value 1.0+
name
 
Offer Name String   1.0+
status
 
Offer Status String Archived,
Active,
Pending,
Paused,
Expired
1.0+
expire_date
 
Offer Expire Date
YYYY/MM/DD
String   1.0+
type
 
Offer Type String Desktop,
Mobile,
Tablet
1.0+
conversion_point
 
Offer Conversion
Action Description
String Email Submit,
DOI,
SOI,
Download and Install,
Sale Offer/Credit Required,
SMS Confirmation,
PIN-Submit
 
preview_url
 
Offer Page Preview URL String   1.0+
url
 
Offer URL
Must Contains “{TID}”
String   1.0+
access_type
 
Offer Access Type String Private,
Public,
Need Approval
1.0+
ssl
 
Need SSL Certification
to Receive Conversion
Int 0,
1
1.0+
tracking_protocol
 
Conversion Method String Server Postback URL,
iFrame Pixel,
Image Pixel
1.0+
currency
 
Offer Currency
See Fuseclick On-line Documentaion
Int 1~68 1.0+
price_model
 
Deprecated since 1.3.  Payout
Price Model. Use payout_type
String CPA,
CPC,
CPS,
CPA+CPS
1.0-1.3
payout_type Payout
Price Model
String CPA,
CPC,
CPS,
CPA+CPS
1.4+
payout
 
Payout Float   1.0+
payout_percent
 
Payout Percent of Sale Amount Float 0~100 1.0+
revenue_type Revenue
Price Model
String RPA,
RPC,
RPS,
RPA+RPS
1.0+
revenue
 
Revenue Float   1.0+
revenue_percent
 
Revenue Percent of Sale Amount Float 0~100 1.0+
need_security_token
 
Need Security Token to Receive Conversion Int 0,
1
1.0+
force_unique
 
Need Unique Click to Limit Conversion Int 0,
1
1.0+
session_lifespan
 
Click Session Lifespan String 1 Day,
1 Week,
2 Weeks,
1 Month
1.0+
secondary_offer
 
Secondary Offer ID Int    
description
 
Offer Description String   1.0+
restriction
 
Offer Restriction String   1.0+
 

1.1.3 Response

Header:
HTTP Status Object Description Error Code
201   Created Successfully 0
202   Updated Successfully 0
400 Parameter Invalid Parameters 63XX
 
Content Format: JSON
 

1.1.4 Example

Sample Request URL:
http://demo.fuseclick.com/api/v1/setOfferBaseInfo?key=603E3F0E3266E
(POST Data)
 
Response sample: Same as API “getOfferById”.