Skip to content

Commit 0b9b7eb

Browse files
feat(displayvideo): update the api
#### displayvideo:v1 The following keys were added: - resources.advertisers.resources.campaigns.methods.bulkListCampaignAssignedTargetingOptions (Total Keys: 26) - resources.advertisers.resources.campaigns.resources.targetingTypes.resources.assignedTargetingOptions.methods.get (Total Keys: 25) - resources.advertisers.resources.campaigns.resources.targetingTypes.resources.assignedTargetingOptions.methods.list (Total Keys: 30) - resources.advertisers.resources.channels.resources.sites.methods.replace (Total Keys: 17) - resources.advertisers.resources.lineItems.methods.generateDefault (Total Keys: 13) - resources.advertisers.resources.negativeKeywordLists.resources.negativeKeywords.methods.replace (Total Keys: 17) - resources.partners.resources.channels.resources.sites.methods.replace (Total Keys: 17) - schemas.AppAssignedTargetingOptionDetails.properties.appPlatform (Total Keys: 1) - schemas.BulkListCampaignAssignedTargetingOptionsResponse (Total Keys: 5) - schemas.GenerateDefaultLineItemRequest (Total Keys: 7) - schemas.ListCampaignAssignedTargetingOptionsResponse (Total Keys: 5) - schemas.ReplaceNegativeKeywordsRequest (Total Keys: 4) - schemas.ReplaceNegativeKeywordsResponse (Total Keys: 4) - schemas.ReplaceSitesRequest (Total Keys: 8) - schemas.ReplaceSitesResponse (Total Keys: 4)
1 parent d8e65a5 commit 0b9b7eb

15 files changed

+2183
-76
lines changed

docs/dyn/displayvideo_v1.advertisers.campaigns.html

Lines changed: 331 additions & 18 deletions
Large diffs are not rendered by default.

docs/dyn/displayvideo_v1.advertisers.campaigns.targetingTypes.assignedTargetingOptions.html

Lines changed: 757 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="displayvideo_v1.html">Display & Video 360 API</a> . <a href="displayvideo_v1.advertisers.html">advertisers</a> . <a href="displayvideo_v1.advertisers.campaigns.html">campaigns</a> . <a href="displayvideo_v1.advertisers.campaigns.targetingTypes.html">targetingTypes</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="displayvideo_v1.advertisers.campaigns.targetingTypes.assignedTargetingOptions.html">assignedTargetingOptions()</a></code>
79+
</p>
80+
<p class="firstline">Returns the assignedTargetingOptions Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<h3>Method Details</h3>
86+
<div class="method">
87+
<code class="details" id="close">close()</code>
88+
<pre>Close httplib2 connections.</pre>
89+
</div>
90+
91+
</body></html>

docs/dyn/displayvideo_v1.advertisers.channels.sites.html

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ <h2>Instance Methods</h2>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
95+
<p class="toc_element">
96+
<code><a href="#replace">replace(advertiserId, channelId, body=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites.</p>
9598
<h3>Method Details</h3>
9699
<div class="method">
97100
<code class="details" id="bulkEdit">bulkEdit(advertiserId, channelId, body=None, x__xgafv=None)</code>
@@ -200,7 +203,7 @@ <h3>Method Details</h3>
200203
channelId: string, Required. The ID of the parent channel to which the requested sites belong. (required)
201204
filter: string, Allows filtering by site fields. Supported syntax: * Filter expressions for site currently can only contain at most one * restriction. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `CONTAINS (:)`. * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL or app ID contains &quot;google&quot;: `urlOrAppId : &quot;google&quot;`
202205
orderBy: string, Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix &quot; desc&quot; should be added to the field name. Example: `urlOrAppId desc`.
203-
pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
206+
pageSize: integer, Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
204207
pageToken: string, 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 to `ListSites` method. If not specified, the first page of results will be returned.
205208
partnerId: string, The ID of the partner that owns the parent channel.
206209
x__xgafv: string, V1 error format.
@@ -236,4 +239,43 @@ <h3>Method Details</h3>
236239
</pre>
237240
</div>
238241

242+
<div class="method">
243+
<code class="details" id="replace">replace(advertiserId, channelId, body=None, x__xgafv=None)</code>
244+
<pre>Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites.
245+
246+
Args:
247+
advertiserId: string, The ID of the advertiser that owns the parent channel. (required)
248+
channelId: string, Required. The ID of the parent channel whose sites will be replaced. (required)
249+
body: object, The request body.
250+
The object takes the form of:
251+
252+
{ # Request message for SiteService.ReplaceSites.
253+
&quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the parent channel.
254+
&quot;newSites&quot;: [ # The sites that will replace the existing sites assigned to the channel, specified as a list of Sites.
255+
{ # A single site. Sites are apps or websites belonging to a channel.
256+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the site.
257+
&quot;urlOrAppId&quot;: &quot;A String&quot;, # Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.
258+
},
259+
],
260+
&quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the parent channel.
261+
}
262+
263+
x__xgafv: string, V1 error format.
264+
Allowed values
265+
1 - v1 error format
266+
2 - v2 error format
267+
268+
Returns:
269+
An object of the form:
270+
271+
{ # Response message for SiteService.ReplaceSites.
272+
&quot;sites&quot;: [ # The list of sites in the channel after replacing.
273+
{ # A single site. Sites are apps or websites belonging to a channel.
274+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the site.
275+
&quot;urlOrAppId&quot;: &quot;A String&quot;, # Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.
276+
},
277+
],
278+
}</pre>
279+
</div>
280+
239281
</body></html>

docs/dyn/displayvideo_v1.advertisers.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ <h3>Method Details</h3>
210210
},
211211
&quot;appDetails&quot;: { # Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`. # App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`.
212212
&quot;appId&quot;: &quot;A String&quot;, # Required. The ID of the app. Android&#x27;s Play store app uses bundle ID, for example `com.google.android.gm`. Apple&#x27;s App store app ID uses 9 digit string, for example `422689480`.
213+
&quot;appPlatform&quot;: &quot;A String&quot;, # Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.
213214
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the app.
214215
&quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
215216
},
@@ -495,6 +496,7 @@ <h3>Method Details</h3>
495496
},
496497
&quot;appDetails&quot;: { # Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`. # App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`.
497498
&quot;appId&quot;: &quot;A String&quot;, # Required. The ID of the app. Android&#x27;s Play store app uses bundle ID, for example `com.google.android.gm`. Apple&#x27;s App store app ID uses 9 digit string, for example `422689480`.
499+
&quot;appPlatform&quot;: &quot;A String&quot;, # Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.
498500
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the app.
499501
&quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
500502
},
@@ -780,6 +782,7 @@ <h3>Method Details</h3>
780782
},
781783
&quot;appDetails&quot;: { # Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`. # App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`.
782784
&quot;appId&quot;: &quot;A String&quot;, # Required. The ID of the app. Android&#x27;s Play store app uses bundle ID, for example `com.google.android.gm`. Apple&#x27;s App store app ID uses 9 digit string, for example `422689480`.
785+
&quot;appPlatform&quot;: &quot;A String&quot;, # Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.
783786
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the app.
784787
&quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
785788
},

0 commit comments

Comments
 (0)