Class GuaranteedOrdersResource
The "guaranteedOrders" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class GuaranteedOrdersResource
Constructors
GuaranteedOrdersResource(IClientService)
Constructs a new resource.
Declaration
public GuaranteedOrdersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GuaranteedOrder)
Creates a new guaranteed order. Returns the newly created guaranteed order if successful.
Declaration
public virtual GuaranteedOrdersResource.CreateRequest Create(GuaranteedOrder body)
Parameters
Type | Name | Description |
---|---|---|
GuaranteedOrder | body | The body of the request. |
Returns
Type | Description |
---|---|
GuaranteedOrdersResource.CreateRequest |
EditGuaranteedOrderReadAccessors(EditGuaranteedOrderReadAccessorsRequest, string)
Edits read advertisers of a guaranteed order.
Declaration
public virtual GuaranteedOrdersResource.EditGuaranteedOrderReadAccessorsRequest EditGuaranteedOrderReadAccessors(EditGuaranteedOrderReadAccessorsRequest body, string guaranteedOrderId)
Parameters
Type | Name | Description |
---|---|---|
EditGuaranteedOrderReadAccessorsRequest | body | The body of the request. |
string | guaranteedOrderId | Required. The ID of the guaranteed order to edit. The ID is of the format
|
Returns
Type | Description |
---|---|
GuaranteedOrdersResource.EditGuaranteedOrderReadAccessorsRequest |
Get(string)
Gets a guaranteed order.
Declaration
public virtual GuaranteedOrdersResource.GetRequest Get(string guaranteedOrderId)
Parameters
Type | Name | Description |
---|---|---|
string | guaranteedOrderId | Required. The ID of the guaranteed order to fetch. The ID is of the format
|
Returns
Type | Description |
---|---|
GuaranteedOrdersResource.GetRequest |
List()
Lists guaranteed orders that are accessible to the current user. The order is defined by the order_by
parameter. If a filter by entity_status is not specified, guaranteed orders with entity status
ENTITY_STATUS_ARCHIVED
will not be included in the results.
Declaration
public virtual GuaranteedOrdersResource.ListRequest List()
Returns
Type | Description |
---|---|
GuaranteedOrdersResource.ListRequest |
Patch(GuaranteedOrder, string)
Updates an existing guaranteed order. Returns the updated guaranteed order if successful.
Declaration
public virtual GuaranteedOrdersResource.PatchRequest Patch(GuaranteedOrder body, string guaranteedOrderId)
Parameters
Type | Name | Description |
---|---|---|
GuaranteedOrder | body | The body of the request. |
string | guaranteedOrderId | Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format
|
Returns
Type | Description |
---|---|
GuaranteedOrdersResource.PatchRequest |