GoogleApi.DisplayVideo.V3.Api.CustomBiddingAlgorithms (google_api_display_video v0.39.0)
View SourceAPI calls for all endpoints tagged CustomBiddingAlgorithms.
Summary
Functions
Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.
Gets a custom bidding algorithm.
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.
Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. Warning: Starting April 1, 2025, requests updating custom bidding algorithms that are assigned to line items will return an error. Read more about this announced change.
Creates a new rules resource. Returns the newly created rules resource if successful. Warning: Starting April 1, 2025, requests updating custom bidding algorithms that are assigned to line items will return an error. Read more about this announced change.
Retrieves a rules resource.
Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter.
Creates a new custom bidding script. Returns the newly created script if successful. Warning: Starting April 1, 2025, requests updating custom bidding algorithms that are assigned to line items will return an error. Read more about this announced change.
Gets a custom bidding script.
Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.
Creates a rules reference object for an AlgorithmRules file. The resulting reference object provides a resource path where the AlgorithmRules file should be uploaded. This reference object should be included when creating a new CustomBiddingAlgorithmRules resource.
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.
Functions
@spec displayvideo_custom_bidding_algorithms_create( Tesla.Env.client(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithm.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:body(type:GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithm.t) -
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithm{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithm.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets a custom bidding algorithm.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm to fetch. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the DV360 partner that has access to the custom bidding algorithm. -
:partnerId(type:String.t) - The ID of the DV360 partner that has access to the custom bidding algorithm.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithm{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_list( Tesla.Env.client(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.ListCustomBiddingAlgorithmsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
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.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the DV360 advertiser that has access to the custom bidding algorithm. -
:filter(type:String.t) - Allows filtering by custom bidding algorithm fields. Supported syntax: Filter expressions are made up of one or more restrictions. Restrictions can be combined byAND. A sequence of restrictions implicitly usesAND. A restriction has the form of{field} {operator} {value}. ThecustomBiddingAlgorithmTypefield must use theEQUALS (=)operator. ThedisplayNamefield must use theHAS (:)operator. Supported fields:customBiddingAlgorithmTypedisplayNameExamples: All custom bidding algorithms for which the display name contains "politics":displayName:"politics". * All custom bidding algorithms for which the type is "SCRIPT_BASED":customBiddingAlgorithmType=SCRIPT_BASEDThe length of this field should be no more than 500 characters. Reference our filterLISTrequests guide for more information. -
:orderBy(type:String.t) - Field by which to sort the list. Acceptable values are: *displayName(default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example:displayName desc. -
:pageSize(type:integer()) - Requested page size. Must be between1and200. If unspecified will default to100. Returns error codeINVALID_ARGUMENTif an invalid value is specified. -
:pageToken(type:String.t) - A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call toListCustomBiddingAlgorithmsmethod. If not specified, the first page of results will be returned. -
:partnerId(type:String.t) - The ID of the DV360 partner that has access to the custom bidding algorithm.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.ListCustomBiddingAlgorithmsResponse{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_patch( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithm.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. Warning: Starting April 1, 2025, requests updating custom bidding algorithms that are assigned to line items will return an error. Read more about this announced change.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Output only. The unique ID of the custom bidding algorithm. Assigned by the system. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:updateMask(type:String.t) - Required. The mask to control which fields to update. -
:body(type:GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithm.t) -
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithm{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_rules_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRules.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new rules resource. Returns the newly created rules resource if successful. Warning: Starting April 1, 2025, requests updating custom bidding algorithms that are assigned to line items will return an error. Read more about this announced change.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm that owns the rules resource. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the advertiser that owns the parent custom bidding algorithm. -
:partnerId(type:String.t) - The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this rules resource. -
:body(type:GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRules.t) -
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRules{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_rules_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRules.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieves a rules resource.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm that owns the rules resource. -
custom_bidding_algorithm_rules_id(type:String.t) - Required. The ID of the rules resource to fetch. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the advertiser that owns the parent custom bidding algorithm. -
:partnerId(type:String.t) - The ID of the partner that owns the parent custom bidding algorithm.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRules{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_rules_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.ListCustomBiddingAlgorithmRulesResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm that owns the rules resource. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the advertiser that owns the parent custom bidding algorithm. -
:orderBy(type:String.t) - Field by which to sort the list. Acceptable values are: *createTime desc(default) The default sorting order is descending. To specify ascending order for a field, the suffix "desc" should be removed. Example:createTime. -
:pageSize(type:integer()) - Requested page size. Must be between1and200. If unspecified will default to100. Returns error codeINVALID_ARGUMENTif an invalid value is specified. -
:pageToken(type:String.t) - A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call toListCustomBiddingAlgorithmRulesmethod. If not specified, the first page of results will be returned. -
:partnerId(type:String.t) - The ID of the partner that owns the parent custom bidding algorithm.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.ListCustomBiddingAlgorithmRulesResponse{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_scripts_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingScript.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new custom bidding script. Returns the newly created script if successful. Warning: Starting April 1, 2025, requests updating custom bidding algorithms that are assigned to line items will return an error. Read more about this announced change.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm that owns the script. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the advertiser that owns the parent custom bidding algorithm. -
:partnerId(type:String.t) - The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script. -
:body(type:GoogleApi.DisplayVideo.V3.Model.CustomBiddingScript.t) -
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingScript{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_scripts_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingScript.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets a custom bidding script.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm owns the script. -
custom_bidding_script_id(type:String.t) - Required. The ID of the custom bidding script to fetch. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the advertiser that owns the parent custom bidding algorithm. -
:partnerId(type:String.t) - The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingScript{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_scripts_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.ListCustomBiddingScriptsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm owns the script. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the advertiser that owns the parent custom bidding algorithm. -
:orderBy(type:String.t) - Field by which to sort the list. Acceptable values are: *createTime desc(default) The default sorting order is descending. To specify ascending order for a field, the suffix "desc" should be removed. Example:createTime. -
:pageSize(type:integer()) - Requested page size. Must be between1and200. If unspecified will default to100. Returns error codeINVALID_ARGUMENTif an invalid value is specified. -
:pageToken(type:String.t) - A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call toListCustomBiddingScriptsmethod. If not specified, the first page of results will be returned. -
:partnerId(type:String.t) - The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.ListCustomBiddingScriptsResponse{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_upload_rules( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRulesRef.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a rules reference object for an AlgorithmRules file. The resulting reference object provides a resource path where the AlgorithmRules file should be uploaded. This reference object should be included when creating a new CustomBiddingAlgorithmRules resource.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm that owns the rules resource. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the advertiser that owns the parent custom bidding algorithm. -
:partnerId(type:String.t) - The ID of the partner that owns the parent custom bidding algorithm.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRulesRef{}}on success -
{:error, info}on failure
@spec displayvideo_custom_bidding_algorithms_upload_script( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V3.Model.CustomBiddingScriptRef.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
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.
Parameters
-
connection(type:GoogleApi.DisplayVideo.V3.Connection.t) - Connection to server -
custom_bidding_algorithm_id(type:String.t) - Required. The ID of the custom bidding algorithm owns the script. -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:advertiserId(type:String.t) - The ID of the advertiser that owns the parent custom bidding algorithm. -
:partnerId(type:String.t) - The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V3.Model.CustomBiddingScriptRef{}}on success -
{:error, info}on failure