Skip to main content

Salesforce Marketing Cloud: Ad Network Placement

Learn how to set up the Paved ad network placement in your Salesforce Marketing Cloud email newsletter.

Before you start

  • Make sure you know how to set up the ad network. Read the Getting Started guide.

  • Navigate to the "Ad Unit Codes" step of the setup wizard in your Paved account to retrieve your header code and ad unit code.

Merge tags for this ESP

Paved will automatically insert the correct merge tags when you select Salesforce Marketing Cloud from the ESP list in your account. For reference, the tags used are:

  • Email ID: {{Recipient.Email}}

  • Campaign ID: {{Current_Day}}{{Current_Month}}{{Current_Year}}

How to install the header code

In your Paved account, copy the provided header code for your ad placement.

  1. In Salesforce Marketing Cloud, go to Content Builder and create a new HTML Paste email.

  2. Paste your full email HTML into the editor.

  3. Locate the </head> closing tag.

  4. Paste your Paved header code directly above the </head> tag.

  5. Click Save.

How to install the ad unit code

  1. In your Paved account, click Copy Code to copy the ad unit code.

  2. In the Content Builder HTML editor, locate the position in the email body where the ad should appear.

  3. Paste the ad unit code at that location.

  4. Click Save.

Adding the ad to a reusable template

To avoid re-inserting the ad code with every send:

  1. Save the HTML with the Paved ad unit code included as a template in Content Builder.

  2. Select it when creating new email sends.

Testing your ad placement

Use your ESP's preview to check the visual layout before sending.

⚠ Do not send a test email. Do not use test sends to verify your Paved ad. Test emails often strip or fail to populate merge tags, which will cause a broken ad request. Instead, send a real email to:

  • The Paved draft email address provided in your Paved account

  • Yourself and/or your team

  • Your Paved account manager (if applicable)

Next steps

Head back to your Paved account to finish the setup process. Learn more in Ad Network: Getting Started.

Did this answer your question?