Zum Inhalt
HALOWERK

Creatorwerk

ad placement opt

Sorts caller-supplied placement opportunities by end time and solves the weighted non-overlapping interval problem exactly with dynamic programming. It does not buy inventory, predict conversion, enforce platform policy, model audience harm or guarantee campaign performance.

POST https://creator.halowerk.com/v1/ad-placement-opt

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
placementsarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "placements"
  ],
  "additionalProperties": false,
  "properties": {
    "placements": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10000,
      "items": {
        "type": "object",
        "required": [
          "id",
          "start",
          "end",
          "value"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "start": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000
          },
          "end": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000
          },
          "value": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          }
        }
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "placements": [
    {
      "id": "pre-roll-a",
      "start": 0,
      "end": 15,
      "value": 42
    },
    {
      "id": "mid-roll-b",
      "start": 12,
      "end": 28,
      "value": 55
    },
    {
      "id": "mid-roll-c",
      "start": 28,
      "end": 42,
      "value": 38
    },
    {
      "id": "bundle-d",
      "start": 0,
      "end": 42,
      "value": 88
    }
  ]
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://creator.halowerk.com/v1/ad-placement-opt/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →