Represents a Google Ads excluded topic.
Methods:
getAdGroup()
Returns the ad group to which this excluded topic belongs.
Return values:
Type | Description |
AdsApp.AdGroup |
The ad group to which this excluded topic belongs. |
getBaseAdGroup()
Returns the base ad group to which this excluded topic belongs.
Return values:
Type | Description |
AdsApp.AdGroup |
The base ad group to which this excluded topic belongs. |
getBaseCampaign()
Returns the base campaign to which this excluded topic belongs.
Return values:
Type | Description |
AdsApp.Campaign |
The base campaign to which this excluded topic belongs. |
getCampaign()
Returns the campaign to which this excluded topic belongs or
null
if it does not belong to a search or display campaign.
Return values:
Type | Description |
AdsApp.Campaign |
The campaign to which this excluded topic belongs or
null if it does
not belong to a search or display campaign. |
getId()
Returns the ID of the excluded topic.
Return values:
Type | Description |
String |
The ID of the excluded topic. |
getResourceName()
Returns the resource name of the excluded topic.
Return values:
Type | Description |
String |
The resource name of the excluded topic. |
getTopicId()
Returns the topic ID of the excluded topic. The topic ID identifies the
topic category. A list of valid topic IDs is available on our
Verticals page.
Return values:
Type | Description |
String |
The topic ID of the excluded topic. |
remove()
Removes the excluded topic.
Returns nothing.