While not mandatory, AdSense suggests to label your ads with either “Advertisements” or “Sponsored Links”. Dispite from the AdSense program policies, you might want to add such a label to reduce confusion between your editorial content and ads.

Advanced Ads offers you a way to add a label above your ads. The following documentation shows you how to use and fine-tune this option.

Adding a label above your ads

In order to activate the headline added above your ads, just go to Advanced Ads > Settings > General and enable the Ad label option.

Once you enabled this option, you can change the label from the default “Advertisements” to anything you like.

Please keep in mind that when using AdSense, only “Advertisements” or “Sponsored Links” are allowed according to the program policies.

Limitations of the label

The label is currently added to all ads, except the ad Slider. In order to change or adjust this behavior for each ad, please refer to the section below.

Adjusting the label styling

The styling of the ad label depends on your theme. The default html markup looks like this:

Please note that the class attribute might be adjusted depending on the prefix option you set up in the general settings of Advanced Ads. prefix-  is just the sample prefix and needs to be exchanged against the setting found in the ID prefix option.

You can use this class in order to apply custom css rules to the label.

In order to float the label left, even when the ad is centered, adjust and use the following CSS rule:

In order to make the font size smaller, use this rule:

Adjusting the label code or markup

You can adjust the markup of the label using the  advanced-ads-custom-label  filter.

In order to apply labels only to individual ads or ad types, see this tutorial.


 Publishing Ads  
Total 5 Votes:

Tell us how can we improve this information?

+ = Verify Human or Spambot ?