flutter_google_ad_manager icon indicating copy to clipboard operation
flutter_google_ad_manager copied to clipboard

Multiple ad sizes

Open GeertJohan opened this issue 5 years ago • 3 comments

I'd like to provide multiple ad sizes in the ad request, but this does not seem to be possible currently. e.g.: adSize = "300x50,300x100,300x250,320x50,320x100,320x240"

Is this something the flutter_google_ad_manager package could and wants to support?

GeertJohan avatar Jan 08 '20 11:01 GeertJohan

@GeertJohan Specifying multiple sizes in one banner is not supported. You need to prepare multiple DFPBanner.

ko2ic avatar Jan 09 '20 00:01 ko2ic

How would that work?

I received the above adSize parameter from my ad integration partner, this is something they say is supported in google ad manager. I think it is supposed to be given as adSize name (instead of BANNER / MEDIUM_RECTANGLE / etc).

GeertJohan avatar Jan 10 '20 09:01 GeertJohan

@ko2ic: Why is it not supported? The Kotlin code clearly does support it. You even wrap the one size in an array and send it over. Should be an easy fix.

ObiJanKenobi avatar Feb 20 '20 06:02 ObiJanKenobi