# Stores and ads

Downloads, sales and reviews come from your accounts, not the SDK. Each is connected once on the **Connect** page (the plug in the top bar), checked before it's saved, and only ever read. Keys are stored encrypted.

The page draws each step for you. Here's what it asks.

## App Store Connect

iPhone downloads, sales, reviews, store visits.

1. Make a key: **Users and Access › Integrations › App Store Connect API** › **+**, role **Finance**. [Open API keys](https://appstoreconnect.apple.com/access/integrations/api)
2. Download it: Apple lets you download the .p8 once.
3. Copy two numbers: **Issuer ID** is above the list. Vendor number: **Payments and Financial Reports**. [Open Payments](https://appstoreconnect.apple.com/itc/payments_and_financial_reports)

## Google Play

Android installs, sales, crashes, reviews.

1. Make a service account: Add a **JSON key** to it. [Open Google Cloud](https://console.cloud.google.com/iam-admin/serviceaccounts)
2. Invite its email: **Users and permissions**: tick **View app information** and **View financial data**. [Open Play Console](https://play.google.com/console)
3. Copy the reports address: **Download reports › Statistics › Copy Cloud Storage URI**. Google can take a day.

## RevenueCat

Every sale, trial, renewal and refund, as it happens. See [RevenueCat](https://apparent.fyi/docs/revenuecat).

## Mixpanel

Who used your app and what they did, brought over every 10 minutes. Your history comes along.

1. Add a service account: **Organization settings › Service accounts**, role **Consumer**. [Open Mixpanel](https://mixpanel.com/settings/org)
2. Give it your apps' projects: The secret is shown once.

## Apple Ads

Days your ads ran, what they spent and what they brought. Apple's admin login can't make API keys, so you invite a second Apple Account you own with the role **API Account Read Only**, sign in as it, and paste Apparent's public key. The Connect page walks you through it, with drawings.

## Google Ads, AdMob and Search Console

Sign in with Google and tick what's asked. Use the account your ads or site are on. Apparent finds your campaigns and your website by itself.

## Then, per app

Open the app's row and pick what belongs to it: its App Store id, Play package name, RevenueCat project, Mixpanel project. Ads are found by the store id.

> **Store numbers are late.** Apple and Google send each day 1 to 5 days after it happened, so "today" never has downloads. Today shows people from the SDK instead.
