# Макросы Facebook

Подробнее о макросах читайте [здесь](/poleznoe/makrosy-i-sub-id.md).

Официальная документация Meta [здесь](https://www.facebook.com/business/help/2360940870872492).

## Список макросов

<table><thead><tr><th width="388">Макрос</th><th>Значения</th></tr></thead><tbody><tr><td>{{campaign.id}}</td><td>id кампании</td></tr><tr><td>{{adset.id}}</td><td>id группы объявлений (id адсета)</td></tr><tr><td>{{ad.id}}</td><td>id объявления</td></tr><tr><td>{{campaign.name}}</td><td>Название кампании</td></tr><tr><td>{{adset.name}}</td><td>Название группы объявлений (адсета)</td></tr><tr><td>{{ad.name}}</td><td>Название объявления</td></tr><tr><td>{{site_source_name}}</td><td><p>Источник (площадка). Может принимать одно из следующих значений: </p><ul><li><code>ig</code> - Instagram</li><li><code>an</code> - Audience Network</li><li><code>msg</code> - Messenger</li><li><code>fb</code> - Facebook</li></ul></td></tr><tr><td>{{placement}}</td><td><p>Место размещения. Может принимать одно из следующих значений:<br></p><ul><li><code>instagram_feed</code></li><li><code>instagram_stories</code></li><li><code>messenger_inbox</code></li><li><code>messenger_sponsored_messages</code></li><li><code>facebook_right_column</code></li><li><code>facebook_mobile_feed</code></li><li><code>facebook_desktop_feed</code></li><li><code>facebook_instant_article</code></li><li><code>facebook_instream_video</code></li><li><code>audience_network</code></li><li><code>facebook_marketplace</code></li></ul></td></tr></tbody></table>

&#x20;   &#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pwa.bot/nastroiki-facebook/makrosy-facebook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
