Zum Inhalt springen
aYOUne
← ads API

AdPlayLogs

Singular: AdPlayLog — Base-URL: https://ads-api.ayoune.app — Zugriff: read-only — Maschinenlesbare Beschreibung (JSON · YAML)

Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Beispiel-Response (aufgezeichnet) Beispiel

Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.

{
  "payload": {
    "_id": "6ac3cd83c0aedf1dd2db8dd9",
    "clientPlayId": "7b6d5bcb-25fd-4f59-8eb5-3e9f29793224",
    "_advertisement": "6ac3c90d291ae565fd196a9f",
    "_display": "6ac3c90c291ae565fd196a6b",
    "_displayCustomerID": "5ee06fc2860473001cfb290a",
    "clientAuthenticated": false,
    "clientForwardedFor": "87.180.5.110",
    "clientIp": "87.180.5.110",
    "clientOrigin": "https://ad-display.ayoune.app",
    "clientReferer": "https://ayoune.com/screen/",
    "clientSecFetchSite": "same-site",
    "clientUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36",
    "createdAt": "2026-10-05T16:17:07.287Z",
    "durationMs": 20000,
    "isDraft": false,
    "mediaType": "image",
    "playedAt": "2026-10-05T16:17:06.259Z",
    "serial": "abnahme-hotel-quer",
    "shares": [],
    "source": "own",
    "updatedAt": "2026-10-05T16:17:07.287Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://ads-api.ayoune.app/adplaylogs/6ac3cd83c0aedf1dd2db8dd9",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "aYOUneAdvertisementDisplays",
        "title": "MODEL_AYOUNEADVERTISEMENTDISPLAY",
        "href": "https://api.ayoune.app/su/ayouneadvertisementdisplays/6ac3c90c291ae565fd196a6b",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "su.ayouneadvertisementdisplays"
      },
      {
        "rel": "aYOUneAdvertisements",
        "title": "MODEL_AYOUNEADVERTISEMENT",
        "href": "https://api.ayoune.app/ads/ayouneadvertisements/6ac3c90d291ae565fd196a9f",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ads.ayouneadvertisements"
      }
    ],
    "relations": [
      {
        "rel": "aYOUneAdvertisementDisplays",
        "title": "MODEL_AYOUNEADVERTISEMENTDISPLAY",
        "href": "https://api.ayoune.app/su/ayouneadvertisementdisplays",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "su.ayouneadvertisementdisplays"
      },
      {
        "rel": "aYOUneAdvertisements",
        "title": "MODEL_AYOUNEADVERTISEMENT",
        "href": "https://api.ayoune.app/ads/ayouneadvertisements",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ads.ayouneadvertisements"
      }
    ],
    "debugId": "6ac9ace4ed0871ae1e5fbc75",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_ADPLAYLOG",
        "href": "https://api.ayoune.app/ads/adplaylogs/6ac3cd83c0aedf1dd2db8dd9/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_ADPLAYLOG",
        "href": "https://api.ayoune.app/ads/adplaylogs/6ac3cd83c0aedf1dd2db8dd9",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.16.0",
      "core": "2026.368.2"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9923",
      "reset": "1791605305",
      "resetDate": "Sat Oct 10 2026"
    },
    "responseTime": 97.837454,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /adplaylogs Liste mit Filtern/Paginierung ads.adplaylogs.view
GET /adplaylogs/:id Einzelner Datensatz via ID ads.adplaylogs.view

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.ads.adPlayLogs.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.ads.adPlayLogs.findById('OBJECT_ID').exec();

Weiterführend