class Marketplacedeals extends Resource (View source)

The "marketplacedeals" collection of methods.

Typical usage is:

 $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
 $marketplacedeals = $adexchangebuyerService->marketplacedeals;

Methods

delete(string $proposalId, DeleteOrderDealsRequest $postBody, array $optParams = [])

Delete the specified deals from the proposal (marketplacedeals.delete)

insert(string $proposalId, AddOrderDealsRequest $postBody, array $optParams = [])

Add new deals for the specified proposal (marketplacedeals.insert)

listMarketplacedeals(string $proposalId, array $optParams = [])

List all the deals for a given proposal (marketplacedeals.listMarketplacedeals)

update(string $proposalId, EditAllOrderDealsRequest $postBody, array $optParams = [])

Replaces all the deals in the proposal with the passed in deals (marketplacedeals.update)

Details

DeleteOrderDealsResponse delete(string $proposalId, DeleteOrderDealsRequest $postBody, array $optParams = [])

Delete the specified deals from the proposal (marketplacedeals.delete)

Parameters

string $proposalId

The proposalId to delete deals from.

DeleteOrderDealsRequest $postBody
array $optParams

Optional parameters.

Return Value

DeleteOrderDealsResponse

AddOrderDealsResponse insert(string $proposalId, AddOrderDealsRequest $postBody, array $optParams = [])

Add new deals for the specified proposal (marketplacedeals.insert)

Parameters

string $proposalId

proposalId for which deals need to be added.

AddOrderDealsRequest $postBody
array $optParams

Optional parameters.

Return Value

AddOrderDealsResponse

GetOrderDealsResponse listMarketplacedeals(string $proposalId, array $optParams = [])

List all the deals for a given proposal (marketplacedeals.listMarketplacedeals)

Parameters

string $proposalId

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

array $optParams

Optional parameters.

Return Value

GetOrderDealsResponse

EditAllOrderDealsResponse update(string $proposalId, EditAllOrderDealsRequest $postBody, array $optParams = [])

Replaces all the deals in the proposal with the passed in deals (marketplacedeals.update)

Parameters

string $proposalId

The proposalId to edit deals on.

EditAllOrderDealsRequest $postBody
array $optParams

Optional parameters.

Return Value

EditAllOrderDealsResponse