# type SharedAudienceSegment (v202505)

**Service** **AudienceSegmentService** **Inheritance** [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment) ▼ [FirstPartyAudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.FirstPartyAudienceSegment) **SharedAudienceSegment** [ThirdPartyAudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.ThirdPartyAudienceSegment)

A [SharedAudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.SharedAudienceSegment) is an [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment) owned by another entity and shared
with the publisher network.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202505`

| ## Field ||
|---|---|
| **`AudienceSegment` (inherited)** ||
| ### `id` | ` xsd:long` Id of the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment). This attribute is readonly and is populated by Google. |
| ### `name` | ` xsd:string` Name of the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment). This attribute is required and has a maximum length of 255 characters. |
| ### `categoryIds` | ` xsd:long[]` The ids of the categories this segment belongs to. This field is optional, it may be empty. |
| ### `description` | ` xsd:string` Description of the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment). This attribute is optional and has a maximum length of 8192 characters. |
| ### `status` | ` https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment.Status ` Status of the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment). This controls whether the given segment is available for targeting or not. During creation this attribute is optional and defaults to `ACTIVE`. This attribute is readonly for updates. *** ** * ** *** **Enumerations** `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. `ACTIVE` :   Active status means this audience segment is available for targeting. `INACTIVE` :   Inactive status means this audience segment is not available for targeting. `UNUSED` :   Unused status means this audience segment was deactivated by Google because it is unused. <br /> |
| ### `size` | ` xsd:long` Number of unique identifiers in the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment). This attribute is readonly and is populated by Google. |
| ### `mobileWebSize` | ` xsd:long` Number of unique identifiers in the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment) for mobile web. This attribute is read-only. |
| ### `idfaSize` | ` xsd:long` Number of unique IDFA identifiers in the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment). This attribute is read-only. |
| ### `adIdSize` | ` xsd:long` Number of unique AdID identifiers in the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment). This attribute is read-only. |
| ### `ppidSize` | ` xsd:long` Number of unique PPID (publisher provided identifiers) in the [AudienceSegment](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment). This attribute is read-only. |
| ### `dataProvider` | ` https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegmentDataProvider ` Owner data provider of this segment. This attribute is readonly and is assigned by Google. |
| ### `type` | ` https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.AudienceSegment.Type ` Type of the segment. This attribute is readonly and is assigned by Google. *** ** * ** *** **Enumerations** `FIRST_PARTY` :   First party segments created and owned by the publisher. `SHARED` :   First party segments shared by other clients. `THIRD_PARTY` :   Third party segments licensed by the publisher from data providers. This doesn't include Google-provided licensed segments. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |
| **`SharedAudienceSegment`** ||