Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Add Amazon Ads to Your WordPress Site (3 Methods)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to add Amazon ads to your WordPress site?

Amazon ads can be a great way to make money online. Plus, they have a faster and simpler approval process than other ad networks.

In this article, we will show you how to add Amazon ads to your WordPress site, step by step.

How to add Amazon ads to your WordPress site (3 methods)

What Are Amazon Ads?

Amazon ads are display ads from the Amazon network. These ads operate similarly to Google AdSense and other ad networks. However, these ads will display related products from Amazon.

You can add Amazon display ads throughout your content or at the end of your posts to encourage readers to click on them.

Native display ads will show relevant products to your visitors based on the content and their search history.

The setup process is very easy. All you need to do is add the code to your WordPress site once, and it will automatically display ads across your site. This means you earn more revenue without having to do any additional work.

There are 3 different types of Amazon native ads you can add to your site:

  • Recommendation ads show products based on the content and user’s search history.
  • Search ads let users search for Amazon products directly from your website.
  • Custom ads let you display your favorite products to your readers.

Why Add Amazon Ads to WordPress?

Amazon ads have a much faster approval process, which means you can quickly start earning money with display ads and affiliate marketing.

Display advertising is one of the most popular ways that WordPress blogs earn money.

However, a lot of advertising networks have strict approval processes, and it can take a while to get your site approved, especially if you are new.

Amazon associates ads can shortcut this waiting period. If you get approved by other networks in the future, then you can add these alongside your existing Amazon ads.

Depending on the type of site you have, these ads can convert pretty well, too.

How to Add Amazon Ads to Your WordPress Site

There are a handful of ways you can add Amazon ads to your WordPress website.

However, before you can add Amazon ads to your site, you will need to join Amazon.

Head over to the Amazon Associates program website and click the ‘Sign Up’ button.

Amazon Associates sign up

Next, you will be asked to log in to your existing Amazon account using the email and password associated with that account.

If you don’t have an Amazon account, then go ahead and create one now.

After you have logged in to your account, you will need to add additional account information and answer questions about your website. Simply follow the instructions to complete your profile.

Amazon Associates account information

Once you have finished, your application will be reviewed by Amazon. The approval process is pretty fast and much more accessible than other networks like Google AdSense.

Create Your Amazon Ads Code

Before you can add Amazon ads to WordPress, you will need to create your Amazon ad code.

To do this, open up the Amazon Associates ad editor. Then, navigate to Product Linking » Native Shopping Ads.

Amazon Native shopping ads

After that, just click on ‘Recommendation Ads’.

You can also create ‘Custom Ads’ or ‘Search Ads,’ but for this tutorial, we will focus on recommended product ads.

Create recommendation ads

Here, you will name your ad, choose your ad format, and select the product categories that products will display from.

You can also set a keyword fallback.

Add product keyword fallback

If there are no relevant products to display, then Amazon will pull a product related to that keyword.

You can also preview your ad on both desktop and mobile.

Save Amazon ad code

After you make your changes, make sure to click ‘Save and View Ad Code.’

Then, you will need to copy the ad code and paste it into a text editor. You will need this code later to embed your ads into WordPress.

Copy Amazon ad code

Now, you are ready to add Amazon ads to your WordPress site. You can use the links below to jump to the method that you want to use:

Method 1: Add Amazon Native Display Ads in WordPress

Adding Amazon display ads to WordPress is pretty simple. Plus, you will have a variety of different display options and ad types to choose from.

For example, let’s say you are writing an article about how to improve your business. You could include Amazon Native ads at the end of your post that feature books about business strategies.

Amazon ads example

The easiest way to add Amazon Ads is by using a WordPress plugin.

We recommend using the WP Advanced Ads plugin. It’s easy to use and lets you quickly embed multiple ad types into your website, including Amazon ads.

First, you need to install and activate the plugin. For more details, see our guide on how to install a WordPress plugin.

Once the plugin is installed and activated, you will have a new menu item called ‘Advanced Ads.’ From here, navigate to Advanced Ads » Ads and click ‘New Ad’.

WP Advanced Ads add new

After that, you will need to select the ad type.

Go ahead and add your title and select ‘Plain Text and Code’ as the ad type. Once that’s done, click the ‘Next’ button.

WP Advanced Ads settings

After that, paste the Amazon ad code that you created earlier.

Then, you need to click the ‘Next’ button.

Add Amazon ad code to WP Advanced Ads

On the next screen, you can choose to hide the ad from some users and pages. However, we will leave the default settings. After that, click ‘Next’.

Now, we are going to choose where our Amazon ads will be displayed. You have multiple options to choose from, including before, after, and within your content. You also have the option to display Amazon ads in your sidebar.

We are going to select ‘After Content.’ However, you can choose the option that works best for your site.

Display Amazon ads after content

Once you select your display option, your ad will now be visible on the front end of your site.

Do you want to create an Amazon affiliate site? Affiliate websites operate a little differently than sites monetized by display ads alone.

With affiliate marketing, you will earn a commission whenever a visitor clicks on your link and purchases a product.

Adding Amazon affiliate links to your site is easy with the help of the right plugin. We recommend using Pretty Links or Thirsty Affiliates. These are two of the best affiliate marketing plugins for WordPress.

The first thing you’ll need to do is install and activate the plugin. We are going to use Pretty Links. However, you can choose Thirsty Affiliates as well. For more details, see our guide on how to install a WordPress plugin.

Upon activation, you will have a new menu item in your WordPress dashboard labeled Pretty Links.

Before you create an affiliate link in Pretty Links, you will need to go to your Amazon Associates dashboard and create an affiliate link. Once you are in your dashboard, simply navigate to Product Linking » Product links.

Amazon product links

Here, you can search for the product that you want to create a link for.

Once you have found the product, click ‘Get Link’.

Get Amazon affiliate link

Next, you will need to copy the link code.

To do this, click the ‘Text Only’ navigation item, then click the ‘Short Link’ radio button.

Amazon affiliate link copy

This will bring up the affiliate link you need to copy.

Now, go back to your WordPress dashboard and navigate to Pretty Links » Add New.

Pretty Links add new

Next, you will need to name your link, add your target URL, and create your link.

Your target URL is the link you copied from your Amazon Associates account. The ‘Pretty Link’ is the shortened URL you want to use instead.

Also, make sure to choose a 301 redirect. After you have made your changes, click ‘Update’ to save the link.

Now, you can add your affiliate link to your content.

Open up a WordPress page or post. In the post editor, highlight the text you want to link and copy your affiliate link from above.

Add Amazon affiliate link

Now, when your readers click the link, they will be taken to the product in the Amazon store. If they purchase the product, then you will receive a commission.

To learn more about affiliate marketing, see our ultimate affiliate marketing guide for beginners.

Method 3: Add Amazon Popup Ads in WordPress

Another unique way to add Amazon ads to your site is with a popup. You will have complete control over when and how the popup displays on your website.

You can even personalize the popups based on user behavior, their location, the page they are viewing, and more.

The easiest way to add Amazon popup ads is by using OptinMonster. It’s one of the best WordPress lead generation plugins on the market, used by over 1.2 million websites. It allows you to add all kinds of popups to your WordPress site easily.

For more information, please see our complete OptinMonster review.

First, you will need to install and activate the OptinMonster plugin on your WordPress site. If you need help, then please see our guide on how to install a WordPress plugin.

The plugin acts as a connecter between your WordPress website and the OptinMonster software.

Once you have activated and installed the plugin, click on the ‘OptinMonster’ menu item in your WordPress admin bar.

OptinMonster main menu

After that, you will need to connect your site to OptinMonster by clicking the ‘Launch the Setup Wizard’ button.

Here, you can connect to an existing account or claim your free account.

OptinMonster setup wizard

After you have finished going through the setup wizard, your WordPress site will be connected to OptinMosnter.

To start creating a popup ad, navigate to OptinMonster » Campaigns. Then, click ‘Add New’ to create a new campaign.

Add new OptinMonster campaign

After that, you need to select the ‘Popup’ campaign type.

Next, choose the campaign template. We will select the ‘Canvas’ template since this gives us a blank template to add our Amazon ad code.

OptinMonster canvas template

Then, just enter the name of your campaign name and click ’Start Building’.

The name of your campaign won’t appear in your design, but it is for your reference.

Name OptinMonster campaign

This will open up the OptinMonster app, where you can customize the appearance of your popup.

You won’t be making that many visual changes. Instead, you will copy and paste the Amazon ad code you generated earlier.

Add a html block

First, click on ‘Blocks’, then select the ‘HTML’ block and drag it over.

In the ‘Editing HTML Element’ box, paste your Amazon ad code. It will automatically appear in the editor.

Add Amazon HTML code

You can further customize your popup by adding new blocks, headings, text, and more.

Once you are satisfied with your popup, make sure to click ‘Save,’ then click on the ‘Display Rules’ tab.

OptinMonster display rule settings

This is where we will set up your popup display options.

The default setting is for the popup to display when a visitor has been on the page for at least 5 seconds. However, you can adjust this if you want the period to be shorter or longer. After that, simply click ‘Next Step’.

You can leave the default options on the next screen. Feel free to add animation or sound effects if you’d like. Once you are done, click ‘Next Step’.

On the ‘Summary’ page, you can double-check that your display settings are correct.

After that, go to the ‘Publish’ tab and switch the ‘Publish Status’ from Draft to Publish.

Then, simply click ‘Save’ and exit the screen.

Publish OptinMonster popup

Your Amazon ad popup will now be live on your site and display for visitors after the time period you set earlier.

The best part about OptinMonster is that it’s one of the few WordPress popup plugins that gives you complete control over personalization. Their display rules are extremely powerful, and you can use them to display multiple Amazon ads targeted toward different sections of your website.

We hope this article helped you add Amazon ads to WordPress. You may also want to see our expert picks for the must have plugins for WordPress and our list of the best email marketing services to grow your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

7 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    From the point of view of making money and some monetization of the site, which of the ads do you think is more beneficial? Ads by Amazon or Ads by Google?

    • WPBeginner Support says

      There is no always right answer for that, it depends on the content and preference of the site owner and audience.


  3. kae says

    Thanks for the information. Why doesn’t WordPress allow you to copy and paste ad code into the theme editor or blog pages anymore?

    • WPBeginner Support says

      While you can still do that using HTML blocks, we recommend these other methods as they allow for easier management of the code on your site :)


  4. Maria says

    Thank you so much for this post! I have been using Amazon affiliate links but now I think i will try the Amazon ads as well.
    Thanks again!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.