文档中心 > API类目 > 阿里妈妈-UniDesk

alibaba.ud.creativedata.get (通过RequestId获取外投点击监测日志的创意ID)

通过RequestId获取外投点击监测日志的创意ID

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request_id String 必须 2023052315504063E247A201863DC2621B,2023052315504063E247A201863DC2621C,... 此值为alibaba.ud.event.upload接口中回传的pub_request_id或track_id(也使用此参数),逗号分隔

响应参数

名称 类型 示例值 描述
result Json [{"requestId":"Sb6La90WEe68wCCQb0sIvw","advertisers":"4139701","promotionIds":"30889700","projectIds":"2975567","creativeIds":"564564158"}] requestId 和 广告树Id的JSon数组。promotionIds对应计划ID,projectIds对应计划组ID
status Number 响应状态 0代表成功
id String 111111 traceId

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaUdCreativedataGetRequest req = new AlibabaUdCreativedataGetRequest();
req.setRequestId("2023052315504063E247A201863DC2621B,2023052315504063E247A201863DC2621C,...");
AlibabaUdCreativedataGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ud_creativedata_get_response>
    <result>[{&quot;requestId&quot;:&quot;Sb6La90WEe68wCCQb0sIvw&quot;,&quot;advertisers&quot;:&quot;4139701&quot;,&quot;promotionIds&quot;:&quot;30889700&quot;,&quot;projectIds&quot;:&quot;2975567&quot;,&quot;creativeIds&quot;:&quot;564564158&quot;}]</result>
    <status>响应状态</status>
    <id>111111</id>
</alibaba_ud_creativedata_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部