AdSense

view/widget/adsense~ AdSense

Google AdSense widget JSX component.

Constructor

new AdSense()

Source:
See:
Example
<AdSense
    title="Widget title"
    clientId="******"
    slotId="******" />

Members

(static) Cacheable

Cacheable Google AdSense widget JSX component.

This class is supposed to be used in combination with the locals hexo filter (module:hexo/filter/locals).

Source:
See:
Example
<AdSense.Cacheable
    widget={{ client_id: '******', slot_id: '******' }}
    helper={{ __: function() {...} }} />