> For the complete documentation index, see [llms.txt](https://instag.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://instag.gitbook.io/doc/zheng-he-di-san-fang-ping-tai/google-ad-manager.md).

# Google AD Manager

### **鍵值(Key/Value) 程式碼**

選擇「整合」點擊「Google Ad Manager」進入

<figure><img src="/files/qYDNzakuDoL4pT9nc1i0" alt=""><figcaption><p>Google Ad Manager Instag 鍵值</p></figcaption></figure>

在原 Google Ad Manager 程式碼裡，增加上述程式，

並放在 googletag.pubads().enableSingleRequest() 之前！

### 鍵值(Key/Value) 設置 <a href="#gam-keyvalue-setting" id="gam-keyvalue-setting"></a>

選擇「鍵值」點擊「新的鍵/值」進入建立

<figure><img src="/files/uS6yubOWgkOfSMA7LUU3" alt=""><figcaption><p>GAM 新增鍵值</p></figcaption></figure>

**設定「受眾代號」整合**

<figure><img src="/files/Wo7YV7uD3Ftr1lUTLQpy" alt=""><figcaption></figcaption></figure>

依序建立以下四種濃度受眾

* itg\_segments\_0
* itg\_segments\_20
* itg\_segments\_50&#x20;
* itg\_segments\_80&#x20;

### 檢查鍵值(Key/Value) 是否有傳入受眾 <a href="#gam-keyvalue-check" id="gam-keyvalue-check"></a>

**使用 Google Publisher Console 調試控制台**

在目標網址網址最後加入「**?google\_console=1**」開啟控制台

<figure><img src="/files/b8wFMj8lA12Cu6tRZVjd" alt=""><figcaption><p>GAM Instag 鍵值檢查</p></figcaption></figure>

點擊「**Open Targeting Info**」展開下方查看「網頁層級指定目標」，即可看到「鍵值」是否有帶入。若各個濃度「鍵值」資料有顯示「受眾代號」表示成功將受眾傳入 Google Ad Manager。

***

### 指定值(Value) 設置 <a href="#gam-keyvalue-setting" id="gam-keyvalue-setting"></a>

當完成各個濃度「鍵」(Key) 設置好後，可再新增「值」(Value)，讓 Google Ad Manager 報表、投放指定目標可以選擇。

<figure><img src="/files/ZKXLDDBC895cvYCREXOb" alt=""><figcaption><p>新增指定值</p></figcaption></figure>

<figure><img src="/files/0o3HHiRJIMttigPsqUfv" alt=""><figcaption><p>建立指定值</p></figcaption></figure>

於「指定值」欄位輸入「Instag 受眾代號」即可。

#### 受眾代號

<figure><img src="/files/AgP1QxDeuEZc5fr8JBgB" alt=""><figcaption><p>受眾代號位置</p></figcaption></figure>

#### 延伸閱讀

* [如何在 Google Ads 廣告投放使用 Instag 受眾？](/doc/ying-yong-qing-jing/guang-gao-tou-fang/ru-he-zai-google-ads-guang-gao-tou-fang-shi-yong-instag-shou-zhong.md)
* [如何知道站內廣告成效與 Instag 受眾關係？](/doc/ying-yong-qing-jing/guang-gao-tou-fang/ru-he-zhi-dao-zhan-nei-guang-gao-cheng-xiao-yu-instag-shou-zhong-guan-xi.md)
