1. Home
  2. Extension & Themes
  3. Advanced AMP Ads
  4. How to Add Adsense Link Ads in AMP

How to Add Adsense Link Ads in AMP

To create a new link ad unit that you can manage within your AdSense account, follow these steps:

  1. Sign in to your AdSense account.
  2. Click Ads.
  3. Click Ad units.
  4. Click Link ads.

let’s have a look at Adsense Link Ads Sizes

Link Ads

There is a total of 7 types of Links ads in Google Adsense. Among 7 there are only 4 link Ads, which Appear best and perform well in AMP.

  1. Responsive – Unsupported in AMP X
  2. Horizontal Large 728×15 – Bad Appearance X
  3. Horizontal Medium 468×15 – Bad Appearance X
  4. Vertical X-Large 200×90 – Best Appearance
  5. Vertical Large 180×90 – Best Appearance
  6. Vertical Medium 160×90 – Best Appearance
  7. Vertical Small 120×90 – Best Appearance

How to get Data Ad Client & Data AD Slot:

  1. Choose link Ad size > Generate Ad Code.
  2. Copy Ad Code
  3. Paste Ad Code in a Notepad
  4. you can get Data Ad Client & Data AD Slot from Adsense code itself.

Data Ad client

Once you get “data-ad-client” and “data-ad-slot” you need to follow below steps

In order to place link Ads in Accelerated Mobile Pages, one must use Advance AMP Ads Extension. If you don’t know, how to install Advance AMP Ads Extension Plugin, Here is a Quick guide, which lets you install Advance AMP Ads Extension.

First, go to WordPress Admin Area -> AMP option panel -> Advance AMP Ads

I am choosing Incontent Ad #1 & Incontent Ad #2,  for better understanding the Use of Link Ads in AMP. I am going to place two Different link Ads to show how they perform.

 Incontent Ad #1

  • Incontent Ad#1: First, enable this option.
  • Advertisement Type: Choose Ad Network. Here I am choosing Google Adsense because I want to show Google Adsense Link Ads.
  • Position: Choose Where do you want to show Ads? Here I want to show Ads After 1st Paragraphs
  • Width & Height. These two are Mandatory fields.
  • Data AD Client: Enter Data Ad Client. It is nothing but Your Adsense Publisher ID.
  • Data AD Slot: Finally Data AD Slot. Data AD Slot is a Unique Ad Id which is available inside the Ad code.

For instance, I chose 728×15, let’s see how it looks in AMP

You can see, how small does 728×15 look in AMP.

 Incontent Ad #2

So I recommend you to choose link ads which are having Appropriate Width and Height. For example, consider 200×90

In Incontent Ad #2, I chose Adsense Link Ad size 200×90.

Let’s see how 200×90 Link Ad appear in AMP

200×90 looks perfect in AMP version of your website. Isn’t it?

So it is recommended to use Adsense Link Ads which are having Appropriate Width & Height.

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on December 16, 2019

    Are you still looking for a solution?

    Then fill out the below form and we will reach out to you within a few hours.

    Was this article helpful?

    Related Articles


    1. Pingback: Getting Started With AMP - AMP for WordPress

      1. Hi,

        We can use Advertisement tab option in the AMP Setting> Advertisement instead of Advance AMP Ads option for Adsense Ads only.

      2. We can use Advertisement option instead of Advanced AMP Ads for Adsense only. If you want to add the third party ads like Taboola, DoubleClick, etc, you can use the Advanced AMP Ads Extension.

        You can find this option in AMP Setting > Advertisement.

    2. 200×90 generally shows two advertisers links. Responsive link ads unit shows up to 4 advertisement. Now if I need to add that, how will I?

    3. I am getting an error when I activate the Paid AMP ADS extension:

      The tag ‘amp-ad extension .js script’ is missing or incorrect, but required by ‘amp-ad’. This will soon be an error.

      I deactivated the plugin extension, tested and the error was not there anymore. Deleted the plugin extension, reinstalled and the error is back.

      Help!! What can I do?

    4. I don’t know if this helps but yesterday I installed the plugin onto another site (they have their license) but I didn’t ask them for their zip file. Can that be causing this issue?

    5. How to add AMP auto ads using the plugin? Please help me since it is not working. 🙁

      1. Hi Ravi Singh,

        Will you please elaborate more about your issue so that we will understand and help you.

    6. Adsense auto ads on AMP Plugin not working, how can you help me fix it.

    Leave a Comment