营销推广详细信息

营销推广详细信息

用户可以使用我们的API身份验证令牌查看营销推广活动详细信息。

请求 URL

XML/ JSON

https://campaigns.zoho.com.cn/api/getcampaigndetails

请求类型:Get/ Post

参数列表:

参数

数据类型

描述

authtoken*
scope*

字符串
String

API 身份验证令牌
CampaignsAPI

version

字符串

这将基于当前API版本获取响应

resfmt

字符串

XML (或) JSON

campaigntype*

字符串

abtesting

campaignkey*

字符串

从recentcampaigns响应中获取。

* - 必填参数

示例请求:

XML/ JSON

https://campaigns.zoho.com.cn/api/getcampaigndetails?authtoken=[API Authentication Token]&scope=CampaignsAPI&campaignkey=[campaignkey]

示例响应:

我们的API响应将以XML或JSON格式让您了解以下内容。

XML 格式:

<response uri="/api/getcampaigndetails" version="1">

<status>success</status>

<code>0</code>

<campaign-reach>

<fl val="total">1</fl>

<fl val="twitter">0</fl>

<fl val="other">0</fl>

<fl val="linkedin">0</fl>

<fl val="facebook">0</fl>

<fl val="emails">1</fl>

</campaign-reach>

<campaign-by-location>

<fl val="India">2</fl>

</campaign-by-location>

<campaign-reports>

<fl val="forward_percent">0.0</fl>

<fl val="hardbounce_count">0</fl>

<fl val="bounce_percent">0.0</fl>

<fl val="unsent_count">0</fl>

<fl val="unique_clicked_percent">0.0</fl>

<fl val="unopened">0</fl>

<fl val="unsubscribe_percent">0.0</fl>segment

<fl val="spams_count">0</fl>

<fl val="spam_percent">0.0</fl>

<fl val="delivered_percent">100.0</fl>

<fl val="delivered_count">1</fl>

<fl val="complaints_count">0</fl>

<fl val="unopened_percent">0.0</fl>

<fl val="autoreply_count">0</fl>

<fl val="softbounce_count">0</fl>

<fl val="opens_count">1</fl>

<fl val="unique_clicks_count">0</fl>

<fl val="unsub_count">0</fl>

<fl val="complaints_percent">0.0</fl>

<fl val="bounces_count">0</fl>

<fl val="unsent_percent">0.0</fl>

<fl val="open_percent">100.0</fl>

<fl val="clicksperopenrate">0.0</fl>

<fl val="forwards_count">0</fl>

<fl val="emails_sent_count">1</fl>

</campaign-reports>

<associated_mailing_lists>

<list>

<fl val="listkey">34715a953809d0b01f02e6548dcf32a2</fl>

<fl val="liststatus">active</fl>

<fl val="contactscount">1</fl>

<fl val="listname">meganzoho</fl>

</list>

</associated_mailing_lists>

<segments_info/>

<campaign-details>

<fl val="email_type">html_template_editor</fl>

<fl val="reply_to">john.doe@xyz.com</fl>

<fl val="sent_time">1375456161000</fl>

<fl val="campaign_name">Zoho Survey 7</fl>

<fl val="email_subject">Zoho Survey 7</fl>

<fl val="email_options">Both</fl>

<fl val="sender_name"/>

<fl val="email_from">john.doe@xyz.com</fl>

</campaign-details>

<campaign_status>Sent</campaign_status>

<campaign_contacts_size>1</campaign_contacts_size>

</response>

JSON 格式:

{"associated_mailing_lists":[{"listkey":"34715a953809d0b01f02e6548dcf32a2","liststatus":"active","contactscount":"1","listname":"meganzoho"}],"segments_info":{},"total_subscribers_count":1,"campaign-by-loaction":"{in=2}","status":"success","campaign-reports":[{"forward_percent":"0.0","hardbounce_count":"0","unsent_count":"0","bounce_percent":"0.0","unique_clicked_percent":"0.0","unopened":"0","unsubscribe_percent":"0.0","spams_count":"0","spam_percent":"0.0","delivered_percent":"100.0","delivered_count":"1","complaints_count":"0","unopened_percent":"0.0","autoreply_count":"0","softbounce_count":"0","opens_count":"1","unique_clicks_count":"0","unsub_count":"0","complaints_percent":"0.0","bounces_count":"0","unsent_percent":"0.0","open_percent":"100.0","clicksperopenrate":"0.0","forwards_count":"0","emails_sent_count":"1"}],"campaign_status":"Sent","code":"0","url":"/api/getcampaigndetails","campaign-details":[{"email_type":"html_template_editor","reply_to":"john.doe@xyz.com","campaign_name":"Zoho Survey 7","sent_time":"1375456161000","email_subject":"Zoho Survey 7","email_options":"Both","email_from":"john.doe@xyz.com"}],"campaign-reach":[{"total":"1","twitter":"0","other":"0","linkedin":"0","facebook":"0","emails":"1"}],"version":"1"}

可能出现的错误情况

错误代码 描述
2206营销推广活动不存在。它可能已经被删除了。
6001显示报表时出错。请稍后再试。
6301无效的营销推广活动密钥。
6302这次营销推广活动没有详细信息。
1004内容导入的URL无效。

如果上面没有列出您遇到的错误代码,请单击这里

还没有找到您需要的内容?

请发送邮件给我们:support@zohocorp.com.cn