简体   繁体   English

如何通过 simple-salesforce 访问 Salesforce 营销云

[英]How to access the Salesforce Marketing Cloud through simple-salesforce

I am implementing a project using simple-salesforce so I can manage and trigger events on Salesforce Marketing Cloud.我正在使用 simple-salesforce 实施一个项目,因此我可以管理和触发 Salesforce Marketing Cloud 上的事件。 The problem I have encountered is that the documentation is not explicit if I can use simple-salesforce to access the Marketing Cloud endpoints.我遇到的问题是,如果我可以使用 simple-salesforce 访问 Marketing Cloud 端点,则文档不明确。

I've noticed even that the login method on simple-salesforce can't be done by the Salesforce Marketing Cloud credentials.我什至注意到 simple-salesforce 上的登录方法无法通过 Salesforce Marketing Cloud 凭据完成。 When I try to do this I get:当我尝试这样做时,我得到:

SalesforceAuthenticationFailed: INVALID_LOGIN: Invalid username, password, security token; or user locked out.

Did someone have the same issue?有人有同样的问题吗? Can I access the Salesforce Marketing Cloud through simple-salesforce?我可以通过 simple-salesforce 访问 Salesforce 营销云吗?

simple_salesforce is for the Salesforce CRM platform. simple_salesforce适用于 Salesforce CRM 平台。 It provides no support for Marketing Cloud, which has distinct APIs, of any kind.它不支持任何类型的具有不同 API 的 Marketing Cloud。 You'll need to use one of the Marketing Cloud SDKs instead.您需要改用其中一种 Marketing Cloud SDK。

I am not a Marketing Cloud expert, but this appears to be the relevant official documentation for the Marketing Cloud SOAP API, and for the Python SDK . I am not a Marketing Cloud expert, but this appears to be the relevant official documentation for the Marketing Cloud SOAP API, and for the Python SDK . There's also a REST API that you can call with any Python HTTP client.还有一个REST API ,您可以使用任何 Python Z293C9EA246FF9985DC6ZF678 客户端调用它。 There may also be third-party or community libraries available.也可能有第三方或社区库可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM