AdParam
Contains the methods used to manage the substitution parameters used in the keyword.
Methods
Method Name | Return Type | Description |
---|---|---|
getAdGroup | AdGroup | Gets the ad group that the keyword associated with this substitution parameter belongs to. |
getEntityType | string | Gets this entity's type. |
getIndex | int | Gets the index that identifies this substitution parameter. |
getInsertionText | string | Gets the substitution parameter's text. |
getKeyword | Keyword | Gets the keyword that the substitution parameter applies to. |
remove | void | Removes the substitution parameter from the keyword. |
setInsertionText(string insertionText) | void | Sets the substitution parameter's text. |
getAdGroup
Gets the ad group that the keyword associated with this substitution parameter belongs to.
Returns
Type | Description |
---|---|
AdGroup | The ad group that the keyword associated with this substitution parameter belongs to. |
getEntityType
Gets this entity's type.
Returns
Type | Description |
---|---|
string | This entity's type, which is AdParam. |
getIndex
Gets the index that identifies this substitution parameter.
Returns
Type | Description |
---|---|
int | The index that identifies this substitution parameter. |
getInsertionText
Gets the substitution parameter's text.
Returns
Type | Description |
---|---|
string | The substitution parameter's text. |
getKeyword
Gets the keyword that the substitution parameter applies to.
Returns
Type | Description |
---|---|
Keyword | The keyword that the substitution parameter applies to. |
remove
Removes the substitution parameter from the keyword.
Returns
Type | Description |
---|---|
void | Returns nothing. |
setInsertionText(string insertionText)
Sets the substitution parameter's text.
Arguments
Name | Type | Description |
---|---|---|
insertionText | string | The text to set the substitution parameter to. |
Returns
Type | Description |
---|---|
void | Returns nothing. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for