# Dynamic content rules, AMPscript and barcode individualization

*Marketing Cloud Engagement Consultant Study Guide · Messaging · Last updated November 3, 2026 · https://www.certifyforce.com/study-guide/marketing-cloud-engagement-consultant/messaging/dynamic-content-rules-ampscript-and-barcode-individualization*

Which individualization tool fits a requirement: dynamic content rules, dynamic subject lines, Enhanced Dynamic Content, personalization strings, AMPscript content and barcode functions, CloudPages, and the data a triggered send must pass for personalization.

- Certification: Salesforce Marketing Cloud Engagement Consultant
- Exam section: Messaging
- Study guide: https://www.certifyforce.com/study-guide/marketing-cloud-engagement-consultant

**Official exam objective:**

> Given a customer scenario, describe various ways to individualize message content.

## What the exam expects

- Recommend the individualization tool that fits the email type, the place the variation appears and how the variations are supplied.
- Diagnose dynamic content rules that show the wrong content: operator syntax, defined versus free-form values, attribute defaults, empty values and complex rules.
- Prepare a team for Enhanced Dynamic Content and know where it can't be used.
- Choose the AMPscript content and barcode functions that fit a Content Builder account, and know their limits.
- Say what CloudPages can individualize and what a triggered send must pass.
- Key terms: **dynamic content** (content chosen per subscriber by rules); **rule** (attribute, value, operator and content); **default content** (shown when no rule matches); **Enhanced Dynamic Content Map** (an imported column of variations saved as a block); **personalization string** (a `%%attribute%%` merge field)

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Dynamic content and email type | Any email except text-based email | [Dynamic Content](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_dynamic_content.htm&type=5&language=en_US) |
| List operators | Values separated by commas with no spaces | [Dynamic Content](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_dynamic_content.htm&type=5&language=en_US) |
| Date attribute operators | Equal, not equal, greater than, less than only | [Create Dynamic Content](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_create_dynamic_content.htm&type=5&language=en_US) |
| No default content selected | The block shows no content | [Create Dynamic Content](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_create_dynamic_content.htm&type=5&language=en_US) |
| EDC default primary key | The first text column | [Import File](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_csv_file.htm&type=5&language=en_US) |
| EDC in subject or preheader | Not supported (April 2018 release note, no later change shown) | [Enhanced Dynamic Content](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_enhanced_dynamic_content.htm&type=5&language=en_US) |
| Classic content areas | Retired April 24, 2023; Content Builder only | [Classic Content Retirement](https://help.salesforce.com/s/articleView?id=000352265&type=1) |
| Guide Template Language | Named in the exam guide; Help shows it as a code snippet language | [Create a Code Snippet](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_create_code_snippet.htm&type=5&language=en_US) |
| BarCodeUrl() calls | Up to two per message or landing page | [BarCodeUrl()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-barcode-url.html) |
| Impression regions | Outbound messages only, not CloudPages | [BeginImpressionRegion()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-begin-impression-region.html) |
| Triggered send call | Must pass required fields without a default | [Triggered Emails](https://help.salesforce.com/s/articleView?id=mktg.mc_es_triggered_emails.htm&type=5&language=en_US) |

## Check yourself

- When a Dynamic Content block has rules but no default content selected, what does a subscriber who matches no rule see?
- Why can't a rule on a date attribute use the begins with operator?
- How does exists in whole word differ from exists in?
- When BarCodeUrl() is given an unsupported listed type such as postnet, what happens?

## Sources

- [Dynamic Content](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_dynamic_content.htm&type=5&language=en_US)
- [Create Dynamic Content](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_create_dynamic_content.htm&type=5&language=en_US)
- [Create a Dynamic Subject Line and Preheader](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_create_dynamic_subjectline_preheader.htm&type=5&language=en_US)
- [Enhanced Dynamic Content](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_enhanced_dynamic_content.htm&type=5&language=en_US)
- [Enhanced Dynamic Content Import File](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_csv_file.htm&type=5&language=en_US)
- [Personalization Strings in Marketing Cloud Engagement](https://help.salesforce.com/s/articleView?id=mktg.mc_es_personalization_strings.htm&type=5&language=en_US)
- [AMPscript](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ampscript.html)
- [Get to Know AMPscript (Trailhead)](https://trailhead.salesforce.com/content/learn/modules/ampscript-for-nondevelopers/get-to-know-ampscript)
- [Content Functions](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content.html)
- [ContentBlockByKey()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-key.html)
- [Create a Code Snippet](https://help.salesforce.com/s/articleView?id=mktg.mc_ceb_create_code_snippet.htm&type=5&language=en_US)
- [Marketing Cloud Engagement Consultant Exam Guide](https://help.salesforce.com/s/articleView?id=005298946&language=en_US&type=1)
- [Marketing Cloud - Classic Content Retirement](https://help.salesforce.com/s/articleView?id=000352265&type=1)
- [BarCodeUrl()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-barcode-url.html)
- [CloudPages](https://help.salesforce.com/s/articleView?id=mktg.mc_cp_cloudpages.htm&type=5&language=en_US)
- [BeginImpressionRegion()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-begin-impression-region.html)
- [Triggered Emails in Email Studio](https://help.salesforce.com/s/articleView?id=mktg.mc_es_triggered_emails.htm&type=5&language=en_US)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 15 linked practice questions, and unlimited timed mock exams are included with the Marketing Cloud Engagement Consultant pack (USD $19): https://www.certifyforce.com/practice-exams
