AdsApp.​AdParam

Represents a Google Ads ad param.

Methods:

MemberTypeDescription
getAdGroup AdsApp.AdGroup Returns the ad group to which this ad param belongs.
getBaseAdGroup AdsApp.AdGroup Returns the base ad group to which this ad param belongs.
getEntityType String Returns the type of this entity as a String, in this case, "AdParam".
getIndex int Returns the index of the ad param.
getInsertionText String Returns the insertion text of the ad param.
getKeyword AdsApp.Keyword Returns the Keyword the ad param belongs to.
remove void Removes the ad param.
setInsertionText void Sets the insertion text of the ad param to the specified value.

getAdGroup()

Returns the ad group to which this ad param belongs.

Return values:

TypeDescription
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:

TypeDescription
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:

TypeDescription
String Type of this entity: "AdParam".

getIndex()

Returns the index of the ad param.

Return values:

TypeDescription
int The index of the ad param.

getInsertionText()

Returns the insertion text of the ad param.

Return values:

TypeDescription
String The insertion text of the ad param.

getKeyword()

Returns the Keyword the ad param belongs to.

Return values:

TypeDescription
AdsApp.Keyword The Keyword the ad param belongs to.

remove()

Removes the ad param.

Returns nothing.

setInsertionText(insertionText)

Sets the insertion text of the ad param to the specified value.

Returns nothing.

Arguments:

NameTypeDescription
insertionText String Insertion text.