AdsApp.​ExcludedVideoTopic

Represents a Google Ads excluded Topic in a Video Campaign.

Methods:

MemberTypeDescription
getEntityTypeStringReturns the type of this entity as a String, in this case, "ExcludedVideoTopic".
getIdStringReturns the ID of the excluded video topic.
getResourceNameStringReturns the resource name of the excluded video topic.
getTopicIdStringReturns the topic ID of the excluded topic.
getVideoAdGroupAdsApp.VideoAdGroupReturns the ad group to which this excluded video topic belongs, or null if the excluded video topic is excluded at the campaign level.
getVideoCampaignAdsApp.VideoCampaignReturns the campaign to which this excluded video topic belongs.
removevoidRemoves the excluded video topic.

getEntityType()

Returns the type of this entity as a String, in this case, "ExcludedVideoTopic".

Return values:

TypeDescription
StringType of this entity: "ExcludedVideoTopic".

getId()

Returns the ID of the excluded video topic.

Return values:

TypeDescription
StringThe ID of the excluded video topic.

getResourceName()

Returns the resource name of the excluded video topic.

Return values:

TypeDescription
StringThe resource name of the excluded video 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:

TypeDescription
StringThe topic ID of the excluded topic.

getVideoAdGroup()

Returns the ad group to which this excluded video topic belongs, or null if the excluded video topic is excluded at the campaign level.

Return values:

TypeDescription
AdsApp.VideoAdGroupThe ad group to which this excluded video topic belongs or null.

getVideoCampaign()

Returns the campaign to which this excluded video topic belongs.

Return values:

TypeDescription
AdsApp.VideoCampaignThe campaign to which this excluded video topic belongs.

remove()

Removes the excluded video topic.

Returns nothing.