Skip to main content

Meta Ads

Use this guide to connect Meta Ads to justtrack for Android. Here's what you'll need to configure this partner:

SourceField in justtrackExpected valueHelp
Meta for DevelopersApp IDFacebook App IDFind the App ID in the dashboard
Meta for DevelopersInstall Referrer Decryption KeyInstall Referrer Decryption KeyGet the decryption key
Google Play StoreApp URLGoogle Play Store URLFind the Google Play URL
Meta Business ManagerTokenSystem user tokenCreate a system user token
Meta Ads ManagerAccount IDMeta ad account IDFind the ad account ID
Meta Events ManagerApp Access TokenConversions API (CAPI) access tokenGenerate a CAPI token
Meta Events ManagerDataset IDDataset IDID of the dataset in Meta Events Manager

Preparation in Meta Ads​

Create an app​

Open Meta for Developers and create an app for your business portfolio:

  1. App type: Business
  2. Display name: justtrack
  3. App contact email: Your email address
  4. Business portfolio: Select your business portfolio.

Add the Marketing API to the app​

  • Add the Marketing API product.
  • Click Set up.

Meta help: Create an app.

Create a system user​

  1. Go to Ads Manager > All tools > Business settings > System users.
  2. If a suitable system user doesn't already exist, create one:
    • System user name: justtrack
    • Role: Employee
  3. Assign assets to the system user:
    • Add the app you created earlier and enable View insights access.
    • Add the relevant ad accounts and enable Manage campaigns access.

Meta help: Create a system user.

Generate a system user token​

  1. Go to Ads Manager > All tools > Business settings > System users > Generate new token.
  2. Select the justtrack app you created earlier.
  3. Set the token expiration to Never.
  4. Select the ads_read and ads_management permissions.
  5. Save the token for later. You'll need it in two places during partner configuration.

Meta help: Generate a system user token.

Generate a CAPI access token​

You need developer access to your Meta business portfolio.

Meta help: Generate an access token.

Configure Meta Ads in justtrack​

Configuration​

Meta Ads configuration in justtrack with Account ID and Token fields
  • Account ID: Your ad account ID from Meta Ads Manager.
  • Token: Your system user token from Meta Business Manager.

Tracking and attribution configuration​

Meta Ads tracking and attribution configuration with the Install Referrer Decryption Key field
  • Install Referrer Decryption Key: From Meta for Developers > Apps.

Postback configuration​

Meta Ads postback configuration in justtrack with App Access Token and Dataset ID fields
  • App Access Token: Your CAPI access token from Meta Events Manager.
  • Dataset ID: Your dataset ID from Meta Events Manager.

Campaigns​

After completing the wizard, scroll down to the following view:

Meta Ads campaign configuration with App ID, Account ID, App URL, and Token fields
  • App ID: Your Facebook App ID from Meta for Developers.
  • Account ID: From Meta Ads Manager.
  • App URL: From the Google Play Store.
  • Token: Your system user token from Meta Business Manager.