Skip to content

Conversation

@ejsuncy
Copy link

@ejsuncy ejsuncy commented Nov 8, 2025

#2060 will involve multiple PRs to keep the review effort manageable.

This PR adds the initial base datatypes that will be reused across multiple schemas in future PRs to support Paid Media concepts.

Here is the JIRA ticket AN-421524

Copy link
Collaborator

@anandphatak anandphatak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you pl. also add the JIRA ticket number in the PR title? Also I think you need to update the PR number in the description.

},
"xdm:numberValue": {
"title": "Number Value",
"$ref": "https://ns.adobe.com/xdm/data/measure",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to use the data type Measure here? Do you also need the "id" field specified in the Measure? If not, then you could use "type": "number" rather than $ref to Measure data type; that way you won't need to have a nested "value" field under "numberValue".

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we thought we might need follow ADC schema on Analytics side. You are right, it turns out we don't need "id" field for paidmedia schema. I changed it back to number type.

"title": "Creative Assets",
"description": "Media assets used in the creative",
"items": {
"$ref": "#/definitions/asset"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you reuse the "asset" block defined in the schema in the future? Wanted to find out why it was taken out from the items and defined as a separate block.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we might reuse "asset" in the schema, should I move it in items?

"description": "Data type representing creative assets and content for paid media ads",
"definitions": {
"creative": {
"properties": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend to keep these fields inside an object that acts like a namespace, for example "xdm:paidMediaCreative". You can choose an appropriate name that does not clash; some of the fields defined in this datatype clash with other datatypes in global XDM (for example "xdm:createiveID", "xdm:body", "xdm:destinationURL".) By nesting inside an object will avoid collisions

Copy link

@rayyang15 rayyang15 Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added xdm:paidMediaCreative namespace to avoid collisions.

@rayyang15
Copy link

Could you pl. also add the JIRA ticket number in the PR title? Also I think you need to update the PR number in the description.

Here is the JIRA ticket AN-421524 I don't have permission to change it.
#2060 is issue number in description, which is confusing.

@rayyang15 rayyang15 force-pushed the master-2060-support-paid-media-datatypes branch from 0aa8fbf to a86058f Compare January 6, 2026 02:33
@rayyang15 rayyang15 force-pushed the master-2060-support-paid-media-datatypes branch from a86058f to a28234b Compare January 6, 2026 03:35
"title": "Paid Media URL Tracking",
"type": "object",
"description": "URL tracking configuration for paid media campaigns, ad groups, and ads. Captures tracking templates and custom parameters used to track user clicks and conversions.",
"properties": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"definitions" block is missing

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"title": "Paid Media Additional Field",
"type": "object",
"description": "Flexible field structure for storing platform-specific or custom fields not defined in core schema. Supports multiple value types to accommodate different data types from paid media network APIs.",
"properties": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"definitions" block is missing

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants