diff --git a/SodaLive/Sources/Debug/Utils/Constants.swift b/SodaLive/Sources/Debug/Utils/Constants.swift index 9912daa..2563d76 100644 --- a/SodaLive/Sources/Debug/Utils/Constants.swift +++ b/SodaLive/Sources/Debug/Utils/Constants.swift @@ -15,3 +15,10 @@ let AGORA_APP_CERTIFICATE = "ae18ade3afcf4086bd4397726eb0654c" let BOOTPAY_APP_ID = "6242a7772701800023f68b2f" let FREE_CONTENT_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let CURATION_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let ORDERLIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let LIVE_BANNER_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let FOLLOWING_CHANNEL_LIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let LIVE_NOW_ALL_LIST_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let CREATOR_CHANNEL_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" +let MESSAGE_BANNER_AD_UNIT_ID = "ca-app-pub-3940256099942544/2934735716" diff --git a/SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift b/SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift index 1b4ba01..0751b6e 100644 --- a/SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift +++ b/SodaLive/Sources/MyPage/OrderList/OrderListAllView.swift @@ -6,6 +6,7 @@ // import SwiftUI +import GoogleMobileAds struct OrderListAllView: View { @@ -38,6 +39,13 @@ struct OrderListAllView: View { LazyVStack(spacing: 10.7) { ScrollerToTop(reader: reader, scrollOnChange: $viewModel.scrollToTop) + BannerAdView(adUnitId: ORDERLIST_BANNER_AD_UNIT_ID) + .frame( + width: screenSize().width, + height: GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(screenSize().width).size.height + ) + .padding(.vertical, 6.7) + ForEach(0..