当前位置:网站首页>Overview of SAP marketing cloud functions (IV)
Overview of SAP marketing cloud functions (IV)
2022-06-24 14:18:00 【InfoQ】
Marketing Calendar


Success
- Popular categories : The five most commonly used categories of marketing campaigns .
- Post emotion : Score emotions from “ Strongly support ” To “ Strongly opposed ” and “ No assessment ”, Show number of social media messages .
- Hot followers ( news ) And emotional rating ( news ): The audience with the largest number of social media messages and their emotional scores .

Spend
- Total sum : Total planned expenditure for the selected campaign .
- Popular expense types : The most common expenditure types and the total expenditure of each expenditure type .

Sentiment

Marketing Plan









Budget Plans










Upload spending data for marketing campaigns


Use nodejs Realization OData Of batch Operation in Marketing Cloud Read in

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);


Use postman establish Marketing Cloud Of Contact





{"CountryCode":"CN","City":"Chengdu","FirstName":"Jerry1","LastName":"Wang1","PostalCode":"610093","RegionCode":"","Street":" Tianfu Software Park ","HouseNumber":" Tianfu Software Park ","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"}}



summary
边栏推荐
- Idea connection MySQL custom generated entity class code
- R语言plotly可视化:使用plotly可视化数据划分后的训练集和测试集、使用不同的形状标签表征、训练集、测试集、以及数据集的分类标签(Display training and test split
- 【环境搭建】zip 分卷压缩
- Telecommuting: camping at home office gadgets | community essay solicitation
- SaaS management system solution of smart Park: enabling the park to realize information and digital management
- 【LeetCode】10、正则表达式匹配
- Some basic database operations (providing the original database information)
- Baidu map API drawing points and tips
- AQS初探
- 简谈企业Power BI CI /CD 实施框架
猜你喜欢
![[deep learning] storage form of nchw, nhwc and chwn format data](/img/4f/4478d96132eb2547f6ec09ae49639e.jpg)
[deep learning] storage form of nchw, nhwc and chwn format data

win10系统问题
![[learn ZABBIX from scratch] I. Introduction and deployment of ZABBIX](/img/d1/4b21c8049f0377b54a18a9b267432e.png)
[learn ZABBIX from scratch] I. Introduction and deployment of ZABBIX

Linux 安装 CenOS7 MySQL - 8.0.26

Solution of channel management system for food and beverage industry: realize channel digital marketing layout

专精特新“小巨人”再启动,“企业上云”数字赋能

Research on MySQL composite index

Digital business cloud: strengthen supplier management and promote efficient collaboration between air transport enterprises and suppliers

卷积核、特征图可视化

Rasa 3.x 学习系列-非常荣幸成为 Rasa contributors 源码贡献者,和全世界的Rasa源码贡献者共建共享Rasa社区!
随机推荐
Jericho turns on shouting in all modes to increase mic automatic mute [chapter]
打败 二叉树!
二造考生必看|巩固优选题库助力考生最后冲刺
Halcon draw area into picture
二叉树中最大路径和[处理好任意一颗子树,就处理好了整个树]
Jerry's serial port receiving IO needs to set the digital function [chapter]
Kotlin shared mutable state and concurrency
Baidu map API drawing points and tips
卷积核、特征图可视化
高薪程序员&面试题精讲系列115之Redis缓存如何实现?怎么发现热key?缓存时可能存在哪些问题?
10_那些格調很高的個性簽名
文本对比学习综述
HarmonyOS. two
MES在流程和离散制造企业的15个差别(下)
3环杀掉360安全卫士进程
【环境搭建】zip 分卷压缩
智慧园区SaaS管理系统解决方案:赋能园区实现信息化、数字化管理
box-sizing
数据库一些基本操作(提供了原数据库信息)
Go语言三个高效编程的技巧