# AdsGram Documentation > AdsGram is an advertising network for the Telegram ecosystem (Mini Apps, bots, channels). Publishers integrate an SDK to show rewarded/interstitial/task ad formats and get paid per impression; advertisers launch and track campaigns targeting that inventory. This site is the official technical documentation. ## Publisher - [Publisher Overview](https://docs.adsgram.ai/publisher/): How the ad network works from a publisher's perspective - [Get Block ID](https://docs.adsgram.ai/publisher/get-block-id): How to create a BlockId, required to initialize the SDK - [API Reference](https://docs.adsgram.ai/publisher/api-reference): SDK methods — init, show, destroy, addEventListener/removeEventListener - [Reward and Interstitial Integration](https://docs.adsgram.ai/publisher/reward-interstitial-integration): Integrating fullscreen and rewarded video ad formats - [Task Integration](https://docs.adsgram.ai/publisher/task-integration-example): Integrating the native task-completion ad format - [SDK Integration Guide for LLMs](https://docs.adsgram.ai/publisher/llms): Condensed SDK reference written for LLM-assisted integration - [Troubleshooting](https://docs.adsgram.ai/publisher/troubleshooting): Common integration issues ## Advertiser - [Advertiser Overview](https://docs.adsgram.ai/advertiser/): How the ad network works from an advertiser's perspective - [Launch an Advertising Campaign](https://docs.adsgram.ai/advertiser/launch-campaign): Creating and configuring a campaign - [Tracking](https://docs.adsgram.ai/advertiser/tracking): Conversion tracking and postback (`confirm_conversion`) setup - [Analytics](https://docs.adsgram.ai/advertiser/analytics): Campaign statistics and reporting ## Bots & Channels - [Integrating Ads into Your Telegram Bot](https://docs.adsgram.ai/bots/block-integration): Adding ad blocks to a Telegram bot - [Integration in Channels](https://docs.adsgram.ai/channels/channels-integration): Adding ads to a Telegram channel ## Markdown access Every page on this site has a raw Markdown counterpart at the same path with a `.md` extension appended, e.g. `https://docs.adsgram.ai/publisher/api-reference.md`. Requests with an `Accept: text/markdown` header are also served the Markdown version directly at the original URL. ## Optional - [Sitemap](https://docs.adsgram.ai/sitemap.xml): Full list of pages across all 12 supported languages, with hreflang alternates