# Reference Data

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

When you use [category](https://docs.adnuntius.com/adnuntius-advertising/advertising/targeting#category-targeting) or [key value](https://docs.adnuntius.com/adnuntius-advertising/advertising/targeting#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](https://307313184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHmwQqapxqiNrAwTABM%2Fuploads%2Fgit-blob-f66f963e98b3d0d524fe95fd137fca64ec59c288%2F201811%20Reports%20-%20Admin%20-%20Reference%20Data.png?alt=media)

**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="<https://307313184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHmwQqapxqiNrAwTABM%2Fuploads%2Fgit-blob-9952701444213fbb618d2cbaa76924e26760ecb7%2F202003%20Category%20RefData%20Template.txt?alt=media>" %}
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="<https://307313184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHmwQqapxqiNrAwTABM%2Fuploads%2Fgit-blob-331d84112e9b2e57c4430341e90d91b51ef5e691%2F202003%20Key%20Value%20RefData%20Template.txt?alt=media>" %}
Template for key values
{% endfile %}
