
Definition:
Dynamic Keyword Insertion (DKI), also called keyword insertion, is a search advertising feature that replaces a placeholder in an ad with the keyword from the ad group that triggered the ad. If that keyword cannot be displayed, the platform uses default text supplied by the advertiser.
DKI can adapt headlines, descriptions or display paths without requiring a separate ad for every keyword. It does not necessarily insert the exact query typed by the person, and it does not change the landing page by itself. Platforms such as Google Ads and Microsoft Advertising offer related insertion mechanisms, although their syntax and available fields may vary. The examples below use the Google Ads implementation.
Table of contents
How Dynamic Keyword Insertion works
Insertion is resolved when an ad is eligible to participate in a search. The basic process consists of these steps:
- Ad group setup: the advertiser groups keywords that share an intent and can use a coherent creative.
- Code placement: a placeholder such as
{KeyWord:Chocolate}is added to a headline, description or display path. - Trigger: a keyword in the group makes the ad eligible to show. That keyword does not have to be identical to the search term.
- Validation: the platform checks length, formatting, policies and eligibility before inserting the text.
- Insertion or fallback: if the keyword fits and can be used, it replaces the code; otherwise, the default text appears.
Google Ads’ keyword insertion documentation stresses that the ad shows the keyword, not necessarily the user’s search term. The result therefore needs to be checked against every keyword and variant that may trigger the ad.
Syntax and capitalization
The manual Google Ads format is {keyword:default text}. The text after the colon appears when replacement is not possible, for example because the keyword would exceed the field limit. It should be short, clear and valid within the complete sentence.
The capitalization of the word keyword controls the appearance of the inserted text:
{keyword:chocolate}: displays the keyword in lower case, for example, dark chocolate.{Keyword:Chocolate}: capitalizes the first letter of the first word, for example, Dark chocolate.{KeyWord:Chocolate}: capitalizes the first letter of each word, for example, Dark Chocolate.{KEYWord:Chocolate}: supports special capitalization for certain initial abbreviations, such as USA Chocolate.{KeyWORD:Chocolate}: supports special capitalization in later words, such as Chocolate Made In USA.
The forms KEYword and KEYWORD are not listed among the manual options currently supported by Google. The setup guide also provides a guided method that lets advertisers choose lower case, sentence case or title case.
Dynamic keyword insertion example
A lighting retailer groups the keywords table lamps, floor lamps and ceiling lamps. It configures the headline Buy {KeyWord:Designer Lamps}. The outcome depends on the keyword that triggers the ad:
- Eligible keyword: if floor lamps is triggered, the headline may appear as Buy Floor Lamps.
- Different query: the person may have searched for a related variant; the inserted text remains the ad group keyword rather than an automatic copy of the query.
- Text too long: if the insertion would exceed the headline limit, Buy Designer Lamps is displayed.
- Policy or formatting restriction: if the keyword cannot be inserted, the platform also falls back to the default text or prevents that combination.
The example works because every keyword fits grammatically within the same ad. An ad group that mixed products, locations and services without a common structure could generate inconsistent messages.
Differences from other dynamic features
DKI is one form of ad personalization, but it does not cover every automatic text replacement:
- Search term: the words typed by the person. It may trigger a different keyword because of match types or close variants.
- Ad customizers: insert attributes such as price, model, discount or date from data configured by the advertiser; they are not limited to keyword text.
- Dynamic Search Ads: use website content to target searches and generate headlines. Google states that DKI is unavailable for this campaign type because it does not use keyword targeting.
- Location insertion: adapts an ad to a location supported by the platform. It is more appropriate than DKI when the changing value is geographic and not part of the keyword.
- Dynamic text on a landing page: changes page content through parameters, scripts or a personalization tool. This is a separate implementation configured outside the ad’s DKI code.
Benefits, risks and best practices
DKI’s main benefit is scale: one creative can reflect several keywords and become more specific. It does not guarantee more clicks or conversions. Performance depends on account structure, message quality and whether every resulting combination is correct and useful.
Before enabling it, advertisers should apply these checks:
- Group by intent: keep together only keywords that make sense in the same sentence.
- Test every combination: review grammar, capitalization, length and readability with each relevant keyword.
- Use strong default text: choose a short, descriptive fallback that works whenever insertion fails.
- Control trademarks and policies: exclude keywords that could produce prohibited claims, misspellings or unauthorized trademark use.
- Preserve the full message: combine insertion with a value proposition and call to action instead of relying only on textual matching.
- Measure separately: compare ads, search terms and conversions to determine whether personalization improves outcomes or merely changes the displayed wording.
When keywords are heterogeneous or the ad needs prices, inventory, dates or other attributes, splitting ad groups or using a dedicated dynamic feature is usually more suitable.
