# Custom Attributes in Campaigns

### **Overview**

Campaign attributes, organized in a *key:value* format, serve as versatile data containers. These attributes offer multifaceted functionalities:

1. **Filtering in Admin Panel/API:** Enables filtering campaigns based on specific criteria, aiding efficient campaign management and targeted audience segmentation.
2. **External Application Integration:** Allows utilization of attribute data in external applications, enhancing management and filtering capabilities across various platforms.

For instance, an attribute like `"new_member_campaign": "true"` could be utilized to specifically display campaigns to new members. This attribute facilitates targeted campaign display solely to new members, ensuring personalized and relevant engagement strategies tailored to specific user segments.

### **How to use them**

* Access the **Basic Settings** section of your campaign.
* Click **Add Custom Attribute** and enter pairs like `season:summer` or `channel:email`.
* You can include multiple attributes per campaign.

### **Best practices**

* Stick to standard naming conventions (e.g., `lower_snake_case`).
* Use tags to categorize by theme, launch period, or audience.
* Query and filter campaigns with these attributes via API or admin tools.


---

# Agent Instructions: 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:

```
GET https://help.openloyalty.io/main-features/campaigns/custom-attributes-in-campaigns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
