Metadata-Version: 2.4
Name: flet-ads
Version: 1.0.2
Summary: Display Google Ads in Flet apps.
Author-email: Flet contributors <hello@flet.dev>
License-Expression: Apache-2.0
Project-URL: Homepage, https://flet.dev
Project-URL: Documentation, https://flet.dev/docs/controls/ads
Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-ads
Project-URL: Issues, https://github.com/flet-dev/flet/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flet==1.0.2
Dynamic: license-file

# flet-ads

[![pypi](https://img.shields.io/pypi/v/flet-ads.svg)](https://pypi.python.org/pypi/flet-ads)
[![downloads](https://static.pepy.tech/badge/flet-ads/month)](https://pepy.tech/project/flet-ads)
[![python](https://img.shields.io/badge/python-%3E%3D3.10-%2334D058)](https://pypi.org/project/flet-ads)
[![docstring coverage](https://flet.dev/docs/assets/badges/docs-coverage/flet-ads.svg)](https://flet.dev/docs/assets/badges/docs-coverage/flet-ads.svg)
[![license](https://img.shields.io/badge/License-Apache_2.0-green.svg)](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-ads/LICENSE)

Display Google Ads in [Flet](https://flet.dev) apps.

> **[Try Flet online in Flet Studio](https://studio.flet.dev)**
>
> Prototype your Flet app interface in the browser, then add mobile ads in your local project. Write your own Python code or get help from the AI agent.

It is based on the [google_mobile_ads](https://pub.dev/packages/google_mobile_ads) Flutter package.

## Documentation

Detailed documentation to this package can be found [here](https://flet.dev/docs/controls/ads/).

## Platform Support

| Platform | Windows | macOS | Linux | iOS | Android | Web |
|----------|---------|-------|-------|-----|---------|-----|
| Supported|    ❌    |   ❌   |   ❌   |  ✅  |    ✅    |  ❌  |

## Usage

### Installation

To install the `flet-ads` package and add it to your project dependencies:

- Using `uv`:
    ```bash
    uv add flet-ads
    ```

- Using `pip`:
    ```bash
    pip install flet-ads
    ```
    After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.

### Examples

For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/extensions/ads).
