> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
