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="adexchangebuyer_v1_3.html">Ad Exchange Buyer API</a> . <a href="adexchangebuyer_v1_3.pretargetingConfig.html">pretargetingConfig</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#delete">delete(accountId, configId)</a></code></p>
82<p class="firstline">Deletes an existing pretargeting config.</p>
83<p class="toc_element">
84  <code><a href="#get">get(accountId, configId)</a></code></p>
85<p class="firstline">Gets a specific pretargeting configuration</p>
86<p class="toc_element">
87  <code><a href="#insert">insert(accountId, body=None)</a></code></p>
88<p class="firstline">Inserts a new pretargeting configuration.</p>
89<p class="toc_element">
90  <code><a href="#list">list(accountId)</a></code></p>
91<p class="firstline">Retrieves a list of the authenticated user's pretargeting configurations.</p>
92<p class="toc_element">
93  <code><a href="#patch">patch(accountId, configId, body=None)</a></code></p>
94<p class="firstline">Updates an existing pretargeting config. This method supports patch semantics.</p>
95<p class="toc_element">
96  <code><a href="#update">update(accountId, configId, body=None)</a></code></p>
97<p class="firstline">Updates an existing pretargeting config.</p>
98<h3>Method Details</h3>
99<div class="method">
100    <code class="details" id="close">close()</code>
101  <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
105    <code class="details" id="delete">delete(accountId, configId)</code>
106  <pre>Deletes an existing pretargeting config.
107
108Args:
109  accountId: string, The account id to delete the pretargeting config for. (required)
110  configId: string, The specific id of the configuration to delete. (required)
111</pre>
112</div>
113
114<div class="method">
115    <code class="details" id="get">get(accountId, configId)</code>
116  <pre>Gets a specific pretargeting configuration
117
118Args:
119  accountId: string, The account id to get the pretargeting config for. (required)
120  configId: string, The specific id of the configuration to retrieve. (required)
121
122Returns:
123  An object of the form:
124
125    {
126  &quot;billingId&quot;: &quot;A String&quot;, # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
127  &quot;configId&quot;: &quot;A String&quot;, # The config id; generated automatically. Leave this field blank for insert requests.
128  &quot;configName&quot;: &quot;A String&quot;, # The name of the config. Must be unique. Required for all requests.
129  &quot;creativeType&quot;: [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
130    &quot;A String&quot;,
131  ],
132  &quot;dimensions&quot;: [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
133    {
134      &quot;height&quot;: &quot;A String&quot;, # Height in pixels.
135      &quot;width&quot;: &quot;A String&quot;, # Width in pixels.
136    },
137  ],
138  &quot;excludedContentLabels&quot;: [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
139    &quot;A String&quot;,
140  ],
141  &quot;excludedGeoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will not match.
142    &quot;A String&quot;,
143  ],
144  &quot;excludedPlacements&quot;: [ # Requests containing any of these placements will not match.
145    {
146      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
147      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
148    },
149  ],
150  &quot;excludedUserLists&quot;: [ # Requests containing any of these users list ids will not match.
151    &quot;A String&quot;,
152  ],
153  &quot;excludedVerticals&quot;: [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
154    &quot;A String&quot;,
155  ],
156  &quot;geoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will match.
157    &quot;A String&quot;,
158  ],
159  &quot;isActive&quot;: True or False, # Whether this config is active. Required for all requests.
160  &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfig&quot;, # The kind of the resource, i.e. &quot;adexchangebuyer#pretargetingConfig&quot;.
161  &quot;languages&quot;: [ # Request containing any of these language codes will match.
162    &quot;A String&quot;,
163  ],
164  &quot;maximumQps&quot;: &quot;A String&quot;, # The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).
165  &quot;mobileCarriers&quot;: [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
166    &quot;A String&quot;,
167  ],
168  &quot;mobileDevices&quot;: [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
169    &quot;A String&quot;,
170  ],
171  &quot;mobileOperatingSystemVersions&quot;: [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
172    &quot;A String&quot;,
173  ],
174  &quot;placements&quot;: [ # Requests containing any of these placements will match.
175    {
176      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
177      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
178    },
179  ],
180  &quot;platforms&quot;: [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
181    &quot;A String&quot;,
182  ],
183  &quot;supportedCreativeAttributes&quot;: [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
184    &quot;A String&quot;,
185  ],
186  &quot;userLists&quot;: [ # Requests containing any of these user list ids will match.
187    &quot;A String&quot;,
188  ],
189  &quot;vendorTypes&quot;: [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
190    &quot;A String&quot;,
191  ],
192  &quot;verticals&quot;: [ # Requests containing any of these vertical ids will match.
193    &quot;A String&quot;,
194  ],
195}</pre>
196</div>
197
198<div class="method">
199    <code class="details" id="insert">insert(accountId, body=None)</code>
200  <pre>Inserts a new pretargeting configuration.
201
202Args:
203  accountId: string, The account id to insert the pretargeting config for. (required)
204  body: object, The request body.
205    The object takes the form of:
206
207{
208  &quot;billingId&quot;: &quot;A String&quot;, # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
209  &quot;configId&quot;: &quot;A String&quot;, # The config id; generated automatically. Leave this field blank for insert requests.
210  &quot;configName&quot;: &quot;A String&quot;, # The name of the config. Must be unique. Required for all requests.
211  &quot;creativeType&quot;: [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
212    &quot;A String&quot;,
213  ],
214  &quot;dimensions&quot;: [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
215    {
216      &quot;height&quot;: &quot;A String&quot;, # Height in pixels.
217      &quot;width&quot;: &quot;A String&quot;, # Width in pixels.
218    },
219  ],
220  &quot;excludedContentLabels&quot;: [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
221    &quot;A String&quot;,
222  ],
223  &quot;excludedGeoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will not match.
224    &quot;A String&quot;,
225  ],
226  &quot;excludedPlacements&quot;: [ # Requests containing any of these placements will not match.
227    {
228      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
229      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
230    },
231  ],
232  &quot;excludedUserLists&quot;: [ # Requests containing any of these users list ids will not match.
233    &quot;A String&quot;,
234  ],
235  &quot;excludedVerticals&quot;: [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
236    &quot;A String&quot;,
237  ],
238  &quot;geoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will match.
239    &quot;A String&quot;,
240  ],
241  &quot;isActive&quot;: True or False, # Whether this config is active. Required for all requests.
242  &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfig&quot;, # The kind of the resource, i.e. &quot;adexchangebuyer#pretargetingConfig&quot;.
243  &quot;languages&quot;: [ # Request containing any of these language codes will match.
244    &quot;A String&quot;,
245  ],
246  &quot;maximumQps&quot;: &quot;A String&quot;, # The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).
247  &quot;mobileCarriers&quot;: [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
248    &quot;A String&quot;,
249  ],
250  &quot;mobileDevices&quot;: [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
251    &quot;A String&quot;,
252  ],
253  &quot;mobileOperatingSystemVersions&quot;: [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
254    &quot;A String&quot;,
255  ],
256  &quot;placements&quot;: [ # Requests containing any of these placements will match.
257    {
258      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
259      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
260    },
261  ],
262  &quot;platforms&quot;: [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
263    &quot;A String&quot;,
264  ],
265  &quot;supportedCreativeAttributes&quot;: [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
266    &quot;A String&quot;,
267  ],
268  &quot;userLists&quot;: [ # Requests containing any of these user list ids will match.
269    &quot;A String&quot;,
270  ],
271  &quot;vendorTypes&quot;: [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
272    &quot;A String&quot;,
273  ],
274  &quot;verticals&quot;: [ # Requests containing any of these vertical ids will match.
275    &quot;A String&quot;,
276  ],
277}
278
279
280Returns:
281  An object of the form:
282
283    {
284  &quot;billingId&quot;: &quot;A String&quot;, # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
285  &quot;configId&quot;: &quot;A String&quot;, # The config id; generated automatically. Leave this field blank for insert requests.
286  &quot;configName&quot;: &quot;A String&quot;, # The name of the config. Must be unique. Required for all requests.
287  &quot;creativeType&quot;: [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
288    &quot;A String&quot;,
289  ],
290  &quot;dimensions&quot;: [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
291    {
292      &quot;height&quot;: &quot;A String&quot;, # Height in pixels.
293      &quot;width&quot;: &quot;A String&quot;, # Width in pixels.
294    },
295  ],
296  &quot;excludedContentLabels&quot;: [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
297    &quot;A String&quot;,
298  ],
299  &quot;excludedGeoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will not match.
300    &quot;A String&quot;,
301  ],
302  &quot;excludedPlacements&quot;: [ # Requests containing any of these placements will not match.
303    {
304      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
305      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
306    },
307  ],
308  &quot;excludedUserLists&quot;: [ # Requests containing any of these users list ids will not match.
309    &quot;A String&quot;,
310  ],
311  &quot;excludedVerticals&quot;: [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
312    &quot;A String&quot;,
313  ],
314  &quot;geoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will match.
315    &quot;A String&quot;,
316  ],
317  &quot;isActive&quot;: True or False, # Whether this config is active. Required for all requests.
318  &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfig&quot;, # The kind of the resource, i.e. &quot;adexchangebuyer#pretargetingConfig&quot;.
319  &quot;languages&quot;: [ # Request containing any of these language codes will match.
320    &quot;A String&quot;,
321  ],
322  &quot;maximumQps&quot;: &quot;A String&quot;, # The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).
323  &quot;mobileCarriers&quot;: [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
324    &quot;A String&quot;,
325  ],
326  &quot;mobileDevices&quot;: [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
327    &quot;A String&quot;,
328  ],
329  &quot;mobileOperatingSystemVersions&quot;: [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
330    &quot;A String&quot;,
331  ],
332  &quot;placements&quot;: [ # Requests containing any of these placements will match.
333    {
334      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
335      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
336    },
337  ],
338  &quot;platforms&quot;: [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
339    &quot;A String&quot;,
340  ],
341  &quot;supportedCreativeAttributes&quot;: [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
342    &quot;A String&quot;,
343  ],
344  &quot;userLists&quot;: [ # Requests containing any of these user list ids will match.
345    &quot;A String&quot;,
346  ],
347  &quot;vendorTypes&quot;: [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
348    &quot;A String&quot;,
349  ],
350  &quot;verticals&quot;: [ # Requests containing any of these vertical ids will match.
351    &quot;A String&quot;,
352  ],
353}</pre>
354</div>
355
356<div class="method">
357    <code class="details" id="list">list(accountId)</code>
358  <pre>Retrieves a list of the authenticated user&#x27;s pretargeting configurations.
359
360Args:
361  accountId: string, The account id to get the pretargeting configs for. (required)
362
363Returns:
364  An object of the form:
365
366    {
367  &quot;items&quot;: [ # A list of pretargeting configs
368    {
369      &quot;billingId&quot;: &quot;A String&quot;, # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
370      &quot;configId&quot;: &quot;A String&quot;, # The config id; generated automatically. Leave this field blank for insert requests.
371      &quot;configName&quot;: &quot;A String&quot;, # The name of the config. Must be unique. Required for all requests.
372      &quot;creativeType&quot;: [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
373        &quot;A String&quot;,
374      ],
375      &quot;dimensions&quot;: [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
376        {
377          &quot;height&quot;: &quot;A String&quot;, # Height in pixels.
378          &quot;width&quot;: &quot;A String&quot;, # Width in pixels.
379        },
380      ],
381      &quot;excludedContentLabels&quot;: [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
382        &quot;A String&quot;,
383      ],
384      &quot;excludedGeoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will not match.
385        &quot;A String&quot;,
386      ],
387      &quot;excludedPlacements&quot;: [ # Requests containing any of these placements will not match.
388        {
389          &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
390          &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
391        },
392      ],
393      &quot;excludedUserLists&quot;: [ # Requests containing any of these users list ids will not match.
394        &quot;A String&quot;,
395      ],
396      &quot;excludedVerticals&quot;: [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
397        &quot;A String&quot;,
398      ],
399      &quot;geoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will match.
400        &quot;A String&quot;,
401      ],
402      &quot;isActive&quot;: True or False, # Whether this config is active. Required for all requests.
403      &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfig&quot;, # The kind of the resource, i.e. &quot;adexchangebuyer#pretargetingConfig&quot;.
404      &quot;languages&quot;: [ # Request containing any of these language codes will match.
405        &quot;A String&quot;,
406      ],
407      &quot;maximumQps&quot;: &quot;A String&quot;, # The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).
408      &quot;mobileCarriers&quot;: [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
409        &quot;A String&quot;,
410      ],
411      &quot;mobileDevices&quot;: [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
412        &quot;A String&quot;,
413      ],
414      &quot;mobileOperatingSystemVersions&quot;: [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
415        &quot;A String&quot;,
416      ],
417      &quot;placements&quot;: [ # Requests containing any of these placements will match.
418        {
419          &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
420          &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
421        },
422      ],
423      &quot;platforms&quot;: [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
424        &quot;A String&quot;,
425      ],
426      &quot;supportedCreativeAttributes&quot;: [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
427        &quot;A String&quot;,
428      ],
429      &quot;userLists&quot;: [ # Requests containing any of these user list ids will match.
430        &quot;A String&quot;,
431      ],
432      &quot;vendorTypes&quot;: [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
433        &quot;A String&quot;,
434      ],
435      &quot;verticals&quot;: [ # Requests containing any of these vertical ids will match.
436        &quot;A String&quot;,
437      ],
438    },
439  ],
440  &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfigList&quot;, # Resource type.
441}</pre>
442</div>
443
444<div class="method">
445    <code class="details" id="patch">patch(accountId, configId, body=None)</code>
446  <pre>Updates an existing pretargeting config. This method supports patch semantics.
447
448Args:
449  accountId: string, The account id to update the pretargeting config for. (required)
450  configId: string, The specific id of the configuration to update. (required)
451  body: object, The request body.
452    The object takes the form of:
453
454{
455  &quot;billingId&quot;: &quot;A String&quot;, # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
456  &quot;configId&quot;: &quot;A String&quot;, # The config id; generated automatically. Leave this field blank for insert requests.
457  &quot;configName&quot;: &quot;A String&quot;, # The name of the config. Must be unique. Required for all requests.
458  &quot;creativeType&quot;: [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
459    &quot;A String&quot;,
460  ],
461  &quot;dimensions&quot;: [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
462    {
463      &quot;height&quot;: &quot;A String&quot;, # Height in pixels.
464      &quot;width&quot;: &quot;A String&quot;, # Width in pixels.
465    },
466  ],
467  &quot;excludedContentLabels&quot;: [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
468    &quot;A String&quot;,
469  ],
470  &quot;excludedGeoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will not match.
471    &quot;A String&quot;,
472  ],
473  &quot;excludedPlacements&quot;: [ # Requests containing any of these placements will not match.
474    {
475      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
476      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
477    },
478  ],
479  &quot;excludedUserLists&quot;: [ # Requests containing any of these users list ids will not match.
480    &quot;A String&quot;,
481  ],
482  &quot;excludedVerticals&quot;: [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
483    &quot;A String&quot;,
484  ],
485  &quot;geoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will match.
486    &quot;A String&quot;,
487  ],
488  &quot;isActive&quot;: True or False, # Whether this config is active. Required for all requests.
489  &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfig&quot;, # The kind of the resource, i.e. &quot;adexchangebuyer#pretargetingConfig&quot;.
490  &quot;languages&quot;: [ # Request containing any of these language codes will match.
491    &quot;A String&quot;,
492  ],
493  &quot;maximumQps&quot;: &quot;A String&quot;, # The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).
494  &quot;mobileCarriers&quot;: [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
495    &quot;A String&quot;,
496  ],
497  &quot;mobileDevices&quot;: [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
498    &quot;A String&quot;,
499  ],
500  &quot;mobileOperatingSystemVersions&quot;: [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
501    &quot;A String&quot;,
502  ],
503  &quot;placements&quot;: [ # Requests containing any of these placements will match.
504    {
505      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
506      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
507    },
508  ],
509  &quot;platforms&quot;: [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
510    &quot;A String&quot;,
511  ],
512  &quot;supportedCreativeAttributes&quot;: [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
513    &quot;A String&quot;,
514  ],
515  &quot;userLists&quot;: [ # Requests containing any of these user list ids will match.
516    &quot;A String&quot;,
517  ],
518  &quot;vendorTypes&quot;: [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
519    &quot;A String&quot;,
520  ],
521  &quot;verticals&quot;: [ # Requests containing any of these vertical ids will match.
522    &quot;A String&quot;,
523  ],
524}
525
526
527Returns:
528  An object of the form:
529
530    {
531  &quot;billingId&quot;: &quot;A String&quot;, # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
532  &quot;configId&quot;: &quot;A String&quot;, # The config id; generated automatically. Leave this field blank for insert requests.
533  &quot;configName&quot;: &quot;A String&quot;, # The name of the config. Must be unique. Required for all requests.
534  &quot;creativeType&quot;: [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
535    &quot;A String&quot;,
536  ],
537  &quot;dimensions&quot;: [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
538    {
539      &quot;height&quot;: &quot;A String&quot;, # Height in pixels.
540      &quot;width&quot;: &quot;A String&quot;, # Width in pixels.
541    },
542  ],
543  &quot;excludedContentLabels&quot;: [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
544    &quot;A String&quot;,
545  ],
546  &quot;excludedGeoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will not match.
547    &quot;A String&quot;,
548  ],
549  &quot;excludedPlacements&quot;: [ # Requests containing any of these placements will not match.
550    {
551      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
552      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
553    },
554  ],
555  &quot;excludedUserLists&quot;: [ # Requests containing any of these users list ids will not match.
556    &quot;A String&quot;,
557  ],
558  &quot;excludedVerticals&quot;: [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
559    &quot;A String&quot;,
560  ],
561  &quot;geoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will match.
562    &quot;A String&quot;,
563  ],
564  &quot;isActive&quot;: True or False, # Whether this config is active. Required for all requests.
565  &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfig&quot;, # The kind of the resource, i.e. &quot;adexchangebuyer#pretargetingConfig&quot;.
566  &quot;languages&quot;: [ # Request containing any of these language codes will match.
567    &quot;A String&quot;,
568  ],
569  &quot;maximumQps&quot;: &quot;A String&quot;, # The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).
570  &quot;mobileCarriers&quot;: [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
571    &quot;A String&quot;,
572  ],
573  &quot;mobileDevices&quot;: [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
574    &quot;A String&quot;,
575  ],
576  &quot;mobileOperatingSystemVersions&quot;: [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
577    &quot;A String&quot;,
578  ],
579  &quot;placements&quot;: [ # Requests containing any of these placements will match.
580    {
581      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
582      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
583    },
584  ],
585  &quot;platforms&quot;: [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
586    &quot;A String&quot;,
587  ],
588  &quot;supportedCreativeAttributes&quot;: [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
589    &quot;A String&quot;,
590  ],
591  &quot;userLists&quot;: [ # Requests containing any of these user list ids will match.
592    &quot;A String&quot;,
593  ],
594  &quot;vendorTypes&quot;: [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
595    &quot;A String&quot;,
596  ],
597  &quot;verticals&quot;: [ # Requests containing any of these vertical ids will match.
598    &quot;A String&quot;,
599  ],
600}</pre>
601</div>
602
603<div class="method">
604    <code class="details" id="update">update(accountId, configId, body=None)</code>
605  <pre>Updates an existing pretargeting config.
606
607Args:
608  accountId: string, The account id to update the pretargeting config for. (required)
609  configId: string, The specific id of the configuration to update. (required)
610  body: object, The request body.
611    The object takes the form of:
612
613{
614  &quot;billingId&quot;: &quot;A String&quot;, # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
615  &quot;configId&quot;: &quot;A String&quot;, # The config id; generated automatically. Leave this field blank for insert requests.
616  &quot;configName&quot;: &quot;A String&quot;, # The name of the config. Must be unique. Required for all requests.
617  &quot;creativeType&quot;: [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
618    &quot;A String&quot;,
619  ],
620  &quot;dimensions&quot;: [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
621    {
622      &quot;height&quot;: &quot;A String&quot;, # Height in pixels.
623      &quot;width&quot;: &quot;A String&quot;, # Width in pixels.
624    },
625  ],
626  &quot;excludedContentLabels&quot;: [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
627    &quot;A String&quot;,
628  ],
629  &quot;excludedGeoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will not match.
630    &quot;A String&quot;,
631  ],
632  &quot;excludedPlacements&quot;: [ # Requests containing any of these placements will not match.
633    {
634      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
635      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
636    },
637  ],
638  &quot;excludedUserLists&quot;: [ # Requests containing any of these users list ids will not match.
639    &quot;A String&quot;,
640  ],
641  &quot;excludedVerticals&quot;: [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
642    &quot;A String&quot;,
643  ],
644  &quot;geoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will match.
645    &quot;A String&quot;,
646  ],
647  &quot;isActive&quot;: True or False, # Whether this config is active. Required for all requests.
648  &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfig&quot;, # The kind of the resource, i.e. &quot;adexchangebuyer#pretargetingConfig&quot;.
649  &quot;languages&quot;: [ # Request containing any of these language codes will match.
650    &quot;A String&quot;,
651  ],
652  &quot;maximumQps&quot;: &quot;A String&quot;, # The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).
653  &quot;mobileCarriers&quot;: [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
654    &quot;A String&quot;,
655  ],
656  &quot;mobileDevices&quot;: [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
657    &quot;A String&quot;,
658  ],
659  &quot;mobileOperatingSystemVersions&quot;: [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
660    &quot;A String&quot;,
661  ],
662  &quot;placements&quot;: [ # Requests containing any of these placements will match.
663    {
664      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
665      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
666    },
667  ],
668  &quot;platforms&quot;: [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
669    &quot;A String&quot;,
670  ],
671  &quot;supportedCreativeAttributes&quot;: [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
672    &quot;A String&quot;,
673  ],
674  &quot;userLists&quot;: [ # Requests containing any of these user list ids will match.
675    &quot;A String&quot;,
676  ],
677  &quot;vendorTypes&quot;: [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
678    &quot;A String&quot;,
679  ],
680  &quot;verticals&quot;: [ # Requests containing any of these vertical ids will match.
681    &quot;A String&quot;,
682  ],
683}
684
685
686Returns:
687  An object of the form:
688
689    {
690  &quot;billingId&quot;: &quot;A String&quot;, # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
691  &quot;configId&quot;: &quot;A String&quot;, # The config id; generated automatically. Leave this field blank for insert requests.
692  &quot;configName&quot;: &quot;A String&quot;, # The name of the config. Must be unique. Required for all requests.
693  &quot;creativeType&quot;: [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
694    &quot;A String&quot;,
695  ],
696  &quot;dimensions&quot;: [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
697    {
698      &quot;height&quot;: &quot;A String&quot;, # Height in pixels.
699      &quot;width&quot;: &quot;A String&quot;, # Width in pixels.
700    },
701  ],
702  &quot;excludedContentLabels&quot;: [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
703    &quot;A String&quot;,
704  ],
705  &quot;excludedGeoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will not match.
706    &quot;A String&quot;,
707  ],
708  &quot;excludedPlacements&quot;: [ # Requests containing any of these placements will not match.
709    {
710      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
711      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
712    },
713  ],
714  &quot;excludedUserLists&quot;: [ # Requests containing any of these users list ids will not match.
715    &quot;A String&quot;,
716  ],
717  &quot;excludedVerticals&quot;: [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
718    &quot;A String&quot;,
719  ],
720  &quot;geoCriteriaIds&quot;: [ # Requests containing any of these geo criteria ids will match.
721    &quot;A String&quot;,
722  ],
723  &quot;isActive&quot;: True or False, # Whether this config is active. Required for all requests.
724  &quot;kind&quot;: &quot;adexchangebuyer#pretargetingConfig&quot;, # The kind of the resource, i.e. &quot;adexchangebuyer#pretargetingConfig&quot;.
725  &quot;languages&quot;: [ # Request containing any of these language codes will match.
726    &quot;A String&quot;,
727  ],
728  &quot;maximumQps&quot;: &quot;A String&quot;, # The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).
729  &quot;mobileCarriers&quot;: [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
730    &quot;A String&quot;,
731  ],
732  &quot;mobileDevices&quot;: [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
733    &quot;A String&quot;,
734  ],
735  &quot;mobileOperatingSystemVersions&quot;: [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
736    &quot;A String&quot;,
737  ],
738  &quot;placements&quot;: [ # Requests containing any of these placements will match.
739    {
740      &quot;token&quot;: &quot;A String&quot;, # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
741      &quot;type&quot;: &quot;A String&quot;, # The type of the placement.
742    },
743  ],
744  &quot;platforms&quot;: [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
745    &quot;A String&quot;,
746  ],
747  &quot;supportedCreativeAttributes&quot;: [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
748    &quot;A String&quot;,
749  ],
750  &quot;userLists&quot;: [ # Requests containing any of these user list ids will match.
751    &quot;A String&quot;,
752  ],
753  &quot;vendorTypes&quot;: [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
754    &quot;A String&quot;,
755  ],
756  &quot;verticals&quot;: [ # Requests containing any of these vertical ids will match.
757    &quot;A String&quot;,
758  ],
759}</pre>
760</div>
761
762</body></html>