googleads-mobile-flutter
googleads-mobile-flutter copied to clipboard
[Feature request] Collapsible banner ads Flutter support
I noticed there is a new ads format called collapsible banner ads which is supported on both Android and iOS.
Is collapsible banner ads supported in Flutter?
@zfc0812 Currently collapsible banner ads does not have Flutter plugin support. It has been labeled as a feature request. Thanks.
any change or work about this ?
@GeceGibi no change to report other than this is something the team is aware of. Nothing official has been time budgeted for next steps as we approach 2024.
Any update?
any update?
any update?
+1
any news ?
+1
Will flutter or native have better revenue from advertising? how to maximize revenue from flutter app?
ผมคิดว่าการใช้แอปพลิเคชั่นflutterก็ไม่เลวร้ายอะไรในการหารายใด้เพิ่มหรือว่าเลือกใด้อย่างเดียวแล้วตอนนี้ที่ผมทำมันยังไม่สำเร็จหรือปล่าวถ้ายังจะมีวิธีการแก้ไขใด้หรือไม่เพราะผมก็อยากเพิ่มรายใด้จากการโฆษณานั่นแหละครับ.
any update ?
@malandr2 any update?
Now you can setup banner collapsible. Add AdRequest to request in BannerAd.
example:
BannerAd( adUnitId: key, size: size, request: AdRequest(extras: {"collapsible": "bottom"}), );
remember setup collapsible in admob
@trunghaudinh can you share document say add extras: {"collapsible": "bottom"}
@Hieuntdz check this link: https://developers.google.com/ad-manager/mobile-ads-sdk/android/banner/collapsible
@trunghaudinh is awesome. It's not documented on flutter but you found it out. Massive kudos!
I would advise to add also the following to extras: {"collapsible_request_id": generateUUID()}
Otherwise the banner will expand every 30-120 seconds, depending on your refresh rate.
Hi @ALL,
We've just published a developer guide for Collapsible Banner in Flutter
Is version google_mobile_ads ^4.0.0 supported?
I implemented collapsible banner ads in my Flutter project. It is working very fine for both Android and iOS platforms. It allows the collapse button to back the banner in standard size. You can checkout examples to integrate collapsible banner adMob in Flutter.
I would advise to add also the following to extras: {"collapsible_request_id": generateUUID()}
Otherwise the banner will expand every 30-120 seconds, depending on your refresh rate.
Can someone confirm that it's indeed needed? I have landed on couple of Android resources and it seems it (at least was) needed to omit refreshing already loaded ad as expended.
import 'package:uuid/uuid.dart';
var uuid = Uuid();
void _loadBannerAd() async {
// ...
var adRequest = AdRequest(extras: {
"collapsible": "bottom",
"collapsible_request_id": uuid.v4(),
});
}