Class CustomBiddingAlgorithmsResource.ScriptsResource
The "scripts" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class CustomBiddingAlgorithmsResource.ScriptsResource
Constructors
ScriptsResource(IClientService)
Constructs a new resource.
Declaration
public ScriptsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(CustomBiddingScript, long)
Creates a new custom bidding script. Returns the newly created script if successful.
Declaration
public virtual CustomBiddingAlgorithmsResource.ScriptsResource.CreateRequest Create(CustomBiddingScript body, long customBiddingAlgorithmId)
Parameters
Type | Name | Description |
---|---|---|
CustomBiddingScript | body | The body of the request. |
long | customBiddingAlgorithmId | Required. The ID of the custom bidding algorithm that owns the script. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.ScriptsResource.CreateRequest |
Get(long, long)
Gets a custom bidding script.
Declaration
public virtual CustomBiddingAlgorithmsResource.ScriptsResource.GetRequest Get(long customBiddingAlgorithmId, long customBiddingScriptId)
Parameters
Type | Name | Description |
---|---|---|
long | customBiddingAlgorithmId | Required. The ID of the custom bidding algorithm owns the script. |
long | customBiddingScriptId | Required. The ID of the custom bidding script to fetch. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.ScriptsResource.GetRequest |
List(long)
Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.
Declaration
public virtual CustomBiddingAlgorithmsResource.ScriptsResource.ListRequest List(long customBiddingAlgorithmId)
Parameters
Type | Name | Description |
---|---|---|
long | customBiddingAlgorithmId | Required. The ID of the custom bidding algorithm owns the script. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.ScriptsResource.ListRequest |