Skip to content

Commit 22caa4f

Browse files
feat(displayvideo): update the api
#### displayvideo:v1 The following keys were deleted: - resources.customBiddingAlgorithms.methods.create (Total Keys: 8) - resources.customBiddingAlgorithms.methods.patch (Total Keys: 16) - schemas.BusinessChainSearchTerms.properties.businessChain.type (Total Keys: 1) - schemas.BusinessChainSearchTerms.properties.region.type (Total Keys: 1) The following keys were added: - schemas.BusinessChainSearchTerms.properties.businessChainQuery.type (Total Keys: 1) - schemas.BusinessChainSearchTerms.properties.regionQuery.type (Total Keys: 1)
1 parent 01ea12c commit 22caa4f

File tree

3 files changed

+5
-156
lines changed

3 files changed

+5
-156
lines changed

docs/dyn/displayvideo_v1.customBiddingAlgorithms.html

Lines changed: 0 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80-
<p class="toc_element">
81-
<code><a href="#create">create(body=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.</p>
8380
<p class="toc_element">
8481
<code><a href="#get">get(customBiddingAlgorithmId, advertiserId=None, partnerId=None, x__xgafv=None)</a></code></p>
8582
<p class="firstline">Gets a custom bidding algorithm.</p>
@@ -89,60 +86,12 @@ <h2>Instance Methods</h2>
8986
<p class="toc_element">
9087
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
9188
<p class="firstline">Retrieves the next page of results.</p>
92-
<p class="toc_element">
93-
<code><a href="#patch">patch(customBiddingAlgorithmId, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94-
<p class="firstline">Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.</p>
9589
<h3>Method Details</h3>
9690
<div class="method">
9791
<code class="details" id="close">close()</code>
9892
<pre>Close httplib2 connections.</pre>
9993
</div>
10094

101-
<div class="method">
102-
<code class="details" id="create">create(body=None, x__xgafv=None)</code>
103-
<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-
&quot;advertiserId&quot;: &quot;A String&quot;, # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.
111-
&quot;customBiddingAlgorithmId&quot;: &quot;A String&quot;, # Output only. The unique ID of the custom bidding algorithm. Assigned by the system.
112-
&quot;customBiddingAlgorithmState&quot;: &quot;A String&quot;, # Output only. The status of custom bidding algorithm.
113-
&quot;customBiddingAlgorithmType&quot;: &quot;A String&quot;, # Required. Immutable. The type of custom bidding algorithm.
114-
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.
115-
&quot;entityStatus&quot;: &quot;A String&quot;, # 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-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the custom bidding algorithm.
117-
&quot;partnerId&quot;: &quot;A String&quot;, # Immutable. The unique ID of the partner that owns the custom bidding algorithm.
118-
&quot;sharedAdvertiserIds&quot;: [ # 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-
&quot;A String&quot;,
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-
&quot;advertiserId&quot;: &quot;A String&quot;, # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.
133-
&quot;customBiddingAlgorithmId&quot;: &quot;A String&quot;, # Output only. The unique ID of the custom bidding algorithm. Assigned by the system.
134-
&quot;customBiddingAlgorithmState&quot;: &quot;A String&quot;, # Output only. The status of custom bidding algorithm.
135-
&quot;customBiddingAlgorithmType&quot;: &quot;A String&quot;, # Required. Immutable. The type of custom bidding algorithm.
136-
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.
137-
&quot;entityStatus&quot;: &quot;A String&quot;, # 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-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the custom bidding algorithm.
139-
&quot;partnerId&quot;: &quot;A String&quot;, # Immutable. The unique ID of the partner that owns the custom bidding algorithm.
140-
&quot;sharedAdvertiserIds&quot;: [ # 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.
141-
&quot;A String&quot;,
142-
],
143-
}</pre>
144-
</div>
145-
14695
<div class="method">
14796
<code class="details" id="get">get(customBiddingAlgorithmId, advertiserId=None, partnerId=None, x__xgafv=None)</code>
14897
<pre>Gets a custom bidding algorithm.
@@ -227,51 +176,4 @@ <h3>Method Details</h3>
227176
</pre>
228177
</div>
229178

230-
<div class="method">
231-
<code class="details" id="patch">patch(customBiddingAlgorithmId, body=None, updateMask=None, x__xgafv=None)</code>
232-
<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-
&quot;advertiserId&quot;: &quot;A String&quot;, # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.
241-
&quot;customBiddingAlgorithmId&quot;: &quot;A String&quot;, # Output only. The unique ID of the custom bidding algorithm. Assigned by the system.
242-
&quot;customBiddingAlgorithmState&quot;: &quot;A String&quot;, # Output only. The status of custom bidding algorithm.
243-
&quot;customBiddingAlgorithmType&quot;: &quot;A String&quot;, # Required. Immutable. The type of custom bidding algorithm.
244-
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.
245-
&quot;entityStatus&quot;: &quot;A String&quot;, # 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-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the custom bidding algorithm.
247-
&quot;partnerId&quot;: &quot;A String&quot;, # Immutable. The unique ID of the partner that owns the custom bidding algorithm.
248-
&quot;sharedAdvertiserIds&quot;: [ # 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-
&quot;A String&quot;,
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-
&quot;advertiserId&quot;: &quot;A String&quot;, # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.
264-
&quot;customBiddingAlgorithmId&quot;: &quot;A String&quot;, # Output only. The unique ID of the custom bidding algorithm. Assigned by the system.
265-
&quot;customBiddingAlgorithmState&quot;: &quot;A String&quot;, # Output only. The status of custom bidding algorithm.
266-
&quot;customBiddingAlgorithmType&quot;: &quot;A String&quot;, # Required. Immutable. The type of custom bidding algorithm.
267-
&quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.
268-
&quot;entityStatus&quot;: &quot;A String&quot;, # 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-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the custom bidding algorithm.
270-
&quot;partnerId&quot;: &quot;A String&quot;, # Immutable. The unique ID of the partner that owns the custom bidding algorithm.
271-
&quot;sharedAdvertiserIds&quot;: [ # 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.
272-
&quot;A String&quot;,
273-
],
274-
}</pre>
275-
</div>
276-
277179
</body></html>

docs/dyn/displayvideo_v1.targetingTypes.targetingOptions.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ <h3>Method Details</h3>
493493
{ # Request message for SearchTargetingOptions.
494494
&quot;advertiserId&quot;: &quot;A String&quot;, # Required. The Advertiser this request is being made in the context of.
495495
&quot;businessChainSearchTerms&quot;: { # 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-
&quot;businessChain&quot;: &quot;A String&quot;, # The search query for the desired business chain. The query must be the full name of the business, e.g. &quot;KFC&quot;, &quot;mercedes-benz&quot;.
497-
&quot;region&quot;: &quot;A String&quot;, # The search query for the desired geo region, e.g. &quot;Seattle&quot;, &quot;United State&quot;.
496+
&quot;businessChainQuery&quot;: &quot;A String&quot;, # The search query for the desired business chain. The query must be the full name of the business, e.g. &quot;KFC&quot;, &quot;mercedes-benz&quot;.
497+
&quot;regionQuery&quot;: &quot;A String&quot;, # The search query for the desired geo region, e.g. &quot;Seattle&quot;, &quot;United State&quot;.
498498
},
499499
&quot;geoRegionSearchTerms&quot;: { # 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`.
500500
&quot;geoRegionQuery&quot;: &quot;A String&quot;, # The search query for the desired geo region. The query can be a prefix, e.g. &quot;New Yor&quot;, &quot;Seattle&quot;, &quot;USA&quot;, etc.

googleapiclient/discovery_cache/documents/displayvideo.v1.json

Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -4717,24 +4717,6 @@
47174717
},
47184718
"customBiddingAlgorithms": {
47194719
"methods": {
4720-
"create": {
4721-
"description": "Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.",
4722-
"flatPath": "v1/customBiddingAlgorithms",
4723-
"httpMethod": "POST",
4724-
"id": "displayvideo.customBiddingAlgorithms.create",
4725-
"parameterOrder": [],
4726-
"parameters": {},
4727-
"path": "v1/customBiddingAlgorithms",
4728-
"request": {
4729-
"$ref": "CustomBiddingAlgorithm"
4730-
},
4731-
"response": {
4732-
"$ref": "CustomBiddingAlgorithm"
4733-
},
4734-
"scopes": [
4735-
"https://www.googleapis.com/auth/display-video"
4736-
]
4737-
},
47384720
"get": {
47394721
"description": "Gets a custom bidding algorithm.",
47404722
"flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}",
@@ -4821,41 +4803,6 @@
48214803
"scopes": [
48224804
"https://www.googleapis.com/auth/display-video"
48234805
]
4824-
},
4825-
"patch": {
4826-
"description": "Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.",
4827-
"flatPath": "v1/customBiddingAlgorithms/{customBiddingAlgorithmsId}",
4828-
"httpMethod": "PATCH",
4829-
"id": "displayvideo.customBiddingAlgorithms.patch",
4830-
"parameterOrder": [
4831-
"customBiddingAlgorithmId"
4832-
],
4833-
"parameters": {
4834-
"customBiddingAlgorithmId": {
4835-
"description": "Output only. The unique ID of the custom bidding algorithm. Assigned by the system.",
4836-
"format": "int64",
4837-
"location": "path",
4838-
"pattern": "^[^/]+$",
4839-
"required": true,
4840-
"type": "string"
4841-
},
4842-
"updateMask": {
4843-
"description": "Required. The mask to control which fields to update.",
4844-
"format": "google-fieldmask",
4845-
"location": "query",
4846-
"type": "string"
4847-
}
4848-
},
4849-
"path": "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}",
4850-
"request": {
4851-
"$ref": "CustomBiddingAlgorithm"
4852-
},
4853-
"response": {
4854-
"$ref": "CustomBiddingAlgorithm"
4855-
},
4856-
"scopes": [
4857-
"https://www.googleapis.com/auth/display-video"
4858-
]
48594806
}
48604807
}
48614808
},
@@ -7370,7 +7317,7 @@
73707317
}
73717318
}
73727319
},
7373-
"revision": "20210902",
7320+
"revision": "20210913",
73747321
"rootUrl": "https://displayvideo.googleapis.com/",
73757322
"schemas": {
73767323
"ActivateManualTriggerRequest": {
@@ -8949,11 +8896,11 @@
89498896
"description": "Search terms for Business Chain targeting options. At least one of the field should be populated.",
89508897
"id": "BusinessChainSearchTerms",
89518898
"properties": {
8952-
"businessChain": {
8899+
"businessChainQuery": {
89538900
"description": "The search query for the desired business chain. The query must be the full name of the business, e.g. \"KFC\", \"mercedes-benz\".",
89548901
"type": "string"
89558902
},
8956-
"region": {
8903+
"regionQuery": {
89578904
"description": "The search query for the desired geo region, e.g. \"Seattle\", \"United State\".",
89588905
"type": "string"
89598906
}

0 commit comments

Comments
 (0)