KuaishouInterfaceConstant.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. package constant;
  2. /**
  3. * 2019年9月9日13:21:39
  4. */
  5. public class KuaishouInterfaceConstant {
  6. public static final String AUTH_PATH = "/#/openapi/oauth";
  7. public static final String AUTH_TOKEN = "/rest/openapi/oauth2/authorize/access_token";
  8. public static final String REFRESH_TOKEN = "/rest/openapi/oauth2/authorize/refresh_token";
  9. /**
  10. * 广告主报表数据
  11. */
  12. public static final String ACCOUNT_REPORT = "/rest/openapi/v1/report/account_report";
  13. /**
  14. * 广告计划报表数据
  15. */
  16. public static final String CAMPAIGN_REPORT = "/rest/openapi/v1/report/campaign_report";
  17. /**
  18. * 广告组报表数据
  19. */
  20. public static final String GTOUP_REPORT = "/rest/openapi/v1/report/unit_report";
  21. /**
  22. * 广告创意报表数据
  23. */
  24. public static final String CREATIVE_REPORT = "/rest/openapi/v1/report/creative_report";
  25. /**
  26. * 广告计划信息
  27. */
  28. public static final String CAMPAIGN_LIST = "/rest/openapi/v1/campaign/list";
  29. /**
  30. * 广告组信息
  31. */
  32. public static final String GROUP_LIST = "/rest/openapi/v1/ad_unit/list";
  33. /**
  34. * 创意信息
  35. */
  36. public static final String CREATIVE_LIST = "/rest/openapi/v1/creative/list";
  37. /**
  38. * 创建广告计划
  39. */
  40. public static final String CAMPAIGN_CREATE = "/rest/openapi/v2/campaign/create";
  41. /**
  42. * 创建广告组
  43. */
  44. public static final String AD_UNIT_CREATE = "/rest/openapi/v2/ad_unit/create";
  45. /**
  46. * 创建广告组
  47. */
  48. public static final String AD_CREATIVE_CREATE = "/rest/openapi/v2/creative/create";
  49. /**
  50. * 获取可选的深度转化类型
  51. */
  52. public static final String DEEP_CONVERSION_INFOS = "/rest/openapi/v1/ad_unit/ocpc/conversion_infos";
  53. /**
  54. * 视频文件上传
  55. */
  56. public static final String VIDEO_UPLOAD = "/rest/openapi/v1/file/ad/video/upload";
  57. /**
  58. * 视频文件获取
  59. */
  60. public static final String VIDEO_GET = "/rest/openapi/v1/file/ad/video/get";
  61. /**
  62. * 图片文件获取
  63. */
  64. public static final String IMAGE_GET = "/rest/openapi/v1/file/ad/image/get";
  65. /**
  66. * 获取地域信息
  67. */
  68. public static final String REGION_LIST = "/rest/openapi/v1/region/list";
  69. /**
  70. * 图片文件上传
  71. */
  72. public static final String IMAGE_UPLOAD = "/rest/openapi/v1/file/ad/image/upload";
  73. /**
  74. * 创建应用
  75. */
  76. public static final String APP_CREATE = "/rest/openapi/v1/file/ad/app/create";
  77. /**
  78. * 创建广告获取应用列表
  79. */
  80. public static final String APP_LIST = "/rest/openapi/v1/file/ad/app/list";
  81. /**
  82. * 修改广告计划预算
  83. */
  84. public static final String UPDATE_CAMPAIGN = "/rest/openapi/v1/campaign/update/";
  85. /**
  86. * 修改广告组预算
  87. */
  88. public static final String UPDATE_UNIT = "/rest/openapi/v1/ad_unit/update/day_budget";
  89. /**
  90. * 修改广告组出价
  91. */
  92. public static final String UPDATE_UNIT_BID = "/rest/openapi/v1/ad_unit/update/bid";
  93. /**
  94. * 修改广告计划状态
  95. */
  96. public static final String UPDATE_CAMPAIGN_STATUS = "/rest/openapi/v1/campaign/update/status";
  97. /**
  98. * 修改广告组状态
  99. */
  100. public static final String UPDATE_UNIT_STATUS = "/rest/openapi/v1/ad_unit/update/status";
  101. /**
  102. * 修改广告创意状态
  103. */
  104. public static final String UPDATE_CREATIVE_STATUS = "/rest/openapi/v1/creative/update/status";
  105. /**
  106. * 快手-广告主信息
  107. */
  108. public static final String ADVERTISER_INFO = "//rest/openapi/v1/advertiser/info";
  109. /**
  110. * 登录
  111. */
  112. public static final String TYPE_LOGIN = "login";
  113. /**
  114. * 授权
  115. */
  116. public static final String TYPE_AUTHORIZATION = "authorization";
  117. /**
  118. * 登录方式-快手
  119. */
  120. public static final String LOGIN_TYPE_KUAISHOU = "kuaishou";
  121. /**
  122. * 登录方式-快手
  123. */
  124. public static final String LOGIN_TYPE_BYTEDANCE = "bytedance";
  125. /**
  126. * 请求前缀
  127. */
  128. public static final String HTTPS_PREFIX = "https:";
  129. }