Doubleclick for Android - Close Interstitial with code

434 views
Skip to first unread message

Andres Rutnik

unread,
Dec 30, 2015, 1:08:20 PM12/30/15
to Google Mobile Ads SDK Developers
I am using DFP SDK for Android. I want to know if it is possible to programatically close  a PublisherInterstitialAd after I've called 'show' on it. The use case is to have the intersitial automatically close after a configurable timeout. Is this possible in the SDK?

Thanks,
Andres

Veer Arjun Busani

unread,
Dec 30, 2015, 2:32:20 PM12/30/15
to Google Mobile Ads SDK Developers
Hi Andres,

As of GMA v 7.6, the SDK does not provide API's to programmatically close the Ad. Once the InterstitialAd has been loaded and shown, it is up to the user to manually close the ad. But there is an exception when serving Interstitials through Direct Campaigning. More about creating house ad campaign can be found here.

Thanks,
Veer Arjun Busani
Mobile Ads SDK Team

Rachel Callava

unread,
Jan 4, 2016, 12:46:35 PM1/4/16
to Google Mobile Ads SDK Developers
Hi Veer,

The type of ads that we would be running in this ad unit are Only interstitials booked via direct campaigns in DFP which we want to be automatically closed. We will be blocking interstitials from being eligible for any AdX, Ad Sense etc. With that being said, how are interstitials that are booked via direct campaigns in DFP automatically closed?

Thanks!

Veer Arjun Busani

unread,
Jan 4, 2016, 2:01:14 PM1/4/16
to Google Mobile Ads SDK Developers
Hi Rachel,

You can create an auto closed enabled DFP Interstitial ads using the a creative template. This can be done by selecting Mobile Interstitial with auto-close(app) in the Mobile Templates. This template enables the auto-close control to be used. You can read more about the Creative Templates here.

manjee...@dainikbhaskar.com

unread,
Mar 10, 2018, 1:07:33 AM3/10/18
to Google Mobile Ads SDK Developers
Hey Veer/Google Team,

is there any solution for programmatic served interstitials? like ad exchange buying to close automatically after a certain time?

mobileadssdk-a...@google.com

unread,
Mar 12, 2018, 3:19:16 PM3/12/18
to manjee...@dainikbhaskar.com, Google Mobile Ads SDK Developers
Hi Manjeet,

That option is only available for house ads via AdX or DFP and cannot be done so programmatically via the SDK.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~


The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressee's. If you are not an intended recipient, please delete the message and any attachments and notify the sender of nondelivery. Any use or disclosure of the contents of either is unauthorised and may be unlawful. All liability for viruses is excluded to the fullest extent permitted by law. Any views expressed in this message are those of the individual sender, except where the sender states them, with requisite authority, to be those of the organisation.

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/21d78246-0b3c-4c42-bd46-50b1f1838c2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages