- 4 Minutes to read
- Print
- DarkLight
- PDF
Facebook Ads Connection
- 4 Minutes to read
- Print
- DarkLight
- PDF
Create Facebook Ads Connection
There are two ways to connect to Facebook with Rivery:
- Signing in with your Facebook email and password and granting the Rivery Facebook app access to your data.
- Using your own Custom App.
A new connection can be created on the river screen using the button “create a new connection” or in the connections screen.
Connection details will pop up regardless of how you create the river.
Signing In With Your Facebook Email and Password
- Insert the name of the connection in the "connection name" input
- Click on "Sign in with Facebook" button.
- Facebook connection pop up should open.
- Connect to the Facebook account that you’d like to use in Rivery.
- Click on "Save" in order to keep that account in your Rivery account.
- If nothing happens after clicking the "Sign in with Facebook" button, your browser may have blocked the pop up:
- On the right side of the URL in your browser, there is supposed to be a button of "popup blocked":
- Click on the button and select "always allow popups from Rivery".
- Click again on the “Sign in with Facebook” button and a pop up to connect to Facebook will show up on your screen.
- Click on "Test connection". If the test passes passed, you're good to go with the Facebook connection.
Configure a Custom App Connection with Facebook Ads in Rivery
Follow these steps to configure a Custom App connection for Facebook Ads in Rivery:
1. Create a Custom App in Facebook Developer Console
Go to Facebook Developer Console.
Click on Apps and then Create App.
Select Business as the app type and click Next.
Fill in the required details, such as the App Name, App Email, and Business Portfolio, and click Create App.
2. Generate API Credentials
- After creating the app, navigate to App Settings > Basic to retrieve the App ID (Client ID) and App Secret (Client Secret).
- These credentials will be used in Rivery for authentication.
3. Set Up Facebook Permissions & Features
- Add the required permissions for Facebook Ads by going to Permissions & Features. You’ll need, at minimum:
- Permissions:
ads_read
ads_management
- Features:
Ads Management Basic Access
4. Configure the Custom App in Rivery
- In Rivery, go to Connections.
- Click Create New Connection and choose Facebook Ads.
- Select Custom App as the Authentication method.
- Input the App ID (Client ID) and App Secret (Client Secret) from the Facebook Developer Console.
- Click Test Connection to authenticate with Facebook Ads.
- Click on Save in order to keep that account in your Rivery account.
5. Authorize the App
- You’ll be redirected to Facebook to authorize the app with your Facebook account.
- Grant necessary permissions to allow access to the ads data.
6. Test and Use the Connection
- After successful authorization, test the connection to ensure it is working properly.
- Once connected, you can start building data pipelines in Rivery using Facebook Ads data.
- Ensure you have admin access to the Facebook Ads account you're connecting.
- Regularly review app permissions and refresh access tokens to ensure continuous operation.
Enforce Two-Factor Authentication
- Go to your Facebook user and set your Security and Login settings to be Two-Factor Authentication.
- Click on Security & Login section
- Click on Edit - Use two-factor authentication
- Click on Use Text Message
- Create a Facebook connection in Rivery.
Your Facebook login will require to enter the user/pass and the code that you will receive to your phone.
Once you set the user and connection with Two-Factor Authentication you will not be required to create a connection again.
Add a Facebook Page to your Instagram Business Account
Optionally, you can add Facebook Pages to your Instagram Business Account to allow use of your professional account for the ads you create on Facebook.
See here for more information about the additional business tools available to you when connecting these accounts.
Prerequisites:
- Convert your account to an Instagram professional account.
- Be an admin of the Facebook Page you'd like to connect to.
Steps:
Go to your profile.
Select Edit Profile.
Under Public Business Information, Select Page.
Choose a Page from your Pages that you'd like to connect or select Create a New Facebook Page.
Manage Pages issue
In case you see this error: Facebook Error: (#100) Pages Public Content Access or no data is returned from one of the following reports: promoted pages, ads leads or adcreative. The problem may be related to a missing scope in Rivery's connection to Facebook or missing a role to the page you are trying to fetch data from.
Please go inside your Facebook connection with incognito mode from your internet browser,
If you cannot enter the settings in your connection as shown below, please clear all your cookies relevant to Facebook.
Make sure you set especially the manage_pages for all pages found in the list found in the pages.
Select all pages in the list:
Turn on the permissions you see that are relevant to your meta data extraction. If you can, switch all permissions to yes. Rivery doesn't ask for permissions that can change your pages or posts (e.g., manage pages allow reading access while** publish pages** allow Rivery read/write access). Therefore, switch Manage your Pages to yes which is used to read page posts, and page fields.
If you didn't select any pages the manage pages permission will be blocked:
Assign a Role in a page
The account you connect to Facebook in Rivery must have a proper Role in the corresponding Page you want to read from.