Show / Hide Table of Contents

Class CustomBiddingAlgorithmsResource.RulesResource

The "rules" collection of methods.

Inheritance
object
CustomBiddingAlgorithmsResource.RulesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class CustomBiddingAlgorithmsResource.RulesResource

Constructors

RulesResource(IClientService)

Constructs a new resource.

Declaration
public RulesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(CustomBiddingAlgorithmRules, long)

Creates a new rules resource. Returns the newly created rules resource if successful. Requests creating a custom bidding rules resource under an algorithm assigned to a line item will return an error.

Declaration
public virtual CustomBiddingAlgorithmsResource.RulesResource.CreateRequest Create(CustomBiddingAlgorithmRules body, long customBiddingAlgorithmId)
Parameters
Type Name Description
CustomBiddingAlgorithmRules body

The body of the request.

long customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm that owns the rules resource.

Returns
Type Description
CustomBiddingAlgorithmsResource.RulesResource.CreateRequest

Get(long, long)

Retrieves a rules resource.

Declaration
public virtual CustomBiddingAlgorithmsResource.RulesResource.GetRequest Get(long customBiddingAlgorithmId, long customBiddingAlgorithmRulesId)
Parameters
Type Name Description
long customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm that owns the rules resource.

long customBiddingAlgorithmRulesId

Required. The ID of the rules resource to fetch.

Returns
Type Description
CustomBiddingAlgorithmsResource.RulesResource.GetRequest

List(long)

Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter.

Declaration
public virtual CustomBiddingAlgorithmsResource.RulesResource.ListRequest List(long customBiddingAlgorithmId)
Parameters
Type Name Description
long customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm that owns the rules resource.

Returns
Type Description
CustomBiddingAlgorithmsResource.RulesResource.ListRequest
In this article
Back to top Generated by DocFX