Ready to get your Paved ad network placement live in your MailChimp email newsletter? In this guide, we’re going to share with you the step-by-step instructions to get you there.
⚠️Before you start⚠️
First, make sure you know how to set up the ad network. Read the Getting Started guide.
Next, navigate to the "Code" step of the setup wizard:
How to set up targeted ads in your newsletter template
So that your placement can be easily included in future newsletters, we recommend that you put ad placement HTML in your email template rather than in a one-off email.
How to configure your ad parameters
There are two parameters required to deliver an ad: a subscriber’s email and a campaign ID to uniquely identify the newsletter sent.
We don’t store the subscriber’s email address but we do store the campaign ID to track your earnings.
Select Mailchimp from the list of ESPs and Paved will automatically insert the appropriate merge tags in the code.
How to put the ad's CSS code in the header
In your Paved account, copy the provided header code for your ad placement.
On the MailChimp home screen, click on ‘Campaigns’.
Then click on ‘Email Templates’ and find the template you want to work with.
Once you’ve found your template, click ‘Edit’ and select ‘Edit Code’.
Paste your code just above paste the </head> tag or at the top of your email template. It should look something like what you see below.
After you're done, click ‘Save & Close’ in the lower-left corner.
Click ‘Save and Exit’ in the lower-right corner of the Template Builder screen.
Where to install the ad placement HTML code
The code below is for the ad placement. It must be pasted exactly in the right location within the same code editor used before.
Paved includes some existing code from your ad template to help you locate the correct location as shown below.
Next, click the ‘copy code’ button to copy the ad placement code.
On the MailChimp home screen, click on ‘Campaigns’.
Then click on ‘Email Templates’ and find the template you want to work with.
Once you’ve found your template, click ‘Edit’ and select ‘Edit Code’.
Paste your code in the section indicated in the example provided in your Paved account.
After you're done, click ‘Save & Close’ in the lower-left corner.
Click ‘Save and Exit’ in the lower-right corner of the Template Builder screen.
Testing your ad placement
In the email designer, click the ‘Preview and Test’ drop-down menu, and select ‘Send a test email’.
Type in your email address in the ‘Send a test to’ column. Then click on ‘Send Test’.
Be sure to review the test copy of the email sent to your inbox to ensure the formatting and ad placement look correct.
If you ever need to remove code from a send, simply delete the main ad placement code. It's not necessary to remove the header code.
Next steps
Whenever you're ready, head back to your Paved account to finish the ad's setup process. Learn more in Ad Network: Getting Started