The method is not recommended, and you can use setOffer

1.1.1 Summary

Set an offer on device targeting 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
id Offer ID
*Required
Int  
device_targeting Enable/Disable Device Targeting for the Offer。
*Required
The subsequent param is not required if it is disable
int 1: enable
0: disable
rules[] Device rule string array:
Each Device rule string has three parts to make up a string, which includes enable/disable, param name and parameter list. Each string uses colons as delimiter. If the param list contains multiple params, use semicolon to separate them.
Example: 
“1:OS:iOS;Windows phone” means allowed Device OS types are iOS and windows phone.
Array of String  
redirect_offer_id Redirect Offer ID .
*Required
Int  
 

1.1.3 Response

Header:
HTTP Status Object Description Error Code
202   Success 0
400 Parameter Invalid Parameter 63XX
 
Content Format: JSON
Response sample:  Same as “getOfferById” API.
 
 

1.1.4 Example

Sample Request URL:
http://{your_network_domain}/api/v1/setOfferDeviceInfo?key=603E3F0E3266
(POST DATA)
 
Response sample:  Same as “getOfferById” API.