One app, two Admob account for revenue share

367 views
Skip to first unread message

Abanjo

unread,
Aug 20, 2015, 6:28:55 AM8/20/15
to Google Mobile Ads SDK Developers
Hi,
i'm developing a Android application with another person.
We want to share revenue coming from Admob ( we have a banner on the bottom of any Activity ).
Is allowed from Google policy /  tech requirement to use different publisher id in  a same app?
What i thinking is to show banner from different publisher in a random way in order to let both authors to have their own account with bank information separated.
es: 

BANNER 1 ( in Activity "home" show random these id )
ca-app-pub-[PUB ID USER A]/[AD UNIT ID BANNER 1]
ca-app-pub-[PUB ID USER B]/[AD UNIT ID BANNER 1]

BANNER 2 ( in Activity "news" show random these id )
ca-app-pub-[PUB ID USER A]/[AD UNIT ID BANNER 2]
ca-app-pub-[PUB ID USER B]/[AD UNIT ID BANNER 2]

I need to be sure that this is not against Google policy... for us i very important to not violate any rule and compromise our accounts.
I know that the reports will be separted ... this is not a problem. 

Thanks!
Davide


Vu Chau (MobileAds SDK Team)

unread,
Aug 20, 2015, 4:48:36 PM8/20/15
to Google Mobile Ads SDK Developers
Hi Davide,

Thanks for taking the time to check in to make sure you understand AdMob's best practices and policies.  As our forum only supports implementation issues, I'd have to redirect you to AdMob's product support team.  They'll be able to offer you direct assistance regarding this topic.

In the meantime, let us know if we can help with anything SDK-related.

Vu Chau
Mobile Ads SDK Team

Abanjo

unread,
Aug 21, 2015, 5:40:46 AM8/21/15
to Google Mobile Ads SDK Developers
Hi Vu,
thanks for your quick answer!
I've posted the question on the form you suggested me.
In the manwile i've implemented it ( just on my phone ) and it works well.
Can you confirm me that this code is ok for you?
Thanks!
Davide

( my Activity )
protected void onCreate(Bundle savedInstanceState) {
 ....
 ....

        LinearLayout layout = (LinearLayout) findViewById(R.id.footerLayout);
        // Create a banner ad. The ad size and ad unit ID must be set before calling loadAd.
        AdView mAdView = new AdView(this);
        mAdView.setAdSize(AdSize.BANNER);
  
        String adUnitId = null;
        long currTime = System.currentTimeMillis();
        switch (viewId) {
            case NEWS:
                adUnitId = (currTime % 2  == 0)? getResources().getString(R.string.banner_ad_unit_id_A_news) : getResources().getString(R.string.banner_ad_unit_id_B_news);
                break;
            case CALENDAR :
                adUnitId = (currTime % 2  == 0)? getResources().getString(R.string.banner_ad_unit_id_A_calendar) : getResources().getString(R.string.banner_ad_unit_id_B_calendar);
                break;
             case GENERIC:
                adUnitId = (currTime % 2  == 0)? getResources().getString(R.string.banner_ad_unit_id_A_generic) : getResources().getString(R.string.banner_ad_unit_id_B_generic);
                break;
            case LIVE:
                adUnitId = (currTime % 2  == 0)? getResources().getString(R.string.banner_ad_unit_id_A_live) : getResources().getString(R.string.banner_ad_unit_id_B_live);
                break;
        }

        mAdView.setAdUnitId(adUnitId);

        // Create an ad request.
        // per produzione
        //AdRequest adRequest = new AdRequest.Builder().build();
        // per test
        AdRequest adRequest = new AdRequest.Builder()
                .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)        // All emulators
                .addTestDevice("........................................")  // Motorola Moto G Davide
                .build();

        // Add the AdView to the view hierarchy.
        LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);
        layout.addView(mAdView, params);

        // Start loading the ad.
        mAdView.loadAd(adRequest);

Vu Chau (MobileAds SDK Team)

unread,
Aug 21, 2015, 11:28:10 AM8/21/15
to Google Mobile Ads SDK Developers
Hi Davide,

Your code snippet looks fine to me.  AdMob's Help Center also has some best practices articles that you might find helpful:

Vu Chau
Mobile Ads SDK Team

maste...@gmail.com

unread,
Apr 2, 2018, 9:36:19 AM4/2/18
to Google Mobile Ads SDK Developers
Hi Davide,

What answer did you received to your issue?

Thanks!

Bharani Cherukuri (Mobile Ads SDK Team)

unread,
Apr 2, 2018, 12:55:21 PM4/2/18
to Google Mobile Ads SDK Developers
Hello,

Could you please elaborate the issue you're facing, so I can take a look and assist you further?

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

On Thursday, August 20, 2015 at 6:28:55 AM UTC-4, Abanjo wrote:
Message has been deleted

maste...@gmail.com

unread,
Apr 3, 2018, 5:24:40 AM4/3/18
to Google Mobile Ads SDK Developers

Does Google Admob policy allows to use 2 publisher IDs in one app for revenue share between 2 developers that collaborate and make that app?

Thank you!

Bharani Cherukuri (Mobile Ads SDK Team)

unread,
Apr 3, 2018, 2:26:39 PM4/3/18
to Google Mobile Ads SDK Developers
Hello, 

We only handle technical Mobile Ads SDK related queries on this forum. For any policy related concerns, you will need to reach out to the AdMob Product Support Team as they're better equipped to address your concern. 

Regards,
Reply all
Reply to author
Forward
0 new messages