Linkedin marketing

You can retrieve information and metrics about LinkedIn campaigns using the LinkedIn Marketing Developper platform. This capability is provided by the “LinkedIn Marketing” plugin, which you need to install. Please see Installing plugins.

How to set up

Create a LinkedIn app

  • First, go to LinkedIn developper’s app creation page. There, select your company, upload a logo, agree to the terms and save.

    ../../_images/linkedin_create-app.png
  • In the Auth tab, make note of the app’s client ID and client secret.

  • Add the callback URL. This URL has to follow this model: https://{your instance domain:port number}/dip/api/oauth2-callback

  • In the Products tab, select the Marketing Developer Platform. This authorization can take more than a day to be granted. Once it is, you should see r_ads and r_ads_reporting appear in the list of available scopes.

Retrieve an access token

Follow the steps described in this Authorization Code Flow to create and retrieve an access token.

Create a preset

Create and name a preset in Dataiku App > Plugins > Installed > LinkedIn Marketing > Settings > Access token > +Add preset. Paste the access token retrieved from step 2 and save the preset

How to use

  1. From the LinkedIn Campaign Manager accounts page, choose the account(s) ID(s) for which you wish to retrieve data.

    Find you account(s) ID(s)
  2. In you Dataiku project’s Flow, add a LinkedIn Marketing recipe. In this recipe, paste the account ID retrieved in point 1. Several accounts can be selected at once by separating the IDs with commas.

Several datasets are created by the plugin. To retrieve all of them, the account should contain at least one campaign and one creative. The datasets are :