Update Target Goal
PS: You need to use Token to change the status, for more details, please check Token
Request address
https://ss-api.mintegral.com/api/open/v3/offer/target_goal
Request method
PUT
Request example
json
PUT /api/open/v3/offer/target_goal
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json
{
"offer_id": 123,
"target_goal": 80,
"target_goal_by_geo": [
{
"geo": "CN",
"target_goal": 81
}
]
}
Request Parameter
Fields | Need | Type | Explanations | Default Value | Examples |
---|---|---|---|---|---|
offer_id | YES | int | Offer ID | 123 | |
target_goal | NO When bid_goal is set as Target-ROAS, it is mandatory to fill in the required information. | double | The offer dimension optimizes the goal value, and the different bid_goal ranges are as follows: Target-ROAS: This value is in the range [1, 1000] with two decimal places in percentage | 65 | |
target_goal_by_geo | NO When bid_goal is set as Target-ROAS, it is mandatory to fill in the required information. | array<json> | The geo dimension optimizes the objective value. If the array is empty, all geo optimization objectives are removed | [{"geo":"CN","target_goal": 81}] | |
geo | YES | string | geo | ||
target_goal | YES | double | Optimize the target value |
Response
Fields | Type | Explanations |
---|---|---|
code | int | 200 code, is success. Others, are fail. |
msg | string | If success, return to "success". If fail, return to detailed wrong info. |
data | object | Returns data on success and null on failure |
Response Example
json
{
"code": 200,
"msg": "success",
"data": null
}
;