Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains the methods for managing the asset group's URLs. For more information, see URL Tracking with Upgraded URLs.
Methods
| Method Name | Return Type | Description |
|---|---|---|
| clearMobileFinalUrl | void | Removes the asset group's final URL for mobile devices. |
| clearPath1 | void | Removes this asset group's optional first path that's appended to this asset group's display URL. |
| clearPath2 | void | Removes this asset group's optional second path that's appended to this asset group's display URL. |
| getFinalUrl | string | Gets the asset group's final URL. |
| getMobileFinalUrl | string | Gets the asset group's final URL for mobile devices. |
| getPath1 | string | Gets the optional first path that's appended to this asset group's display URL. |
| getPath2 | string | Gets the optional second path that's appended to this asset group's display URL. |
| setFinalUrl(String finalUrl) | void | Sets the asset group's final URL. |
| setMobileFinalUrl(String finalUrl) | void | Sets the asset group's final URL for mobile. |
| setPath1 | string | Sets the optional first path that's appended to this asset group's display URL. |
| setPath2 | string | Sets the optional second path that's appended to this asset group's display URL. |
clearMobileFinalUrl
Removes the asset group's final URL for mobile devices.
Returns
| Type | Description |
|---|---|
| void | Returns nothing. |
clearPath1
Removes this asset group's optional first path that's appended to this asset group's display URL.
Returns
| Type | Description |
|---|---|
| void | Returns nothing. |
clearPath2
Removes this asset group's optional second path that's appended to this asset group's display URL.
Returns
| Type | Description |
|---|---|
| void | Returns nothing. |
getFinalUrl
Gets the asset group's final URL.
Returns
| Type | Description |
|---|---|
| string | The asset group's final URL. |
getMobileFinalUrl
Gets the asset group's final URL for mobile devices.
Returns
| Type | Description |
|---|---|
| string | The asset group's final URL for mobile devices. |
getPath1
Gets the optional first path that's appended to this asset group's display URL.
Returns
| Type | Description |
|---|---|
| string | The first path that's appended to this asset group's display URL. |
getPath2
Gets the optional second path that's appended to this asset group's display URL.
Returns
| Type | Description |
|---|---|
| string | The second path that's appended to this asset group's display URL. |
setFinalUrl(String finalUrl)
Sets the asset group's final URL.
The final URL identifies the webpage that the user is taken to when they click the ad. If not specified, the entity inherits the final URL from its parent entity. For example, the keyword entity inherits the ad's final URL. Specify the keyword's final URL to override the ad's final URL.
For more information, see What tracking or URL parameters can I use?
If the property's value is not valid, the call silently fails. To confirm whether the property was actually updated, get the object again and test whether the property's value equals the new value. For information, see Handling errors and warnings.
Arguments
| Name | Type | Description |
|---|---|---|
| finalUrl | string | The asset group's final URL. |
Returns
| Type | Description |
|---|---|
| void | Returns nothing. |
setMobileFinalUrl(String finalUrl)
Sets the asset group's final URL for mobile devices.
Arguments
| Name | Type | Description |
|---|---|---|
| finalUrl | string | The asset group's final URL mobile devices. |
Returns
| Type | Description |
|---|---|
| void | Returns nothing. |
setPath1
Sets the optional first path that's appended to this asset group's display URL.
Returns
| Type | Description |
|---|---|
| string | The first path that's appended to this asset group's display URL. |
setPath2
Sets the optional second path that's appended to this asset group's display URL.
Returns
| Type | Description |
|---|---|
| string | The second path that's appended to this asset group's display URL. |