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.

@ejsuncy ejsuncy force-pushed the master-2060-support-paid-media-datatypes branch 2 times, most recently from 9217174 to ba1a1e6 Compare November 19, 2025 19:21
@ejsuncy ejsuncy force-pushed the master-2060-support-paid-media-datatypes branch from ba1a1e6 to 0463359 Compare November 19, 2025 19:22
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

Choose a reason for hiding this comment

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

changed creative to paidMediaCreative 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.

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