Creare un posizionamento exd create-exd-placement
Per creare un posizionamento exd, devi eseguire una richiesta POST all’API Libreria di offerte.
Intestazioni Accept e Content-Type
La tabella seguente mostra i valori validi che comprendono i campi Content-Type nell’intestazione della richiesta:
Parametro
Descrizione
Content-Type
application/jsonFormato API
POST /{ENDPOINT_PATH}/exd-placements
Parametro
Descrizione
Esempio
{ENDPOINT_PATH}Percorso endpoint per le API di persistenza.
https://platform.adobe.io/data/core/dpsRichiesta
curl --location 'https://platform-stage.adobe.io/data/core/dps/exd-placements' \
--header 'Content-Type: application/json' \
--header 'x-gw-ims-org-id: {IMS_ORG}' \
--header 'x-sandbox-name: {SANDBOX_NAME}' \
--header 'x-api-key: {API_KEY}' \
--header 'Authorization: Bearer {ACCESS_TOKEN}' \
--data '{
"name": "Test Exd Placement1 Pants",
"channel": "https://ns.adobe.com/xdm/channel-types/email",
"tags":["3d75b849-b344-402b-9d9e-5d750bd46884"],
"channelConfiguration":"530b76f9-dcd6-4fd5-8c52-38e29b04a60a",
"description": "compressing alarm",
"status":"active"
}'
Risposta
In caso di esito positivo, la risposta restituisce i dettagli del posizionamento exd appena creato, incluso l’ID. Puoi utilizzare l’ID nei passaggi successivi per aggiornare o eliminare il posizionamento exd.
{
"id": "dps:exd-placement:19cb038eca47bead",
"sandboxId": "068abf40-575e-11ea-8512-9b1bfdb82603",
"etag": 2,
"createdDate": "2024-11-18T18:48:56.298Z",
"lastModifiedDate": "2024-11-18T18:57:27.457Z",
"createdBy": "71486D7B5F4011980A494030@AdobeID",
"lastModifiedBy": "71486D7B5F4011980A494030@AdobeID",
"lastModifiedByClientId": "CJMTestClientACP"
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76