AdsApp.​AdParam

Represents a Google Ads ad param.

Methods:

MemberTypeDescription
getAdGroupAdsApp.AdGroupReturns the ad group to which this ad param belongs.
getBaseAdGroupAdsApp.AdGroupReturns the base ad group to which this ad param belongs.
getEntityTypeStringReturns the type of this entity as a String, in this case, "AdParam".
getIndexintReturns the index of the ad param.
getInsertionTextStringReturns the insertion text of the ad param.
getKeywordAdsApp.KeywordReturns the Keyword the ad param belongs to.
removevoidRemoves the ad param.
setInsertionTextvoidSets 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.AdGroupThe ad group to which this ad param belongs.

getBaseAdGroup()

Returns the base ad group to which this ad param belongs.

Return values:

TypeDescription
AdsApp.AdGroupThe 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
StringType of this entity: "AdParam".

getIndex()

Returns the index of the ad param.

Return values:

TypeDescription
intThe index of the ad param.

getInsertionText()

Returns the insertion text of the ad param.

Return values:

TypeDescription
StringThe insertion text of the ad param.

getKeyword()

Returns the Keyword the ad param belongs to.

Return values:

TypeDescription
AdsApp.KeywordThe 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
insertionTextStringInsertion text.