Deprecation Notice
The Marketing Version 202310 (Marketing October 2023) and earlier versions (excluding 202306 and 202307) have been sunset. Additionally, the unversioned APIs will be sunset soon. We recommend that you migrate to the versioned APIs as well as migrate to the new Content and Community Management APIs to avoid disruptions. See the Migration page for more details.
If you haven’t yet migrated and have questions, submit a request on the LinkedIn Developer Support Portal.
In addition to appearing in the LinkedIn feed, Sponsored Content can appear on LinkedIn's partner sites. Only SPONSORED_UPDATES campaigns with CPC bidding can serve Sponsored Content beyond the LinkedIn feed. CPM bidding is not supported.
To learn more about how Sponsored Content can be delivered beyond the LinkedIn network, see the LinkedIn Audience Network FAQs.
Permissions
Permission
Description
rw_ads
Manage and read an authenticated member's ad accounts. Restricted to ad accounts in which the authenticated member has one of the following ad account roles.
ACCOUNT_BILLING_ADMIN
ACCOUNT_MANAGER
CAMPAIGN_MANAGER
CREATIVE_MANAGER
r_ads
Read an authenticated member's ad accounts. Restricted to ad accounts in which the authenticated member has one of the following ad account roles.
The offsiteDeliveryEnabled flag on a campaign indicates whether or not it can be delivered off network.
Campaigns can also be excluded from certain websites or applications. This can be done by excluding IAB categories or individually specified websites/apps. See Manage Audience Restrictions for more information.
Create a Campaign with Offsite Delivery Enabled
When you create a campaign, offsiteDeliveryEnabled is set to false by default. Set it to true if the campaign should be served off network.
POST https://api.linkedin.com/rest/adAccounts/{adAccountId}/adCampaigns
{
// See link above for examples of full campaign creation request bodies.
"offsiteDeliveryEnabled":true
}
curl -X POST 'https://api.linkedin.com/rest/adAccounts/{adAccountId}/adCampaigns' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'Content-Type: application/json' \
-H 'LinkedIn-Version: {version number in the format YYYYMM}' \
-H 'X-Restli-Protocol-Version: 2.0.0'
--data '{
// See link above for examples of full campaign creation request bodies.
"offsiteDeliveryEnabled":true
}'
{
// See link above for examples of full campaign creation request bodies.
"offsiteDeliveryEnabled":true
}
curl -X POST 'https://api.linkedin.com/v2/adCampaignsV2' \
-H 'Authorization: Bearer {INSERT_TOKEN}' \
-H 'Content-Type: application/json' \
--data '{
// See link above for examples of full campaign creation request bodies.
"offsiteDeliveryEnabled":true
}'
Enable Offsite Delivery for an Existing Campaign
Existing campaigns can be updated to set offsiteDeliveryEnabled to true to enable offsite delivery. It uses the same update method as any other campaign update.