AdsApp.AdParam
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
The content represents a Google Ads ad param.
The ad param object provides methods to retrieve associated ad group and keyword information.
You can get the type, index, and insertion text of the ad param.
There are methods to remove the ad param and set its insertion text.
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-10-16 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-10-16 UTC."],[],[]]