Interface AudienceSegment.ThirdPartyAudienceSegmentOrBuilder (0.58.0)

public static interface AudienceSegment.ThirdPartyAudienceSegmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApprovalStatus()

public abstract AudienceSegmentApprovalStatusEnum.AudienceSegmentApprovalStatus getApprovalStatus()

Output only. Whether the publisher has approved or rejected the segment.

optional .google.ads.admanager.v1.AudienceSegmentApprovalStatusEnum.AudienceSegmentApprovalStatus approval_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AudienceSegmentApprovalStatusEnum.AudienceSegmentApprovalStatus

The approvalStatus.

getApprovalStatusValue()

public abstract int getApprovalStatusValue()

Output only. Whether the publisher has approved or rejected the segment.

optional .google.ads.admanager.v1.AudienceSegmentApprovalStatusEnum.AudienceSegmentApprovalStatus approval_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for approvalStatus.

getCost()

public abstract Money getCost()

Output only. The CPM cost for the given segment. This is assigned by the data provider. The CPM cost comes from the active pricing if it exists, otherwise it comes from the latest pricing.

.google.type.Money cost = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Money

The cost.

getCostOrBuilder()

public abstract MoneyOrBuilder getCostOrBuilder()

Output only. The CPM cost for the given segment. This is assigned by the data provider. The CPM cost comes from the active pricing if it exists, otherwise it comes from the latest pricing.

.google.type.Money cost = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.MoneyOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

Output only. Time which this segment ceases to be available. It is assigned by the data provider.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. Time which this segment ceases to be available. It is assigned by the data provider.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLicenseType()

public abstract AudienceSegmentLicenseTypeEnum.AudienceSegmentLicenseType getLicenseType()

Output only. The license type of the external segment.

optional .google.ads.admanager.v1.AudienceSegmentLicenseTypeEnum.AudienceSegmentLicenseType license_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AudienceSegmentLicenseTypeEnum.AudienceSegmentLicenseType

The licenseType.

getLicenseTypeValue()

public abstract int getLicenseTypeValue()

Output only. The license type of the external segment.

optional .google.ads.admanager.v1.AudienceSegmentLicenseTypeEnum.AudienceSegmentLicenseType license_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for licenseType.

getStartTime()

public abstract Timestamp getStartTime()

Output only. Time which this segment becomes available for use. It is assigned by the data provider.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. Time which this segment becomes available for use. It is assigned by the data provider.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasApprovalStatus()

public abstract boolean hasApprovalStatus()

Output only. Whether the publisher has approved or rejected the segment.

optional .google.ads.admanager.v1.AudienceSegmentApprovalStatusEnum.AudienceSegmentApprovalStatus approval_status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the approvalStatus field is set.

hasCost()

public abstract boolean hasCost()

Output only. The CPM cost for the given segment. This is assigned by the data provider. The CPM cost comes from the active pricing if it exists, otherwise it comes from the latest pricing.

.google.type.Money cost = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cost field is set.

hasEndTime()

public abstract boolean hasEndTime()

Output only. Time which this segment ceases to be available. It is assigned by the data provider.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasLicenseType()

public abstract boolean hasLicenseType()

Output only. The license type of the external segment.

optional .google.ads.admanager.v1.AudienceSegmentLicenseTypeEnum.AudienceSegmentLicenseType license_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the licenseType field is set.

hasStartTime()

public abstract boolean hasStartTime()

Output only. Time which this segment becomes available for use. It is assigned by the data provider.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.