Show / Hide Table of Contents

Class MarketplacedealsResource

The "marketplacedeals" collection of methods.

Inheritance
System.Object
MarketplacedealsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AdExchangeBuyer.v1_4
Assembly: Google.Apis.AdExchangeBuyer.v1_4.dll
Syntax
public class MarketplacedealsResource

Constructors

MarketplacedealsResource(IClientService)

Constructs a new resource.

Declaration
public MarketplacedealsResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

Delete(DeleteOrderDealsRequest, String)

Delete the specified deals from the proposal

Declaration
public virtual MarketplacedealsResource.DeleteRequest Delete(DeleteOrderDealsRequest body, string proposalId)
Parameters
Type Name Description
DeleteOrderDealsRequest body

The body of the request.

System.String proposalId

The proposalId to delete deals from.

Returns
Type Description
MarketplacedealsResource.DeleteRequest

Insert(AddOrderDealsRequest, String)

Add new deals for the specified proposal

Declaration
public virtual MarketplacedealsResource.InsertRequest Insert(AddOrderDealsRequest body, string proposalId)
Parameters
Type Name Description
AddOrderDealsRequest body

The body of the request.

System.String proposalId

proposalId for which deals need to be added.

Returns
Type Description
MarketplacedealsResource.InsertRequest

List(String)

List all the deals for a given proposal

Declaration
public virtual MarketplacedealsResource.ListRequest List(string proposalId)
Parameters
Type Name Description
System.String proposalId

The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.

Returns
Type Description
MarketplacedealsResource.ListRequest

Update(EditAllOrderDealsRequest, String)

Replaces all the deals in the proposal with the passed in deals

Declaration
public virtual MarketplacedealsResource.UpdateRequest Update(EditAllOrderDealsRequest body, string proposalId)
Parameters
Type Name Description
EditAllOrderDealsRequest body

The body of the request.

System.String proposalId

The proposalId to edit deals on.

Returns
Type Description
MarketplacedealsResource.UpdateRequest
In This Article
Back to top