- 2 Minutes to read
- Print
- DarkLight
- PDF
LinkedIn Ads Connection
- 2 Minutes to read
- Print
- DarkLight
- PDF
Introduction
This document provides a comprehensive guide on connecting Rivery to LinkedIn Ads, both using a LinkedIn user and a Custom Application. It outlines the steps necessary to establish these connections, ensuring that you can seamlessly integrate LinkedIn data into Rivery for reporting and advertising purposes.
Connecting Using LinkedIn User
Just press on Connect With LinkedIn button. In the pop-up, fill your username and password, and then approve Rivery to get reporting and ads data from LinkedIn.
Connecting Using Custom Application
In some cases, the client wants to use their own application for LinkedIn.
Therefore, In this process, you would connect to your LinkedIn application with your LinkedIn credentials. If the authentication succeeds, an access token will be generated and Rivery will use this token to connect to your LinkedIn account.
The requirements to create a LinkedIn connection are :
1. A valid and working LinkedIn application.
2. Have the scopes "r_ads_reporting" and "r_ads" in that application.
3. Have a personal account in LinkedIn.
Follow these next steps to create a new connection :
- Click on create a new connection.
- Enter the connection name
- Enter the client id and client secret of the related LinkedIn application. These details can be found in the main screen of the LinkedIn application.
Important : You need to add the the Rivery URL to the list “Authorized Redirect URLs” in your LinkedIn application:
1. Insert the url“https://console.rivery.io/api/oauthcallback/linkedin ” into the textbox and click on add.
2. Once that url is being added to the list, click on the “update” button to save the changes.
Getting back to Rivery, make sure that the client id, client secret, and the scope were inserted properly and click on the “connect with LinkedIn” button.
If the LinkedIn application was configured properly according to the setting above, a popup will appear with a login page to LinkedIn:
7 . Enter your LinkedIn details and click on allow access.
8. If your LinkedIn user has an access to this LinkedIn application, the authentication will be successful and a confirmation will appear in the connection in Rivery.
- Click on Save in order to save that connection in Rivery.
Connection Troubleshooting
LinkedIn access tokens are issued with a 60-day lifespan by default. A common connection error message in this case will appear as:
Testing connection to LinkedIn Failed: 'Failed to refresh access token. Status: 400, Error: The provided authorization grant or refresh token is invalid, expired or revoked'.
To create a new access token, please follow these steps:
- Remove the current connection.
- Reconnect to your LinkedIn account.
- This action will generate a refreshed token, valid for an additional 60 days.