package com.simplecleaner.app.business.ads.admob

import com.simplecleaner.app.GlobalConfig

/**
 * 原生广告配置管理
 */
object NativeAdConfig {
    
    // 广告单元ID
     val AD_UNIT_ID = GlobalConfig.ID_ADMOB_NATIVE
    
    // 缓存配置
    object Cache {
        const val MAX_CACHE_SIZE = 3
        const val CACHE_EXPIRE_MINUTES = 30L
        const val LOAD_TIMEOUT_SECONDS = 10L
    }
    
    // 事件配置
    object Event {
        const val AD_UNIT_NAME = "nativeAd"
        const val PRELOAD_FROM = "preload"
    }
    
    // 错误码
    object ErrorCode {
        const val LOAD_FAILED = "load_failed"
        const val CACHE_EXPIRED = "cache_expired"
        const val NO_AVAILABLE_AD = "no_available_ad"
        const val SHOW_LIMIT_EXCEEDED = "show_limit_exceeded"
    }
} 