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
<pre>Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.
104
-
105
-
Args:
106
-
body: object, The request body.
107
-
The object takes the form of:
108
-
109
-
{ # A single custom bidding algorithm.
110
-
"advertiserId": "A String", # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.
111
-
"customBiddingAlgorithmId": "A String", # Output only. The unique ID of the custom bidding algorithm. Assigned by the system.
112
-
"customBiddingAlgorithmState": "A String", # Output only. The status of custom bidding algorithm.
113
-
"customBiddingAlgorithmType": "A String", # Required. Immutable. The type of custom bidding algorithm.
114
-
"displayName": "A String", # Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.
115
-
"entityStatus": "A String", # Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED`
116
-
"name": "A String", # Output only. The resource name of the custom bidding algorithm.
117
-
"partnerId": "A String", # Immutable. The unique ID of the partner that owns the custom bidding algorithm.
118
-
"sharedAdvertiserIds": [ # The IDs of the advertisers who have access to this algorithm. This field will not be set if the algorithm owner is a partner and is being retrieved using an advertiser accessor.
119
-
"A String",
120
-
],
121
-
}
122
-
123
-
x__xgafv: string, V1 error format.
124
-
Allowed values
125
-
1 - v1 error format
126
-
2 - v2 error format
127
-
128
-
Returns:
129
-
An object of the form:
130
-
131
-
{ # A single custom bidding algorithm.
132
-
"advertiserId": "A String", # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.
133
-
"customBiddingAlgorithmId": "A String", # Output only. The unique ID of the custom bidding algorithm. Assigned by the system.
134
-
"customBiddingAlgorithmState": "A String", # Output only. The status of custom bidding algorithm.
135
-
"customBiddingAlgorithmType": "A String", # Required. Immutable. The type of custom bidding algorithm.
136
-
"displayName": "A String", # Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.
137
-
"entityStatus": "A String", # Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED`
138
-
"name": "A String", # Output only. The resource name of the custom bidding algorithm.
139
-
"partnerId": "A String", # Immutable. The unique ID of the partner that owns the custom bidding algorithm.
140
-
"sharedAdvertiserIds": [ # The IDs of the advertisers who have access to this algorithm. This field will not be set if the algorithm owner is a partner and is being retrieved using an advertiser accessor.
<pre>Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.
233
-
234
-
Args:
235
-
customBiddingAlgorithmId: string, Output only. The unique ID of the custom bidding algorithm. Assigned by the system. (required)
236
-
body: object, The request body.
237
-
The object takes the form of:
238
-
239
-
{ # A single custom bidding algorithm.
240
-
"advertiserId": "A String", # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.
241
-
"customBiddingAlgorithmId": "A String", # Output only. The unique ID of the custom bidding algorithm. Assigned by the system.
242
-
"customBiddingAlgorithmState": "A String", # Output only. The status of custom bidding algorithm.
243
-
"customBiddingAlgorithmType": "A String", # Required. Immutable. The type of custom bidding algorithm.
244
-
"displayName": "A String", # Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.
245
-
"entityStatus": "A String", # Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED`
246
-
"name": "A String", # Output only. The resource name of the custom bidding algorithm.
247
-
"partnerId": "A String", # Immutable. The unique ID of the partner that owns the custom bidding algorithm.
248
-
"sharedAdvertiserIds": [ # The IDs of the advertisers who have access to this algorithm. This field will not be set if the algorithm owner is a partner and is being retrieved using an advertiser accessor.
249
-
"A String",
250
-
],
251
-
}
252
-
253
-
updateMask: string, Required. The mask to control which fields to update.
254
-
x__xgafv: string, V1 error format.
255
-
Allowed values
256
-
1 - v1 error format
257
-
2 - v2 error format
258
-
259
-
Returns:
260
-
An object of the form:
261
-
262
-
{ # A single custom bidding algorithm.
263
-
"advertiserId": "A String", # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.
264
-
"customBiddingAlgorithmId": "A String", # Output only. The unique ID of the custom bidding algorithm. Assigned by the system.
265
-
"customBiddingAlgorithmState": "A String", # Output only. The status of custom bidding algorithm.
266
-
"customBiddingAlgorithmType": "A String", # Required. Immutable. The type of custom bidding algorithm.
267
-
"displayName": "A String", # Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.
268
-
"entityStatus": "A String", # Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED`
269
-
"name": "A String", # Output only. The resource name of the custom bidding algorithm.
270
-
"partnerId": "A String", # Immutable. The unique ID of the partner that owns the custom bidding algorithm.
271
-
"sharedAdvertiserIds": [ # The IDs of the advertisers who have access to this algorithm. This field will not be set if the algorithm owner is a partner and is being retrieved using an advertiser accessor.
Copy file name to clipboardExpand all lines: docs/dyn/displayvideo_v1.targetingTypes.targetingOptions.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -493,8 +493,8 @@ <h3>Method Details</h3>
493
493
{ # Request message for SearchTargetingOptions.
494
494
"advertiserId": "A String", # Required. The Advertiser this request is being made in the context of.
495
495
"businessChainSearchTerms": { # Search terms for Business Chain targeting options. At least one of the field should be populated. # Search terms for Business Chain targeting options. Can only be used when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.
496
-
"businessChain": "A String", # The search query for the desired business chain. The query must be the full name of the business, e.g. "KFC", "mercedes-benz".
497
-
"region": "A String", # The search query for the desired geo region, e.g. "Seattle", "United State".
496
+
"businessChainQuery": "A String", # The search query for the desired business chain. The query must be the full name of the business, e.g. "KFC", "mercedes-benz".
497
+
"regionQuery": "A String", # The search query for the desired geo region, e.g. "Seattle", "United State".
498
498
},
499
499
"geoRegionSearchTerms": { # Search terms for geo region targeting options. # Search terms for geo region targeting options. Can only be used when targeting_type is `TARGETING_TYPE_GEO_REGION`.
500
500
"geoRegionQuery": "A String", # The search query for the desired geo region. The query can be a prefix, e.g. "New Yor", "Seattle", "USA", etc.
0 commit comments