简体   繁体   English

如何通过API在eloqua中安排活动?

[英]How to schedule a campaign in eloqua by api?

Am working in Eloqua 10. I am creating a dotnet application to create campaign by using eloqua rest api. 我正在Eloqua 10中工作。我正在创建一个dotnet应用程序,以通过使用eloqua rest api创建广告系列。

I am able to create campaign and activate a campaign. 我可以创建广告系列并激活一个广告系列。

But how can I schedule a campaign that should be activated on a specific date? 但是,如何安排应在特定日期启动的广告系列?

Is there any way to achieve the same using eloqua api? 有什么方法可以使用eloqua api实现相同目的吗?

I suggest you to use mozilla-f12-network and there are all HTTP requests which are made. 我建议您使用mozilla-f12-network,并且会发出所有HTTP请求。 That means, if you define the specific activation date in eloqua and click save it will run HTTP request which will be tracked in the Mozilla Network. 这意味着,如果您在eloqua中定义了特定的激活日期,然后单击“保存”,它将运行HTTP请求,该请求将在Mozilla网络中进行跟踪。

Since the REST api are just HTTP requests you can make one according to that. 由于REST api只是HTTP请求,因此您可以根据它发出一个请求。

I am very sure it works, I did it the same way, just make it right. 我非常确定它能奏效,我以同样的方式做到了,只是做到正确。

Try running the following: 尝试运行以下命令:

POST /assets/campaign/active/{id}?scheduledFor={scheduledFor}&runAsUserId={runAsUserId}&activateNow={activateNow}

If you are using the Eloqua Rest API, here is the doc for the campaign endpoint: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/RESTAPI/2.0%20Endpoints/Campaigns/put-assets-campaign.htm 如果您使用的是Eloqua Rest API,则以下是活动端点的文档: http : //docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/RESTAPI/2.0%20Endpoints/Campaigns/放置资产广告系列

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

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