(project)
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.google.gms:google-services:3.0.0'
}(app)dependencies {
compile 'com.google.android.gms:play-services-gcm:10.2.4'
compile 'com.android.support:support-v4:25.3.0'
compile 'com.mcxiaoke.volley:library-aar:1.0.1'
compile 'com.androidplot:androidplot-core:1.0.0'
compile 'com.google.code.gson:gson:2.7'
compile 'com.google.firebase:firebase-ads:10.2.4'
}
my IDS:
-------
<string name="admob_pub_id">ca-app-pub-6335778550033954~6638103937</string>
<string name="selectgames_banner_ad_unit_id">ca-app-pub-6335778550033954/2511101133</string>My Layout for the ad:---------------------<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="@string/selectgames_banner_ad_unit_id"/>My Java code:-------------
MobileAds.initialize(getApplicationContext(), getString(R.string.admob_pub_id));
Bundle extras = new Bundle();
AdView mAdView = (AdView) findViewById(R.id.adView);
AdRequest request = new AdRequest.Builder().build();
mAdView.loadAd(request);
What is the Bundle ID? This is an Android app and the guide mentions nothing about a bundle id.
That sounds like an iOS app
Martin
-- --- You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/S-ZPamwv-ec/unsubscribe. To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com. To post to this group, send email to google-adm...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
-- --- You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/S-ZPamwv-ec/unsubscribe. To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com. To post to this group, send email to google-admob-ads-sdk@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
-- --- You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/S-ZPamwv-ec/unsubscribe. To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com. To post to this group, send email to google-admob-ads-sdk@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
I cannot just change the package - that is my app. It's published. Changing it means all my users will never see an update.Surely there is a better solution than changing the package.Marty
-- --- You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/S-ZPamwv-ec/unsubscribe. To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com. To post to this group, send email to google-admob-ads-sdk@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Unless I'm missing something, the sample app does exactly that. It has a different package name but my ad IDs.
I guess it's up to the support team, now.
Thanks for your help.
Marty
-- --- You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/S-ZPamwv-ec/unsubscribe. To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com. To post to this group, send email to google-adm...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.