Advanced Ads offers you a way to add a label above your ads . You can choose, if the Ad label should be displayed for all ads or only specific Placements.

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

Usage

Enabling the Ad label above your ads

In order to activate the Ad label, go to Advanced Ads > Settings > General and enable the Ad label option. You can type your own phrase into the text field to customize it.

You can customize your Ad Label with own words

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

Ad label settings in the Placements

You can configure the position of your Ad label in the settings of a Placement. Not all Placements offer the option to set an ad label (e.g. the invisible Header Code Placement for setting Facebook Pixels or similar source code).

Go to Advanced Ads > Placements and click on show all options. You can enable or disable the Ad label individually for every Placement. The default option uses your general settings.

Setting up an Ad label in the Placement options

You can individually adjust the position of the ad label and align it to the left, center or right side inside your layout. The default option uses the position you defined in the general settings.

Please note: the alignment of an ad label overrides the position of an ad, which you have configured in the Layout / Output settings of an ad unit.

Customizing the Ad label

Adjusting the label styling (for CSS professionals)

You can customize the style of your ad label with the use of some CSS. The styling of the ad label depends on your theme. If you are familiar with it, you can use use the code snippets below to format the CSS and edit the PHP of your WordPress theme. With Advanced Ads Pro, you can more easily style each ad and its appearance with the Custom Code feature directly in the Layout / Output options of an ad unit.

Useful CSS classes and rules to adjust your ad label

The default HTML markup looks like this:

<div class="prefix-adlabel">Advertisements</div>

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 with the setting found in the ID prefix option.

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

Align the ad label with CSS

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

.prefix-adlabel { text-align: left; }

Change the font size of the ad label

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

.prefix-adlabel { font-size: 0.8em; }

Move the ad label under your ad

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

// adjust the ad wrapper
.prefix-top { 
position: relative; 
margin-bottom: 20px; // depending on size
}
// label element
.prefix-adlabel { position: absolute;
    bottom: -20px; // depending on size
    left: 0px;
}

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.