Skip to content

Commit

Permalink
Merge pull request adobe#1450 from daniux/AddToCampaign_113
Browse files Browse the repository at this point in the history
Added "Add to Campaign" experience event.
  • Loading branch information
prabhum2 authored Feb 23, 2022
2 parents 982bfd6 + cfdb41f commit 4ec1164
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/behaviors/time-series.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"leadOperation.convertLead": "Lead Operation Convert Lead",
"leadOperation.callWebhook": "Lead Operation Call Webhook",
"leadOperation.changeEngagementCampaignCadence": "Change Engagement Campaign Cadence",
"leadOperation.addToCampaign": "Lead Operation Add To Campaign",
"directMarketing.emailBounced": "Direct Marketing Email Bounced",
"directMarketing.emailBouncedSoft": "Direct Marketing Email Bounced Soft",
"directMarketing.emailDelivered": "Direct Marketing Email Delivered",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"meta:license": [
"Copyright 2022 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/mixins/events/add-to-campaign",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Add To Campaign",
"type": "object",
"meta:tags": {
"b2bSchema": true
},
"meta:conditionalField": "xdm:eventType",
"meta:conditionalValue": "leadOperation.addToCampaign",
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"description": "Use to add a person to the specific campaign.",
"definitions": {
"addtocampaign": {
"properties": {
"xdm:leadOperation": {
"title": "Lead Operation",
"type": "object",
"properties": {
"xdm:addToCampaign": {
"title": "Add To Campaign",
"type": "object",
"properties": {
"xdm:campaignKey": {
"title": "Campaign Key",
"description": "Unique composite identifier of the campaign.",
"$ref": "https://ns.adobe.com/xdm/datatypes/b2b-source"
},
"xdm:streamKey": {
"title": "Stream Key",
"description": "Unique composite identifier of the stream.",
"$ref": "https://ns.adobe.com/xdm/datatypes/b2b-source"
},
"xdm:streamName": {
"title": "Stream Name",
"type": "string",
"description": "Name of the stream."
}
}
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/addtocampaign"
}
],
"meta:status": "experimental",
"meta:createdDate": "2022-02-14"
}

0 comments on commit 4ec1164

Please sign in to comment.