AdsApp.​ExcludedVideoTopic

Represents a Google Ads excluded Topic in a Video Campaign.

Methods:

MemberTypeDescription
getEntityType String Returns the type of this entity as a String, in this case, "ExcludedVideoTopic".
getId String Returns the ID of the excluded video topic.
getResourceName String Returns the resource name of the excluded video topic.
getTopicId String Returns the topic ID of the excluded topic.
getVideoAdGroup AdsApp.VideoAdGroup Returns the ad group to which this excluded video topic belongs, or null if the excluded video topic is excluded at the campaign level.
getVideoCampaign AdsApp.VideoCampaign Returns the campaign to which this excluded video topic belongs.
remove void Removes the excluded video topic.

getEntityType()

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

Return values:

TypeDescription
String Type of this entity: "ExcludedVideoTopic".

getId()

Returns the ID of the excluded video topic.

Return values:

TypeDescription
String The ID of the excluded video topic.

getResourceName()

Returns the resource name of the excluded video topic.

Return values:

TypeDescription
String The 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
String The 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.VideoAdGroup The 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.VideoCampaign The campaign to which this excluded video topic belongs.

remove()

Removes the excluded video topic.

Returns nothing.