---
title: "Android App campaigns"
description: "Create a Google Ads App campaign for installs (UAC) to promote your Android app. Google optimizes the campaign for the trials and purchases that Adapty sends."
---

> **AI agents**: to search Adapty docs faster and with fewer tokens, install the Adapty skills: `npx adapty skills install --yes`

Use this guide for the following Google Ads setup:

- **What you advertise**: An Android app on Google Play.
- **Campaign type**: App campaigns for installs (UAC). They show your ads in Google Search, Google Play, YouTube, and other apps and websites. Each ad leads to the Google Play page of your app.

In Adapty Attribution, App campaigns for installs (UAC) only work for Android apps. To advertise an iOS app or a web funnel, use [Search and Performance Max campaigns](google-ads-search-pmax-campaigns).

## How it works

When you connect your App campaigns to Adapty Attribution:

- Google receives trial and purchase events from Adapty.
- Using the information from Adapty, Google bids for people who are likely to start a trial or buy a subscription, not just install your app.
- Adapty Attribution shows the revenue and ROAS of each campaign, ad group, and ad, with the spend that Adapty pulls from Google Ads.

In this guide, you create an App Link ID in Google Ads and add it to Adapty Attribution. Through this link, Adapty sends each new install to Google. If the user came from an App campaign ad, Google returns [the campaign, ad group, and ad](ua-google-ads#app-campaigns-android) to Adapty.

## Before you begin

Make sure that:

- Your app is on Google Play, released in production or in an open test with no tester limit.
- The Adapty SDK in your app has [Adapty Attribution enabled](user-acquisition#step-1-enable-adapty-attribution-in-the-sdk).
- You have a Google Ads account in [Expert Mode](ua-google-ads#before-you-begin), so that you can create App campaigns.
- Your Google Ads account has a payment method.
- Your Google account, such as you@appname.com, has the [**Admin** access level](ua-google-ads-settings#set-account-permissions) in your Google Ads account. You need this access level to create the App Link ID.
- Your Google account is [connected to Adapty Attribution](ua-google-ads-settings#connect-your-google-account).

## Set up the App Link ID and the campaign

Through your connected Google account, Adapty refreshes the spend of your campaigns every 4 hours. App campaigns also need a link for the app itself, called an App Link ID. Through this link, Adapty sends installs, trials, and purchases of your app to Google. You don't need a new link for each campaign.

If you already run App campaigns for your app, choose which campaign to use with Adapty Attribution. Create a new campaign, otherwise you can't take full advantage of the Adapty Attribution capabilities.

| Campaign | Installs and revenue in Adapty Attribution | Google optimizes for trials or purchases | Steps to follow |
|---|---|---|---|
| An existing campaign | ✅ without past installs | ❌ | [Steps 1–3](#create-the-configuration-in-adapty-attribution) |
| A new campaign (recommended) | ✅ | ✅ | Every step of this guide |

### 1. Create the configuration in Adapty Attribution \{#create-the-configuration-in-adapty-attribution\}

1. Switch to the app that you want to advertise.
2. Go to **Integrations** > **Google Ads**. On the **App Campaigns** tab, click **Create configuration**.

3. Copy the **Provider ID** value. You need it to create the App Link ID in Google Ads.

### 2. Create the App Link ID in Google Ads \{#create-the-app-link-id-in-google-ads\}

1. Click the **Tools** icon and select **Data manager**.
2. Click **+ Connect Product**, select **Third-party app analytics**, and click **Continue**.
3. Click **Create link ID**.
4. From the provider list, select **Other provider** and paste the **Provider ID** you copied from Adapty Attribution.
5. Select **Android** as the platform and find your app in the **Look up your app** field.
6. Click **Create link ID** and copy the generated link ID.

:::note
Google Ads shows the link ID as **Unverified** until it receives the first event from Adapty.
:::

### 3. Add the link ID to Adapty Attribution \{#add-the-link-id-to-adapty-attribution\}

1. Go back to the configuration that you created in [step 1](#create-the-configuration-in-adapty-attribution). Paste the link ID into the **Android App Link ID** field. You can only use each link ID in one configuration.

2. [Select which events Adapty sends to Google](ua-google-ads-settings#map-events). To report revenue to Google for started trials, set up [Revenue override](ua-google-ads-settings#revenue-override). To only send Google the trials that users keep, set up [Qualified trial](ua-google-ads-settings#qualified-trial).
3. Click **Save**.

### 4. Send test events \{#send-test-events\}

The first time Google Ads receives an event, Google creates a conversion action that counts the event. To have the conversion actions ready before you create the campaign, send a test event for each event to optimize for:

1. In the configuration, click **Send test event**.
2. For the event to optimize for, select or type its Google event name, such as `in_app_purchase`. Then, click **Send**. Adapty reports the result in a notification.
3. If the conversion action for the event doesn't appear in Google Ads after a successful test event, import the event as a conversion action. Google describes the steps in [Measure app conversions with third-party app analytics](https://support.google.com/google-ads/answer/7382633).

For Google Ads to accept the first installs from the campaign, publish it after a test event succeeds. A new link ID takes about 24 hours to activate in Google Ads, so test events can fail until then. If a test event fails, follow [Test event fails for a new link ID](#test-event-fails-for-a-new-link-id).

### 5. Optimize your campaign for trials or purchases \{#optimize-your-campaign-for-trials-or-purchases\}

By default, Google counts the events from Adapty in reports, but doesn't use them to optimize bidding. To change this for the event to optimize for, edit the conversion action that counts it:

1. In Google Ads, go to **Goals** > **Conversions** > **All conversions**.
2. Click the conversion action to optimize for.
3. Select the **Settings** tab.
4. Click the **Action optimization** setting. Select **Primary action used for bidding optimization**, and click **Save**.

### 6. Create and publish a new App campaign \{#create-the-app-campaign\}

Create a new App campaign, even if you already run App campaigns for your app. Google advises against changing the event to optimize for in a running App campaign.

1. In Google Ads, open the **Campaigns** menu and select **Campaigns**. Click the plus button and select **New campaign**.
2. Select **App promotion** as the objective, and **App installs** as the campaign subtype.
3. Select **Android** as the platform. Then, find your app by its name, package name, or publisher.
4. Enter a campaign name and click **Continue**. Then, select the locations to target.
5. Select the languages of your ads. Google doesn't translate them.
6. On the **Budget and bidding** page, select **In-app actions** from the **What do you want to focus on?** dropdown.
7. Under **Which actions are most important to you?**, select the conversion action that you edited in [step 5](#optimize-your-campaign-for-trials-or-purchases). Google recommends one action per campaign.
8. Enter the target cost per action. If you already run campaigns, base the amount on the **Cost per trial** or **Cost per subscription** that [Adapty Attribution analytics](ua-analytics) shows for them.
9. Set the daily budget to at least 10 times the target cost per action, as Google recommends.
10. Add your ad assets: a few headlines, descriptions, images, and videos. Google assembles the ads from them.
11. Click **Publish campaign**.

## After you publish

- **Wait for the ad review**: Google reviews each ad before it runs. During the review, the ad status is **Under review**. Most reviews finish within one business day. Once the ad passes the review, its status changes to **Eligible**, and the ad starts to run.
- **Avoid large changes while Google learns**: Google bidding usually needs 1–2 weeks to learn which clicks bring the conversions that Adapty sends to Google. If you edit the campaign in this period, you can disrupt the learning. Keep the event to optimize for unchanged. Adjust the budget or the target cost per action by no more than 20% at a time.
- **See the installs, revenue, and ROAS in Adapty Attribution**: Open [Adapty Attribution analytics](ua-analytics). Adapty refreshes the spend, impressions, and clicks from Google Ads every 4 hours.

## Troubleshooting

### Test event fails for a new link ID

A new link ID takes about 24 hours to activate in Google Ads. Until then, Google Ads rejects events from Adapty, so a test event fails even if the setup is correct.

Wait 24 hours and send the test event again. Don't replace the link ID in the meantime: a new link ID takes another 24 hours to activate.

If the test event still fails after 24 hours, verify the **Android App Link ID** field in the configuration. It must contain the link ID from **Data manager**, not another Google Ads identifier.

Once a test event succeeds for each event to optimize for, continue with [Optimize your campaign for trials or purchases](#optimize-your-campaign-for-trials-or-purchases).

### Google Ads shows no conversions from Adapty

To see the conversions that Adapty sends to Google, in Google Ads, go to **Goals** > **Conversions** > **All conversions**. If the event to optimize for has no conversions there, make sure that:

- A [test event succeeded](#send-test-events) for the event.
- Google [optimizes bidding for the event](#optimize-your-campaign-for-trials-or-purchases).
- You selected the conversion action in your App campaign, under **Which actions are most important to you?**.

### App campaigns show fewer installs from the EEA and the UK

To protect the privacy of users in the European Economic Area and the United Kingdom, Adapty marks the events it sends to Google as not consented for ads. As a result, Google may credit fewer of their installs to your App campaigns. Your setup works as intended.