> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/list-advertise/google/manage-and-optimize-google-ads/google-text-ads/ad-groups/how-do-i-use-keyword-insertion-in-an-ad-template.md).

# How do I use keyword insertion in an Ad template?

Inserting keywords is an advanced Google Ads feature that dynamically updates your Ad text to include one of your keywords that matches a customer's search terms. Then, when a customer uses one of your keywords in their search, Google Ads automatically replaces the code with the keyword that triggered your ad. This feature allows you to have one ad that appears differently to customers depending on their search terms, making your ads appear more relevant and useful.

### Setup Ads in Channable

<figure><img src="https://helpcenter.channable.com/hc/article_attachments/360007523219/EN_-_Keyword.png" alt=""><figcaption></figcaption></figure>

You can add the keywords to your ads in the same way as the dynamic fields and parameters.

<figure><img src="https://helpcenter.channable.com/hc/article_attachments/360007505940/EN_-_keywords.png" alt=""><figcaption></figcaption></figure>

In the keyword field, you can indicate what your backup code is when the customer's search is too long for the field.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://helpcenter.channable.com/list-advertise/google/manage-and-optimize-google-ads/google-text-ads/ad-groups/how-do-i-use-keyword-insertion-in-an-ad-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
