Class CustomBiddingAlgorithmsResource
The "customBiddingAlgorithms" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class CustomBiddingAlgorithmsResource
Constructors
CustomBiddingAlgorithmsResource(IClientService)
Constructs a new resource.
Declaration
public CustomBiddingAlgorithmsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Scripts
Gets the Scripts resource.
Declaration
public virtual CustomBiddingAlgorithmsResource.ScriptsResource Scripts { get; }
Property Value
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.ScriptsResource |
Methods
Create(CustomBiddingAlgorithm)
Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.
Declaration
public virtual CustomBiddingAlgorithmsResource.CreateRequest Create(CustomBiddingAlgorithm body)
Parameters
Type | Name | Description |
---|---|---|
CustomBiddingAlgorithm | body | The body of the request. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.CreateRequest |
Get(long)
Gets a custom bidding algorithm.
Declaration
public virtual CustomBiddingAlgorithmsResource.GetRequest Get(long customBiddingAlgorithmId)
Parameters
Type | Name | Description |
---|---|---|
long | customBiddingAlgorithmId | Required. The ID of the custom bidding algorithm to fetch. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.GetRequest |
List()
Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies. The order is defined by the order_by parameter.
Declaration
public virtual CustomBiddingAlgorithmsResource.ListRequest List()
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.ListRequest |
Patch(CustomBiddingAlgorithm, long)
Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.
Declaration
public virtual CustomBiddingAlgorithmsResource.PatchRequest Patch(CustomBiddingAlgorithm body, long customBiddingAlgorithmId)
Parameters
Type | Name | Description |
---|---|---|
CustomBiddingAlgorithm | body | The body of the request. |
long | customBiddingAlgorithmId | Output only. The unique ID of the custom bidding algorithm. Assigned by the system. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.PatchRequest |
UploadScript(long)
Creates a custom bidding script reference object for a script file. The resulting reference object provides a resource path to which the script file should be uploaded. This reference object should be included in when creating a new custom bidding script object.
Declaration
public virtual CustomBiddingAlgorithmsResource.UploadScriptRequest UploadScript(long customBiddingAlgorithmId)
Parameters
Type | Name | Description |
---|---|---|
long | customBiddingAlgorithmId | Required. The ID of the custom bidding algorithm owns the script. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.UploadScriptRequest |