You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Activates an existing bidding function. An activated function is available for invocation for the server-side TURTLEDOVE simulations.</p>
<pclass="firstline">Archives an existing bidding function. An archived function will not be available for function invocation for the server-side TURTLEDOVE simulations unless it is activated.</p>
<pre>Activates an existing bidding function. An activated function is available for invocation for the server-side TURTLEDOVE simulations.
99
+
100
+
Args:
101
+
name: string, Required. The name of the bidding function to activate. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}` (required)
102
+
body: object, The request body.
103
+
The object takes the form of:
104
+
105
+
{ # The request to activate a bidding function.
106
+
}
107
+
108
+
x__xgafv: string, V1 error format.
109
+
Allowed values
110
+
1 - v1 error format
111
+
2 - v2 error format
112
+
113
+
Returns:
114
+
An object of the form:
115
+
116
+
{ # The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.
117
+
"biddingFunction": "A String", # The raw Javascript source code of the bidding function.
118
+
"name": "A String", # The name of the bidding function that must follow the pattern: `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`.
119
+
"state": "A String", # Output only. The state of the bidding function.
120
+
"type": "A String", # The type of the bidding function to be created.
<pre>Archives an existing bidding function. An archived function will not be available for function invocation for the server-side TURTLEDOVE simulations unless it is activated.
127
+
128
+
Args:
129
+
name: string, Required. The name of the bidding function to archive. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}` (required)
130
+
body: object, The request body.
131
+
The object takes the form of:
132
+
133
+
{ # A request to archive a bidding function.
134
+
}
135
+
136
+
x__xgafv: string, V1 error format.
137
+
Allowed values
138
+
1 - v1 error format
139
+
2 - v2 error format
140
+
141
+
Returns:
142
+
An object of the form:
143
+
144
+
{ # The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.
145
+
"biddingFunction": "A String", # The raw Javascript source code of the bidding function.
146
+
"name": "A String", # The name of the bidding function that must follow the pattern: `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`.
147
+
"state": "A String", # Output only. The state of the bidding function.
148
+
"type": "A String", # The type of the bidding function to be created.
149
+
}</pre>
150
+
</div>
151
+
90
152
<divclass="method">
91
153
<codeclass="details" id="close">close()</code>
92
154
<pre>Close httplib2 connections.</pre>
@@ -104,6 +166,7 @@ <h3>Method Details</h3>
104
166
{ # The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.
105
167
"biddingFunction": "A String", # The raw Javascript source code of the bidding function.
106
168
"name": "A String", # The name of the bidding function that must follow the pattern: `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`.
169
+
"state": "A String", # Output only. The state of the bidding function.
107
170
"type": "A String", # The type of the bidding function to be created.
108
171
}
109
172
@@ -118,6 +181,7 @@ <h3>Method Details</h3>
118
181
{ # The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.
119
182
"biddingFunction": "A String", # The raw Javascript source code of the bidding function.
120
183
"name": "A String", # The name of the bidding function that must follow the pattern: `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`.
184
+
"state": "A String", # Output only. The state of the bidding function.
121
185
"type": "A String", # The type of the bidding function to be created.
122
186
}</pre>
123
187
</div>
@@ -143,6 +207,7 @@ <h3>Method Details</h3>
143
207
{ # The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.
144
208
"biddingFunction": "A String", # The raw Javascript source code of the bidding function.
145
209
"name": "A String", # The name of the bidding function that must follow the pattern: `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`.
210
+
"state": "A String", # Output only. The state of the bidding function.
146
211
"type": "A String", # The type of the bidding function to be created.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json
+84-1
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,62 @@
109
109
"resources": {
110
110
"biddingFunctions": {
111
111
"methods": {
112
+
"activate": {
113
+
"description": "Activates an existing bidding function. An activated function is available for invocation for the server-side TURTLEDOVE simulations.",
"description": "Required. The name of the bidding function to activate. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`",
"description": "Archives an existing bidding function. An archived function will not be available for function invocation for the server-side TURTLEDOVE simulations unless it is activated.",
"description": "The request to activate a bidding function.",
242
+
"id": "ActivateBiddingFunctionRequest",
243
+
"properties": {},
244
+
"type": "object"
245
+
},
246
+
"ArchiveBiddingFunctionRequest": {
247
+
"description": "A request to archive a bidding function.",
248
+
"id": "ArchiveBiddingFunctionRequest",
249
+
"properties": {},
250
+
"type": "object"
251
+
},
184
252
"BiddingFunction": {
185
253
"description": "The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.",
186
254
"id": "BiddingFunction",
@@ -193,6 +261,21 @@
193
261
"description": "The name of the bidding function that must follow the pattern: `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`.",
194
262
"type": "string"
195
263
},
264
+
"state": {
265
+
"description": "Output only. The state of the bidding function.",
266
+
"enum": [
267
+
"STATE_UNSPECIFIED",
268
+
"ACTIVE",
269
+
"ARCHIVED"
270
+
],
271
+
"enumDescriptions": [
272
+
"Default value that should not be used.",
273
+
"An active function. Only `ACTIVE` bidding functions or ad scoring functions are made available for the server-side TURTLEDOVE simulations. Every account is limited to 10 active bidding functions per account.",
274
+
"A function that is no longer made available for invocation in a simulation and instead archived. An archived function can later be made active by activating the function via `ActivateBiddingFunction`."
275
+
],
276
+
"readOnly": true,
277
+
"type": "string"
278
+
},
196
279
"type": {
197
280
"description": "The type of the bidding function to be created.",
0 commit comments