Search...
Menu

API: Updating Audience Targets (Technical Guide)

Label:API ,API key ,technical guide ,developer guide ,audiences

You need to use your Mintegral token to manage your offers. For more details, please check Token.

Here's how you set targets for the audience in an offer using Mintegral's API.

Request address

https://ss-api.mintegral.com/api/open/v1/offer/audience

Request method

PUT

Request example

json Copy
PUT /api/open/v1/offer/audience
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json

{
    "offer_id": 66785,
    "audience": [4695],
    "audience_exclude": [4696]
}

Request Parameter

Fields Type Explanations Default Value ValueExamples
offer_id int Unique id for offer 123
audience Optinal array<int> Include target audience id [The new audience needs to take effect before it can be used] [] [1]
audience_exclude Optinal array<int> Exclude target audience id [The new audience needs to take effect before it can be used] [] [2,3]

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 json If fail, return to detailed wrong info.

Response Example

json Copy
{
  "msg": "success",
  "code": 200,
  "data": {}
}
Previous
API: Updating Creatives (Technical Guide)
Next
API: Updating Target Goals (Technical Guide)
Last modified: 2025-08-28