关于MarketingCloudAPI消费entityunsupportedformat错误消息的处理的问题就给大家分享到这里,感谢你花时间阅读本站内容,更多关于MarketingCloud-Quer
关于Marketing Cloud API消费entity unsupported format错误消息的处理的问题就给大家分享到这里,感谢你花时间阅读本站内容,更多关于Marketing Cloud - Query Studio:字段名称不能包含字符、Marketing Cloud - 使用 Union all 查询和 order by、Marketing Cloud contact 的 API 介绍、Marketing Cloud contact主数据的csv导入等相关知识的信息别忘了在本站进行查找喔。
本文目录一览:- Marketing Cloud API消费entity unsupported format错误消息的处理
- Marketing Cloud - Query Studio:字段名称不能包含字符
- Marketing Cloud - 使用 Union all 查询和 order by
- Marketing Cloud contact 的 API 介绍
- Marketing Cloud contact主数据的csv导入
Marketing Cloud API消费entity unsupported format错误消息的处理
在消费SAP Marketing Cloud API时,遇到如下错误:
解决方案是在发起http请求的头部添加content-type字段,类型为multipart/mixed:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
本文同步分享在 博客“汪子熙”(CSDN)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。
Marketing Cloud - Query Studio:字段名称不能包含字符
如何解决Marketing Cloud - Query Studio:字段名称不能包含字符
我们的一些数据扩展名称和这些名称中的字段包含使我无法查询的字符。有没有办法转义这些字符并允许我查询和获取结果?
我得到的错误是:“保存查询字段时出错。''CampaignMember:''附近的语法不正确”
查询示例:
SELECT CampaignMember:Common:Email
FROM [Email journey - 2021-03-22]
数据扩展名:电子邮件旅程 - 2021-03-22
字段:
- CampaignMember:Id
- CampaignMember:Common:Email
- 成员记录类型
解决方法
正如我在上面的评论中所写的,您可以将列名放在方括号中,如下所示:
SELECT [CampaignMember:Common:Email]
FROM [Email Journey - 2021-03-22]
有关使用方括号的更多信息: https://stackoverflow.com/a/52901/20126
另外值得一提的是,您还可以使用单引号或双引号:https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms176027(v=sql.105)?redirectedfrom=MSDN
Marketing Cloud - 使用 Union all 查询和 order by
如何解决Marketing Cloud - 使用 Union all 查询和 order by
我有这个查询来合并 SFMC 中的两个 DE,我还需要合并里面的电子邮件重复项。我在“x”附近有一个找不到的语法错误
Select top 1 with ties
x.Email
from (
Select
a.Email,a.Subscriber_Key,a.CreatedDate,a.First_Name,a.Last_Name
from [AllAccount_DedupEmail_Last_Test] a
union all
Select
b.Email,b.Subscriber_Key,b.CreatedDate,b.First_Name,b.Last_Name
from [Leads_ALL_sans_doublons] b
) x
order by row_number() over (partition x.Email order by x.CreatedDate desc) ```
Marketing Cloud contact 的 API 介绍
下图的 contact 列表是 Marketing Cloud 调用后台 odata 服务后显示的:
URL:https://jerry.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/$batch?sap-client=100
http 请求的正文:
–batch_c914-a60c-1877
Content-Type: application/http
Content-Transfer-Encoding: binary
GET InteractionContacts?sap-client=100&KaTeX parse error: Expected ''EOF'', got ''&'' at position 7: skip=0&̲top=45& s e l e c t = I m a g e U R L select=ImageURL%2cName%2cContactLevelName%2cCountryName%2cCity%2cEMailAddress%2cPhoneNumber%2cMobilePhoneNumber%2cCorporateAccountName%2cInteractionContactUUID%2cRelationship%2cType& select=ImageURLinlinecount=allpages HTTP/1.1
sap-cancel-on-close: true
Cache-Control: max-age=360
sap-contextid-accept: header
Accept: application/json
Accept-Language: en
DataServiceVersion: 2.0
MaxDataServiceVersion: 2.0
–batch_c914-a60c-1877–
http 响应:
{“d”:{"__count":“1218374”,“results”:[{"__metadata":{“id”:“https://diablo.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/InteractionContacts(‘00163E1B0A701EE6939977B1F8726D4C’)",“uri”:“https://diablo.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/InteractionContacts(‘00163E1B0A701EE6939977B1F8726D4C’)”,“type”:“CUAN_CONTACT_SRV.InteractionContact”},“InteractionContactUUID”:“00163E1B0A701EE6939977B1F8726D4C”,“City”:“Newman”,“ContactLevelName”:“Self-Identified”,“CorporateAccountName”:"",“CountryName”:“USA”,“EMailAddress”:“0200205812_agatha.steward-90@outlook.com”,“ImageURL”:"",“MobilePhoneNumber”:"",“Name”:"Agatha Steward”,“PhoneNumber”:"",“Relationship”:1,“Type”:“01”},{"__metadata":{“id”:“https://diablo.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/InteractionContacts(‘00163E1B0A701ED6939FBB838E1E803A’)",“uri”:“https://diablo.gcdemo.hybris.com/sap/opu/odata/sap/CUAN_CONTACT_SRV/InteractionContacts(‘00163E1B0A701ED6939FBB838E1E803A’)”,“type”:“CUAN_CONTACT_SRV.InteractionContact”},“InteractionContactUUID”:“00163E1B0A701ED6939FBB838E1E803A”,“City”:"",“ContactLevelName”:“Self-Identified”,“CorporateAccountName”:"",“CountryName”:“USA”,“EMailAddress”:“antonioifernandez@einrot.com”,“ImageURL”:"",“MobilePhoneNumber”:"",“Name”:"Antonio Fernandez”,“PhoneNumber”:"",“Relationship”:0,“Type”:“01”},{"__metadata":
本文同步分享在 博客 “汪子熙”(CSDN)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与 “OSC 源创计划”,欢迎正在阅读的你也加入,一起分享。
Marketing Cloud contact主数据的csv导入
使用这个mock数据生成器网站https://www.mockaroo.com/b6790790,创建一个基于Marketing Cloud contact schema的csv文件。
如果偷懒的话,每个contact字段的值都可以选择随机生成。点Download Data下载到本地。
打开csv文件之后,还可以用文本编辑器对值进行微调。
进入Marketing Cloud,点Import进行导入:
在business administration这个catalog里的import monitor对导入过程进行监控:
导入成功:
导入的数据可以在Marketing Cloud里使用了:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
我们今天的关于Marketing Cloud API消费entity unsupported format错误消息的处理的分享已经告一段落,感谢您的关注,如果您想了解更多关于Marketing Cloud - Query Studio:字段名称不能包含字符、Marketing Cloud - 使用 Union all 查询和 order by、Marketing Cloud contact 的 API 介绍、Marketing Cloud contact主数据的csv导入的相关信息,请在本站查询。
本文标签: