Skip to content

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 ​

FieldsNeedTypeExplanationsDefault ValueExamples
offer_idYESintOffer ID123
target_goalNO
When bid_goal is set as Target-ROAS or Target-CPE, it is mandatory to fill in the required information.
doubleThe 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
Target-ROAS: This value is in the range [0.1, 2000] with three decimal places in percentage
65
target_goal_by_geoNO
When bid_goal is set as Target-ROAS or Target-CPE, 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}]
geoYESstringgeo
target_goalYESdoubleOptimize the target value

Response ​

FieldsTypeExplanations
codeint200 code, is success. Others, are fail.
msgstringIf success, return to "success". If fail, return to detailed wrong info.
dataobjectReturns data on success and null on failure

Response Example ​

json
{
  "code": 200,
  "msg": "success",
  "data": null
}

;