Reference documentation and code samples for the Google Ads Ad Manager V1 Client class ProposalMarketplaceInfo.
Marketplace info for a Proposal with a corresponding order in Marketplace.
Generated from protobuf message google.ads.admanager.v1.ProposalMarketplaceInfo
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ marketplace_order_id |
string
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. |
↳ draft_proposal |
bool
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 |
↳ negotiation_status |
int
Output only. The negotiation status of the Proposal. |
↳ marketplace_comment |
string
Optional. The comment on the Proposal to be sent to the buyer. |
↳ new_version_from_buyer |
bool
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 |
↳ buyer_account_id |
int|string
Required. The account ID of the buyer that this Proposal is being negotiated with. |
↳ partner_client_id |
string
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. |
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.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasMarketplaceOrderId
clearMarketplaceOrderId
setMarketplaceOrderId
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.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
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.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasDraftProposal
clearDraftProposal
setDraftProposal
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.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNegotiationStatus
Output only. The negotiation status of the Proposal.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasNegotiationStatus
clearNegotiationStatus
setNegotiationStatus
Output only. The negotiation status of the Proposal.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMarketplaceComment
Optional. The comment on the Proposal to be sent to the buyer.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasMarketplaceComment
clearMarketplaceComment
setMarketplaceComment
Optional. The comment on the Proposal to be sent to the buyer.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
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).
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasNewVersionFromBuyer
clearNewVersionFromBuyer
setNewVersionFromBuyer
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).
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBuyerAccountId
Required. The account ID of the buyer that this Proposal is being negotiated with.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasBuyerAccountId
clearBuyerAccountId
setBuyerAccountId
Required. The account ID of the buyer that this Proposal is being negotiated with.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
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.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasPartnerClientId
clearPartnerClientId
setPartnerClientId
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.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|