Giter VIP home page Giter VIP logo

Comments (7)

deckameron avatar deckameron commented on August 16, 2024

Hi @skoften ,

Are you talking about these adsizes?
screen shot 2017-03-14 at 18 44 19

If so, they are all already implemented as you can see here

Use it like this:

var bannerAd = admob.createView({
    top: 0,
    adSizeType: 'BANNER', //RECTANGLE, FULLBANNER, LEADERBOARD, SMART
    publisherId: 'ca-app-pub-xxxxxxxxxxxxx/xxxxxxx', //USE YOUR PUBLISHER ID HERE
    testing: true
}); 
window.add(bannerAd);

from ti.android.admob.

deckameron avatar deckameron commented on August 16, 2024

Did you manage to get it working @skoften?

from ti.android.admob.

arifje avatar arifje commented on August 16, 2024

Hi Deckameron,

Sorry for the late reply, but that's not what I meant with multiple adSizes. I need to pass multiple adsizes as an argument to the view, because our DFP-tag can serve multiple ad formats: it can be a 320x50, but also 320x100. The view needs to adapt when one of these banners is displayed/served.

From my previous link:

DFP allows you to specify multiple ad sizes which may be eligible to serve into a PublisherAdView. Before implementing this feature in the SDK, create a line item targeting the same ad unit which is associated with different size creatives.

The Ti.DFP module also was updated with this feature a while ago: m1ga/ti.dfp#7

from ti.android.admob.

deckameron avatar deckameron commented on August 16, 2024

I am so sorry @skoften. I didn't understand it right.
I will implement it as soon as possible.

from ti.android.admob.

arifje avatar arifje commented on August 16, 2024

Awesome!

from ti.android.admob.

deckameron avatar deckameron commented on August 16, 2024

Just implemented it!

from ti.android.admob.

arifje avatar arifje commented on August 16, 2024

nice!

from ti.android.admob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.