package com.remax.bill.ads.config

import com.google.gson.annotations.SerializedName

/**
 * 广告配置数据类
 */
data class AdConfigData(
    @SerializedName("natural")
    val natural: ChannelConfig,
    @SerializedName("paid")
    val paid: ChannelConfig
) {
    data class ChannelConfig(
        @SerializedName("app_open")
        val appOpen: AdTypeConfig,
        @SerializedName("interstitial")
        val interstitial: AdTypeConfig,
        @SerializedName("native")
        val native: AdTypeConfig,
        @SerializedName("fullscreen_native_after_interstitial")
        val fullscreenNativeAfterInterstitial: Int,
        @SerializedName("show_interstitial_after_app_open_failure")
        val showInterstitialAfterAppOpenFailure: Int,
        @SerializedName("show_interstitial_on_home_return")
        val showInterstitialOnHomeReturn: Int,
        @SerializedName("show_app_open_on_language_selection")
        val showAppOpenOnLanguageSelection: Int,
        @SerializedName("random_interstitial_interval")
        val randomInterstitialInterval: Int,
        @SerializedName("show_guide_fullscreen_native")
        val showGuideFullscreenNative: Int
    )
    
    data class AdTypeConfig(
        @SerializedName("max_daily_show")
        val maxDailyShow: Int,
        @SerializedName("max_daily_click")
        val maxDailyClick: Int,
        @SerializedName("min_interval")
        val minInterval: Int
    )
} 