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

# Ads Integration Guide

> Adding Ads Integration

![Ads.com Integration](https://mintcdn.com/clickflare/d1h8Zzr5N_yc2loT/images/integrations/covers/ads-com.png?fit=max\&auto=format\&n=d1h8Zzr5N_yc2loT\&q=85\&s=ea82abf735a4bb16e00dc388a155b7be)

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.

![Copy the Secret Key and be ready to use it during the integration in ClickFlare](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)

**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.**

![Under Revenue Stream Integrations, click Add Integration](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)

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

> [!NOTE]
>
> Note: Have your integrations' connection info ready before proceeding to connect it with ClickFlare.

* 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.md).
* Next, select the **Sub ID** from which ClickFlare should request the click ID parameter.

> [!NOTE]
>
> 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.

* Lastly, click on **Save.**

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.