Integrating Facebook Marketing
Capabilities
DataGrail's Facebook Marketing integration provides the following capabilities:
Product | Capability | ||||
---|---|---|---|---|---|
Request Manager |
|
Before You Start
To successfully configure this integration, please ensure you have sufficient privileges:
- DataGrail User Role: Super Admin, Connections Manager
- Facebook Marketing User Role: Admin
Create a Facebook Developer Account
If you already have a Facebook Developer account, please proceed to the next step.
- Log in to your Facebook account.
- Open https://developers.facebook.com/ and select Get Started in the menu on the top.
- You will be prompted to register your Facebook Developer account. Follow the wizard's instructions and register your account.
Create a Facebook App
If you already have a Facebook App that you want to use, please proceed to the next step.
- On the Developers Page, select My Apps in the top menu, then select Create App.
- Connect your Business Portfolio and select Next.
- For Use Case, select Other and select Next.
- For App Type, select Business and select Next.
- Fill the form with the following data:
App Details
- App Display Name:
DataGrail
(or anything you prefer) - App Contact Email: (Your contact email)
- Business Portfolio (Optional): (Your Business Portfolio)
- Business Manager Account (Optional): (Your Business Manager Account)
- Select Create app.
- Select App Settings > Basic in the left menu.
- Enter your Privacy Policy URL and Terms of Service URL, then select Save changes.
Create an Access Token
- Go to https://developers.facebook.com/apps/ and select the App you want to use for DataGrail.
- On the left panel of the App page select Add Product.
- Find the Marketing API Tile and select Set Up.
- Select Tools from the left menu.
- Check all three token permission types:
Required Permissions
ads_management
ads_read
read_insights
- Select Get Token.
- Copy the generated Access Token and store it in a secure, temporary location.
Accept Terms of Service for each Ad Account
- Log in to Facebook and visit https://www.facebook.com/adsmanager/manage/accounts.
- Find your Ad Account IDs in the top left section, under Account Overview.
- For each Ad Account used, go to
https://business.facebook.com/ads/manage/customaudiences/tos/?act={ad_account_ID}
, where{ad_account_ID}
is substituted with your Account ID at the end of the URL. - Accept the Terms of Service for each Ad Account.
Connect to DataGrail
- Navigate back to DataGrail.
- Enter the Access Token.
- Select Configure Integration.
Next Steps
Now that you've successfully connected the integration, check out the following resources:
Troubleshooting
If you are unable to successfully connect the integration, review these common troubleshooting steps:
Ensure Required Permissions Are Granted on API Keys/Resources
DataGrail checks required permissions and scopes on API keys/resources used by each integration. If all necessary permissions are not granted, new connections will fail.
Review Required Account Types and User Roles
If users do not have the necessary permissions or the minimum required user role in the connecting system, the connection to DataGrail will fail. Additionally, connections will fail if your account type does not match the one required by the integration.
See Before You Start to review these requirements.
API Documentation
Learn more about this API implementation and DataGrail functionality in our API Integration Documentation.
Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.