1.1.1 Summary

Create or update advertiser.
 

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
id Required only for Updating Int Single Value
email Required for Creating
Optional for Updating
String  
status Required for Creating
Optional for Updating
String Pending, Active, Rejected, Blocked
company Required for Creating
Optional for Updating
String  
first_name Required for Creating
Optional for Updating
String  
last_name Optional String  
am_id Optional Int  
password Optional String  
im_type Optional String  
im_account Optional String  
fax Optional String  
title Optional String  
address1 Optional String  
address2 Optional String  
city Optional String  
country Optional String  
state Optional String  
zipcode Optional String  
 

1.1.3 Response

Header:
HTTP Status Object Description Error Code
201   Created Successfully 0
202   Updated Successfully 0
400 Parameter Invalid Parameters 61XX
409 Email Duplicated email to other network user 6113
 
Content Format: JSON
 

1.1.4 Example

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