Interface ProposalMarketplaceInfoOrBuilder (0.62.0)

public interface ProposalMarketplaceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuyerAccountId()

public abstract long getBuyerAccountId()

Required. The account ID of the buyer that this Proposal is being negotiated with.

optional int64 buyer_account_id = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The buyerAccountId.

getDraftProposal()

public abstract boolean getDraftProposal()

Output only. Whether the non-free-editable fields of a Proposal are opened for edit. A Proposal that is open for edit will not receive buyer updates from Marketplace. If the buyer updates the Proposal while this is open for local editing, Google will set newVersionFromBuyer to true. You will then need to call ProposalService.BatchDiscardDraftProposals to revert your edits to get the buyer's latest changes.

optional bool draft_proposal = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The draftProposal.

getMarketplaceComment()

public abstract String getMarketplaceComment()

Optional. The comment on the Proposal to be sent to the buyer.

optional string marketplace_comment = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The marketplaceComment.

getMarketplaceCommentBytes()

public abstract ByteString getMarketplaceCommentBytes()

Optional. The comment on the Proposal to be sent to the buyer.

optional string marketplace_comment = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for marketplaceComment.

getMarketplaceOrderId()

public abstract String getMarketplaceOrderId()

Output only. The marketplace ID of this Proposal. This is a shared ID between Ad Manager and the buy-side platform. This value is null if the Proposal has not been sent to the buyer.

optional string marketplace_order_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The marketplaceOrderId.

getMarketplaceOrderIdBytes()

public abstract ByteString getMarketplaceOrderIdBytes()

Output only. The marketplace ID of this Proposal. This is a shared ID between Ad Manager and the buy-side platform. This value is null if the Proposal has not been sent to the buyer.

optional string marketplace_order_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for marketplaceOrderId.

getNegotiationStatus()

public abstract ProposalNegotiationStatusEnum.ProposalNegotiationStatus getNegotiationStatus()

Output only. The negotiation status of the Proposal.

optional .google.ads.admanager.v1.ProposalNegotiationStatusEnum.ProposalNegotiationStatus negotiation_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProposalNegotiationStatusEnum.ProposalNegotiationStatus

The negotiationStatus.

getNegotiationStatusValue()

public abstract int getNegotiationStatusValue()

Output only. The negotiation status of the Proposal.

optional .google.ads.admanager.v1.ProposalNegotiationStatusEnum.ProposalNegotiationStatus negotiation_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for negotiationStatus.

getNewVersionFromBuyer()

public abstract boolean getNewVersionFromBuyer()

Output only. Indicates that the buyer has made updates to the Proposal on Marketplace. This attribute is only meaningful if the Proposal is open for edit (i.e., draftProposal is true).

optional bool new_version_from_buyer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The newVersionFromBuyer.

getPartnerClientId()

public abstract String getPartnerClientId()

Output only. The ID used to represent the Display & Video 360 client buyer partner ID (if Display & Video 360) or the Authorized Buyers client buyer account ID.

optional string partner_client_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The partnerClientId.

getPartnerClientIdBytes()

public abstract ByteString getPartnerClientIdBytes()

Output only. The ID used to represent the Display & Video 360 client buyer partner ID (if Display & Video 360) or the Authorized Buyers client buyer account ID.

optional string partner_client_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for partnerClientId.

hasBuyerAccountId()

public abstract boolean hasBuyerAccountId()

Required. The account ID of the buyer that this Proposal is being negotiated with.

optional int64 buyer_account_id = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the buyerAccountId field is set.

hasDraftProposal()

public abstract boolean hasDraftProposal()

Output only. Whether the non-free-editable fields of a Proposal are opened for edit. A Proposal that is open for edit will not receive buyer updates from Marketplace. If the buyer updates the Proposal while this is open for local editing, Google will set newVersionFromBuyer to true. You will then need to call ProposalService.BatchDiscardDraftProposals to revert your edits to get the buyer's latest changes.

optional bool draft_proposal = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the draftProposal field is set.

hasMarketplaceComment()

public abstract boolean hasMarketplaceComment()

Optional. The comment on the Proposal to be sent to the buyer.

optional string marketplace_comment = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the marketplaceComment field is set.

hasMarketplaceOrderId()

public abstract boolean hasMarketplaceOrderId()

Output only. The marketplace ID of this Proposal. This is a shared ID between Ad Manager and the buy-side platform. This value is null if the Proposal has not been sent to the buyer.

optional string marketplace_order_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the marketplaceOrderId field is set.

hasNegotiationStatus()

public abstract boolean hasNegotiationStatus()

Output only. The negotiation status of the Proposal.

optional .google.ads.admanager.v1.ProposalNegotiationStatusEnum.ProposalNegotiationStatus negotiation_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the negotiationStatus field is set.

hasNewVersionFromBuyer()

public abstract boolean hasNewVersionFromBuyer()

Output only. Indicates that the buyer has made updates to the Proposal on Marketplace. This attribute is only meaningful if the Proposal is open for edit (i.e., draftProposal is true).

optional bool new_version_from_buyer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the newVersionFromBuyer field is set.

hasPartnerClientId()

public abstract boolean hasPartnerClientId()

Output only. The ID used to represent the Display & Video 360 client buyer partner ID (if Display & Video 360) or the Authorized Buyers client buyer account ID.

optional string partner_client_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the partnerClientId field is set.