gohugo-amp

AdSense configuration

From the base configuration the following attributes are relevant if you are using adSense on your website. All the configuration parameters living in the [params] section of your config.toml in the root folder of your HUGO project.

AdSense

adsensePublisher

adsensePublisher = "ca-pub-123456789"

your adsense publisher id. Here you will find a guide how to find your adsense publisher id.

We recommend reading more in the guide about how to use amp-adsense partial and shortcodes in gohugo amp theme.