Endpoint
GET /admonitor/v1/tags/campaigns/show
Parameters
Name Format Example Description campaign_id required ID 2 publisher_id optional ID1,ID2,… 1,2,3 Returned tags whose publisher_id must be within the ID list (comma separated). spot_id optional ID1,ID2,… 22,23 Returned tags whose spot_id must be within the ID list (comma separated). access_token required
- If more than one search condition parameters specified, only items that fulfill all conditions will be returned (AND logic).
Example Response
{ "campaign_id": "1", "items": [ { "attributes": { "publisher_id": "1", "spot_id": "40", "spot_id_str": "e" }, "tags": { "imp_url": "http://g.cn.miaozhen.com/x.gif?k=1&p=e0&o=", "clk_url": "http://e.cn.miaozhen.com/r.gif?k=1&p=e0&o=http%3A%2F%2Fwww.miaozhen.com" } }, ... ] }
Name Type Description publisher_id string spot_id string spot_id_str string A string representation of spot_id. imp_url string Impression URL tag. clk_url string Click URL tag.
GET /admonitor/v1/tags/minisites/show
Parameters
Name Format Example Description minisite_id required ID 23 event_id optional ID1,ID2,… 1,2,3 Returned tags whose event_id must be within the ID list (comma separated). access_token required
Example Response
{ "minisite_id": "1", "common_js": "<script>....</script>", "items": [ { "attributes": { "event_id": "45" }, "tags": { "evt_url": "http://msg.cn.miaozhen.com/e.gif?ae=1&n=2&o=", "evt_js": "_mz_evt('1','2');" } }, ... ] }
Name Type Description event_id string Minisite tracking event id. evt_url string Event URL tag. evt_js string Event JS tag.