TagSetting
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-02 UTC.
[null,null,["Last updated 2025-09-02 UTC."],[[["\u003cp\u003eTag settings can be configured with JSON, allowing control over additional key-values, click tracking, click-through URLs, and keyword options.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKeywordHandlingOption\u003c/code\u003e dictates how keywords are integrated into ad tags, impacting tag export behavior.\u003c/p\u003e\n"],["\u003cp\u003eThree keyword handling options are available: \u003ccode\u003ePLACEHOLDER_WITH_LIST_OF_KEYWORDS\u003c/code\u003e, \u003ccode\u003eIGNORE\u003c/code\u003e, and \u003ccode\u003eGENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD\u003c/code\u003e, each offering a different approach to keyword implementation in ad tags.\u003c/p\u003e\n"]]],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n\nTag Settings\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"additionalKeyValues\": string, \"includeClickTracking\": boolean, \"includeClickThroughUrls\": boolean, \"keywordOption\": enum (/doubleclick-advertisers/rest/Shared.Types/KeywordHandlingOption), \"includeUnescapedlpurlMacro\": boolean } ``` |\n\n| Fields ||\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `additionalKeyValues` | `string` Additional key-values to be included in tags. Each key-value pair must be of the form `key=value` , and pairs must be separated by a semicolon ( `;` ). Keys and values must not contain commas. For example, `id=2;color=red` is a valid value for this field. |\n| `includeClickTracking` | `boolean` Whether click-tracking string should be included in the tags. |\n| `includeClickThroughUrls` | `boolean` Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site. |\n| `keywordOption` | `enum (`[KeywordHandlingOption](/doubleclick-advertisers/rest/Shared.Types/KeywordHandlingOption)`)` Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders. |\n| `includeUnescapedlpurlMacro` | `boolean` Optional. Indicates that the unescapedlpurl macro should be included in the tag for the static landing page. New placements will default to the value set on their site. |"]]