LinkedIn Conversions API - B2B Offline Attribution avatar

LinkedIn Conversions API - B2B Offline Attribution

Pricing

from $0.01 / 1,000 results

Go to Apify Store
LinkedIn Conversions API - B2B Offline Attribution

LinkedIn Conversions API - B2B Offline Attribution

Send offline conversions to LinkedIn Conversions API for B2B campaign attribution. Track leads, signups & purchases w/automatic email hashing. Conversion Send a conversion event Send multiple conversions List all conversion rules Get rule details Create new conversion rule Get conversion statistics

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Share

Send offline conversions to LinkedIn Conversions API for B2B campaign attribution. Track leads, signups, purchases with automatic email hashing.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: LinkedIn Marketing API OAuth 2.0 access token

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true
}

Run with real data

{
"demoMode": false,
"task": "send_conversion",
"accessToken": "YOUR_API_KEY_HERE",
"conversionType": "PURCHASE",
"currencyCode": "USD",
"isAlreadyHashed": false
}

Input Parameters

ParameterTypeDefaultRequiredDescription
taskstring"send_conversion"Yes*The operation to perform
accessTokenstring-Yes*LinkedIn Marketing API OAuth 2.0 access token
adAccountIdstring-NoLinkedIn Ad Account ID
conversionRuleIdstring-NoLinkedIn conversion rule URN
conversionRuleNamestring-NoName for new conversion rule
conversionTypestring"PURCHASE"NoType of conversion event
conversionsstring-NoJSON array of conversion objects for batch sending
emailstring-NoUser email (will be hashed)
linkedinFirstPartyIdstring-NoLinkedIn first-party ads tracking ID (li_fat_id cookie)
acrossDeviceIdstring-NoCross-device tracking ID
userAgentstring-NoBrowser user agent string
conversionHappenedAtstring-NoWhen the conversion occurred (Unix timestamp in ms)
conversionValuenumber-NoMonetary value of the conversion
currencyCodestring"USD"NoISO 4217 currency code
eventIdstring-NoUnique event identifier for deduplication
isAlreadyHashedbooleanfalseNoSet to true if email is already SHA256 hashed
webhookUrlstring-NoURL to receive results via webhook
demoModebooleantrueNoRun with sample data for testing (no external API calls)

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Conversion SentEach conversion event sent to LinkedIn$0.01

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal