> ## Documentation Index
> Fetch the complete documentation index at: https://clickflare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Ads Integration Guide

> Adding Ads Integration

Thanks to ClickFlare's API integration with Ads, you'll be able to have conversions and revenue accurately pulled automatically into ClickFlare.

The revenue and conversions are pulled with a frequency of every hour for 3 days, from the moment that the conversion happens. So you're assured to have always the most up-to-date revenue

In this article, we'll go over the step-by-step process of setting up the API Integration with Ads.

**What you'll need for the integration:**

* An active Ads Account
* An active ClickFlare Account
* Your Ads *login credentials* and *Secret Key*

**Where can I find my Ads Secret Key?**

Start by:

* Logging in into your Ads Account.
* Go to the **Tracking** section, which you can access from the left-side menu (icon at the top left).
* Click on the **API Tab.**
* Copy the *Secret Key* and be ready to use it during the integration in ClickFlare.

<img src="https://mintcdn.com/clickflare/HWEFUWc8ESwPCjai/images/help-center/05-integrations/04-revenue-stream-integrations/02-ads-integration-guide-01.png?fit=max&auto=format&n=HWEFUWc8ESwPCjai&q=85&s=a94ce321451f0eded623bdead1dd6cb5" alt="Copy the Secret Key and be ready to use it during the integration in ClickFlare" width="1736" height="788" data-path="images/help-center/05-integrations/04-revenue-stream-integrations/02-ads-integration-guide-01.png" />

**Adding the Ads integration to ClickFlare**.

To add Ads integration to your ClickFlare account, begin by accessing the **Integrations Menu,** found in the *Settings Menu* (*gear icon*).

* Under *Revenue Stream Integrations*, click **Add Integration.**

<img src="https://mintcdn.com/clickflare/HWEFUWc8ESwPCjai/images/help-center/05-integrations/04-revenue-stream-integrations/02-ads-integration-guide-02.png?fit=max&auto=format&n=HWEFUWc8ESwPCjai&q=85&s=76cccd193e18e4bd793f0a6b60931586" alt="Under Revenue Stream Integrations, click Add Integration" width="807" height="608" data-path="images/help-center/05-integrations/04-revenue-stream-integrations/02-ads-integration-guide-02.png" />

* Give your new integration a **name**.

<Info>
  Note: Have your integrations' connection info ready before proceeding to connect it with ClickFlare.
</Info>

* Proceed to selecting **Ads** from the list of integration types.
* Enter your **Username**, **Password**, and **Secret key**.
* Move on to choosing the **custom conversion,** you want to attribute the conversion event to.

  To learn how to add a custom conversion in ClickFlare, follow our article [here](/docs/en/settings/custom-conversions).
* Next, select the **Sub ID** from which ClickFlare should request the click ID parameter.

<Info>
  Note: You can choose any of the available sub-IDs. Once you've selected a sub-ID, remember to consistently use it when passing the click ID while creating offers for this feed.
</Info>

* Lastly, click on **Save.**

  You’ll see the new integration appear under the Revenue Stream Integrations section.
