LinkedIn Video Ads Editor SDK

Cover images for video ads, in your ad platform

Your users park the playhead on the frame they want and click Save Cover, a button your app adds next to Export Video. CE.SDK exports that frame as a JPEG with the width and height of the video, the match LinkedIn asks for when an ad comes with its own thumbnail.

Available for
Web
Mobile
Desktop

Trusted by 100+
industry leaders

Digitas
Omneky
The Print Bar
Brandwatch
Planoly
HP
Shopify
Reuters
Hootsuite
Semrush
Shutterfly
one.com
Sprout Social
Constant Contact
Spread Group

What one 30-second ad shows at four different seconds

This ad for a weekly email for freelance bookkeepers opens on bare paper while a note card rises into view, so a cover taken from its first frame would show nothing. By 24.6 seconds the counter has stopped at 3,412 readers, and at 28.5 seconds the name and the offer share one frame.

Four frames of the Closefold ad in a grid: at 0.0 s an empty paper page, at 7.5 s a headline with its second line still fading in, at 24.6 s a counter reading 3,412 bookkeepers read it every Tuesday, and at 28.5 s the Closefold logo above Free, every Tuesday

A cover button beside Export Video

The video editor starter kit has one export action, Export Video, which saves the MP4. Your developers add Save Cover as a second button next to it. It exports the frame at the playhead as a JPEG at the video’s width and height and hands the file to your platform, as a download or straight to your upload step.

Your platform can also take the cover from a set second without a click, for example at the moment users publish the ad.

Add a Save Cover button to the navigation bar
// A Save Cover button next to Export Video
cesdk.ui.insertOrderComponent(
  { in: 'ly.img.navigation.bar', before: 'ly.img.exportVideo.navigationBar' },
  {
    id: 'ly.img.action.navigationBar',
    key: 'save-cover',
    label: 'Save Cover',
    icon: '@imgly/Download',
    onClick: async () => {
      const adPage = engine.scene.getCurrentPage();
      // The frame under the playhead, as wide and tall as the video
      const cover = await engine.block.export(adPage, {
        mimeType: 'image/jpeg',
        jpegQuality: 0.9,
        targetWidth: engine.block.getWidth(adPage),
        targetHeight: engine.block.getHeight(adPage),
      });
      cesdk.utils.downloadFile(cover, 'image/jpeg');
    },
  },
);

An ad and its cover at the same size

The still you see before pressing play is the cover Save Cover made at 24.6 seconds, a 1920 by 1080 JPEG of 43 KB, well under the 2 MB LinkedIn allows for a thumbnail. The MP4 behind it came from Export Video and is 1920 by 1080 as well.

Get in touch

Let users pick a cover from any frame

Tell us which video ads your users make in your app, and we’ll get back to you with a custom quote for your use case.

LinkedIn video ads editor FAQs

Before picking a cover, users can trim the clips of an ad in CE.SDK’s video editor. For the 4:5 or square version LinkedIn also takes, see the Instagram video editor.

It is CE.SDK embedded in your ad platform, so marketers make the whole LinkedIn video ad there. They edit it on a timeline and export the MP4, and with a button your app adds, they save any frame as the ad's cover image.

The thumbnail is optional. LinkedIn takes a JPG or PNG of up to 2 MB and asks that its aspect ratio and resolution match the video, as its video ads advertising specifications put it. A cover exported at the ad's own width and height meets that.

The frame under the playhead, exactly as it renders at that second. A frame taken in the middle of an animation keeps it half done, which is why the 7.5 second frame above shows its second line still fading in.

The video editor's own export button saves the MP4 only, so your developers add a cover button like the one above. Your app can also export the cover with no button at all, for example from a set second of the ad when users publish it.

Yes. Your developers switch the export format to PNG, which LinkedIn accepts as well. A flat design like this one stays far below the 2 MB limit as a PNG, while a frame full of photo footage compresses less well, and JPEG keeps such a frame smaller.

Yes. Both export a frame as an image with the same engine call. On iOS your code first sets the video to the second it wants, and on Android it seeks the timeline and pauses playback before the export.