Salesforce LWC for Google Adsense
Budget: £20 – £250 GBP
I require a Lightning Web Component for a public experience site to display Google Adsense code. At this time, I am using a Visualforce page which isn't ideal.
An example of the snippet can be found below.
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-e.g. ID"
crossorigin="anonymous"></script>
<!-- - homepage -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="e.g. ID"
data-ad-slot="e.g. ID"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
An example of the snippet can be found below.
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-e.g. ID"
crossorigin="anonymous"></script>
<!-- - homepage -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="e.g. ID"
data-ad-slot="e.g. ID"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>