---
title: "Message feed"
date: "2024-02-14T06:18:38+00:00"
summary: "Explore the message feed structure for effective marketing campaigns. Learn about required fields, data types, and optional attributes to optimize your customer data platform integration and improve campaign performance."
image:
type: "page"
url: "/customer-data-platform/message-feed"
id: "83ab095f-bd70-4bd0-a3b0-072f6eb100cd"
---

**Message feed structure**

Field name

Importance

Data type

Referential integrity

Description

**SourceMessageNumber**

**Required**

String

 

The unique identifier for this message in your system.

**SourceDispatchNumber**

**Required**

String

Dispatch:SourceDispatchNumber

The identifier of the dispatch to which this message belongs.

**Name**

**Required**

String

 

The name of the message in your system. CDP displays this name in the application.

**Subject**

Optional

String

 

The subject of the message for email and related messages. For other types of marketing messages, you can use this as an attribute to store more information about the message. For example, for Google Analytics, CDP uses this to store the `keyword` information from the UTM hierarchy or tagging, “Medium > Source > Campaign > AdGroup > Keyword”.

**Content**

Optional

String

 

The description of the content of the message for email and related messages. For other types of marketing messages, you can use this as an attribute to store more information about the message. For example, for Google Analytics, CDP uses this to store the `AdGroup` information from the UTM hierarchy or tagging, “Medium > Source > Campaign > AdGroup > Keyword”.

**SendDate**

Optional

Datetime

 

The date when your message was sent.

**MessageFrom**

Optional

String

 

The sender information for email and related messages. Not applicable for other marketing messages.

**Links**

Optional

String

 

The list of links that were contained in the email, separated by commas for email and related messages. Not applicable for other marketing messages.

**DateCreated**

Optional

Datetime

 

The date when the message was created in the system.

**Variant**

Optional

String

 

The variant to which this message belongs, if it was part of an A/B test. CDP displays this name in the application.

**Cost**

Optional

String

 

Only used for Direct Mail campaigns. It stores the cost of sending this message to its recipients.

**AttributionWindow**

Optional

Integer

 

Only used for Direct Mail campaigns. It stores the time window during which CDP attributes the transactions to this message.

**AttributionStartDate**

Optional

Datetime

 

Only used for Direct Mail campaigns. It stores the date to start the AttributionWindow period to attribute transactions to this message.

**Custom attributes**

Optional

Any (float, datetime, string, boolean)

 

Custom attributes that you use within CDP. This customization is not self-service and requires you to engage with your CDP customer value manager (CVM). It involves deployment effort.