{"title":"Campaign - Liquid Object Reference","slug":"campaign-liquid-object-reference","url":"https://support.storeconnect.com/articles/campaign-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/campaign-liquid-object-reference.md","subtitle":null,"summary":"The Campaign object contains information about a campaign that Customers can subscribe to.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, Campaign, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe Campaign object contains information about a campaign that Customers can subscribe to.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `id` | String | Returns the unique id for this Campaign |\n| `information_content` | String | Returns the value of the Information attribute as rich text |\n| `name` | String | Returns the value of the Name attribute |\n| `opt_in_text` | String | Returns the value of the Opt In Text field attribute |\n| `preselect_opt_in?` | Boolean | Returns true if the opt in checkbox should be selected by default |\n| `status` | String | Returns the value of the Status attribute |\n\n## Available on\n\n- [Contact - Liquid Object Reference](contact-liquid-object-reference) — `campaigns`\n- [Promotion - Liquid Object Reference](promotion-liquid-object-reference) — `campaign`\n- [Store - Liquid Object Reference](store-liquid-object-reference) — `campaigns`"}