Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config ids in the demo apps #730

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
public class GamOriginalApiDisplayBanner300x250 extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid_demo_app_original_api_banner_300x250_order";
private static final String CONFIG_ID = "prebid-ita-banner-300-250";
private static final String CONFIG_ID = "prebid-demo-banner-300-250";
private static final int WIDTH = 300;
private static final int HEIGHT = 250;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
public class GamOriginalApiDisplayBanner320x50 extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid_demo_app_original_api_banner";
private static final String CONFIG_ID = "prebid-ita-banner-320-50";
private static final String CONFIG_ID = "prebid-demo-banner-320-50";
private static final int WIDTH = 320;
private static final int HEIGHT = 50;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
public class GamOriginalApiDisplayInterstitial extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid-demo-app-original-api-display-interstitial";
private static final String CONFIG_ID = "prebid-ita-display-interstitial-320-480";
private static final String CONFIG_ID = "prebid-demo-display-interstitial-320-480";

private AdUnit adUnit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
public class GamOriginalApiMultiformatBanner extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid-demo-original-banner-multiformat";
private static final String CONFIG_ID_BANNER = "prebid-ita-banner-300-250";
private static final String CONFIG_ID_VIDEO = "prebid-ita-video-outstream-original-api";
private static final String CONFIG_ID_BANNER = "prebid-demo-banner-300-250";
private static final String CONFIG_ID_VIDEO = "prebid-demo-video-outstream-original-api";
private static final int WIDTH = 300;
private static final int HEIGHT = 250;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
public class GamOriginalApiMultiformatBannerVideoNativeInApp extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid-demo-multiformat";
private static final String CONFIG_ID_BANNER = "prebid-ita-banner-300-250";
private static final String CONFIG_ID_VIDEO = "prebid-ita-video-outstream-original-api";
private static final String CONFIG_ID_NATIVE = "prebid-ita-banner-native-styles";
private static final String CONFIG_ID_BANNER = "prebid-demo-banner-300-250";
private static final String CONFIG_ID_VIDEO = "prebid-demo-video-outstream-original-api";
private static final String CONFIG_ID_NATIVE = "prebid-demo-banner-native-styles";
private static final String CUSTOM_FORMAT_ID = "12304464";

private PrebidAdUnit prebidAdUnit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
public class GamOriginalApiMultiformatBannerVideoNativeStyles extends BaseAdActivity {

private final String AD_UNIT_ID = "/21808260008/prebid-demo-multiformat-native-styles";
private final String CONFIG_ID_BANNER = "prebid-ita-banner-300-250";
private final String CONFIG_ID_NATIVE = "prebid-ita-banner-native-styles";
private final String CONFIG_ID_VIDEO = "prebid-ita-video-outstream-original-api";
private final String CONFIG_ID_BANNER = "prebid-demo-banner-300-250";
private final String CONFIG_ID_NATIVE = "prebid-demo-banner-native-styles";
private final String CONFIG_ID_VIDEO = "prebid-demo-video-outstream-original-api";

private PrebidAdUnit prebidAdUnit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
public class GamOriginalApiMultiformatInterstitial extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid-demo-intestitial-multiformat";
private static final String CONFIG_ID_BANNER = "prebid-ita-display-interstitial-320-480";
private static final String CONFIG_ID_VIDEO = "prebid-ita-video-interstitial-320-480-original-api";
private static final String CONFIG_ID_BANNER = "prebid-demo-display-interstitial-320-480";
private static final String CONFIG_ID_VIDEO = "prebid-demo-video-interstitial-320-480-original-api";

private InterstitialAdUnit adUnit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
public class GamOriginalApiNativeInApp extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/apollo_custom_template_native_ad_unit";
private static final String CONFIG_ID = "prebid-ita-banner-native-styles";
private static final String CONFIG_ID = "prebid-demo-banner-native-styles";
private static final String CUSTOM_FORMAT_ID = "11934135";
private static final String TAG = "GamOriginalNative";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public class GamOriginalApiNativeStyles extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid-demo-original-native-styles";
private static final String CONFIG_ID = "prebid-ita-banner-native-styles";
private static final String CONFIG_ID = "prebid-demo-banner-native-styles";

private static NativeAdUnit nativeAdUnit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
public class GamOriginalApiVideoBanner extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid-demo-original-api-video-banner";
private static final String CONFIG_ID = "prebid-ita-video-outstream-original-api";
private static final String CONFIG_ID = "prebid-demo-video-outstream-original-api";
private static final int WIDTH = 300;
private static final int HEIGHT = 250;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
public class GamOriginalApiVideoInterstitial extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid-demo-app-original-api-video-interstitial";
private static final String CONFIG_ID = "prebid-ita-video-interstitial-320-480-original-api";
private static final String CONFIG_ID = "prebid-demo-video-interstitial-320-480-original-api";

private InterstitialAdUnit adUnit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class GamOriginalApiVideoRewarded extends BaseAdActivity {

private static final String AD_UNIT_ID = "/21808260008/prebid-demo-app-original-api-video-interstitial";
private static final String CONFIG_ID = "prebid-ita-video-rewarded-320-480-original-api";
private static final String CONFIG_ID = "prebid-demo-video-rewarded-320-480-original-api";

private RewardedVideoAdUnit adUnit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AdMobDisplayBanner320x50Activity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "ca-app-pub-1875909575462531/3793078260"
const val CONFIG_ID = "prebid-ita-banner-320-50"
const val CONFIG_ID = "prebid-demo-banner-320-50"
const val WIDTH = 320
const val HEIGHT = 50
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class AdMobDisplayInterstitialActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "ca-app-pub-1875909575462531/6393291067"
const val CONFIG_ID = "prebid-ita-display-interstitial-320-480"
const val CONFIG_ID = "prebid-demo-display-interstitial-320-480"
}

private var adUnit: MediationInterstitialAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AdMobNativeActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "ca-app-pub-1875909575462531/9720985924"
const val CONFIG_ID = "prebid-ita-banner-native-styles"
const val CONFIG_ID = "prebid-demo-banner-native-styles"
}

private var nativeAd: NativeAd? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class AdMobVideoInterstitialActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "ca-app-pub-1875909575462531/6393291067"
const val CONFIG_ID = "prebid-ita-video-interstitial-320-480"
const val CONFIG_ID = "prebid-demo-video-interstitial-320-480"
}

private var adUnit: MediationInterstitialAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdMobVideoRewardedActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "ca-app-pub-1875909575462531/1908212572"
const val CONFIG_ID = "prebid-ita-video-rewarded-320-480"
const val CONFIG_ID = "prebid-demo-video-rewarded-320-480"
}

private var rewardedAd: RewardedAd? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AppLovinMaxDisplayBanner300x250Activity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "550e6c2fe979a641"
const val CONFIG_ID = "prebid-ita-banner-300-250"
const val CONFIG_ID = "prebid-demo-banner-300-250"
const val WIDTH = 300
const val HEIGHT = 250
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AppLovinMaxDisplayBanner320x50Activity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "3d8a0bcbb6d571d5"
const val CONFIG_ID = "prebid-ita-banner-320-50"
const val CONFIG_ID = "prebid-demo-banner-320-50"
const val WIDTH = 320
const val HEIGHT = 50
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AppLovinMaxDisplayInterstitialActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "393697e649678807"
const val CONFIG_ID = "prebid-ita-display-interstitial-320-480"
const val CONFIG_ID = "prebid-demo-display-interstitial-320-480"
}

private var maxInterstitialAd: MaxInterstitialAd? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AppLovinMaxNativeActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "f3bdfa9dd8da1c4d"
const val CONFIG_ID = "prebid-ita-banner-native-styles"
const val CONFIG_ID = "prebid-demo-banner-native-styles"
}

private var nativeAdLoader: MaxNativeAdLoader? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AppLovinMaxVideoRewardedActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "897f2fc59d617715"
const val CONFIG_ID = "prebid-ita-video-rewarded-320-480"
const val CONFIG_ID = "prebid-demo-video-rewarded-320-480"
}

private var maxRewardedAd: MaxRewardedAd? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class GamOriginalApiDisplayBanner300x250Activity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid_demo_app_original_api_banner_300x250_order"
const val CONFIG_ID = "prebid-ita-banner-300-250"
const val CONFIG_ID = "prebid-demo-banner-300-250"
const val WIDTH = 300
const val HEIGHT = 250
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class GamOriginalApiDisplayBanner320x50Activity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid_demo_app_original_api_banner"
const val CONFIG_ID = "prebid-ita-banner-320-50"
const val CONFIG_ID = "prebid-demo-banner-320-50"
const val WIDTH = 320
const val HEIGHT = 50
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class GamOriginalApiDisplayInterstitialActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-app-original-api-display-interstitial"
const val CONFIG_ID = "prebid-ita-display-interstitial-320-480"
const val CONFIG_ID = "prebid-demo-display-interstitial-320-480"
}

private var adUnit: AdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class GamOriginalApiMultiformatBannerActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-original-banner-multiformat"
const val CONFIG_ID_BANNER = "prebid-ita-banner-300-250"
const val CONFIG_ID_VIDEO = "prebid-ita-video-outstream-original-api"
const val CONFIG_ID_BANNER = "prebid-demo-banner-300-250"
const val CONFIG_ID_VIDEO = "prebid-demo-video-outstream-original-api"
const val WIDTH = 300
const val HEIGHT = 250
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class GamOriginalApiMultiformatBannerVideoNativeInAppActivity : BaseAdActivity()

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-multiformat"
const val CONFIG_ID_BANNER = "prebid-ita-banner-300-250"
const val CONFIG_ID_NATIVE = "prebid-ita-banner-native-styles"
const val CONFIG_ID_VIDEO = "prebid-ita-video-outstream-original-api"
const val CONFIG_ID_BANNER = "prebid-demo-banner-300-250"
const val CONFIG_ID_NATIVE = "prebid-demo-banner-native-styles"
const val CONFIG_ID_VIDEO = "prebid-demo-video-outstream-original-api"
const val CUSTOM_FORMAT_ID = "12304464"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class GamOriginalApiMultiformatBannerVideoNativeStylesActivity : BaseAdActivity(

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-multiformat-native-styles"
const val CONFIG_ID_BANNER = "prebid-ita-banner-300-250"
const val CONFIG_ID_NATIVE = "prebid-ita-banner-native-styles"
const val CONFIG_ID_VIDEO = "prebid-ita-video-outstream-original-api"
const val CONFIG_ID_BANNER = "prebid-demo-banner-300-250"
const val CONFIG_ID_NATIVE = "prebid-demo-banner-native-styles"
const val CONFIG_ID_VIDEO = "prebid-demo-video-outstream-original-api"
}

private var prebidAdUnit: PrebidAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class GamOriginalApiMultiformatInterstitialActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-intestitial-multiformat"
const val CONFIG_ID_BANNER = "prebid-ita-display-interstitial-320-480"
const val CONFIG_ID_VIDEO = "prebid-ita-video-interstitial-320-480-original-api";
const val CONFIG_ID_BANNER = "prebid-demo-display-interstitial-320-480"
const val CONFIG_ID_VIDEO = "prebid-demo-video-interstitial-320-480-original-api";
}

private var adUnit: InterstitialAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class GamOriginalApiNativeInAppActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/apollo_custom_template_native_ad_unit"
const val CONFIG_ID = "prebid-ita-banner-native-styles"
const val CONFIG_ID = "prebid-demo-banner-native-styles"
const val CUSTOM_FORMAT_ID = "11934135"
const val TAG = "GamOriginalNativeInApp"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GamOriginalApiNativeStylesActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-original-native-styles"
const val CONFIG_ID = "prebid-ita-banner-native-styles"
const val CONFIG_ID = "prebid-demo-banner-native-styles"
}

private var nativeAdUnit: NativeAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class GamOriginalApiVideoBannerActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-original-api-video-banner"
const val CONFIG_ID = "prebid-ita-video-outstream-original-api"
const val CONFIG_ID = "prebid-demo-video-outstream-original-api"
const val WIDTH = 300
const val HEIGHT = 250
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class GamOriginalApiVideoInterstitialActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-app-original-api-video-interstitial"
const val CONFIG_ID = "prebid-ita-video-interstitial-320-480-original-api"
const val CONFIG_ID = "prebid-demo-video-interstitial-320-480-original-api"
}

private var adUnit: InterstitialAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GamOriginalApiVideoRewardedActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-app-original-api-video-interstitial"
const val CONFIG_ID = "prebid-ita-video-rewarded-320-480-original-api"
const val CONFIG_ID = "prebid-demo-video-rewarded-320-480-original-api"
}

private var adUnit: RewardedVideoAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class GamRenderingApiDisplayBanner320x50Activity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid_oxb_320x50_banner"
const val CONFIG_ID = "prebid-ita-banner-320-50"
const val CONFIG_ID = "prebid-demo-banner-320-50"
const val WIDTH = 320
const val HEIGHT = 50
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class GamRenderingApiDisplayInterstitialActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid_oxb_html_interstitial"
const val CONFIG_ID = "prebid-ita-display-interstitial-320-480"
const val CONFIG_ID = "prebid-demo-display-interstitial-320-480"
}

private var adUnit: InterstitialAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class GamRenderingApiNativeActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/apollo_custom_template_native_ad_unit"
const val CONFIG_ID = "prebid-ita-banner-native-styles"
const val CONFIG_ID = "prebid-demo-banner-native-styles"
const val CUSTOM_FORMAT_ID = "11934135"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ import org.prebid.mobile.api.rendering.BannerView
import org.prebid.mobile.eventhandlers.GamBannerEventHandler
import org.prebid.mobile.prebidkotlindemo.activities.BaseAdActivity


class GamRenderingApiVideoBannerActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid_oxb_300x250_banner"
const val CONFIG_ID = "prebid-ita-video-outstream"
const val CONFIG_ID = "prebid-demo-video-outstream"
const val WIDTH = 300
const val HEIGHT = 250
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class GamRenderingApiVideoInterstitialActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-app-original-api-video-interstitial"
const val CONFIG_ID = "prebid-ita-video-interstitial-320-480"
const val CONFIG_ID = "prebid-demo-video-interstitial-320-480"
}

private var adUnit: InterstitialAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class GamRenderingApiVideoRewardedActivity : BaseAdActivity() {

companion object {
const val AD_UNIT_ID = "/21808260008/prebid-demo-app-original-api-video-interstitial"
const val CONFIG_ID = "prebid-ita-video-rewarded-320-480"
const val CONFIG_ID = "prebid-demo-video-rewarded-320-480"
}

private var adUnit: RewardedAdUnit? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.prebid.mobile.prebidkotlindemo.activities.BaseAdActivity
class InAppDisplayBanner320x50Activity : BaseAdActivity() {

companion object {
const val CONFIG_ID = "prebid-ita-banner-320-50"
const val CONFIG_ID = "prebid-demo-banner-320-50"
const val WIDTH = 320
const val HEIGHT = 50
}
Expand Down
Loading