diff --git a/SodaLive/Sources/Common/YandexAdSupport.swift b/SodaLive/Sources/Common/YandexAdSupport.swift index 3826ad9..7d5c6a4 100644 --- a/SodaLive/Sources/Common/YandexAdSupport.swift +++ b/SodaLive/Sources/Common/YandexAdSupport.swift @@ -18,6 +18,9 @@ enum YandexBannerPlacement { case seriesMainByGenre case pushNotificationList case notificationReceiveSettings + case chatCharacterList + case chatOriginalTabTop + case chatTalkTabTop } enum YandexInterstitialPlacement { @@ -46,6 +49,12 @@ enum YandexAdUnitIdProvider { YANDEX_PUSH_NOTIFICATION_LIST_BANNER_AD_UNIT_ID case .notificationReceiveSettings: YANDEX_NOTIFICATION_RECEIVE_SETTINGS_BANNER_AD_UNIT_ID + case .chatCharacterList: + YANDEX_CHAT_CHARACTER_LIST_BANNER_AD_UNIT_ID + case .chatOriginalTabTop: + YANDEX_CHAT_ORIGINAL_TAB_TOP_BANNER_AD_UNIT_ID + case .chatTalkTabTop: + YANDEX_CHAT_TALK_TAB_TOP_BANNER_AD_UNIT_ID } } @@ -65,7 +74,7 @@ struct YandexInlineBannerView: View { var horizontalPadding: CGFloat = 13.3 @State private var bannerHeight: CGFloat = 0 - @State private var isLoadFailed = false + @State private var isLoadFailed = true var body: some View { GeometryReader { proxy in diff --git a/SodaLive/Sources/Debug/Utils/Constants.swift b/SodaLive/Sources/Debug/Utils/Constants.swift index b5321a6..1896c23 100644 --- a/SodaLive/Sources/Debug/Utils/Constants.swift +++ b/SodaLive/Sources/Debug/Utils/Constants.swift @@ -43,3 +43,6 @@ let YANDEX_SERIES_MAIN_DAY_OF_WEEK_BANNER_AD_UNIT_ID = "R-M-19140297-9" let YANDEX_SERIES_MAIN_BY_GENRE_BANNER_AD_UNIT_ID = "R-M-19140297-10" let YANDEX_PUSH_NOTIFICATION_LIST_BANNER_AD_UNIT_ID = "R-M-19140297-11" let YANDEX_NOTIFICATION_RECEIVE_SETTINGS_BANNER_AD_UNIT_ID = "R-M-19140297-12" +let YANDEX_CHAT_CHARACTER_LIST_BANNER_AD_UNIT_ID = "R-M-19140297-13" +let YANDEX_CHAT_ORIGINAL_TAB_TOP_BANNER_AD_UNIT_ID = "R-M-19140297-14" +let YANDEX_CHAT_TALK_TAB_TOP_BANNER_AD_UNIT_ID = "R-M-19140297-15" diff --git a/SodaLive/Sources/Utils/Constants.swift b/SodaLive/Sources/Utils/Constants.swift index e943dc4..c452313 100644 --- a/SodaLive/Sources/Utils/Constants.swift +++ b/SodaLive/Sources/Utils/Constants.swift @@ -43,3 +43,6 @@ let YANDEX_SERIES_MAIN_DAY_OF_WEEK_BANNER_AD_UNIT_ID = "R-M-19157621-7" let YANDEX_SERIES_MAIN_BY_GENRE_BANNER_AD_UNIT_ID = "R-M-19157621-8" let YANDEX_PUSH_NOTIFICATION_LIST_BANNER_AD_UNIT_ID = "R-M-19157621-9" let YANDEX_NOTIFICATION_RECEIVE_SETTINGS_BANNER_AD_UNIT_ID = "R-M-19157621-10" +let YANDEX_CHAT_CHARACTER_LIST_BANNER_AD_UNIT_ID = "R-M-19157621-11" +let YANDEX_CHAT_ORIGINAL_TAB_TOP_BANNER_AD_UNIT_ID = "R-M-19157621-12" +let YANDEX_CHAT_TALK_TAB_TOP_BANNER_AD_UNIT_ID = "R-M-19157621-13"