Omniture Saint.ImportCreateJob

时间:2013-11-28 01:39:06

标签: adobe-analytics

这是一个非常具体的Omniture API问题。以为我会在这里查看是否有人遇到过这个问题,因为Omniture论坛没有多大帮助 -

在此处向Omniture API Explorer发送以下参数 - https://developer.omniture.com/en_US/get-started/api-explorer#Saint.ImportCreateJob似乎工作正常。

{
"check_divisions":"1",
"description":"OSRA job description: MyReportID, Products, 51",
"email_address":"my@email.com",
"export_results":"0",
"header":["Field1", "Field2"],
"overwrite_conflicts":"1",
"relation_id":51,
"report_suite_array":["MyReportID"],
"c_view":"SomeReportName"
}

但是实际代码中的调用失败了“错误请求”。似乎c_view参数期望某个值。 c_view的唯一文档是它需要一个报告名称。我已经尝试过报告名称和其他值而没有运气。非常感谢Omniture API用户提供的任何指示。

感谢。

2 个答案:

答案 0 :(得分:1)

尝试使用classification_view图表中的相关值。我知道这是使用get / save分类方法所需要的(我使用了这些方法,但没有使用Saint.ImportCreateJob方法)。

答案 1 :(得分:0)

c_value不是必需的,因此除非您打算使用它,否则不需要存在。它应该是classification_view https://developer.omniture.com/en_US/documentation/omniture-administration/r-classification-view

需要一些试验和错误才能使这个api正常工作。 下面是一个我使用的调用示例,它使用REST api而不是Java:

请求:

{
"check_divisions":1,
"description":"Report Test 1",
"email_address":"cdegroot@adobe.com",
"export_results":"0",
"overwrite_conflicts":0,
"relation_id":65,
"report_suite_array":["cdgdev"],
"header":["Key","Survey","Survey^Question","Survey^Question^Response","Engagement Index","Survey > Question > Response"]
}

响应:

"3387166"

亲切的问候C.

相关问题