当前位置:网站首页>SAP Marketing Cloud 功能概述(四)
SAP Marketing Cloud 功能概述(四)
2022-06-24 12:59:00 【InfoQ】
Marketing Calendar


Success
- 热门类别:最常用的五个营销活动的类别。
- 帖子情绪:针对情绪评分从“强烈支持”到“强烈反对”和“无评估”, 显示社交媒体消息数。
- 热门关注对象(消息)和情绪评分(消息):社交媒体消息数最多的关注对象及其情绪评分。

Spend
- 总金额:所选营销活动的总计划支出。
- 热门支出类型:最常用的支出类型以及每个支出类型的总支出。

Sentiment

Marketing Plan









Budget Plans










为营销活动上传支出数据


使用nodejs实现OData的batch操作在Marketing Cloud里读取

var request = require('request');
var config = require("./mcConfig");
var url = config.getContactBatchURL;
var sBody = "--batch_c914-a60c-1877" + "\n" +
"Content-Type: application/http" + "\n" +
"Content-Transfer-Encoding: binary" + "\n" +
"\n" +
"GET InteractionContacts?sap-client=100&$skip=0&$top=2&$select=ImageURL%2cName%2cContactLevelName%2cCountryName%2cCity%2cEMailAddress%2cPhoneNumber%2cMobilePhoneNumber%2cCorporateAccountName%2cInteractionContactUUID%2cRelationship%2cType&$inlinecount=allpages HTTP/1.1" +
"sap-cancel-on-close: true" + "\n" +
"Cache-Control: max-age=360" + "\n" +
"sap-contextid-accept: header" + "\n" +
"Accept: application/json" + "\n" +
"Accept-Language: en" + "\n" +
"DataServiceVersion: 2.0" + "\n" +
"MaxDataServiceVersion: 2.0" + "\n" +
"\n" + "\n" +
"--batch_c914-a60c-1877--";
var getContactOptions = {
url: url,
method: "POST",
json:false,
headers: {
"content-type": "multipart/mixed;boundary=batch_c914-a60c-1877",
'Authorization': 'Basic ' + new Buffer(config.user + ":" + config.password).toString('base64')
},
body: sBody
};
function getContact() {
return new Promise(function(resolve,reject){
var requestC = request.defaults({jar: true});
console.log("Step1: get contact via url: " + url );
requestC(getContactOptions,function(error,response,body){
if( error){
console.log("error occurred: " + error);
reject(error);
}
console.log("response:" + body);
var nStartIndex = body.indexOf("{");
var nLastIndex = body.lastIndexOf("}");
if( nStartIndex < 0 || nLastIndex < 0)
return;
var sPayload = body.substring(nStartIndex, ++nLastIndex);
resolve(JSON.parse(sPayload));
});
});
}
function displayResult(oResult){
console.log(oResult);
}
getContact().then(displayResult);


使用postman创建Marketing Cloud的Contact





{"CountryCode":"CN","City":"Chengdu","FirstName":"Jerry1","LastName":"Wang1","PostalCode":"610093","RegionCode":"","Street":"天府软件园","HouseNumber":"天府软件园","DateofBirth":null,"ContactPersonFacets":[{"Id":"[email protected]","IdOrigin":"EMAIL","Obsolete":false,"Invalid":false},{"Id":"","IdOrigin":"PHONE","Obsolete":false,"Invalid":false},{"Id":"","IdOrigin":"MOBILE","Obsolete":false,"Invalid":false},{"Id":"","IdOrigin":"FAX","Obsolete":false,"Invalid":false}],"IsConsumer":true,"Filter":{"MarketingAreaId":"CXXGLOBAL"}}



总结
边栏推荐
- MySQL interview questions
- How to avoid serious network security accidents?
- The hidden corner of codefarming: five things that developers hate most
- pip uninstall all packages except builtin package
- kotlin 数组、集合和 Map 的使用
- 首席信息安全官仍然会犯的漏洞管理错误
- English writing of Mathematics -- Basic Chinese and English vocabulary (common vocabulary of geometry and trigonometry)
- 杰理之可能出现有些芯片音乐播放速度快【篇】
- 2022 construction elevator driver (construction special type of work) examination questions and online simulation examination
- Operation of simulated examination platform for examination questions of coal production and operation units (safety production management personnel) in 2022
猜你喜欢

一键生成大学、专业甚至录取概率,AI填报志愿卡这么神奇?

The first open source MySQL HTAP database in China will be released soon, and the three highlights will be notified in advance

居家办公更要高效-自动化办公完美提升摸鱼时间 | 社区征文

吉时利静电计宽测量范围
![[5g NR] 5g NR system architecture](/img/78/6db70c18887c7a3920843d1cb4bdf3.png)
[5g NR] 5g NR system architecture

Hands on data analysis unit 3 model building and evaluation

HarmonyOS. two

万用表测量电阻图解及使用注意事项

How to avoid serious network security accidents?

杰理之串口接收 IO 需要设置数字功能【篇】
随机推荐
谷歌WayMo提出R4D: 采用参考目标做远程距离估计
2022年质量员-设备方向-岗位技能(质量员)复训题库及在线模拟考试
2022起重信号司索工(建筑特殊工种)复训题库及答案
2022年烟花爆竹生产单位安全生产管理人员考试题模拟考试题库模拟考试平台操作
kotlin 协程上下文和调度器
In the era of knowledge economy, it will teach you to do well in knowledge management
Source code analysis handler interview classic
Tupu software is the digital twin of offshore wind power, striving to be the first
2022煤矿瓦斯抽采操作证考试题及模拟考试
2022 recurrent training question bank and answers for hoisting signal Rigger (special type of construction work)
Explain kubernetes backup and recovery tools velero | learn more about carina series phase III
硬件开发笔记(六): 硬件开发基本流程,制作一个USB转RS232的模块(五):创建USB封装库并关联原理图元器件
Goldfish rhca memoirs: do447 managing projects and conducting operations -- creating a project for ansible scripts
杰理之在所有模式下打开喊话增加 mic 自动 mute【篇】
项目经理搭建团队,需要看6个特征
钛星数安加入龙蜥社区,共同打造网络安全生态
Redis scenario
English writing of Mathematics -- Basic Chinese and English vocabulary (common vocabulary of geometry and trigonometry)
金鱼哥RHCA回忆录:DO447管理清单和凭据--为访问清单主机创建机器凭据
Jericho may have some chips with fast music playing speed [chapter]