Reference documentation and code samples for the Google Ads Ad Manager V1 Client class ClickTag.
Click tags define click-through URLs for each exit on an HTML5 creative. An exit is any area that can be clicked that directs the browser to a landing page. Each click tag defines the click-through URL for a different exit. In Ad Manager, tracking pixels are attached to the click tags if URLs are valid.
Generated from protobuf message google.ads.admanager.v1.ClickTag
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ display_name |
string
Optional. Name of the click tag. Must match the regular expression |
↳ url |
string
Optional. URL of the click tag. |
getDisplayName
Optional. Name of the click tag. Must match the regular expression
clickTag\d*.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasDisplayName
clearDisplayName
setDisplayName
Optional. Name of the click tag. Must match the regular expression
clickTag\d*.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUrl
Optional. URL of the click tag.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUrl
clearUrl
setUrl
Optional. URL of the click tag.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|