ads.ts

Browser-side configuration for advertising services.

config/ads.ts stores the parameters that advertising services use in the browser. These values are published with the frontend code, so they must not contain server-side secrets. The template configures only Google AdSense by default.

googleAdsense

Prop

Type

When you enable AdSense, keep categories.marketing.items.googleAdsense in cookie-consent.ts and control script loading according to the site's cookie consent mode.