AdsApp.​SharedExcludedPlacement

  • Represents a Shared Excluded Placement, which is a type of entity in Google Ads.

  • Provides methods to access information about the placement, like its URL and associated ExcludedPlacementList.

  • Allows for removing the Shared Excluded Placement using the remove() method.

  • Includes methods to retrieve the entity type and the excluded placement's URL.

Represents a Shared Excluded Placement.

Methods:

MemberTypeDescription
getEntityType() String Returns the type of this entity as a String, in this case, "SharedExcludedPlacement".
getExcludedPlacementList() AdsApp.ExcludedPlacementList Returns the ExcludedPlacementList this placement is in.
getUrl() String Returns the URL of the excluded placement.
remove() void Removes the shared excluded placement.

getEntityType()

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

Return values:

TypeDescription
String Type of this entity: "SharedExcludedPlacement".

getExcludedPlacementList()

Returns the ExcludedPlacementList this placement is in.

Return values:

TypeDescription
AdsApp.ExcludedPlacementList The ExcludedPlacementList this placement is in.

getUrl()

Returns the URL of the excluded placement.

Return values:

TypeDescription
String The URL of the excluded placement.

remove()

Removes the shared excluded placement.

Returns nothing.