It’s quite easy to integrate google adsense into your WordPress website. All you need is just few lines of code and you are ready to display advertisements anywhere you want.
Put below lines of code in your functions.php file by replacing ADSENSE SCRIPT with your own adsense script.
Now your WordPress shortcode for google adsense is ready, you can call it anywhere on page just by using [displayadsense]
Instead of ‘displayadsense’, use something that makes sense to you, so that you can make more shortcodes with different adsense scripts and keep track of them.
Hope this helps you, if you have any questions, feel free to contact me. Thanks and have a blissful day!