Skip to content

Get Ads ​

PS: You need to use Token to change the status, for more details, please check Token

Get AD information and support conditional paginated query

Request Address ​

https://ss-api.mintegral.com/api/open/v1/creative-ad/list

Request method ​

GET

Request example ​

json
GET /api/open/v1/creative-ad/list
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json
{ "ad_ids": [2131252991, 2131252990] }

Request Params ​

fielddataTypeisRequireddescdefaultValueexample
ad_idsarray<int64>Yad_id—2131252991
demand_package_namestringNPromotion package name—com.xxx.xx
pageintNpage, starting with 111
limitintNlimit,max:1002020

We recommend using ad_ids instead of demand_package_name, as the latter will return all creatives associated with the package, rather than only retrieving the specific ones you have access to.

Response ​

FieldData TypeDescription
codeint200 indicates success. Other values indicate failure.
messagestringReturns "success" if successful. Returns detailed error info if failed.
datajsonResponse payload. Returns nested data if successful.
 limitintPagination limit.
 pageintCurrent page number.
 totalintTotal number of records.
 listarray<object>List of detailed items.
  ad_idintUnique identifier for the ad.
  ad_namestringName of the ad.
  offer_idint64Unique identifier for the offer.
  offer_uuidstringUUID of the offer.
  creative_set_idint64Unique identifier for the creative set.
  combination_methodintCreative assembly method: 1 (Programmatic), 2 (Custom).
  ad_outputintExpected output type of the creative set. See [enum - ad_output].
  creativesarray<object>List of creative details.
   creative_idint64Unique identifier for the creative.
   creative_namestringName of the creative.
   creative_md5stringMD5 hash of the creative file.
   creative_typestringType of creative: IMAGE, VIDEO, PLAYABLE.
   creative_urlstringURL to access the creative asset.

Response Example ​

json
{
  "code": 200,
  "message": "success",
  "data": {
    "limit": 1,
    "page": 1,
    "total": 13,
    "list": [
      {
        "creative_set_id": 1317,
        "ad_id": 2131252991,
        "ad_name": "lixiantest_ss_custom_20240726_111_6699150e1321a_lixiantest_ss_url_20240725",
        "combination_method": 2,
        "ad_output": 212,
        "offer_id": 190511,
        "offer_uuid": "ss_uuid123",
        "creatives": [
          {
            "creative_id": 2705156619,
            "creative_name": "lixiantest_ss_url_20240725",
            "creative_md5": "9c3ee4b0b39a5ee0606aca40ad7f9262",
            "creative_type": "PLAYABLE",
            "creative_url": "https://playable.dspunion.com/playable_test/dsp_zh-cn_98_VFNZYl667_an/dsp_zh-cn_98_VFNZYl667_an.html"
          },
          {
            "creative_id": 2705156616,
            "creative_name": "6699150e1321a.mp4",
            "creative_md5": "05e23f9241f9abb0742f646f8c16da35",
            "creative_type": "VIDEO",
            "creative_url": "http://cdn-adn.rayjump.com/cdn-adn/v2/portal/24/07/19/11/20/6699db7883bd7.mp4"
          }
        ]
      }
    ]
  }
}