Is it necessary to put publisher id somewhere in code ?

498 views
Skip to first unread message

Haris Rehman

unread,
Jun 23, 2017, 3:22:30 PM6/23/17
to Google Mobile Ads SDK Developers
i am using  Google Mobile Ads Unity Plugin v3.5.0 ...Admob ads are showing perfectly , now i am ready to put it on google play store but i think i am missing something :( i did not set my admob 'Publisher id' or 'App id' anywhere in my code .. how will i get the impressions on my admob account then ? 

Haris Rehman

unread,
Jun 23, 2017, 4:17:51 PM6/23/17
to Google Mobile Ads SDK Developers
i read somewhere that i also have to add some line of code in application tag in the android manifest file too ?? 
Thanks in Advance

Bharani Cherukuri (Mobile Ads SDK Team)

unread,
Jun 26, 2017, 12:15:42 PM6/26/17
to Google Mobile Ads SDK Developers
Hello, 

I would be happy to assist you with this. As for your question, you're right, you will have to add your Publisher ID in the code. Usually in our sample apps, you will have to substitute your Publisher ID or Ad Unit ID here to serve live ads. If you have a similar implementation try replacing with your Publisher ID and let me know how it goes.

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

Haris Rehman

unread,
Jul 4, 2017, 5:33:08 PM7/4/17
to Google Mobile Ads SDK Developers
i have a similar implementation and i am using Add unit id in code and did not used Publisher iD anywhere in code.  I tested my app and impressions are showing perfectly. So what i've done is right or wrong?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 5, 2017, 5:59:23 AM7/5/17
to Google Mobile Ads SDK Developers
Hi there,

Since you are using our official Unity Plugin to implement the Mobile Ads SDK, using you Ad unit IDs should be enough, so your App ID should not be needed.

If you are using the Mobile Ads SDK for Android or iOS, your App ID can be used to initialize the Mobile Ads SDK in the early stage of your app to enable early setup.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Haris Rehman

unread,
Jul 5, 2017, 10:56:09 AM7/5/17
to Google Mobile Ads SDK Developers
i am using  Google Mobile Ads Unity Plugin v3.5.0 .  I dont know if it is official or not ? Please tell me if it is official unity plugin ?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 5, 2017, 11:00:15 AM7/5/17
to Google Mobile Ads SDK Developers
Hi Haris,

If you are using this Unity Plugin, then yes, it is our official Unity Plugin for the Mobile Ads SDK.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Haris Rehman

unread,
Jul 5, 2017, 12:42:50 PM7/5/17
to Google Mobile Ads SDK Developers
Thankyou So Much Brother for the help :)
Reply all
Reply to author
Forward
0 new messages