AdsApp.SharedExcludedPlacement
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Shared Excluded Placement.
Methods:
getEntityType()
Returns the type of this entity as a
String
, in this case,
"SharedExcludedPlacement"
.
Return values:
Type | Description |
String |
Type of this entity: "SharedExcludedPlacement" . |
getExcludedPlacementList()
Returns the
ExcludedPlacementList this
placement is in.
Return values:
getUrl()
Returns the URL of the excluded placement.
Return values:
Type | Description |
String |
The URL of the excluded placement. |
remove()
Removes the shared excluded placement.
Returns nothing.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eRepresents a Shared Excluded Placement, which is a type of entity in Google Ads.\u003c/p\u003e\n"],["\u003cp\u003eProvides methods to access information about the placement, like its URL and associated ExcludedPlacementList.\u003c/p\u003e\n"],["\u003cp\u003eAllows for removing the Shared Excluded Placement using the \u003ccode\u003eremove()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eIncludes methods to retrieve the entity type and the excluded placement's URL.\u003c/p\u003e\n"]]],[],null,["# AdsApp.SharedExcludedPlacement\n\nRepresents a Shared Excluded Placement.\n\n### Methods:\n\n| Member | Type | Description |\n|---------------------------------------------------------|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| [getEntityType()](#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `\"SharedExcludedPlacement\"`. |\n| [getExcludedPlacementList()](#getExcludedPlacementList) | [AdsApp.ExcludedPlacementList](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedplacementlist) | Returns the [ExcludedPlacementList](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedplacementlist) this placement is in. |\n| [getUrl()](#getUrl) | `String` | Returns the URL of the excluded placement. |\n| [remove()](#remove) | `void` | Removes the shared excluded placement. |\n\n`getEntityType()`\n-----------------\n\nReturns the type of this entity as a `String`, in this case, `\"SharedExcludedPlacement\"`.\n\n### Return values:\n\n| Type | Description |\n|----------|---------------------------------------------------|\n| `String` | Type of this entity: `\"SharedExcludedPlacement\"`. |\n\n`getExcludedPlacementList()`\n----------------------------\n\nReturns the [ExcludedPlacementList](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedplacementlist) this placement is in.\n\n### Return values:\n\n| Type | Description |\n|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|\n| [AdsApp.ExcludedPlacementList](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedplacementlist) | The [ExcludedPlacementList](/google-ads/scripts/docs/reference/adsapp/adsapp_excludedplacementlist) this placement is in. |\n\n`getUrl()`\n----------\n\nReturns the URL of the excluded placement.\n\n### Return values:\n\n| Type | Description |\n|----------|------------------------------------|\n| `String` | The URL of the excluded placement. |\n\n`remove()`\n----------\n\nRemoves the shared excluded placement.\n\nReturns nothing."]]