Advertisement

Installing ads is done through the layout page located in the Appearance > Themes menu.

menu
theme

Select the page you want to install an ad.

select page

On the home page an advertisement can be attached to the body and sidebar.

Adding an Ad Widget (Ads)

Click the “Add Widget” button.

add new widget

Select the "ads" widget.

select ads

The capital window will appear in the form of a form that contains various inputs to set the ADS widget that will be displayed.

add new ads body

By default the type of ad chosen is an advertisement in the form of an image.Users can choose other types of ads, namely Google Adsense and ad scripts.

ad type

Image Ads (Banner)

Select the ad type “Image” in Ad Type.

Upload Ad Image

Click on the upload image area to insert the ad image.

upload image

The image will appear and display the length and width of the image.

result upload image

If you want to change the image, click "Change Image".

Enter the image url if you want to create a link.

url

Google Adsense Ads

Select Google Adsense under “Ad Type”.

gaads

Make sure you already have an Ad Unit that you created in Google Adsense to fill in the other inputs.

Creating Responsive Google Adsense ads

1. GA Size

Select "responsive" on ga size:

selectresponsive

Open a Google Adsense account, create a new ad unit:

displayads

Select "Responsive" on Ad Size on Google Adsense:

selectresponsiveadunit

Click "Create".

You will see the Ad Unit code, as follows:

responsive

2. GA Format

Look at the Ad Unit code in the data-ad-format=“auto” section. It means that the GA Format you entered is “Auto”.

gaformat

2. Full width responsive

Choose "YES".

fullwidthresponsive

If the Ad Unit code data-full-width-responsive=“true” is true.

Create Google Adsense ads with Fixed Size

1. GA Size

Choose "Fixed" on GA Size:

gasizefixed

Select "Fixed" in Ad Size on Google Adsense.Enter the size 350 for width and 300 for height.This size is for sidebar ads.

gaadsizefixed

Klik "Create".

You will see the ad unit code, as follows: image::fixed.png[]

2. Ad Size

Enter the width and height sizes according to the length and width of the Google Adsense ad unit ad.

adsize

Advertising code (Script)

You can also display ads via ad code or script.The Google Adsense ad code can also be entered through this input script but we recommend using the AD Type option: Google Adsense

Select "Script" on ad type.

script

Enter the ad code in the "Script" input column.

scriptinput