package com.ruoyi.novel.service;

import com.ruoyi.novel.domain.AdCountRequest;
import com.ruoyi.novel.domain.AdLog;
import com.ruoyi.novel.domain.AdPlatformConfig;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface IAdService {
    void logAdView(AdLog adLog);

    void logAdView(AdCountRequest request);

    List<AdLog> getAdLogsByUser(Long userId);

    void syncWithAdPlatform(AdLog adLog);
    void retryFailedSyncs();
    Map<String, AdPlatformConfig> loadAdConfigs();
}