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
Fields | Need | Type | Explanations | Default Value | Examples |
---|---|---|---|---|---|
package_name | Yes | string | Package name, multiple separated by commas | com.mtg.adv | |
bid_goal | Yes | string | Optimize Target type, enumerate values: target-CPE, target-ROAS | Target-CPE |
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 | If success, return to offer data. If fail, return to detailed wrong info. |
support_events | array<json> | Supported event information |
original_event | string | Original event name, if bid_goal is Target-ROAS, this field is not returned |
mtg_event | string | MTG standard event name |
target_goal_window | array<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"]
}
]
}
}