Skip to main content

Meta / Facebook

Our integration with Meta supports:

Here's what you'll need to configure this partner in justtrack:

FieldFeatureDescriptionHelp
Account IDCost data, bidding, & creativesThe numerical ID that uniquely identifies a specific Facebook Ad AccountYou can find this value in the Facebook Business Manager UI, the Ads Manager UI, or by checking the Ads Manager URL.
TokenCost data, bidding, & creativesThe access token that authenticates and authorizes your application to access Facebook data via the API, with permissions determined during the token generation processDocumentation
Install Referrer Decryption KeyAttributionKey used for decrypting your Google Android attribution dataDocumentation
App IDBidding & postbacksFacebook's unique id for your app in their system. Required to target operations on your behalf.Contact justtrack support to learn how to set up Facebook campaign automation.
App URLBidding & creativesThe url to your app's page in Facebook. Required to target operations on your behalf.Contact justtrack support to learn how to set up Facebook campaign automation.
App Access TokenPostbacksThe token used to read and modify app settingsDocumentation
Page IDCreativesThe id of your app's page in Facebook. Required to target operations.Documentation

Attribution

App ID

  1. 1.Open the Meta for Developers.
  2. 2.Choose your App and Open it. You need to have the Developer Role.
  3. 3.Open Settings > Basic in the navigation.
  4. 4.You will find the App ID at the top of the page.
Facebook App ID

Install referrer decryption key

App-specific key to decrypt Facebook last-click campaign metadata provided on app install on Google Play's Install Referrer. Unique per application.

  • Open the Meta for Developers.
  • Choose your App and Open it. You need to have the Developer Role.
  • Open Settings > Basic in the navigation.
  • Scroll down you find the Install Referrer Decryption Key at the bottom of the page.
Facebook Install Referrer Decryption Key

Creative management

Transmitting creatives to Facebook is done in multiple use cases:

  1. Transmitting creative sets to existing or new ad sets
  2. Testing creatives using justtrack's creative test feature (IPM, CTR)

Supported creative sets

  • Image (1) + Headline (1-5) + Primary Text (1-5)
  • Video (1) + Headline (1-5) + Primary Text (1-5)
  • Video (1) + Playable (1) + Headline (1-5) + Primary Text (1-5)

Prerequisites

Create an app

Go to the Facebook developer site and create an app for your business account.

  1. Type = Business
  2. Display name = Justtrack
  3. App contact email = your email
  4. Business Account = select your business account

Add marketing API to your app

  • add the Marketing API
  • click Set up

Generate token

  1. Go to the Facebook Business settings
  2. Go to system users
  3. Create a system user if there is none (type employee)
  4. Add all assets to the system user you want justtrack to be able to manage. E.g. If you want to create ads for a specific app, the system user needs permissions to read the app.
  5. Click Generate token
  6. Select the just created app justTrack
  7. Select the permissions ads_read,read_insights (spend-import) and ads_management (creating ads and ad creatives)
  8. Create the token
  9. Add this token to the justtrack dashboard: admin > networks > your Facebook network(edit) > credentials > token

Needed data

Data structure
  1. Create an app in justtrack.
  2. The app you want to promote needs the network attributes Facebook App URL and FacebookPage ID. Look them up in Facebook.
  3. Add them to your app in justtrack.
  4. When you publish a creative-set to Facebook...
  5. justtrack will automatically create an ad with the name of the creative-set.
  6. But justtrack needs to know for which adSet it should create an ad. Look it up in Facebook.
  7. Add the Facebook ad set ID to the externalId of the ad Set in justtrack.
  8. Look up the Facebook Business ID...
  9. And set it to the Campaign Attribute act in justtrack.