Class EditAllOrderDealsRequest
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.AdExchangeBuyer.v1_4.Data
Assembly: Google.Apis.AdExchangeBuyer.v1_4.dll
Syntax
public class EditAllOrderDealsRequest : IDirectResponseSchema
Properties
Deals
List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. Add new deal to proposal If a deal in this list does not exist in the proposal, the service will create a new deal and add it to the proposal. Validation will follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a deal in this list already exist in the proposal, the service will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal (just need the id) If a existing deal in the proposal is not present in this list, the service will delete that deal from the proposal. Validation will follow DeleteOrderDealsRequest.
Declaration
[JsonProperty("deals")]
public virtual IList<MarketplaceDeal> Deals { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<MarketplaceDeal> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Proposal
If specified, also updates the proposal in the batch transaction. This is useful when the proposal and the deals need to be updated in one transaction.
Declaration
[JsonProperty("proposal")]
public virtual Proposal Proposal { get; set; }
Property Value
Type | Description |
---|---|
Proposal |
ProposalRevisionNumber
The last known revision number for the proposal.
Declaration
[JsonProperty("proposalRevisionNumber")]
public virtual long? ProposalRevisionNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
UpdateAction
Indicates an optional action to take on the proposal
Declaration
[JsonProperty("updateAction")]
public virtual string UpdateAction { get; set; }
Property Value
Type | Description |
---|---|
System.String |