Geëxporteerde profielstructuur valideren render-template-api-operations
https://platform.adobe.io/data/core/activation/authoring/testing/template/render
Deze pagina maakt een lijst en beschrijft alle API verrichtingen die u het gebruiken van het /authoring/testing/template/render
API eindpunt kunt uitvoeren, om uitgevoerde profielen terug te geven die het verwachte formaat van uw bestemming aanpassen, die op uw malplaatje van de berichttransformatiewordt gebaseerd. Voor een beschrijving van de functionaliteit die door dit eindpunt wordt gesteund, lees creeer malplaatje.
Aan de slag met API-bewerkingen voor sjablonen get-started
Alvorens verder te gaan, te herzien gelieve begonnen gidsvoor belangrijke informatie die u moet kennen om vraag aan API met succes te maken, met inbegrip van hoe te om de vereiste toestemming van de bestemmings authoring en vereiste kopballen te verkrijgen.
Geëxporteerde profielen renderen op basis van de sjabloon voor berichttransformatie render-exported-data
U kunt uitgevoerde profielen teruggeven door een verzoek van de POST aan het authoring/testing/template/render
eindpunt te doen en bestemmingsidentiteitskaart van de bestemmingsconfiguratie en het malplaatje te verstrekken u gebruikend het malplaatje API eindpuntcreeerde.
U kunt beginnen met het gebruik van een eenvoudige sjabloon die uw Raw-profielen exporteert zonder transformaties toe te passen en vervolgens verdergaan naar een complexere sjabloon, die transformaties toepast op profielen. De syntaxis voor de eenvoudige sjabloon is:"template": "{% for profile in input.profiles %}{{profile|raw}}{% endfor %}}"
- De doel-id die u hier moet gebruiken, is de
instanceId
die overeenkomt met een doelconfiguratie die is gemaakt met het/destinations
-eindpunt. Verwijs naar een bestemmingsconfiguratievoor meer details terugwinnen.
API formaat
POST authoring/testing/template/render
destinationId
template
profiles
Als u profielen aan het lichaam van de vraag zou willen toevoegen, kunt u wat produceren door de generatie API van de de profielgeneratie van de Steekproef te gebruiken.
Merk op dat de reactie die door teruggegeven malplaatje API eindpunt is teruggekeerd verschilt gebaseerd op het beleid van de bestemmingssamenvoeging. Als uw bestemming een configureerbaar samenvoegingsbeleid heeft, wordt de samenvoegingssleutel die bepaalt hoe de profielen worden bijeengevoegd ook geretourneerd in de reactie. Lees over samenvoegingsbeleidvoor meer details.
aggregationKey
CONFIGURABLE_AGGREGATION
.profiles
output
In de volgende secties worden gedetailleerde verzoeken en antwoorden gegeven voor beide hierboven beschreven gevallen.
Geëxporteerde profielen renderen met de best mogelijke aggregatie en één profiel opgenomen in de aanvraagbak best-effort
Verzoek
Met de volgende aanvraag wordt een geëxporteerd profiel weergegeven dat overeenkomt met de indeling die door uw doel wordt verwacht. In dit voorbeeld, beantwoordt bestemmingsidentiteitskaart aan een bestemmingsconfiguratie met beste inspanningssamenvoeging, en een steekproefprofiel is inbegrepen in het lichaam van het verzoek.
curl --location --request POST 'https://platform.adobe.io/data/core/activation/authoring/testing/template/render' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-api-key: {API_KEY}' \
--header 'Authorization: Bearer {ACCESS_TOKEN}' \
--header 'x-gw-ims-org-id: {ORG_ID}' \
--header 'x-sandbox-name: {SANDBOX_NAME}' \
--data-raw '
{
"destinationId": "947c1c46-008d-40b0-92ec-3af86eaf41c1",
"template": "{#- THIS is an example template for a single profile -#}\r\n{#- A '\''-'\'' at the beginning or end of a tag removes all whitespace on that side of the tag. -#}\r\n{\r\n \"identities\": [\r\n {%- for idMapEntry in input.profile.identityMap -%}\r\n {%- set namespace = idMapEntry.key -%}\r\n {%- for identity in idMapEntry.value %}\r\n {\r\n \"type\": \"{{ namespace }}\",\r\n \"id\": \"{{ identity.id }}\"\r\n }{%- if not loop.last -%},{%- endif -%}\r\n {%- endfor -%}{%- if not loop.last -%},{%- endif -%}\r\n {% endfor %}\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n {%- for segment in input.profile.segmentMembership.ups | added %}\r\n \"{{ segment.key }}\"{%- if not loop.last -%},{%- endif -%}\r\n {% endfor %}\r\n ],\r\n \"remove\": [\r\n {#- Alternative syntax for filtering audiences by status: -#}\r\n {% for segment in removedSegments(input.profile.segmentMembership.ups) %}\r\n \"{{ segment.key }}\"{%- if not loop.last -%},{%- endif -%}\r\n {% endfor %}\r\n ]\r\n }\r\n}",
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T16:59:00.828461Z",
"status": "realized"
},
"segmentid3": {
"lastQualificationTime": "2021-10-26T16:59:00.828469Z",
"status": "exited"
},
"segmentid2": {
"lastQualificationTime": "2021-10-26T16:59:00.828468Z",
"status": "realized"
}
}
},
"identityMap": {
"gaid": [
{
"id": "gaid-BLAcJ"
}
],
"idfa": [
{
"id": "idfa-Iv5AG"
}
],
"email": [
{
"id": "email-rbN62"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
]
}'
Reactie
De reactie retourneert het resultaat van het renderen van de sjabloon of eventuele gevonden fouten.
Een geslaagde reactie retourneert HTTP-status 200 met details van de geëxporteerde gegevens. Zoek het geëxporteerde profiel in de parameter output
als een beschermde tekenreeks.
Een mislukte reactie retourneert HTTP-status 400, samen met beschrijvingen van de gevonden fouten.
{
"results": [
{
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T16:59:00.828461Z",
"status": "realized"
},
"segmentid3": {
"lastQualificationTime": "2021-10-26T16:59:00.828469Z",
"status": "exited"
},
"segmentid2": {
"lastQualificationTime": "2021-10-26T16:59:00.828468Z",
"status": "realized"
}
}
},
"identityMap": {
"gaid": [
{
"id": "gaid-BLAcJ"
}
],
"idfa": [
{
"id": "idfa-Iv5AG"
}
],
"email": [
{
"id": "email-rbN62"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
],
"output": "{\r\n \"identities\": [\r\n {\r\n \"type\": \"gaid\",\r\n \"id\": \"gaid-BLAcJ\"\r\n },\r\n {\r\n \"type\": \"idfa\",\r\n \"id\": \"idfa-Iv5AG\"\r\n },\r\n {\r\n \"type\": \"email\",\r\n \"id\": \"email-rbN62\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\",\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n}"
}
]
}
Geëxporteerde profielen renderen met configureerbare aggregatie en profielen in de aanvraagbak configurable-aggregation
Verzoek
In het volgende verzoek worden meerdere geëxporteerde profielen weergegeven die overeenkomen met de indeling die door uw doel wordt verwacht. In dit voorbeeld, beantwoordt bestemmingsidentiteitskaart aan een bestemmingsconfiguratie met configureerbare samenvoeging. Er zijn twee profielen opgenomen in de inhoud van het verzoek, elk met drie kwalificaties voor het publiek en vijf identiteiten. U kunt profielen produceren om op de vraag te verzenden door de generatie API van het steekproefprofiel te gebruiken.
curl --location --request POST 'https://platform.adobe.io/data/core/activation/authoring/testing/template/render' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-api-key: {API_KEY}' \
--header 'Authorization: Bearer {ACCESS_TOKEN}' \
--header 'x-gw-ims-org-id: {ORG_ID}' \
--header 'x-sandbox-name: {SANDBOX_NAME}' \
--data-raw '{
"destinationId": "c2bc84c5-589c-43a1-96ea-becfa941f5be",
"template": "{#- THIS is an example template for multiple profiles -#}\r\n{#- A '\''-'\'' at the beginning or end of a tag removes all whitespace on that side of the tag. -#}\r\n{\r\n \"profiles\": [\r\n {%- for profile in input.profiles %}\r\n {\r\n \"identities\": [\r\n {%- for idMapEntry in profile.identityMap -%}\r\n {%- set namespace = idMapEntry.key -%}\r\n {%- for identity in idMapEntry.value %}\r\n {\r\n \"type\": \"{{ namespace }}\",\r\n \"id\": \"{{ customerData }}\"\r\n }{%- if not loop.last -%},{%- endif -%}\r\n {%- endfor -%}{%- if not loop.last -%},{%- endif -%}\r\n {% endfor %}\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n {%- for segment in profile.segmentMembership.ups | added %}\r\n \"{{ segment.key }}\"{%- if not loop.last -%},{%- endif -%}\r\n {% endfor %}\r\n ],\r\n \"remove\": [\r\n {#- Alternative syntax for filtering audiences by status: -#}\r\n {% for segment in removedSegments(profile.segmentMembership.ups) %}\r\n \"{{ segment.key }}\"{%- if not loop.last -%},{%- endif -%}\r\n {% endfor %}\r\n ]\r\n }\r\n }{%- if not loop.last -%},{%- endif -%}\r\n {% endfor %}\r\n ]\r\n}",
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.947859Z",
"status": "realized"
},
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.947860Z",
"status": "exited"
},
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.947860Z",
"status": "realized"
}
}
},
"identityMap": {
"amazon_channel": [
{
"id": "amazon_channel-biCbJ"
}
],
"named_user_id": [
{
"id": "named_user_id-0Q3hp"
}
],
"channel": [
{
"id": "channel-mN1Hw"
}
],
"android_channel": [
{
"id": "android_channel-MVw4L"
}
],
"ios_channel": [
{
"id": "ios_channel-2OjnN"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.948187Z",
"status": "realized"
},
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.948188Z",
"status": "exited"
},
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.948188Z",
"status": "realized"
}
}
},
"identityMap": {
"amazon_channel": [
{
"id": "amazon_channel-fxt2p"
}
],
"named_user_id": [
{
"id": "named_user_id-sboQe"
}
],
"channel": [
{
"id": "channel-MRelR"
}
],
"android_channel": [
{
"id": "android_channel-M46ze"
}
],
"ios_channel": [
{
"id": "ios_channel-40Vrf"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
]
}'
Reactie
De reactie retourneert het resultaat van het renderen van de sjabloon of eventuele gevonden fouten.
Een geslaagde reactie retourneert HTTP-status 200 met details van de geëxporteerde gegevens. In het antwoord ziet u hoe de profielen worden samengevoegd op basis van het lidmaatschap en de identiteit van het publiek. Zoek de geëxporteerde profielen in de parameter output
als een beschermde tekenreeks.
Een mislukte reactie retourneert HTTP-status 400, samen met beschrijvingen van de gevonden fouten.
{
"results": [
{
"aggregationKey": {
"destinationInstanceId": "49966037-32cd-4457-a105-2cbf9c01826a",
"segmentId": "segmentid3",
"segmentStatus": "exited",
"identityNamespaces": [
"android_channel",
"amazon_channel",
"ios_channel",
"channel"
]
},
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "exited"
}
}
},
"identityMap": {
"ios_channel": [
{
"id": "ios_channel-2OjnN"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "exited"
}
}
},
"identityMap": {
"channel": [
{
"id": "channel-mN1Hw"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "exited"
}
}
},
"identityMap": {
"amazon_channel": [
{
"id": "amazon_channel-biCbJ"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "exited"
}
}
},
"identityMap": {
"android_channel": [
{
"id": "android_channel-MVw4L"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "exited"
}
}
},
"identityMap": {
"ios_channel": [
{
"id": "ios_channel-40Vrf"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "exited"
}
}
},
"identityMap": {
"channel": [
{
"id": "channel-MRelR"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "exited"
}
}
},
"identityMap": {
"amazon_channel": [
{
"id": "amazon_channel-fxt2p"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "exited"
}
}
},
"identityMap": {
"android_channel": [
{
"id": "android_channel-M46ze"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
],
"output": "{\r\n \"profiles\": [\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"ios_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"amazon_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"android_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"ios_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"amazon_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"android_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n }\r\n ]\r\n}"
},
{
"aggregationKey": {
"destinationInstanceId": "49966037-32cd-4457-a105-2cbf9c01826a",
"segmentId": "segmentid1",
"segmentStatus": "realized",
"identityNamespaces": [
"android_channel",
"amazon_channel",
"ios_channel",
"channel"
]
},
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"ios_channel": [
{
"id": "ios_channel-2OjnN"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"channel": [
{
"id": "channel-mN1Hw"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"amazon_channel": [
{
"id": "amazon_channel-biCbJ"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"android_channel": [
{
"id": "android_channel-MVw4L"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"ios_channel": [
{
"id": "ios_channel-40Vrf"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"channel": [
{
"id": "channel-MRelR"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"amazon_channel": [
{
"id": "amazon_channel-fxt2p"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"android_channel": [
{
"id": "android_channel-M46ze"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
],
"output": "{\r\n \"profiles\": [\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"ios_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"amazon_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"android_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"ios_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"amazon_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"android_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n }\r\n ]\r\n}"
},
{
"aggregationKey": {
"destinationInstanceId": "49966037-32cd-4457-a105-2cbf9c01826a",
"segmentId": "segmentid2",
"segmentStatus": "realized",
"identityNamespaces": [
"android_channel",
"amazon_channel",
"ios_channel",
"channel"
]
},
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"ios_channel": [
{
"id": "ios_channel-2OjnN"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"channel": [
{
"id": "channel-mN1Hw"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"amazon_channel": [
{
"id": "amazon_channel-biCbJ"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"android_channel": [
{
"id": "android_channel-MVw4L"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"ios_channel": [
{
"id": "ios_channel-40Vrf"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"channel": [
{
"id": "channel-MRelR"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"amazon_channel": [
{
"id": "amazon_channel-fxt2p"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"android_channel": [
{
"id": "android_channel-M46ze"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
],
"output": "{\r\n \"profiles\": [\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"ios_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"amazon_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"android_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"ios_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"amazon_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"android_channel\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n }\r\n ]\r\n}"
},
{
"aggregationKey": {
"destinationInstanceId": "49966037-32cd-4457-a105-2cbf9c01826a",
"segmentId": "segmentid3",
"segmentStatus": "exited",
"identityNamespaces": [
"named_user_id"
]
},
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "exited"
}
}
},
"identityMap": {
"named_user_id": [
{
"id": "named_user_id-0Q3hp"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid3": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "exited"
}
}
},
"identityMap": {
"named_user_id": [
{
"id": "named_user_id-sboQe"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
],
"output": "{\r\n \"profiles\": [\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"named_user_id\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"named_user_id\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n ],\r\n \"remove\": [\r\n \"segmentid3\"\r\n ]\r\n }\r\n }\r\n ]\r\n}"
},
{
"aggregationKey": {
"destinationInstanceId": "49966037-32cd-4457-a105-2cbf9c01826a",
"segmentId": "segmentid1",
"segmentStatus": "realized",
"identityNamespaces": [
"named_user_id"
]
},
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"named_user_id": [
{
"id": "named_user_id-0Q3hp"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid1": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"named_user_id": [
{
"id": "named_user_id-sboQe"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
],
"output": "{\r\n \"profiles\": [\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"named_user_id\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"named_user_id\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid1\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n }\r\n ]\r\n}"
},
{
"aggregationKey": {
"destinationInstanceId": "49966037-32cd-4457-a105-2cbf9c01826a",
"segmentId": "segmentid2",
"segmentStatus": "realized",
"identityNamespaces": [
"named_user_id"
]
},
"profiles": [
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.947+0000",
"status": "realized"
}
}
},
"identityMap": {
"named_user_id": [
{
"id": "named_user_id-0Q3hp"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
},
{
"segmentMembership": {
"ups": {
"segmentid2": {
"lastQualificationTime": "2021-10-26T17:41:55.948+0000",
"status": "realized"
}
}
},
"identityMap": {
"named_user_id": [
{
"id": "named_user_id-sboQe"
}
]
},
"attributes": {
"key": {
"value": "string"
}
}
}
],
"output": "{\r\n \"profiles\": [\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"named_user_id\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n },\r\n {\r\n \"identities\": [\r\n {\r\n \"type\": \"named_user_id\",\r\n \"id\": \"{moviestar_region=dIqYn-moviestar_region}\"\r\n }\r\n ],\r\n \"AdobeExperiencePlatformSegments\": {\r\n \"add\": [\r\n \"segmentid2\"\r\n ],\r\n \"remove\": [\r\n ]\r\n }\r\n }\r\n ]\r\n}"
}
]
}
API-foutafhandeling api-error-handling
Destination SDK API-eindpunten volgen de algemene API-foutberichtbeginselen voor Experience Platforms. Verwijs naar API statuscodesen de fouten van de verzoekkopbalin de het oplossen van problemengids van het Platform.
Volgende stappen next-steps
Nadat u dit document hebt gelezen, weet u nu hoe u de sjabloon voor berichttransformatie kunt gebruiken om geëxporteerde profielen te genereren die overeenkomen met de verwachte gegevensindeling van uw bestemming. Lees hoe te om Destination SDK te gebruiken om uw bestemmingte vormen om te begrijpen waar deze stap in het proces past om uw bestemming te vormen.