AdsApp.AdParam
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads ad param.
Methods:
getAdGroup()
Returns the ad group to which this ad param belongs.
Return values:
Type | Description |
AdsApp.AdGroup |
The ad group to which this ad param belongs. |
getBaseAdGroup()
Returns the base ad group to which this ad param belongs.
Return values:
Type | Description |
AdsApp.AdGroup |
The base ad group to which this ad param belongs. |
getEntityType()
Returns the type of this entity as a
String
, in this case,
"AdParam"
.
Return values:
Type | Description |
String |
Type of this entity: "AdParam" . |
getIndex()
Returns the index of the ad param.
Return values:
Type | Description |
int |
The index of the ad param. |
getInsertionText()
Returns the insertion text of the ad param.
Return values:
Type | Description |
String |
The insertion text of the ad param. |
getKeyword()
Returns the
Keyword the ad param belongs
to.
Return values:
remove()
Removes the ad param.
Returns nothing.
setInsertionText(insertionText)
Sets the insertion text of the ad param to the specified value.
Returns nothing.
Arguments:
Name | Type | Description |
insertionText |
String |
Insertion text. |
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-01-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["Represents a Google Ads ad parameter and provides methods for managing it."],["Allows retrieval of information like the ad group, base ad group, index, and insertion text associated with the ad parameter."],["Enables modification of the ad parameter's insertion text and removal of the parameter itself."],["Primarily interacts with AdsApp.AdGroup and AdsApp.Keyword objects for context and management."]]],[]]