HTTP Format Macros http-format-macros
Lists the macros you can use to create HTTP data files. HTTP sends data in a JSON format.
See the HTTP Format Macro Examples for a list and examples of some commonly used macro combinations.
AAM_UUID
GET
DP_UUID
GET
DPID
GET
ECID
GET
GENERATION_TIME
GET, POST
IP
GET
MCID
GET
NUM_REMOVED_SEGMENTS
GET
NUM_SEGMENTS
GET
ORDER_ID
GET, POST
PID_ALIAS
GET, POST
RANDOM
GET
REMOVED_SEGMENT_LIST
GET
REMOVED_SEGMENTS
GET
A list of segments that a user no longer qualifies for. You can also return specific segment fields that include:
traitAlias
legacySegmentId (formerly segmentId)
newSegmentId
status
dateTime
Specify these fields in an array as shown in this example:
[<REMOVED_SEGMENTS:{seg|<OPEN_BRACKET>"Mapping":<seg.traitAlias>,"Status:"<seg.status>, "Time":<seg.dateTime>,"LegacySegmentId":<seg.LegacySegmentId>, "NewSegmentId":<seg.NewSegmentId><CLOSE_BRACKET>}; "separator=",">]
See also HTTP Format Macro Examples.
REMOVED_TIME_LIST
GET
REMOVED_TRAITALIAS_LIST
GET
SEGMENT_LIST
GET
SEGMENTS
GET
A list of segments a user qualifies for. You can also return specific segment fields that include:
traitAlias
legacySegmentId (formerly segmentId)
newSegmentId
status
dateTime
Specify these fields in an array as shown in this example:
[<SEGMENTS:{seg|<OPEN_BRACKET>"Mapping":<seg.traitAlias>,"Status:"<seg.status>, "Time":<seg.dateTime>,"LegacySegmentId":<seg.LegacySegmentId>, "NewSegmentId":<seg.NewSegmentId><CLOSE_BRACKET>}; "separator=",">]
See also HTTP Format Macro Examples.
TIME_LIST
GET
TIMESTAMP
GET
TRAITALIAS_LIST
GET
USER_AGENT
GET
USER_LIST
POST
A list of Audience Manager user IDs. You can also return specific fields that include the following:
user.aamUuid
user.dpUuid
user.segments
user.removedSegments
user.userAgent
user.ip
user.dpuuids
user.timestamp
user.random
user.regionIds
Specify these fields as shown in this example:
"AAM_UUID": "<user.aamUuid>" "DataPartner_UUID": "<user.dpUuid>"
See also HTTP Format Macro Examplesfor a full example.