How to serve preroll ad in Android and ios app for video player?

592 views
Skip to first unread message

d...@bongobd.com

unread,
Aug 27, 2018, 4:31:50 AM8/27/18
to Interactive Media Ads SDK
Hello Support,

Wish all is going well here.

Could you please guide me how can i am able to serve preroll ad using Ad Manager (DFP) in our Android and ios version app?
Here is the ios app:

Here is the Android app:

We want to serve pre-roll ads on all videos of this app using Ad Manager (DFP). I have created ad units in Ad Manager (DFP) for android and ios and get this below codes

Android:

Ad unit ID: (Please Copy and paste the following ad unit ID into your mobile application code.)
/251998432/Bioscope-video-ad-Android-Ros

Ad unit size: (Please you will need to include this following ad unit size in your application code.)
(400, 300)
(640, 480)

IOS:

Ad unit ID: (Please Copy and paste the following ad unit ID into your mobile application code.)
/251998432/Bioscope-video-ad-ios-Ros

Ad unit size: (Please you will need to include this following ad unit size in your application code.)
(400, 300)
(640, 480)

Also created line items in Ad Manager (DFP) but yet not ad is appearing. Would you please advice how could we can serve pre-roll ads in our app in all the videos?

Best Regards,
Bablu

ima-sdk-adv...@google.com

unread,
Aug 28, 2018, 2:59:04 AM8/28/18
to ima...@googlegroups.com
Hi Bablu,

Thanks for contacting us. In order to display Ads (e.g. Pre-roll Ad) using the IMA SDK then, you need to do the following:
  • Implement the IMA SDK by following this guide (AndroidiOS).
  • In Ad Manager UI, using your Ad Unit Id, you need to generate Ad Tag Url that you will use in your Ad request. You may refer to this guide for relevant information.
Regards,
Steven Balan
IMA SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+unsubscribe@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

d...@bongobd.com

unread,
Aug 28, 2018, 3:33:01 AM8/28/18
to Interactive Media Ads SDK
Hi Steven,

Wish all is well with you.

Thank you very much for your reply. The links you have given to me is super helpful.
My confusion regarding this is now gone.

Thank you very much again.

Best Regards,
Bablu Chakma
Reply all
Reply to author
Forward
0 new messages