flet icon indicating copy to clipboard operation
flet copied to clipboard

bug: flet ads issue "Unknown control: banner_ad"

Open hemna opened this issue 1 month ago • 0 comments

Duplicate Check

  • [x] I have searched the opened issues and there are no duplicates

Describe the bug

I have tried to use the example for flet-ads and it doesn't work. I initially started a discussion here about it in the hopes of getting help, but after finding that even the flet-ads examples doesn't even work, I am filing the issue here:

All of the ad types result in an error like this being shown instead of the ad.

flet ads issue "Unknown control: banner_ad"

https://github.com/flet-dev/examples/blob/main/python/controls/information-displays/ads/ads-basic-example.py

on my iphone with

flet run --ios src/ad.py

and have the same errors.

"Unknown control: interstitial_ad"

and when I click the button "Unknown control: banner_ad"

flet==0.28.3
flet-ads==0.1.0
flet-cli==0.28.3
flet-desktop==0.28.3
flet-geolocator==0.1.0
flet-model==0.1.5
flet-web==0.28.3

Code sample

Code
[Paste your code here]

To reproduce

https://github.com/flet-dev/examples/blob/main/python/controls/information-displays/ads/ads-basic-example.py

on my iphone with

flet run --ios src/ad.py

and have the same errors.

"Unknown control: interstitial_ad"

and when I click the button "Unknown control: banner_ad"

Expected behavior

No response

Screenshots / Videos

Captures

[Upload media here]

Operating System

macOS

Operating system details

Macos, ios, android

Flet version

0.28.3

Regression

No, it isn't

Suggestions

No response

Logs

Logs
[Paste your logs here]

Additional details

No response

hemna avatar Dec 01 '25 14:12 hemna