Delete a platform of a offer

HTTP method

Endpoint

DELETE

/v1/offers/{offer_id}/platforms/{platform_id}

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

platform_id

The unique id for the platform.

Response body parameters

Field

Type

Description

id

integer

offer_id

integer

A string that uniquely identifies this offer.

platform

string

Devices to be targeted, it might be PC/Mobile/Tablet

system

string

Operating System in Device. By default it allows all OS in targeted platform.

version

array

Version of the system. By default it allows all versions in targeted system

is_above

integer

A new field, is_above, is added to offer platform to support upper compatibility in platform. When new platform versions are upgraded, the traffic won’t be rejected. Allowed values: 0 Close; 1 Open

Example request

Request DELETE https://{networkname}.api.offerslook.com/v1/offers/3147/platforms/2972

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_platform": {
          "target": [
            {
              "id": 2973,
              "offer_id": 3147,
              "platform": "Mobile",
              "system": "iOS",
              "version": [
                "5.1",
                "6.0",
                "6.1"
              ],
              "is_above": 1
            },
            {
              "id": 2974,
              "offer_id": 3147,
              "platform": "PC",
              "system": "",
              "version": [

              ],
              "is_above": 1
            },
            {
              "id": 2975,
              "offer_id": 3147,
              "platform": "Mobile",
              "system": "Android",
              "version": [

              ],
              "is_above": 1
            }
          ]
        }
      }
    }

Last updated