DoubleClick / Google Mobile Ads for iOS - Ad refreshing automatically though configured not to

79 views
Skip to first unread message

net...@convertmedia.com

unread,
Aug 16, 2016, 4:44:44 AM8/16/16
to Google Mobile Ads SDK Developers
Hey, I'm trying to load a 1x1 custom DFP ad in a DFPBannerView, and the ad keeps refreshing / reloading, though the ad slot is configured to never refresh.
Creative code:
<script src="//media.admob.com/api/v1/google_mobile_app_ads.js"></script>
<script>
admob
.events.dispatchAppEvent('log', 'loaded');
</script>

Source code:

import UIKit
import GoogleMobileAds

class ViewController: UIViewController, GADAppEventDelegate {
   
@IBOutlet weak var bannerView: DFPBannerView!    

   
override func viewDidLoad() {
       
super.viewDidLoad()

       
        bannerView
.adUnitID = "~id of 1x1 ad slot, configured to not to refresh~"
        let adSize
: GADAdSize = GADAdSizeFromCGSize(CGSize(width: 1, height: 1))
        bannerView
.validAdSizes = [NSValueFromGADAdSize(adSize)]
       
        bannerView
.rootViewController = self
        bannerView
.appEventDelegate = self
        bannerView
.loadRequest(DFPRequest())
   
}

   
override func didReceiveMemoryWarning() {
       
super.didReceiveMemoryWarning()
       
// Dispose of any resources that can be recreated.
   
}
   
    func adView
(banner: GADBannerView!,
                didReceiveAppEvent name
: String!,
                withInfo info
: String!) {
       
print("name: \(name), info: \(info)")
   
}
}

And the "name: log, info: loaded" message shows multiple times in the output. There's nothing in the Main.storyboard file besides a View containing the BannerView.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 16, 2016, 11:52:43 AM8/16/16
to Google Mobile Ads SDK Developers
Hi there,

Can you send us your Ad Unit ID? Also your Line Item and Creative and we would have a look into this. You can send these details by replying to me privately.

Thanks,
Veer Busani
Mobile Ads SDK Team

net...@convertmedia.com

unread,
Aug 17, 2016, 3:03:45 AM8/17/16
to Google Mobile Ads SDK Developers
How can I reply privately?

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 17, 2016, 9:42:32 AM8/17/16
to Google Mobile Ads SDK Developers
Hi there,

Do look out for an email from us and you can respond back with those details.

Thanks,
Veer Busani
Mobile Ads SDK Team

Neta Elad

unread,
Aug 17, 2016, 9:50:38 AM8/17/16
to google-adm...@googlegroups.com
I only see an email from googlegroups, what's your private email?

On Wed, Aug 17, 2016 at 4:44 PM, <google-adm...@googlegroups.com> wrote:
Hi there,

Feel free to respond back with those details.

Thanks,
Veer Busani
Mobile Ads 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 "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+unsubscrib...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Neta Elad

unread,
Aug 17, 2016, 11:08:09 AM8/17/16
to google-adm...@googlegroups.com
Ad Unit ID: /120216296/Dev02_1x1
Line Item ID: 1072912816
Creative ID: 127008135376

On Wed, Aug 17, 2016 at 4:50 PM, Neta Elad <net...@convertmedia.com> wrote:
I only see an email from googlegroups, what's your private email?

Neta Elad

unread,
Aug 17, 2016, 11:09:26 AM8/17/16
to Google Mobile Ads SDK Developers
Ad Unit ID: /120216296/Dev02_1x1
Line Item ID: 1072912816
Creative ID: 127008135376

Reply all
Reply to author
Forward
0 new messages