Skip to content

Obtain events that allow for configuring optimization goals.

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/event/bid_goal_supports

Request method

GET

Request example

json
GET /api/open/v3/event/bid_goal_supports
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json
 {
  "package_name": "com.mtg.adv",
  "bid_goal": "Target-ROAS"
 }

Request Parameter

FieldsNeedTypeExplanationsDefault ValueExamples
package_nameYesstringPackage name, multiple separated by commascom.mtg.adv
bid_goalYesstringOptimize Target type, enumerate values: target-CPE, target-ROASTarget-CPE

Response

FieldsTypeExplanations
codeint200 code, is success. Others, are fail.
msgstringIf success, return to "success". If fail, return to detailed wrong info.
dataobjectIf success, return to offer data. If fail, return to detailed wrong info.
support_eventsarray<json>Supported event information
original_eventstringOriginal event name, if bid_goal is Target-ROAS, this field is not returned
mtg_eventstringMTG standard event name
target_goal_windowarray<string>The time window of the optimization goal

Response Example

json
{
  "code": 200,
  "msg": "success",
  "data": {
    "support_events": [
      {
        "mtg_event": "Purchase",
        "target_goal_window": ["D0"]
      },
      {
        "mtg_event": "Ad Revenue",
        "target_goal_window": ["D0", "D7"]
      }
    ]
  }
}