1

I'm new to flet. I couldn't make ads work in a project. All attempts so far show up like the screen shot attached.

I followed this tutorial (https://youtu.be/CgScZlh_xRs?si=icHZf_k0o_JMMqlq), and when it didn't work, I just copy-pasted both the code and pyproject.toml file in a new project to test it, but it still wouldn't display the test ad properly.

I tried to run the ads code example on the docs website. I've been using the test ids listed on the flet documentation for all attempts. Here's the documentation link I was following: https://flet.dev/docs/controls/ads/

I edited the pyproject.toml file to include the following:

dependencies = [ "flet==0.28.3", "flet-ads==0.1.0", ]

[tool.flet.ios.info]

GADApplicationIdentifier = "ca-app-pub-3940256099942544~3347511713"

I have the code on my mac, then on terminal run: flet run --ios then, I use the flet app on the phone to test the ios app but the attached screen shot is the result. I've been testing all the attempts with the ios flet app.

What might be wrong here?

Screen shot

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented Jul 24, 2025 at 4:55

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.