If you are new to the coding, I suggest you use the add on.
You can then go to appearance >> rotating ads >> create new item. All you will need to do then is do a few things:
You can specify the position, put the html code of the ad in, and select the usergroups you want it to appear to.,