En esta página: Aprenda a crear perfiles de prueba cargando un archivo CSV o utilizando llamadas a la API para poder obtener una vista previa del contenido y probar los recorridos en Adobe Journey Optimizer.
Se requieren perfiles de prueba al usar el modo de prueba en un recorrido, y para previsualizar y probar el contenido.
Puede crear perfiles de prueba al cargar un archivo CSV o al usar llamadas a la API. Adobe Journey Optimizer también proporciona un caso de uso en el producto específico para facilitar la creación del perfil de prueba.
Puede cargar un archivo JSON en un conjunto de datos existente. Para obtener más información, consulte la Documentación de ingesta de datos.
Crear un perfil de prueba es similar a crear perfiles normales en Adobe Experience Platform. Para obtener más información, consulte la Documentación del perfil del cliente en tiempo real.
➡️ Aprenda a crear perfiles de prueba en este vídeo
Requisitos previos test-profile-prerequisites
Para crear perfiles, primero debe crear un esquema y un conjunto de datos.
Creación de un esquema create-schema
Para crear un esquema, siga estos pasos:
-
En la sección de menú DATA MANAGEMENT, haga clic en Esquemas y seleccione el botón Crear esquema.
-
Seleccione Standard como opción de creación de esquema.
-
Seleccione un tipo de esquema, por ejemplo Perfil individual, y haga clic en Siguiente.
-
Escriba un nombre para el esquema y haga clic en Finalizar.
-
En la sección Grupos de campos, a la izquierda, haga clic en Agregar y seleccione los grupos de campos correspondientes. Asegúrese de agregar el grupo de campos Detalles de la prueba del perfil.
Una vez finalizado, haga clic en Agregar grupos de campos: la lista de grupos de campos se muestra en la pantalla de información general del esquema.
note NOTE Haga clic en el nombre del esquema para actualizar sus propiedades. -
En la lista de campos, haga clic en el campo que desee definir como identidad principal.
-
En el panel derecho de Propiedades del campo, compruebe las opciones Identidad e Identidad principal y seleccione un área de nombres. Si desea que la identidad principal sea una dirección de correo electrónico, elija el área de nombres Correo electrónico. Haga clic en Aplicar.
-
Seleccione el esquema y habilite la opción Perfil en el panel Propiedades del esquema.
-
Haga clic en Guardar.
Para obtener más información sobre la creación de esquemas, consulte la documentación de XDM.
/personID) para el área de nombres deseada. Si falta el descriptor de identidad o está configurado incorrectamente, es posible que los perfiles ingeridos en este conjunto de datos no se marquen como perfiles de prueba (testProfile = true), aunque el proceso de ingesta se complete correctamente.- Revise el esquema asociado al conjunto de datos.
- Confirme que el campo de identidad principal tiene el descriptor de identidad correcto para el área de nombres (vea los pasos que definen la identidad principal en Crear un esquema).
- Si falta el descriptor, actualice el esquema para agregar el descriptor de identidad y vuelva a introducir los datos.
Crear un conjunto de datos create-dataset
Entonces necesita crear el conjunto de datos en el que se importarán los perfiles. Siga estos pasos:
- Vaya a Conjuntos de datos y, a continuación, haga clic en Crear conjunto de datos.
- Elija Crear conjunto de datos a partir del esquema.
- Seleccione el esquema creado anteriormente y haga clic en Siguiente.
- Elija un nombre y haga clic en Finalizar.
- Habilite la opción Perfil.
Caso de uso dentro del producto use-case-1
Desde la página de inicio de Adobe Journey Optimizer, puede aprovechar los perfiles de prueba en el caso de uso del producto. Este caso de uso facilita la creación de perfiles de prueba utilizados para probar recorridos antes de publicar.
Haga clic en el botón Comenzar para iniciar el caso de uso.
Se requiere la siguiente información:
-
Área de nombres de identidad: El área de nombres de identidad se usa para identificar los perfiles de prueba de forma única. Por ejemplo, si se usa el correo electrónico para identificar los perfiles de prueba, se debe seleccionar el área de nombres de identidad Correo electrónico. Si el identificador único es el número de teléfono, se debe seleccionar el área de nombres de identidad Teléfono.
-
archivo CSV: archivo separado por comas que contiene la lista de perfiles de prueba que se van a crear. El caso de uso espera un formato predefinido para el archivo CSV que contiene la lista de perfiles de prueba que se van a crear. Cada fila del archivo debe incluir los siguientes campos en el orden correcto como se indica a continuación:
- Id. de persona: Identificador único del perfil de prueba. Los valores de este campo deben reflejar el área de nombres de identidad seleccionada. (Por ejemplo, si Phone está seleccionado para el área de nombres de identidad, los valores de este campo deben ser números de teléfono. Del mismo modo, si se selecciona Correo electrónico, los valores de este campo deben ser correos electrónicos)
- Dirección de correo electrónico: dirección de correo electrónico del perfil de prueba. (El campo ID de persona y el campo Dirección de correo electrónico podrían contener los mismos valores si se selecciona Correo electrónico como área de nombres de identidad)
- Nombre: Nombre del perfil de prueba.
- Apellido: Apellido del perfil de prueba.
- Ciudad: Perfil de prueba de ciudad de residencia.
- País: perfil de prueba del país de residencia.
- Sexo: género del perfil de prueba. Los valores disponibles son hombre, mujer y no especificado
Después de seleccionar el área de nombres de identidad y proporcionar el archivo CSV en función del formato anterior, seleccione el botón Ejecutar en la parte superior derecha. El caso de uso puede tardar unos minutos en completarse. Una vez que el caso de uso termina de procesar y crear los perfiles de prueba, se envía una notificación al usuario.
Creación de perfiles de prueba con un archivo CSV create-test-profiles-csv
En Adobe Experience Platform, puede crear perfiles cargando un archivo csv que contenga los diferentes campos de perfil en el conjunto de datos. Este es el método más sencillo.
- Cree un archivo csv simple con un software de hoja de cálculo.
- Agregue una columna para cada campo obligatorio. Asegúrese de agregar el campo de identidad principal (por ejemplo,
personID) y el campotestProfileestablecido entrue.
- Añada una línea por perfil y rellene los valores de cada campo.
- Guarde la hoja de cálculo como archivo csv. Asegúrese de que se utilizan comas como separadores.
- Vaya a Adobe Experience Platform flujos de trabajo.
- Elija Asignar CSV al esquema XDM y, a continuación, haga clic en Iniciar.
- Seleccione el conjunto de datos en el que desea importar los perfiles. Haga clic en Next.
- Haga clic en Elegir archivos y seleccione el archivo CSV. Cuando se cargue el archivo, haga clic en Siguiente.
- Asigne los campos csv de origen a los campos de esquema y haga clic en Finalizar.
- Comienza la importación de datos. El estado pasará de Procesando a Correcto. Haga clic en Vista previa del conjunto de datos, en la parte superior derecha.
- Compruebe que los perfiles de prueba se hayan agregado correctamente.
Los perfiles de prueba se han añadido y ahora se pueden utilizar para probar un recorrido. Consulte esta sección.
Creación de perfiles de prueba mediante llamadas a API create-test-profiles-api
También puede crear perfiles de prueba mediante llamadas a la API. Obtenga más información en Adobe Experience Platform documentación.
Debe usar un esquema de perfil que contenga el grupo de campos Detalles de la prueba del perfil. El indicador testProfile forma parte de este grupo de campos.
Al crear un perfil, asegúrese de pasar el valor: testProfile = true.
También puede actualizar un perfil existente para cambiar su indicador testProfile a true.
Este es un ejemplo de llamada de API para crear un perfil de prueba:
curl -X POST \
'https://dcs.adobedc.net/collection/xxxxxxxxxxxxxx' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: xxxxx' \
-H 'cache-control: no-cache' \
-H 'x-api-key: xxxxx' \
-H 'x-gw-ims-org-id: xxxxx' \
-d '{
"header": {
"msgType": "xdmEntityCreate",
"msgId": "xxxxx",
"msgVersion": "xxxxx",
"xactionid":"xxxxx",
"datasetId": "xxxxx",
"imsOrgId": "xxxxx",
"source": {
"name": "Postman"
},
"schemaRef": {
"id": "https://example.adobe.com/mobile/schemas/xxxxx",
"contentType": "application/vnd.adobe.xed-full+json;version=1"
}
},
"body": {
"xdmMeta": {
"schemaRef": {
"contentType": "application/vnd.adobe.xed-full+json;version=1"
}
},
"xdmEntity": {
"_id": "xxxxx",
"_mobile":{
"ECID": "xxxxx"
},
"testProfile":true
}
}
}'
Vídeo práctico video
Obtenga información sobre cómo crear perfiles de prueba.
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: Create test profiles in Adobe Journey Optimizer, after creating a schema and a dataset, with the test profiles in-product use case, by uploading a csv file in Adobe Experience Platform, or with API calls.
Intents:
- Create the schema and the dataset into which test profiles are imported.
- Create test profiles with the test profiles in-product use case available from the Adobe Journey Optimizer home page.
- Create test profiles by uploading a csv file through the Map CSV to XDM schema workflow in Adobe Experience Platform Workflows.
- Create test profiles with API calls, passing the value
testProfile = true. - Fix test profiles that are not flagged correctly after ingestion.
Glossary:
- Test profile: A profile that is required when using the test mode in a journey, and to preview and test content. Creating a test profile is similar to creating regular profiles in Adobe Experience Platform.
- Profile test details: (product-specific) The field group that contains the
testProfileflag. - testProfile: (product-specific) The flag of the Profile test details field group that is set to
truefor a test profile. - Test profiles in-product use case: (product-specific) A use case available from the Adobe Journey Optimizer home page that facilitates the creation of test profiles used for testing journeys before publishing.
- Identity namespace: In the test profiles in-product use case, the identity namespace used to uniquely identify the test profiles.
- Simulate content: (product-specific) Tests content variations with sample input data or AI auto-generation, and does not require test profiles.
- Simulate content (AEP profiles): (product-specific) Selected from the dropdown after Simulate content, previews content with test profiles.
Guardrails:
- In the test profiles in-product use case, test profiles may override existing profiles. Before executing the use case, make sure the CSV contains test profiles only and that it is executed against the correct sandbox.
- The test profiles in-product use case expects a predefined format for the CSV file: each row should include these fields in this order: Person Id, Email Address, First Name, Last Name, City, Country, Gender.
- In the CSV file of the test profiles in-product use case, the available values for Gender are male, female and non_specified.
Prerequisites and permissions:
- To create profiles, you first need to create a schema and a dataset into which the profiles are imported.
- When creating the schema, make sure you add the Profile test details field group.
- To create test profiles via API calls, you must use a Profile schema that contains the Profile test details field group.
- When creating or replacing a dataset for test profile ingestion, ensure that the schema has the correct identity descriptor applied to the primary identity field (for example,
/personID) for the intended namespace.
Terminology:
- Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
- Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Platform
- Canonical name: Experience Data Model — Acronym: XDM
FAQ:
- When are test profiles required? Test profiles are required when using the test mode in a journey, and to preview and test your content.
- Does Simulate content require test profiles? Simulate content, which tests content variations with sample input data or AI auto-generation, does not require test profiles. Simulate content (AEP profiles) previews with test profiles.
- What is the easiest method to create test profiles? In Adobe Experience Platform, uploading a csv file containing the different profile fields into your dataset is the easiest method.
- What should a csv file uploaded through the Map CSV to XDM schema workflow contain? Make sure you add the primary identity field (for example,
personID) and thetestProfilefield set totrue, and that commas are used as separators. - How long does the test profiles in-product use case take? The use case might take a few minutes to complete. Once the use case completes processing and creating the test profiles, a notification is sent to notify the user.
- Can an existing profile be changed into a test profile with API calls? Yes. You can update an existing profile to change its
testProfileflag totrue.
Troubleshooting:
- Test profiles not flagged correctly after ingestion (
testProfile = true): If the identity descriptor of the primary identity field is missing or incorrectly configured, profiles ingested into the dataset may not be flagged as test profiles, even if the ingestion process completes successfully. Review the schema associated with your dataset, confirm that the primary identity field has the correct identity descriptor for your namespace, and, if the descriptor is missing, update the schema to add the identity descriptor and re-ingest your data.
Examples:
- In the test profiles in-product use case, if email is used to identify the test profiles, the identity namespace Email should be selected; if the unique identifier is the phone number, the identity namespace Phone should be selected.
- In the CSV file of the test profiles in-product use case, the Person Id field and the Email Address field could potentially contain the same values if Email is selected as the identity namespace.
- The API call example to create a test profile is a POST request to
https://dcs.adobedc.net/collection/xxxxxxxxxxxxxxwhose header has"msgType": "xdmEntityCreate"and whosexdmEntitybody contains"testProfile":true.
Related pages:
- For the journey test mode, which requires test profiles: test mode
- To preview and test content, which requires test profiles: preview and test your content
- To simulate content variations: Learn how to simulate content variations
- For the identity namespace used to uniquely identify test profiles: identity namespace
Personas:
- marketer: Can create test profiles with the test profiles in-product use case from the Adobe Journey Optimizer home page, starting it with Begin. Can select the identity namespace used to uniquely identify the test profiles, for example Email or Phone, provide the CSV file, and select Run. Can provide a CSV file where each row should include Person Id, Email Address, First Name, Last Name, City, Country and Gender in this order. The page states that test profiles may override existing profiles. Where: “In-product use case”.
Onboarding:
- Level: Intermediate
- First minimal step: In the DATA MANAGEMENT menu section, select Schemas and then Create schema.
- Success check: The data import status moves from Processing to Success.