Create LinkedIn ads with macros

Last updated: 4 weeks ago

LinkedIn macros allow you to generate personalized ad content for each recipient. When you use macros like %FIRSTNAME% or %LASTNAME% during ad creation, the member’s personalized information appears in the ad copy when the campaign is live. Macros are supported for Sponsored Messaging (message and conversation ads), dynamic ads, and conversation assets used in click-to-message ads.

Macro functionality

When using macros, the text must be in all capital letters. For example, %firstname% won't work as a macro, use %FIRSTNAME% instead. 

There are two instances where macros won’t function as expected: 

  • If a member turns off ad personalization in their privacy settings.
  • If a member doesn’t have an active job position listed in their profile.

In both instances, the macro will fail to load and will revert to using generic language. The following table illustrates the text that's used when ad personalization is disabled.

Macro Text used when ad personalization is disabled
%FIRSTNAME% LinkedIn Member
%LASTNAME% LinkedIn Member
%COMPANYNAME% your company
%JOBTITLE% professional
%INDUSTRY% industry

Related tasks

Learn more

People also viewed