How to Install the Ad Network Placement on MailerLite

Ready to get your Paved ad network placement live in your MailerLite email newsletter? In this post, we’re going to share with you the step-by-step instructions to get you there. 

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 MailerLite from the list of ESPs and Paved will automatically insert the appropriate merge tags in the code. 

How to put the ad code in the header

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

On the MailerLite home screen, click on ‘Campaigns’ then ‘Create Campaign’ and select the type of campaign you want to create. In this example, we will use ‘Regular Campaign’.

Then enter your campaign information and select ‘Next: Content’.

Then select ‘Custom HTML Editor’.

This will open the HTML editor where you can choose to paste in your template code, import a file, or import a URL. 

Once in the HTML editor, paste your code just above the </head> tag in the HTML editor on the right side of the screen. It should look something like what you see below.

After you're done, click ‘Save’ in the bottom left corner of the editor. Leave this page open as you will return to it in the next task.

Where to install the ad placement 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. 

In your MailerLite template editor, paste your ad placement code in the section indicated in the example provided in your Paved account. It should look something like what you see below.

After you're done, click ‘Save’ in the bottom left corner and then ‘Done Editing’ in the top right corner.

Testing your ad placement 

After you select ‘Done Editing’ it will then take you to the next step in campaign where you will add the recipients for your campaign. When done, select ‘Next: Review and confirm’.

On the next screen, scroll down to ‘Content’ and select ‘Send test email’.

It will then bring up a box where you can put in your email address and select ‘Send’.

Be sure to review the test email sent to your inbox to ensure formatting and ad placement look correct. 

Closing notes

To remove code from a send, simply delete the main ad placement code. It is not necessary to remove the header code.

Still need help? Contact Us Contact Us