> For the complete documentation index, see [llms.txt](https://docs.roivenue.com/roivenue-resources/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roivenue.com/roivenue-resources/roivenue-connectors/meta-ads-customization.md).

# Meta Ads Customization

{% hint style="info" %}
**Note:** It is advised to go through [this walkthrough](/roivenue-resources/roivenue-connectors/connectors-overview/json-structure-description.md) of the JSON structure before reading this tutorial for better understanding of the customisation process.
{% endhint %}

You can follow almost every metric and dimensions from Facebook Ads, but you need to follow one rule to make it work:

* Values in the query need to follow Facebook API documentation. You can most of the supported [metrics and dimensions here.](/roivenue-resources/roivenue-connectors/meta-ads-customization/meta-supported-columns.md)

Now, let's get to adjusting the template.

### Step 1: Decide Which Metric or Dimension to Add

Browse [this list of metrics](https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group/insights) and find the column you would like to export. Let's say you are interested in following frequency. The API call to download the metric is, simply enough, "frequency".&#x20;

![](/files/-MVu1PacXfR_EpkBJ7XD)

### Step 2: Create the Parameter in the Connector Advanced Editor

Go to your connector and enable the [Advanced Editor](/roivenue-resources/roivenue-connectors/connectors-overview/advanced-editor.md). Then find the ***parameters*** section in the query.

![](/files/-MVtwyO5dkUbymNZ_hPU)

Add the frequency metric.

![](/files/-MVtx8J3X0zGpkl69pn8)

{% hint style="info" %}
**Note:** Don't forget to add a comma to separate it from the metric in the list before it.

**Note 2#:** Watch out. JSON and its parameters are case-sensitive
{% endhint %}

### Step 3: Define the Metric

The last step is to add it to the dataset as a metric. It is very important as to call a parameter without a definition assigned to it, can lead to an error. To do this, add the new metric to the "transform list".

![](/files/-MVtxagCvz9U48yvHWyt)

The ***Code*** defines the name of the column.

The ***Source*** parameter is referring to the source parameter above the transform parameter. JSON will go and check if there is the same source(in this instance "frequency") and if it is, it will populate the column with those data.

After that, you are ready to save the adjustment and test it in the preview. In your newly customised template the results in your Excel sheet should look like this.

![You should see a new column in a Data Preview](/files/-MW9FXvWPrYjX1gNrhaK)

{% hint style="info" %}
**Note:** If you are not sure what to do, contact your Client Success Manager. We will be happy to help you.
{% endhint %}
