1<html><body> 2<style> 3 4body, 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 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, 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.inventorySourceGroups.html">inventorySourceGroups</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="displayvideo_v1.inventorySourceGroups.assignedInventorySources.html">assignedInventorySources()</a></code> 79</p> 80<p class="firstline">Returns the assignedInventorySources 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<p class="toc_element"> 86 <code><a href="#create">create(advertiserId=None, body=None, partnerId=None, x__xgafv=None)</a></code></p> 87<p class="firstline">Creates a new inventory source group. Returns the newly created inventory source group if successful.</p> 88<p class="toc_element"> 89 <code><a href="#delete">delete(inventorySourceGroupId, advertiserId=None, partnerId=None, x__xgafv=None)</a></code></p> 90<p class="firstline">Deletes an inventory source group.</p> 91<p class="toc_element"> 92 <code><a href="#get">get(inventorySourceGroupId, advertiserId=None, partnerId=None, x__xgafv=None)</a></code></p> 93<p class="firstline">Gets an inventory source group.</p> 94<p class="toc_element"> 95 <code><a href="#list">list(advertiserId=None, filter=None, orderBy=None, pageSize=None, pageToken=None, partnerId=None, x__xgafv=None)</a></code></p> 96<p class="firstline">Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.</p> 97<p class="toc_element"> 98 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 99<p class="firstline">Retrieves the next page of results.</p> 100<p class="toc_element"> 101 <code><a href="#patch">patch(inventorySourceGroupId, advertiserId=None, body=None, partnerId=None, updateMask=None, x__xgafv=None)</a></code></p> 102<p class="firstline">Updates an inventory source group. Returns the updated inventory source group if successful.</p> 103<h3>Method Details</h3> 104<div class="method"> 105 <code class="details" id="close">close()</code> 106 <pre>Close httplib2 connections.</pre> 107</div> 108 109<div class="method"> 110 <code class="details" id="create">create(advertiserId=None, body=None, partnerId=None, x__xgafv=None)</code> 111 <pre>Creates a new inventory source group. Returns the newly created inventory source group if successful. 112 113Args: 114 body: object, The request body. 115 The object takes the form of: 116 117{ # A collection of targetable inventory sources. 118 "displayName": "A String", # Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes. 119 "inventorySourceGroupId": "A String", # Output only. The unique ID of the inventory source group. Assigned by the system. 120 "name": "A String", # Output only. The resource name of the inventory source group. 121} 122 123 advertiserId: string, The ID of the advertiser that owns the inventory source group. The parent partner will not have access to this group. 124 partnerId: string, The ID of the partner that owns the inventory source group. Only this partner will have write access to this group. Only advertisers to which this group is explicitly shared will have read access to this group. 125 x__xgafv: string, V1 error format. 126 Allowed values 127 1 - v1 error format 128 2 - v2 error format 129 130Returns: 131 An object of the form: 132 133 { # A collection of targetable inventory sources. 134 "displayName": "A String", # Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes. 135 "inventorySourceGroupId": "A String", # Output only. The unique ID of the inventory source group. Assigned by the system. 136 "name": "A String", # Output only. The resource name of the inventory source group. 137}</pre> 138</div> 139 140<div class="method"> 141 <code class="details" id="delete">delete(inventorySourceGroupId, advertiserId=None, partnerId=None, x__xgafv=None)</code> 142 <pre>Deletes an inventory source group. 143 144Args: 145 inventorySourceGroupId: string, Required. The ID of the inventory source group to delete. (required) 146 advertiserId: string, The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group. 147 partnerId: string, The ID of the partner that owns the inventory source group. Only this partner has write access to this group. 148 x__xgafv: string, V1 error format. 149 Allowed values 150 1 - v1 error format 151 2 - v2 error format 152 153Returns: 154 An object of the form: 155 156 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. 157}</pre> 158</div> 159 160<div class="method"> 161 <code class="details" id="get">get(inventorySourceGroupId, advertiserId=None, partnerId=None, x__xgafv=None)</code> 162 <pre>Gets an inventory source group. 163 164Args: 165 inventorySourceGroupId: string, Required. The ID of the inventory source group to fetch. (required) 166 advertiserId: string, The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group. 167 partnerId: string, The ID of the partner that has access to the inventory source group. A partner cannot access an advertiser-owned inventory source group. 168 x__xgafv: string, V1 error format. 169 Allowed values 170 1 - v1 error format 171 2 - v2 error format 172 173Returns: 174 An object of the form: 175 176 { # A collection of targetable inventory sources. 177 "displayName": "A String", # Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes. 178 "inventorySourceGroupId": "A String", # Output only. The unique ID of the inventory source group. Assigned by the system. 179 "name": "A String", # Output only. The resource name of the inventory source group. 180}</pre> 181</div> 182 183<div class="method"> 184 <code class="details" id="list">list(advertiserId=None, filter=None, orderBy=None, pageSize=None, pageToken=None, partnerId=None, x__xgafv=None)</code> 185 <pre>Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter. 186 187Args: 188 advertiserId: string, The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group. 189 filter: string, Allows filtering by inventory source group properties. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `EQUALS (=)`. * Supported fields: - `inventorySourceGroupId` The length of this field should be no more than 500 characters. 190 orderBy: string, Field by which to sort the list. Acceptable values are: * `displayName` (default) * `inventorySourceGroupId` The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. For example, `displayName desc`. 191 pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. 192 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 `ListInventorySources` method. If not specified, the first page of results will be returned. 193 partnerId: string, The ID of the partner that has access to the inventory source group. A partner cannot access advertiser-owned inventory source groups. 194 x__xgafv: string, V1 error format. 195 Allowed values 196 1 - v1 error format 197 2 - v2 error format 198 199Returns: 200 An object of the form: 201 202 { # Response message for InventorySourceGroupService.ListInventorySourceGroups. 203 "inventorySourceGroups": [ # The list of inventory source groups. This list will be absent if empty. 204 { # A collection of targetable inventory sources. 205 "displayName": "A String", # Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes. 206 "inventorySourceGroupId": "A String", # Output only. The unique ID of the inventory source group. Assigned by the system. 207 "name": "A String", # Output only. The resource name of the inventory source group. 208 }, 209 ], 210 "nextPageToken": "A String", # A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInventorySourceGroups` method to retrieve the next page of results. 211}</pre> 212</div> 213 214<div class="method"> 215 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 216 <pre>Retrieves the next page of results. 217 218Args: 219 previous_request: The request for the previous page. (required) 220 previous_response: The response from the request for the previous page. (required) 221 222Returns: 223 A request object that you can call 'execute()' on to request the next 224 page. Returns None if there are no more items in the collection. 225 </pre> 226</div> 227 228<div class="method"> 229 <code class="details" id="patch">patch(inventorySourceGroupId, advertiserId=None, body=None, partnerId=None, updateMask=None, x__xgafv=None)</code> 230 <pre>Updates an inventory source group. Returns the updated inventory source group if successful. 231 232Args: 233 inventorySourceGroupId: string, Output only. The unique ID of the inventory source group. Assigned by the system. (required) 234 body: object, The request body. 235 The object takes the form of: 236 237{ # A collection of targetable inventory sources. 238 "displayName": "A String", # Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes. 239 "inventorySourceGroupId": "A String", # Output only. The unique ID of the inventory source group. Assigned by the system. 240 "name": "A String", # Output only. The resource name of the inventory source group. 241} 242 243 advertiserId: string, The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group. 244 partnerId: string, The ID of the partner that owns the inventory source group. Only this partner has write access to this group. 245 updateMask: string, Required. The mask to control which fields to update. 246 x__xgafv: string, V1 error format. 247 Allowed values 248 1 - v1 error format 249 2 - v2 error format 250 251Returns: 252 An object of the form: 253 254 { # A collection of targetable inventory sources. 255 "displayName": "A String", # Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes. 256 "inventorySourceGroupId": "A String", # Output only. The unique ID of the inventory source group. Assigned by the system. 257 "name": "A String", # Output only. The resource name of the inventory source group. 258}</pre> 259</div> 260 261</body></html>