Companion Ads for Mobile (Android/iOS)

307 views
Skip to first unread message

Paul Dickerson

unread,
Oct 10, 2013, 12:05:18 AM10/10/13
to ima...@googlegroups.com
I'm new to Ads in general and I'm working an issue where our companion Ads are not displaying on mobile but work perfectly fine on desktop browsers. 

As far as I can tell it has something to do with the HTML5 video player because on desktop we play the videos in a flash player. 

Can someone kinda walk me through the steps that are needed to make companion Ads update on mobile devices?

Thanks,

Paul
 

Shawn Busolits (IMA SDK Team)

unread,
Oct 10, 2013, 9:59:17 AM10/10/13
to ima...@googlegroups.com
Hey Paul,

Which SDK are you using? You can take a look at our guide for implementing companion ads in Flash and HTML5 if you're using one of those SDKs. If you're using one of our native SDKs we have separate guides for companions on the working with ads pages for Android and iOS. If you have any further questions let us know!

Thanks,
Shawn Busolits
IMA SDK Team

Paul Dickerson

unread,
Oct 11, 2013, 11:02:18 AM10/11/13
to ima...@googlegroups.com
Thanks for the response Shawn. Maybe that's the first thing to figure out, which SDK we are actually using, if any. From our current code we may be using an older google service but I know it works with our Brightcove flash player and not with the HTML5 video fallback when browsing on a mobile device. Below is the only code we have for updating the companion Ad slot when when prerolls or postroll come through the BC Flash player. 

<script type="text/javascript" src="http://www.googletagservices.com/tag/static/google_services.js"></script>
<script type="text/javascript">
    /**** Create AD Slot and get Video List ****/
    var adSlot1 = googletag.defineSlot('URL', [300, 250], 'comp-ad');

    adSlot1.set("ad_type", "image");
    adSlot1.addService(googletag.companionAds());
    googletag.enableServices();
</script>

We are not using any native device SDK's so we would need to figure out a solution for browser interfaces only. 




--
You received this message because you are subscribed to a topic in the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ima-sdk/3zawc7pDQ3w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ima-sdk+u...@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at http://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/groups/opt_out.

Shawn Busolits (IMA SDK Team)

unread,
Oct 11, 2013, 11:23:03 AM10/11/13
to ima...@googlegroups.com, pjd...@gmail.com
Hey Paul,

Since Flash isn't supported on mobile, I'd assume you're using HTML5. Are you using HTML5 fallback through the Brightcove player, or are you using your own player for HTML5? If the former this is probably something you would need to talk to Brightcove about. If the latter, I'd recommend checking out our guide for displaying companions with GPT (which is what you're doing based on the sample you provided). If you need any additional help let us know!

Thanks,
Shawn Busolits
IMA SDK Team

Harsh Yadav

unread,
Oct 14, 2013, 10:57:58 AM10/14/13
to ima...@googlegroups.com
Hi Shawn,

I am using the native android SDK and trying to display the companion ads using the provided sample, however no luck.
Can you tell how to bind the companion ad slots returned from the ad server to the view?

Thanks,
Harsh

Shawn Busolits (IMA SDK Team)

unread,
Oct 14, 2013, 11:10:51 AM10/14/13
to ima...@googlegroups.com
Hey Harsh,

Are you working with Paul or is this a separate issue? To display companion ads, you should just need to follow the steps under "3. Create AdDisplayContainer to display your ads" here. Can you confirm that your VAST response is returning companions of the size you specify to the SDK? You can test your tag with our Video Suite Inspector. If all of that fails, do you have some sample code you could send me to take a look at?

Thanks,
Shawn Busolits
IMA SDK Team

Harsh Yadav

unread,
Oct 14, 2013, 11:22:11 AM10/14/13
to ima...@googlegroups.com
Thanks for the quick reply Shawn.

I was able to fix it based on your reply that the size from the response should match the one specified in the code.
Many thanks!

Regards,
Harsh





--
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+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages