aYOUne
← Marketing API

aYOUneAdvertisementGroups

Singular: aYOUneAdvertisementGroup — Base-URL: https://marketing-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)

play_circle 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": "6a72bda158ee2cdf18a10cbe",
    "name": "ARCHITECTURAL_WHITE_WATTO",
    "regions": [],
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-08-05T04:35:45.037Z",
    "updatedAt": "2026-08-05T04:35:45.037Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://marketing-api.ayoune.app/ayouneadvertisementgroups/6a72bda158ee2cdf18a10cbe",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6a828bb99832d724b26f66c8",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_AYOUNEADVERTISEMENTGROUP",
        "href": "https://api.ayoune.app/marketing/ayouneadvertisementgroups/6a72bda158ee2cdf18a10cbe/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_AYOUNEADVERTISEMENTGROUP",
        "href": "https://api.ayoune.app/marketing/ayouneadvertisementgroups/6a72bda158ee2cdf18a10cbe/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.36.0",
      "core": "2026.288.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "1501",
      "reset": "1786943708",
      "resetDate": "Mon Aug 17 2026"
    },
    "responseTime": 144.333657,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /ayouneadvertisementgroups Liste mit Filtern/Paginierung marketing.ayouneadvertisementgroups.view
GET /ayouneadvertisementgroups/:id Einzelner Datensatz marketing.ayouneadvertisementgroups.view
POST /ayouneadvertisementgroups Neuen Datensatz erstellen marketing.ayouneadvertisementgroups.new
PUT /ayouneadvertisementgroups Datensatz aktualisieren marketing.ayouneadvertisementgroups.edit
DELETE /ayouneadvertisementgroups/:id Datensatz löschen marketing.ayouneadvertisementgroups.delete

SDK

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

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

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

// Erstellen
const created = await ay.marketing.aYOUneAdvertisementGroups.create({ name: 'Foo' });

Weiterführend