---
title: "AdsGram Banner Types and Requirements"
description: "Overview of AdsGram ad formats: Media ads and Inline ads for mini apps, bots, channels, and Telegram clients, with size and text limits."
---

# Banner types
Examples of banners can be viewed in our [test application](https://t.me/AdsGram_test_app_bot/AdsGram_test_app).

## in TMA:
### Media ads {#media-ads}
A video, image or gif with text that mimics a Telegram message.

![Media ads](./images/banner_preview_main.webp)

![Alternative image](./images/banner_preview_alternative.webp)

You will need:
- A link that can lead to any platform if the platform and creative do not fall under the prohibited topics in the [moderation rules](./moderation);
- An icon up to 500Kb with a square aspect ratio of 1:1 and optimal size of 100x100px (min 32px, max 1024px);
- A video or image:
  * **Video:** An MP4 video up to 50Mb from 6 up to 15 seconds long with optimal vertical aspect ratio of 9:16 (min 720px, max 2048px);
  * **Image:** up to 1 Mb with a square aspect ratio of 1:1 and optimal size of 800x800px (min 240px, max 1024px);
  * **GIF animation:** up to 2 Mb with a square aspect ratio of 1:1 (min 240px, max 600px);
- Alternative image (optional for displaying the banner in chats of Telegram clients) up to 1 Mb with a 21:9 aspect ratio (min 240px, max 1024px);
- A title (from 3 to 30 symbols). Symbols `<`, `>`, `&`, `"` are forbidden;
- Main text (from 10 to 160 symbols). Symbols `<`, `>`, `&`, `"` are forbidden;
- Brand name (from 1 to 40 symbols). Symbols `<`, `>`, `&`, `"` are forbidden;
- A button text is selected from the drop-down list.

### Inline ads {#inline-ads}
Native advertising block in the task list and above the chat list in Telegram clients (right after the system block “Add your birthday!” - this is the user's first attention zone).

![Inline ads](./images/inline_banner.webp)

You will need:
- A link that can lead to any platform if the platform and creative do not fall under the prohibited topics in the [moderation rules](./moderation);
- An icon up to 500 Kb with a square aspect ratio of 1:1 (min 32px, max 1024px);
- A title (from 3 to 30 symbols). Symbols `<`, `>`, `&`, `"` are forbidden;
- A text (from 10 to 50 symbols). Symbols `<`, `>`, `&`, `"` are forbidden.

## in Bots & Channels:
### Post {#post}
This format represents a native-style post that mimics a regular message in a Telegram channel or from a bot. It’s perfect for running ads directly within Telegram without the need to produce complex creatives or videos.

![Channel post](./images/channel_post_banner.webp)

Ideal for:
- Fast campaign launches
- Promotions in Telegram channels
- Ads via Telegram bots
- Seamless, native ad experiences

Post Banner Requirements:
- **Link**\
Can lead to any platform, as long as the creative and landing page comply with AdsGram [moderation rules](./moderation).
- **Image / GIF**
  * Supports both **static images** and **GIF animations**
  * Format: **vertical**
  * **Max file size**: up to **5 MB**
  * **Min resolution: 200×200 px**
  * **Max resolution: 1280×1280 px**
  * **Recommended aspect ratio:** 1:1
- **Title**
  * Between **3 and 56 characters**
  * **Emojis allowed**
  * Forbidden characters: `<`, `>`, `&`, `"`
- **Main Text**
  * Between **10 and 764 characters**
  * **Emojis allowed**
  * Forbidden characters: `<`, `>`, `&`, `"`
- **Brand Name**
  * Between **1 and 40 characters**
  * Forbidden characters: `<`, `>`, `&`, `"`
- **Button Text**\
Selected from a **predefined dropdown list**

> [!IMPORTANT]
>- **Markdown is not allowed** in bot and channel ads — only **HTML formatting** is supported internally
>- **One creative per post**
>- The ad will be automatically adapted to fit Telegram’s interface
