Use LinkedIn self-service ads to reach more than 900+ million users worldwide.
Go to siteThe LinkedIn Ads API on Pipedream enables you to automate and integrate your LinkedIn advertising efforts with other services. Fetch campaign data, manage ad accounts, or automate ad creation and adjustments. With Pipedream, you can trigger workflows with HTTP requests, emails, and on a schedule, and connect to thousands of other apps with minimal effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
linkedin_ads: {
type: "app",
app: "linkedin_ads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.linkedin.com/v2/me`,
headers: {
Authorization: `Bearer ${this.linkedin_ads.$auth.oauth_access_token}`,
},
})
},
})
Sync LinkedIn Ad Campaigns to Google Sheets: Automate the syncing of LinkedIn Ad campaign data into a Google Sheets spreadsheet. This workflow makes it easy to analyze ad performance, share reports with your team, and maintain records without manual data entry.
LinkedIn Ad Performance Alerts via Slack or Email: Set up a workflow that monitors your LinkedIn Ad campaigns for key performance metrics, and sends an alert via Slack or Email when your ads meet certain criteria, such as cost per click (CPC) thresholds or impressions goals, ensuring prompt reaction to ad performance.
Automatic Ad Pausing Based on Budget Constraints: Create a workflow that checks your LinkedIn Ad spend against your set budget and automatically pauses campaigns if spend exceeds your budget. This helps maintain control over your advertising costs without needing to check in manually.
Emit new event when a fresh response is received on the event registration form. User needs to configure the prop of the specific event. See the documentation
Emit new event when a new lead is captured through a form. See the documentation
Queries the Analytics Finder to get analytics for the specified entity i.e company, account, campaign. See the docs here
Sample query using analytics finder that gets analytics for a particular account for date range starting in a given year. See the docs here
Sample query using analytics finder that gets analytics for a particular campaign in a date range starting in a given year. See the docs here
Sends a conversion event to LinkedIn Ads. See the documentation
LinkedIn Ads uses OAuth authentication. When you connect your LinkedIn Ads account, Pipedream will open a popup window where you can sign into LinkedIn Ads and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any LinkedIn Ads API.
Pipedream requests the following authorization scopes when you connect your account:
r_ads_reporting
rw_ads
r_ads
r_basicprofile
r_marketing_leadgen_automation
r_ads_leadgen_automation
r_organization_admin
rw_conversions
r_events
GET
https://www.linkedin.com/oauth/v2/authorization
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://www.linkedin.com/oauth/v2/accessToken
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://www.linkedin.com/oauth/v2/accessToken
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}
&
redirect_uri={{oauth.redirect_uri}}