# Reference Data

{% embed url="<https://youtu.be/kab41KKWXWA>" %}
How to upload reference data.
{% endembed %}

When you use [category](/adnuntius-advertising/admin-ui/advertising/targeting.md#category-targeting) or [key value](/adnuntius-advertising/admin-ui/advertising/targeting.md#key-value-targeting) targeting on line items or creatives, it can be hard to remember how a categories (as defined by the URL structure) are designed on your site, or which key values are being sent with the ad requests. Reference data lets you upload a text file that creates a library of categories and key values that you can choose from, rather than remember them all.

![Example category targeting where reference data has been added](/files/-LSBHE7BWkgaJNW4KZ4s)

**Category uploader**: Just create a .txt file where each line specifies a new category that you want to add. Below is a template that you can download and use if you are in doubt.

{% file src="/files/-M3D4ojZ4VLTEsOArK95" %}
Template for categories
{% endfile %}

**Key value uploader**: Just create a .txt file where each line specifies a new key-value entry and commas separate the data like so: mykey, myfirstvalue, mysecondvalue. Below is a template that you can download and use if you are in doubt.

{% file src="/files/-M3D5AzqONG\_MMTApD9u" %}
Template for key values
{% endfile %}


---

# 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://docs.adnuntius.com/adnuntius-advertising/admin-ui/admin/reference-data.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.
