IByteDanceAdvertiserDataService.java 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package cn.com.ctop.toutiao.service;
  2. import cn.com.ctop.toutiao.entity.ByteDanceUserOrientationTemplate;
  3. import com.alibaba.fastjson.JSONObject;
  4. import cn.com.ctop.common.module.entity.CtopOauthToken;
  5. import java.util.Map;
  6. /**
  7. * @author jeecg-boot
  8. */
  9. public interface IByteDanceAdvertiserDataService {
  10. Map<String, Object> getAdvertiserInfo(String accountId);
  11. Map<String, Object> getAdvertiserPlan(String accountId, String ids);
  12. Map<String, Object> getAdvertiserCampaign(String accountId, String ids);
  13. Map<String, Object> getAdvertiserBudget(String accountId);
  14. Map<String, Object> getAdvertiserCreative(String accountId, String ids);
  15. Map<String, Object> getAdvertiserCreativeMaterial(String accountId, String creativeIds);
  16. Map<String, Object> advertiserCampaignUpdateStatus(String accountId, String campaignIds, String optStatus);
  17. Map<String, Object> advertiserCampaignUpdate(String accountId, Long campaignId, String budgetMode, Integer budget, String campaignName);
  18. Map<String, Object> advertiserPlanUpdateStatus(String accountId, String adIds, String optStatus);
  19. Map<String, Object> advertiserPlanUpdateBid(String accountId, String adIds, String bids);
  20. Map<String, Object> advertiserPlanUpdateBudget(String accountId, String adIds, String budgets);
  21. Map<String, Object> advertiserCreativeUpdateStatus(String accountId, String ids, String optStatus);
  22. Map<String, Object> advertiserCustomAudienceSelect(String accountId);
  23. Map<String, Object> advertiserAdUpdate(String accountId, Long adId, ByteDanceUserOrientationTemplate template);
  24. JSONObject updateAd(CtopOauthToken token, Long adId, ByteDanceUserOrientationTemplate template, JSONObject requestJson);
  25. JSONObject setUserOrentationData(JSONObject data, ByteDanceUserOrientationTemplate template, Long adId, JSONObject requestJson);
  26. JSONObject setUserOrentationData(JSONObject data, ByteDanceUserOrientationTemplate template);
  27. }