# 「ADVERTISEMENT」ラベルにリンクを追加する方法は？

**URL:** https://meta.discourse.org/t/how-to-add-a-link-to-the-advertisement-label/156456
**Category:** Support
**Tags:** advertising
**Created:** [2020 年 7 月 1 日午前 9:33 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-advertisement-label/156456 "2020-07-01T09:33:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [2020 年 7 月 1 日午前 9:33 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-advertisement-label/156456/1 "2020-07-01T09:33:22Z")

</div>

こんにちは、

「ADVERTISEMENT」ラベルにリンクを追加したいのですが（以下のモックアップ参照）。「advertisement\_label」テキストのカスタマイズだけではうまくいきません。推奨されるアプローチは何でしょうか？

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/f/ef4e8d08510f40d7d8e99540702be491d831a590.png)

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [2020 年 7 月 1 日午後 2:58 UTC](https://meta.discourse.org/t/how-to-add-a-link-to-the-advertisement-label/156456/3 "2020-07-01T14:58:57Z")

</div>

ご自身のご質問にお答えしますと、HEAD セクションに以下を追加することで、AdSense テンプレートを上書きできます。

```plaintext
<script type="text/x-handlebars" data-template-name="javascripts/components/google-adsense">
{{#if showAd}}
  <div class="google-adsense-label"><h2>{{i18n 'adplugin.advertisement_label'}} - <a href="http://patreon.com/blenderartists" target="_blank">Patreon でサポートする</a>ことで非表示にできます。</h2></div>
  <div class="google-adsense-content" style={{adWrapperStyle}}>
    <ins class="adsbygoogle"
      style={{adInsStyle}}
      data-ad-client="ca-pub-{{publisher_id}}"
      data-ad-slot={{ad_code}}
      data-ad-format={{autoAdFormat}}>
    </ins>
  </div>
{{/if}}  
</script>

```
