While not mandatory, AdSense suggests labeling your ads with either “Advertisements” or “Sponsored Links”. Despite 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 – for all ads or only specific placements.

Adding a label above your ads

General Label settings

In order to activate the headline added above your ads, just go to Advanced Ads > Settings > General and enable the Ad label option and adjust the label from “Advertisements” to anything you see more fit.

ad label option

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

Placement-specific label settings

Click on show more options for placements to see the following options to fine-tune the ad label for each placement. You can set it to default to use the general setting, or enable or disable the label only for this specific placement. You can also adjust the position of the label, which is often needed if the ads in the placement are floating in texts. Only placements where labels or the label position are technically possible show these options.

Label settings for placements

 

Adjusting the label styling (for CSS professionals)

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:

In order to move the position of the label below the ad, try something like this:

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 6 Votes:
1

Tell us how can we improve this information?

+ = Verify Human or Spambot ?