feat(wxapi): 新增第三方平台小程序流量主代运营相关接口

This commit is contained in:
Fu Diwei
2023-01-16 17:30:45 +08:00
parent 4a5829162a
commit 8a20b838ae
79 changed files with 2717 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{
"ret": 0,
"err_msg": "",
"blacklist_biz": [
{
"id": "id1",
"name": "name1",
"icon": "png_url1"
},
{
"id": "id2",
"name": "name2",
"icon": "png_url2"
}
],
"blacklist_weapp": [
{
"id": "id3",
"name": "name3",
"icon": "png_url3"
}
],
"blacklist_ios": [
{
"id": "id4",
"name": "name4",
"icon": "png_url4"
}
],
"blacklist_android": [
{
"id": "id5",
"name": "name5",
"icon": "png_url5"
}
]
}

View File

@@ -0,0 +1,5 @@
{
"ret": 0,
"err_msg": "",
"ams_category": "CHESS|ADULT_SUPPLIES|MEDICAL_HEALTH|INSURANCE|SECURITES|LOAN|LIVING_SERVICES_BEAUTY|LIVING_SERVICES_ENTERTAINMENT|LIVING_SERVICES_OTHERS|FOOD_INDUSTRY|RETAIL_AND_GENERAL_MERCHANDISE|FOOD_AND_DRINK|TECHNICAL_SERVICE"
}

View File

@@ -0,0 +1,4 @@
{
"op": 1,
"list": "[{\"type\":1,\"id\":\"gh_f23fc177abe4\"}]"
}

View File

@@ -0,0 +1,3 @@
{
"ams_category": "CHESS|ADULT_SUPPLIES|MEDICAL_HEALTH|INSURANCE|SECURITES|LOAN|LIVING_SERVICES_BEAUTY|LIVING_SERVICES_ENTERTAINMENT|LIVING_SERVICES_OTHERS|FOOD_INDUSTRY|RETAIL_AND_GENERAL_MERCHANDISE|FOOD_AND_DRINK|TECHNICAL_SERVICE"
}

View File

@@ -0,0 +1,7 @@
{
"page": 1,
"page_size": 8,
"start_date": "2020-04-13",
"end_date": "2020-04-13",
"ad_slot": "SLOT_ID_WEAPP_INTERSTITIAL"
}

View File

@@ -0,0 +1,28 @@
{
"err_msg": "ok",
"ret": 0,
"list": [
{
"slot_id": 3030046789020061,
"ad_slot": "SLOT_ID_WEAPP_INTERSTITIAL",
"date": "2020-04-13",
"req_succ_count": 443610,
"exposure_count": 181814,
"exposure_rate": 0.409850995,
"click_count": 10095,
"click_rate": 0.055523777,
"income": 52175,
"ecpm": 286.969100289
}
],
"summary": {
"req_succ_count": 4406394,
"exposure_count": 1797225,
"exposure_rate": 0.407867522,
"click_count": 100167,
"click_rate": 0.055734257,
"income": 578003,
"ecpm": 321.608591022
},
"total_num": 1
}

View File

@@ -0,0 +1,7 @@
{
"page": 1,
"page_size": 8,
"start_date": "2020-04-10",
"end_date": "2020-04-10",
"ad_unit_id": "adunit-9cedd8514XXXX"
}

View File

@@ -0,0 +1,24 @@
{
"err_msg": "ok",
"ret": 0,
"list": [
{
"ad_unit_id": "adunit-9cedd8514XXXX",
"ad_unit_name": "激励视频长广告",
"stat_item": [
{
"ad_slot": "SLOT_ID_WEAPP_REWARD_VIDEO",
"date": "2020-04-10",
"req_succ_count": 138250,
"exposure_count": 74771,
"exposure_rate": 0.54083906,
"click_count": 2242,
"click_rate": 0.029984887,
"income": 93883,
"ecpm": 6.790813743
}
]
}
],
"total_num": 1
}

View File

@@ -0,0 +1,7 @@
{
"name": "测试广告单元",
"type": "SLOT_ID_WEAPP_BANNER",
"video_duration_min": 6,
"video_duration_max": 30,
"tmpl_type": 6
}

View File

@@ -0,0 +1,5 @@
{
"ret": 0,
"err_msg": "",
"ad_unit_id": "adunit-04a286aaed8xxxx"
}

View File

@@ -0,0 +1,5 @@
{
"ret": 0,
"err_msg": "",
"code": "<ad unit-id=\"adunit-44e668410c5a8e38\"></ad>"
}

View File

@@ -0,0 +1,6 @@
{
"page": 1,
"page_size": 8,
"ad_unit_id": "adunit-44e668410cxxxx",
"ad_slot": "SLOT_ID_WEAPP_REWARD_VIDEO"
}

View File

@@ -0,0 +1,23 @@
{
"ret": 0,
"err_msg": "ok",
"ad_unit": [
{
"ad_slot": "SLOT_ID_WEAPP_REWARD_VIDEO",
"ad_unit_id": "adunit-e9418ee19XXXXX",
"ad_unit_name": "rewaXXXX",
"ad_unit_size": [
{
"height": 166,
"width": 582
}
],
"ad_unit_status": 1,
"ad_unit_type": "AD_UNIT_TYPE_REWARED_VIDEO",
"appid": "wx0afc78670fXXXX",
"video_duration_max": 30,
"video_duration_min": 6
}
],
"total_num": 1
}

View File

@@ -0,0 +1,5 @@
{
"ret": 0,
"err_msg": "",
"cover_scene_list": "1000,1001,1007,1008,1010,1011,1012,1013,1014,1017,1019,1022,1023,1024,1025,1026,1028,1029"
}

View File

@@ -0,0 +1,6 @@
{
"ret": 0,
"err_msg": "",
"next_open_time": 1666753817,
"status": 4
}

View File

@@ -0,0 +1,3 @@
{
"cover_scene_list": "1000,1001,1007,1008,1010,1011,1012,1013,1014,1017,1019,1022,1023,1024,1025,1026,1028,1029"
}

View File

@@ -0,0 +1,8 @@
{
"name": "测试广告单元",
"ad_unit_id": "adunit-04a286aaed8xxxx",
"status": "AD_UNIT_STATUS_ON",
"video_duration_min": 6,
"video_duration_max": 30,
"tmpl_type": 6
}

View File

@@ -0,0 +1,7 @@
{
"page": 1,
"page_size": 8,
"ad_slot": "SLOT_ID_WEAPP_TEMPLATE",
"tmpl_id": "adunit-44e668410cxxxx",
"is_return_tmpl_bind_list": 1
}

View File

@@ -0,0 +1,31 @@
{
"ret": 0,
"err_msg": "",
"ad_unit_list": [
{
"tmpl_id": "adunit-e9418ee19XXXXX",
"ad_unit_name": "tmpl_text",
"slot_id": "SLOT_ID_WEAPP_TEMPLATE",
"tmpl_bind_list": [
{
"ad_slot": "SLOT_ID_WEAPP_TEMPLATE",
"ad_unit_id": "adunit-e9XXXXXXXXXXXX",
"ad_unit_name": "rewaXXXX",
"ad_unit_size": [
{
"height": 166,
"width": 582
}
],
"ad_unit_status": 1,
"ad_unit_type": "AD_UNIT_TYPE_TEMPLATE_CUSTOM",
"appid": "wx0afc78670fXXXX",
"video_duration_max": 30,
"video_duration_min": 6
}
],
"tmpl_bind_total_num": 1
}
],
"total_num": 1
}

View File

@@ -0,0 +1,5 @@
{
"ret": 0,
"err_msg": "",
"share_ratio": 50
}

View File

@@ -0,0 +1,4 @@
{
"share_ratio": 50,
"appid": "wxf3dsfsfsdf13d"
}

View File

@@ -0,0 +1,6 @@
{
"page": 1,
"page_size": 8,
"start_date": "2020-03-01",
"end_date": "2020-03-16"
}

View File

@@ -0,0 +1,30 @@
{
"err_msg": "ok",
"ret": 0,
"penalty_all": 0,
"revenue_all": 5178368698,
"settled_revenue_all": 2613696765,
"settlement_list": [
{
"date": "2020-03-25",
"zone": "2020年3月1日至15日",
"month": "202003",
"order": 1,
"sett_status": 1,
"settled_revenue": 718926045,
"sett_no": "XXX",
"mail_send_cnt": "0",
"slot_revenue": [
{
"slot_id": "SLOT_ID_WEAPP_BANNER",
"slot_settled_revenue": 34139443
},
{
"slot_id": "SLOT_ID_WEAPP_REWARD_VIDEO",
"slot_settled_revenue": 684786602
}
]
}
],
"total_num": 1
}

View File

@@ -0,0 +1,6 @@
{
"page": 1,
"page_size": 8,
"start_date": "2020-03-01",
"end_date": "2020-03-16"
}

View File

@@ -0,0 +1,30 @@
{
"ret": 0,
"err_msg": "ok",
"penalty_all": 0,
"revenue_all": 5178368698,
"settled_revenue_all": 2613696765,
"settlement_list": [
{
"date": "2020-03-25",
"zone": "2020年3月1日至15日",
"month": "202003",
"order": 1,
"sett_status": 1,
"settled_revenue": 718926045,
"sett_no": "XXX",
"mail_send_cnt": "0",
"slot_revenue": [
{
"slot_id": "SLOT_ID_WEAPP_BANNER",
"slot_settled_revenue": 34139443
},
{
"slot_id": "SLOT_ID_WEAPP_REWARD_VIDEO",
"slot_settled_revenue": 684786602
}
]
}
],
"total_num": 1
}