blob: 36cd9b4dab5b91a76bf2275b4d31bdccd7f21383 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<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.partners.html">partners</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="displayvideo_v1.partners.channels.html">channels()</a></code>
79</p>
80<p class="firstline">Returns the channels Resource.</p>
81
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070082<p class="toc_element">
83 <code><a href="displayvideo_v1.partners.targetingTypes.html">targetingTypes()</a></code>
84</p>
85<p class="firstline">Returns the targetingTypes Resource.</p>
86
87<p class="toc_element">
88 <code><a href="#bulkEditPartnerAssignedTargetingOptions">bulkEditPartnerAssignedTargetingOptions(partnerId, body=None, x__xgafv=None)</a></code></p>
89<p class="firstline">Bulk edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .</p>
90<p class="toc_element">
91 <code><a href="#close">close()</a></code></p>
92<p class="firstline">Close httplib2 connections.</p>
93<p class="toc_element">
94 <code><a href="#get">get(partnerId, x__xgafv=None)</a></code></p>
95<p class="firstline">Gets a partner.</p>
96<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070097 <code><a href="#list">list(orderBy=None, pageToken=None, filter=None, pageSize=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070098<p class="firstline">Lists partners that are accessible to the current user. The order is defined by the order_by parameter.</p>
99<p class="toc_element">
100 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
101<p class="firstline">Retrieves the next page of results.</p>
102<h3>Method Details</h3>
103<div class="method">
104 <code class="details" id="bulkEditPartnerAssignedTargetingOptions">bulkEditPartnerAssignedTargetingOptions(partnerId, body=None, x__xgafv=None)</code>
105 <pre>Bulk edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .
106
107Args:
108 partnerId: string, Required. The ID of the partner. (required)
109 body: object, The request body.
110 The object takes the form of:
111
112{ # Request message for BulkEditPartnerAssignedTargetingOptions.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700113 &quot;deleteRequests&quot;: [ # The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL`
114 { # A request listing which assigned targeting options of a given targeting type should be deleted.
115 &quot;assignedTargetingOptionIds&quot;: [ # Required. The assigned targeting option IDs to delete.
116 &quot;A String&quot;,
117 ],
118 &quot;targetingType&quot;: &quot;A String&quot;, # Required. Identifies the type of this assigned targeting option.
119 },
120 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121 &quot;createRequests&quot;: [ # The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL`
122 { # A request listing which assigned targeting options of a given targeting type should be created and added.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700123 &quot;targetingType&quot;: &quot;A String&quot;, # Required. Identifies the type of this assigned targeting option.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700124 &quot;assignedTargetingOptions&quot;: [ # Required. The assigned targeting options to create and add.
125 { # A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700126 &quot;subExchangeDetails&quot;: { # Details for assigned sub-exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`. # Sub-exchange details. This field will be populated when the TargetingType is `TARGETING_TYPE_SUB_EXCHANGE`.
127 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_SUB_EXCHANGE`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700128 },
129 &quot;householdIncomeDetails&quot;: { # Details for assigned household income targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`. # Household income details. This field will be populated when the TargetingType is `TARGETING_TYPE_HOUSEHOLD_INCOME`.
130 &quot;householdIncome&quot;: &quot;A String&quot;, # Output only. The household income of the audience.
131 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_HOUSEHOLD_INCOME`.
132 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700133 &quot;keywordDetails&quot;: { # Details for assigned keyword targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_KEYWORD`. # Keyword details. This field will be populated when the TargetingType is `TARGETING_TYPE_KEYWORD`. A maximum of 5000 direct negative keywords can be assigned to a line item. No limit on number of positive keywords that can be assigned.
134 &quot;keyword&quot;: &quot;A String&quot;, # Required. The keyword, for example `car insurance`. Positive keyword cannot be offensive word. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10.
135 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700136 },
137 &quot;browserDetails&quot;: { # Details for assigned browser targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BROWSER`. # Browser details. This field will be populated when the TargetingType is `TARGETING_TYPE_BROWSER`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700138 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the browser.
139 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BROWSER`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700140 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted. All assigned browser targeting options on the same line item must have the same value for this field.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700141 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700142 &quot;onScreenPositionDetails&quot;: { # On screen position targeting option details. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`. # On screen position details. This field will be populated when the TargetingType is `TARGETING_TYPE_ON_SCREEN_POSITION`.
143 &quot;onScreenPosition&quot;: &quot;A String&quot;, # Output only. The on screen position.
144 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.
145 },
146 &quot;inventorySourceGroupDetails&quot;: { # Targeting details for inventory source group. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`. # Inventory source group details. This field will be populated when the TargetingType is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`.
147 &quot;inventorySourceGroupId&quot;: &quot;A String&quot;, # Required. ID of the inventory source group. Should refer to the inventory_source_group_id field of an InventorySourceGroup resource.
148 },
149 &quot;contentInstreamPositionDetails&quot;: { # Assigned content instream position targeting option details. This will be populated in the content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`. # Content instream position details. This field will be populated when the TargetingType is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
150 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
151 &quot;contentInstreamPosition&quot;: &quot;A String&quot;, # Output only. The content instream position for video or audio ads.
152 },
153 &quot;videoPlayerSizeDetails&quot;: { # Video player size targeting option details. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all options is not supported. Remove all video player size targeting options to achieve this effect. # Video player size details. This field will be populated when the TargetingType is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.
154 &quot;videoPlayerSize&quot;: &quot;A String&quot;, # Output only. The video player size.
155 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.
156 },
157 &quot;negativeKeywordListDetails&quot;: { # Targeting details for negative keyword list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. # Keyword details. This field will be populated when the TargetingType is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative keyword lists can be assigned to a line item.
158 &quot;negativeKeywordListId&quot;: &quot;A String&quot;, # Required. ID of the negative keyword list. Should refer to the negative_keyword_list_id field of a NegativeKeywordList resource.
159 },
160 &quot;channelDetails&quot;: { # Details for assigned channel targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CHANNEL`. # Channel details. This field will be populated when the TargetingType is `TARGETING_TYPE_CHANNEL`.
161 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted. For advertiser level assigned targeting option, this field must be true.
162 &quot;channelId&quot;: &quot;A String&quot;, # Required. ID of the channel. Should refer to the channel ID field on a [Partner-owned channel](partners.channels#Channel.FIELDS.channel_id) or [advertiser-owned channel](advertisers.channels#Channel.FIELDS.channel_id) resource.
163 },
164 &quot;dayAndTimeDetails&quot;: { # Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`. # Day and time details. This field will be populated when the TargetingType is `TARGETING_TYPE_DAY_AND_TIME`.
165 &quot;startHour&quot;: 42, # Required. The start hour for day and time targeting. Must be between 0 (start of day) and 23 (1 hour before end of day).
166 &quot;endHour&quot;: 42, # Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).
167 &quot;timeZoneResolution&quot;: &quot;A String&quot;, # Required. The mechanism used to determine which timezone to use for this day and time targeting setting.
168 &quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. The day of the week for this day and time targeting setting.
169 },
170 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this assigned targeting option.
171 &quot;regionalLocationListDetails&quot;: { # Targeting details for regional location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`. # Regional location list details. This field will be populated when the TargetingType is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`.
172 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
173 &quot;regionalLocationListId&quot;: &quot;A String&quot;, # Required. ID of the regional location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_REGIONAL`.
174 },
175 &quot;exchangeDetails&quot;: { # Details for assigned exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`. # Exchange details. This field will be populated when the TargetingType is `TARGETING_TYPE_EXCHANGE`.
176 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_EXCHANGE`.
177 },
178 &quot;genderDetails&quot;: { # Details for assigned gender targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARTGETING_TYPE_GENDER`. # Gender details. This field will be populated when the TargetingType is `TARGETING_TYPE_GENDER`.
179 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GENDER`.
180 &quot;gender&quot;: &quot;A String&quot;, # Output only. The gender of the audience.
181 },
182 &quot;inventorySourceDetails&quot;: { # Targeting details for inventory source. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`. # Inventory source details. This field will be populated when the TargetingType is `TARGETING_TYPE_INVENTORY_SOURCE`.
183 &quot;inventorySourceId&quot;: &quot;A String&quot;, # Required. ID of the inventory source. Should refer to the inventory_source_id field of an InventorySource resource.
184 },
185 &quot;targetingType&quot;: &quot;A String&quot;, # Output only. Identifies the type of this assigned targeting option.
186 &quot;digitalContentLabelExclusionDetails&quot;: { # Targeting details for digital content label. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. # Digital content label details. This field will be populated when the TargetingType is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. Digital content labels are targeting exclusions. Advertiser level digital content label exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in line item settings). Line item settings can exclude content labels in addition to advertiser exclusions, but can&#x27;t override them. A line item won&#x27;t serve if all the digital content labels are excluded.
187 &quot;contentRatingTier&quot;: &quot;A String&quot;, # Output only. The display name of the digital content label rating tier.
188 &quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the digital content label to be EXCLUDED.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700189 },
190 &quot;parentalStatusDetails&quot;: { # Details for assigned parental status targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARTGETING_TYPE_PARENTAL_STATUS`. # Parental status details. This field will be populated when the TargetingType is `TARGETING_TYPE_PARENTAL_STATUS`.
191 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_PARENTAL_STATUS`.
192 &quot;parentalStatus&quot;: &quot;A String&quot;, # Output only. The parental status of the audience.
193 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700194 &quot;deviceMakeModelDetails&quot;: { # Assigned device make and model targeting option details. This will be populated in the device_make_model_details field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`. # Device make and model details. This field will be populated when the TargetingType is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.
195 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the device make and model.
196 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.
197 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
198 },
199 &quot;geoRegionDetails&quot;: { # Details for assigned geographic region targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GEO_REGION`. # Geographic region details. This field will be populated when the TargetingType is `TARGETING_TYPE_GEO_REGION`.
200 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GEO_REGION`.
201 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
202 &quot;geoRegionType&quot;: &quot;A String&quot;, # Output only. The type of geographic region targeting.
203 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the geographic region (e.g., &quot;Ontario, Canada&quot;).
204 },
205 &quot;viewabilityDetails&quot;: { # Assigned viewability targeting option details. This will be populated in the viewability_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`. # Viewability details. This field will be populated when the TargetingType is `TARGETING_TYPE_VIEWABILITY`. You can only target one viewability option per line item.
206 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_VIEWABILITY` (e.g., &quot;509010&quot; for targeting the `VIEWABILITY_10_PERCENT_OR_MORE` option).
207 &quot;viewability&quot;: &quot;A String&quot;, # Output only. The predicted viewability percentage.
208 },
209 &quot;thirdPartyVerifierDetails&quot;: { # Assigned third party verifier targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`. # Third party verification details. This field will be populated when the TargetingType is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`.
210 &quot;doubleVerify&quot;: { # Details of DoubleVerify settings. # Third party brand verifier -- DoubleVerify.
211 &quot;brandSafetyCategories&quot;: { # Settings for brand safety controls. # DV Brand Safety Controls.
212 &quot;avoidedMediumSeverityCategories&quot;: [ # Brand safety medium severity avoidance categories.
213 &quot;A String&quot;,
214 ],
215 &quot;avoidUnknownBrandSafetyCategory&quot;: True or False, # Unknown or unrateable.
216 &quot;avoidedHighSeverityCategories&quot;: [ # Brand safety high severity avoidance categories.
217 &quot;A String&quot;,
218 ],
219 },
220 &quot;appStarRating&quot;: { # Details of DoubleVerify star ratings settings. # Avoid bidding on apps with the star ratings.
221 &quot;avoidedStarRating&quot;: &quot;A String&quot;, # Avoid bidding on apps with the star ratings.
222 &quot;avoidInsufficientStarRating&quot;: True or False, # Avoid bidding on apps with insufficient star ratings.
223 },
224 &quot;fraudInvalidTraffic&quot;: { # DoubleVerify Fraud &amp; Invalid Traffic settings. # Avoid Sites and Apps with historical Fraud &amp; IVT Rates.
225 &quot;avoidedFraudOption&quot;: &quot;A String&quot;, # Avoid Sites and Apps with historical Fraud &amp; IVT.
226 &quot;avoidInsufficientOption&quot;: True or False, # Insufficient Historical Fraud &amp; IVT Stats.
227 },
228 &quot;videoViewability&quot;: { # Details of DoubleVerify video viewability settings. # Video viewability settings (applicable to video line items only).
229 &quot;videoIab&quot;: &quot;A String&quot;, # Target web inventory to maximize IAB viewable rate.
230 &quot;playerImpressionRate&quot;: &quot;A String&quot;, # Target inventory to maximize impressions with 400x300 or greater player size.
231 &quot;videoViewableRate&quot;: &quot;A String&quot;, # Target web inventory to maximize fully viewable rate.
232 },
233 &quot;customSegmentId&quot;: &quot;A String&quot;, # The custom segment ID provided by DoubleVerify. The ID must start with &quot;51&quot; and consist of eight digits. Custom segment ID cannot be specified along with any of the following fields: * brand_safety_categories * avoided_age_ratings * app_star_rating * fraud_invalid_traffic
234 &quot;avoidedAgeRatings&quot;: [ # Avoid bidding on apps with the age rating.
235 &quot;A String&quot;,
236 ],
237 &quot;displayViewability&quot;: { # Details of DoubleVerify display viewability settings. # Display viewability settings (applicable to display line items only).
238 &quot;viewableDuring&quot;: &quot;A String&quot;, # Target web and app inventory to maximize 100% viewable duration.
239 &quot;iab&quot;: &quot;A String&quot;, # Target web and app inventory to maximize IAB viewable rate.
240 },
241 },
242 &quot;integralAdScience&quot;: { # Details of Integral Ad Science settings. # Third party brand verifier -- Integral Ad Science.
243 &quot;excludedGamblingRisk&quot;: &quot;A String&quot;, # Brand Safety - **Gambling**.
244 &quot;excludedAdFraudRisk&quot;: &quot;A String&quot;, # Ad Fraud settings.
245 &quot;videoViewability&quot;: &quot;A String&quot;, # Video Viewability Section (applicable to video line items only).
246 &quot;excludedAlcoholRisk&quot;: &quot;A String&quot;, # Brand Safety - **Alcohol**.
247 &quot;excludedDrugsRisk&quot;: &quot;A String&quot;, # Brand Safety - **Drugs**.
248 &quot;excludedHateSpeechRisk&quot;: &quot;A String&quot;, # Brand Safety - **Hate speech**.
249 &quot;excludedViolenceRisk&quot;: &quot;A String&quot;, # Brand Safety - **Violence**.
250 &quot;excludedAdultRisk&quot;: &quot;A String&quot;, # Brand Safety - **Adult content**.
251 &quot;excludeUnrateable&quot;: True or False, # Brand Safety - **Unrateable**.
252 &quot;excludedIllegalDownloadsRisk&quot;: &quot;A String&quot;, # Brand Safety - **Illegal downloads**.
253 &quot;displayViewability&quot;: &quot;A String&quot;, # Display Viewability section (applicable to display line items only).
254 &quot;traqScoreOption&quot;: &quot;A String&quot;, # True advertising quality (applicable to Display line items only).
255 &quot;customSegmentId&quot;: [ # The custom segment ID provided by Integral Ad Science. The ID must be between `1000001` and `1999999`, inclusive.
256 &quot;A String&quot;,
257 ],
258 &quot;excludedOffensiveLanguageRisk&quot;: &quot;A String&quot;, # Brand Safety - **Offensive language**.
259 },
260 &quot;adloox&quot;: { # Details of Adloox settings. # Third party brand verifier -- Adloox.
261 &quot;excludedAdlooxCategories&quot;: [ # Adloox&#x27;s brand safety settings.
262 &quot;A String&quot;,
263 ],
264 },
265 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700266 &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 TargetingType is `TARGETING_TYPE_APP`.
267 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
268 &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`.
269 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the app.
270 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700271 &quot;deviceTypeDetails&quot;: { # Targeting details for device type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`. # Device Type details. This field will be populated when the TargetingType is `TARGETING_TYPE_DEVICE_TYPE`.
272 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the device type.
273 &quot;deviceType&quot;: &quot;A String&quot;, # Output only. The display name of the device type.
274 },
275 &quot;urlDetails&quot;: { # Details for assigned URL targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_URL`. # URL details. This field will be populated when the TargetingType is `TARGETING_TYPE_URL`.
276 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
277 &quot;url&quot;: &quot;A String&quot;, # Required. The URL, for example `example.com`. DV360 supports two levels of subdirectory targeting, for example `www.example.com/one-subdirectory-level/second-level`, and five levels of subdomain targeting, for example `five.four.three.two.one.example.com`.
278 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700279 &quot;carrierAndIspDetails&quot;: { # Details for assigned carrier and ISP targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`. # Carrier and ISP details. This field will be populated when the TargetingType is `TARGETING_TYPE_CARRIER_AND_ISP`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700280 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted. All assigned carrier and ISP targeting options on the same line item must have the same value for this field.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700281 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the carrier or ISP.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700282 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_CARRIER_AND_ISP`.
283 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700284 &quot;authorizedSellerStatusDetails&quot;: { # Represents an assigned authorized seller status. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. # Authorized seller status details. This field will be populated when the TargetingType is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. You can only target one authorized seller status option per line item. If a line item doesn&#x27;t have an authorized seller status option, all authorized sellers indicated as DIRECT or RESELLER in the ads.txt file are targeted by default.
285 &quot;authorizedSellerStatus&quot;: &quot;A String&quot;, # Output only. The authorized seller status to target.
286 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.
287 },
288 &quot;ageRangeDetails&quot;: { # Represents a targetable age range. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AGE_RANGE`. # Age range details. This field will be populated when the TargetingType is `TARGETING_TYPE_AGE_RANGE`.
289 &quot;ageRange&quot;: &quot;A String&quot;, # Output only. The age range of an audience. We only support targeting a continuous age range of an audience. Thus, the age range represented in this field can be 1) targeted solely, or, 2) part of a larger continuous age range. The reach of a continuous age range targeting can be expanded by also targeting an audience of an unknown age.
290 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AGE_RANGE`.
291 },
292 &quot;inheritance&quot;: &quot;A String&quot;, # Output only. The inheritance status of the assigned targeting option.
293 &quot;userRewardedContentDetails&quot;: { # User rewarded content targeting option details. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`. # User rewarded content details. This field will be populated when the TargetingType is `TARGETING_TYPE_USER_REWARDED_CONTENT`.
294 &quot;userRewardedContent&quot;: &quot;A String&quot;, # Output only. User rewarded content status for video ads.
295 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.
296 },
297 &quot;categoryDetails&quot;: { # Assigned category targeting option details. This will be populated in the category_details field when targeting_type is `TARGETING_TYPE_CATEGORY`. # Category details. This field will be populated when the TargetingType is `TARGETING_TYPE_CATEGORY`. Targeting a category will also target its subcategories. If a category is excluded from targeting and a subcategory is included, the exclusion will take precedence.
298 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CATEGORY`.
299 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
300 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the category.
301 },
302 &quot;operatingSystemDetails&quot;: { # Assigned operating system targeting option details. This will be populated in the operating_system_details field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`. # Operating system details. This field will be populated when the TargetingType is `TARGETING_TYPE_OPERATING_SYSTEM`.
303 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
304 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the operating system.
305 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting option ID populated in targeting_option_id field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.
306 },
307 &quot;assignedTargetingOptionId&quot;: &quot;A String&quot;, # Output only. The unique ID of the assigned targeting option. The ID is only unique within a given line item and targeting type. It may be reused in other contexts.
308 &quot;sensitiveCategoryExclusionDetails&quot;: { # Targeting details for sensitive category. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. # Sensitive category details. This field will be populated when the TargetingType is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. Sensitive categories are targeting exclusions. Advertiser level sensitive category exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in line item settings). Line item settings can exclude sensitive categories in addition to advertiser exclusions, but can&#x27;t override them.
309 &quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the sensitive category to be EXCLUDED.
310 &quot;sensitiveCategory&quot;: &quot;A String&quot;, # Output only. An enum for the DV360 Sensitive category content classifier.
311 },
312 &quot;appCategoryDetails&quot;: { # Details for assigned app category targeting option. This will be populated in the app_category_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP_CATEGORY`. # App category details. This field will be populated when the TargetingType is `TARGETING_TYPE_APP_CATEGORY`.
313 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the app category.
314 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.
315 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
316 },
317 &quot;contentOutstreamPositionDetails&quot;: { # Assigned content outstream position targeting option details. This will be populated in the content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`. # Content outstream position details. This field will be populated when the TargetingType is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.
318 &quot;contentOutstreamPosition&quot;: &quot;A String&quot;, # Output only. The content outstream position.
319 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.
320 },
321 &quot;environmentDetails&quot;: { # Assigned environment targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`. # Environment details. This field will be populated when the TargetingType is `TARGETING_TYPE_ENVIRONMENT`.
322 &quot;environment&quot;: &quot;A String&quot;, # Output only. The serving environment.
323 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_ENVIRONMENT` (e.g., &quot;508010&quot; for targeting the `ENVIRONMENT_WEB_OPTIMIZED` option).
324 },
325 &quot;languageDetails&quot;: { # Details for assigned language targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_LANGUAGE`. # Language details. This field will be populated when the TargetingType is `TARGETING_TYPE_LANGUAGE`.
326 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted. All assigned language targeting options on the same line item must have the same value for this field.
327 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_LANGUAGE`.
328 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the language (e.g., &quot;French&quot;).
329 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700330 &quot;audienceGroupDetails&quot;: { # Assigned audience group targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION, except for excluded_first_and_third_party_audience_group and excluded_google_audience_group, of which COMPLEMENT is UNION&#x27;ed with other groups. # Audience targeting details. This field will be populated when the TargetingType is `TARGETING_TYPE_AUDIENCE_GROUP`. You can only target one audience group option per line item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700331 &quot;includedCustomListGroup&quot;: { # Details of custom list group. All custom list targeting settings are logically ‘OR’ of each other. # The custom list ids of the included custom list group. Contains custom list ids only.
332 &quot;settings&quot;: [ # Required. All custom list targeting settings in custom list group. Repeated settings with same id will be ignored.
333 { # Details of custom list targeting setting.
334 &quot;customListId&quot;: &quot;A String&quot;, # Required. Custom id of custom list targeting setting. This id is custom_list_id.
335 },
336 ],
337 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700338 &quot;excludedGoogleAudienceGroup&quot;: { # Details of Google audience group. All Google audience targeting settings are logically ‘OR’ of each other. # The Google audience ids of the excluded Google audience group. Used for negative targeting. It&#x27;s COMPLEMENT is used to UNION other audience groups. Only contains Affinity, In-market and Installed-apps type Google audiences. All items are logically ‘OR’ of each other.
339 &quot;settings&quot;: [ # Required. All Google audience targeting settings in Google audience group. Repeated settings with same id will be ignored.
340 { # Details of Google audience targeting setting.
341 &quot;googleAudienceId&quot;: &quot;A String&quot;, # Required. Google audience id of the Google audience targeting setting. This id is google_audience_id.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700342 },
343 ],
344 },
345 &quot;excludedFirstAndThirdPartyAudienceGroup&quot;: { # Details of first and third party audience group. All first and third party audience targeting settings are logically ‘OR’ of each other. # The first and third party audience ids and recencies of the excluded first and third party audience group. Used for negative targeting. Its COMPLEMENT is used to UNION other audience groups.
346 &quot;settings&quot;: [ # Required. All first and third party audience targeting settings in first and third party audience group. Repeated settings with same id are not allowed.
347 { # Details of first and third party audience targeting setting.
348 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Required. First and third party audience id of the first and third party audience targeting setting. This id is first_and_third_party_audience_id.
349 &quot;recency&quot;: &quot;A String&quot;, # The recency of the first and third party audience targeting setting. Only applicable to first party audiences, otherwise will be ignored. For more info, refer to https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be used.
350 },
351 ],
352 },
353 &quot;includedGoogleAudienceGroup&quot;: { # Details of Google audience group. All Google audience targeting settings are logically ‘OR’ of each other. # The Google audience ids of the included Google audience group. Contains Google audience ids only.
354 &quot;settings&quot;: [ # Required. All Google audience targeting settings in Google audience group. Repeated settings with same id will be ignored.
355 { # Details of Google audience targeting setting.
356 &quot;googleAudienceId&quot;: &quot;A String&quot;, # Required. Google audience id of the Google audience targeting setting. This id is google_audience_id.
357 },
358 ],
359 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700360 &quot;includedCombinedAudienceGroup&quot;: { # Details of combined audience group. All combined audience targeting settings are logically ‘OR’ of each other. # The combined audience ids of the included combined audience group. Contains combined audience ids only.
361 &quot;settings&quot;: [ # Required. All combined audience targeting settings in combined audience group. Repeated settings with same id will be ignored. The number of combined audience settings should be no more than five, error will be thrown otherwise.
362 { # Details of combined audience targeting setting.
363 &quot;combinedAudienceId&quot;: &quot;A String&quot;, # Required. Combined audience id of combined audience targeting setting. This id is combined_audience_id.
364 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700365 ],
366 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700367 &quot;includedFirstAndThirdPartyAudienceGroups&quot;: [ # The first and third party audience ids and recencies of included first and third party audience groups. Each first and third party audience group contains first and third party audience ids only. The relation between each first and third party audience group is INTERSECTION, and the result is UNION&#x27;ed with other audience groups. Repeated groups with same settings will be ignored.
368 { # Details of first and third party audience group. All first and third party audience targeting settings are logically ‘OR’ of each other.
369 &quot;settings&quot;: [ # Required. All first and third party audience targeting settings in first and third party audience group. Repeated settings with same id are not allowed.
370 { # Details of first and third party audience targeting setting.
371 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Required. First and third party audience id of the first and third party audience targeting setting. This id is first_and_third_party_audience_id.
372 &quot;recency&quot;: &quot;A String&quot;, # The recency of the first and third party audience targeting setting. Only applicable to first party audiences, otherwise will be ignored. For more info, refer to https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be used.
373 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700374 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700375 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700376 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700377 },
378 &quot;proximityLocationListDetails&quot;: { # Targeting details for proximity location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`. # Proximity location list details. This field will be populated when the TargetingType is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.
379 &quot;proximityLocationListId&quot;: &quot;A String&quot;, # Required. ID of the proximity location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_PROXIMITY`.
380 &quot;proximityRadiusRange&quot;: &quot;A String&quot;, # Required. Radius range for proximity location list. This represents the size of the area around a chosen location that will be targeted. `All` proximity location targeting under a single line item must have the same radius range value. Set this value to match any existing targeting. If updated, this field will change the radius range for all proximity targeting under the line item.
381 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700382 },
383 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700384 },
385 ],
386 }
387
388 x__xgafv: string, V1 error format.
389 Allowed values
390 1 - v1 error format
391 2 - v2 error format
392
393Returns:
394 An object of the form:
395
396 {
397 &quot;createdAssignedTargetingOptions&quot;: [ # The list of assigned targeting options that have been successfully created. This list will be absent if empty.
398 { # A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700399 &quot;subExchangeDetails&quot;: { # Details for assigned sub-exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`. # Sub-exchange details. This field will be populated when the TargetingType is `TARGETING_TYPE_SUB_EXCHANGE`.
400 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_SUB_EXCHANGE`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700401 },
402 &quot;householdIncomeDetails&quot;: { # Details for assigned household income targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`. # Household income details. This field will be populated when the TargetingType is `TARGETING_TYPE_HOUSEHOLD_INCOME`.
403 &quot;householdIncome&quot;: &quot;A String&quot;, # Output only. The household income of the audience.
404 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_HOUSEHOLD_INCOME`.
405 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700406 &quot;keywordDetails&quot;: { # Details for assigned keyword targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_KEYWORD`. # Keyword details. This field will be populated when the TargetingType is `TARGETING_TYPE_KEYWORD`. A maximum of 5000 direct negative keywords can be assigned to a line item. No limit on number of positive keywords that can be assigned.
407 &quot;keyword&quot;: &quot;A String&quot;, # Required. The keyword, for example `car insurance`. Positive keyword cannot be offensive word. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10.
408 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700409 },
410 &quot;browserDetails&quot;: { # Details for assigned browser targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BROWSER`. # Browser details. This field will be populated when the TargetingType is `TARGETING_TYPE_BROWSER`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700411 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the browser.
412 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BROWSER`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700413 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted. All assigned browser targeting options on the same line item must have the same value for this field.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700414 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700415 &quot;onScreenPositionDetails&quot;: { # On screen position targeting option details. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`. # On screen position details. This field will be populated when the TargetingType is `TARGETING_TYPE_ON_SCREEN_POSITION`.
416 &quot;onScreenPosition&quot;: &quot;A String&quot;, # Output only. The on screen position.
417 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.
418 },
419 &quot;inventorySourceGroupDetails&quot;: { # Targeting details for inventory source group. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`. # Inventory source group details. This field will be populated when the TargetingType is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`.
420 &quot;inventorySourceGroupId&quot;: &quot;A String&quot;, # Required. ID of the inventory source group. Should refer to the inventory_source_group_id field of an InventorySourceGroup resource.
421 },
422 &quot;contentInstreamPositionDetails&quot;: { # Assigned content instream position targeting option details. This will be populated in the content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`. # Content instream position details. This field will be populated when the TargetingType is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
423 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
424 &quot;contentInstreamPosition&quot;: &quot;A String&quot;, # Output only. The content instream position for video or audio ads.
425 },
426 &quot;videoPlayerSizeDetails&quot;: { # Video player size targeting option details. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all options is not supported. Remove all video player size targeting options to achieve this effect. # Video player size details. This field will be populated when the TargetingType is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.
427 &quot;videoPlayerSize&quot;: &quot;A String&quot;, # Output only. The video player size.
428 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.
429 },
430 &quot;negativeKeywordListDetails&quot;: { # Targeting details for negative keyword list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. # Keyword details. This field will be populated when the TargetingType is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative keyword lists can be assigned to a line item.
431 &quot;negativeKeywordListId&quot;: &quot;A String&quot;, # Required. ID of the negative keyword list. Should refer to the negative_keyword_list_id field of a NegativeKeywordList resource.
432 },
433 &quot;channelDetails&quot;: { # Details for assigned channel targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CHANNEL`. # Channel details. This field will be populated when the TargetingType is `TARGETING_TYPE_CHANNEL`.
434 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted. For advertiser level assigned targeting option, this field must be true.
435 &quot;channelId&quot;: &quot;A String&quot;, # Required. ID of the channel. Should refer to the channel ID field on a [Partner-owned channel](partners.channels#Channel.FIELDS.channel_id) or [advertiser-owned channel](advertisers.channels#Channel.FIELDS.channel_id) resource.
436 },
437 &quot;dayAndTimeDetails&quot;: { # Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`. # Day and time details. This field will be populated when the TargetingType is `TARGETING_TYPE_DAY_AND_TIME`.
438 &quot;startHour&quot;: 42, # Required. The start hour for day and time targeting. Must be between 0 (start of day) and 23 (1 hour before end of day).
439 &quot;endHour&quot;: 42, # Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).
440 &quot;timeZoneResolution&quot;: &quot;A String&quot;, # Required. The mechanism used to determine which timezone to use for this day and time targeting setting.
441 &quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. The day of the week for this day and time targeting setting.
442 },
443 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this assigned targeting option.
444 &quot;regionalLocationListDetails&quot;: { # Targeting details for regional location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`. # Regional location list details. This field will be populated when the TargetingType is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`.
445 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
446 &quot;regionalLocationListId&quot;: &quot;A String&quot;, # Required. ID of the regional location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_REGIONAL`.
447 },
448 &quot;exchangeDetails&quot;: { # Details for assigned exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`. # Exchange details. This field will be populated when the TargetingType is `TARGETING_TYPE_EXCHANGE`.
449 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_EXCHANGE`.
450 },
451 &quot;genderDetails&quot;: { # Details for assigned gender targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARTGETING_TYPE_GENDER`. # Gender details. This field will be populated when the TargetingType is `TARGETING_TYPE_GENDER`.
452 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GENDER`.
453 &quot;gender&quot;: &quot;A String&quot;, # Output only. The gender of the audience.
454 },
455 &quot;inventorySourceDetails&quot;: { # Targeting details for inventory source. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`. # Inventory source details. This field will be populated when the TargetingType is `TARGETING_TYPE_INVENTORY_SOURCE`.
456 &quot;inventorySourceId&quot;: &quot;A String&quot;, # Required. ID of the inventory source. Should refer to the inventory_source_id field of an InventorySource resource.
457 },
458 &quot;targetingType&quot;: &quot;A String&quot;, # Output only. Identifies the type of this assigned targeting option.
459 &quot;digitalContentLabelExclusionDetails&quot;: { # Targeting details for digital content label. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. # Digital content label details. This field will be populated when the TargetingType is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. Digital content labels are targeting exclusions. Advertiser level digital content label exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in line item settings). Line item settings can exclude content labels in addition to advertiser exclusions, but can&#x27;t override them. A line item won&#x27;t serve if all the digital content labels are excluded.
460 &quot;contentRatingTier&quot;: &quot;A String&quot;, # Output only. The display name of the digital content label rating tier.
461 &quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the digital content label to be EXCLUDED.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700462 },
463 &quot;parentalStatusDetails&quot;: { # Details for assigned parental status targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARTGETING_TYPE_PARENTAL_STATUS`. # Parental status details. This field will be populated when the TargetingType is `TARGETING_TYPE_PARENTAL_STATUS`.
464 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_PARENTAL_STATUS`.
465 &quot;parentalStatus&quot;: &quot;A String&quot;, # Output only. The parental status of the audience.
466 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700467 &quot;deviceMakeModelDetails&quot;: { # Assigned device make and model targeting option details. This will be populated in the device_make_model_details field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`. # Device make and model details. This field will be populated when the TargetingType is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.
468 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the device make and model.
469 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.
470 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
471 },
472 &quot;geoRegionDetails&quot;: { # Details for assigned geographic region targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GEO_REGION`. # Geographic region details. This field will be populated when the TargetingType is `TARGETING_TYPE_GEO_REGION`.
473 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GEO_REGION`.
474 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
475 &quot;geoRegionType&quot;: &quot;A String&quot;, # Output only. The type of geographic region targeting.
476 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the geographic region (e.g., &quot;Ontario, Canada&quot;).
477 },
478 &quot;viewabilityDetails&quot;: { # Assigned viewability targeting option details. This will be populated in the viewability_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`. # Viewability details. This field will be populated when the TargetingType is `TARGETING_TYPE_VIEWABILITY`. You can only target one viewability option per line item.
479 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_VIEWABILITY` (e.g., &quot;509010&quot; for targeting the `VIEWABILITY_10_PERCENT_OR_MORE` option).
480 &quot;viewability&quot;: &quot;A String&quot;, # Output only. The predicted viewability percentage.
481 },
482 &quot;thirdPartyVerifierDetails&quot;: { # Assigned third party verifier targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`. # Third party verification details. This field will be populated when the TargetingType is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`.
483 &quot;doubleVerify&quot;: { # Details of DoubleVerify settings. # Third party brand verifier -- DoubleVerify.
484 &quot;brandSafetyCategories&quot;: { # Settings for brand safety controls. # DV Brand Safety Controls.
485 &quot;avoidedMediumSeverityCategories&quot;: [ # Brand safety medium severity avoidance categories.
486 &quot;A String&quot;,
487 ],
488 &quot;avoidUnknownBrandSafetyCategory&quot;: True or False, # Unknown or unrateable.
489 &quot;avoidedHighSeverityCategories&quot;: [ # Brand safety high severity avoidance categories.
490 &quot;A String&quot;,
491 ],
492 },
493 &quot;appStarRating&quot;: { # Details of DoubleVerify star ratings settings. # Avoid bidding on apps with the star ratings.
494 &quot;avoidedStarRating&quot;: &quot;A String&quot;, # Avoid bidding on apps with the star ratings.
495 &quot;avoidInsufficientStarRating&quot;: True or False, # Avoid bidding on apps with insufficient star ratings.
496 },
497 &quot;fraudInvalidTraffic&quot;: { # DoubleVerify Fraud &amp; Invalid Traffic settings. # Avoid Sites and Apps with historical Fraud &amp; IVT Rates.
498 &quot;avoidedFraudOption&quot;: &quot;A String&quot;, # Avoid Sites and Apps with historical Fraud &amp; IVT.
499 &quot;avoidInsufficientOption&quot;: True or False, # Insufficient Historical Fraud &amp; IVT Stats.
500 },
501 &quot;videoViewability&quot;: { # Details of DoubleVerify video viewability settings. # Video viewability settings (applicable to video line items only).
502 &quot;videoIab&quot;: &quot;A String&quot;, # Target web inventory to maximize IAB viewable rate.
503 &quot;playerImpressionRate&quot;: &quot;A String&quot;, # Target inventory to maximize impressions with 400x300 or greater player size.
504 &quot;videoViewableRate&quot;: &quot;A String&quot;, # Target web inventory to maximize fully viewable rate.
505 },
506 &quot;customSegmentId&quot;: &quot;A String&quot;, # The custom segment ID provided by DoubleVerify. The ID must start with &quot;51&quot; and consist of eight digits. Custom segment ID cannot be specified along with any of the following fields: * brand_safety_categories * avoided_age_ratings * app_star_rating * fraud_invalid_traffic
507 &quot;avoidedAgeRatings&quot;: [ # Avoid bidding on apps with the age rating.
508 &quot;A String&quot;,
509 ],
510 &quot;displayViewability&quot;: { # Details of DoubleVerify display viewability settings. # Display viewability settings (applicable to display line items only).
511 &quot;viewableDuring&quot;: &quot;A String&quot;, # Target web and app inventory to maximize 100% viewable duration.
512 &quot;iab&quot;: &quot;A String&quot;, # Target web and app inventory to maximize IAB viewable rate.
513 },
514 },
515 &quot;integralAdScience&quot;: { # Details of Integral Ad Science settings. # Third party brand verifier -- Integral Ad Science.
516 &quot;excludedGamblingRisk&quot;: &quot;A String&quot;, # Brand Safety - **Gambling**.
517 &quot;excludedAdFraudRisk&quot;: &quot;A String&quot;, # Ad Fraud settings.
518 &quot;videoViewability&quot;: &quot;A String&quot;, # Video Viewability Section (applicable to video line items only).
519 &quot;excludedAlcoholRisk&quot;: &quot;A String&quot;, # Brand Safety - **Alcohol**.
520 &quot;excludedDrugsRisk&quot;: &quot;A String&quot;, # Brand Safety - **Drugs**.
521 &quot;excludedHateSpeechRisk&quot;: &quot;A String&quot;, # Brand Safety - **Hate speech**.
522 &quot;excludedViolenceRisk&quot;: &quot;A String&quot;, # Brand Safety - **Violence**.
523 &quot;excludedAdultRisk&quot;: &quot;A String&quot;, # Brand Safety - **Adult content**.
524 &quot;excludeUnrateable&quot;: True or False, # Brand Safety - **Unrateable**.
525 &quot;excludedIllegalDownloadsRisk&quot;: &quot;A String&quot;, # Brand Safety - **Illegal downloads**.
526 &quot;displayViewability&quot;: &quot;A String&quot;, # Display Viewability section (applicable to display line items only).
527 &quot;traqScoreOption&quot;: &quot;A String&quot;, # True advertising quality (applicable to Display line items only).
528 &quot;customSegmentId&quot;: [ # The custom segment ID provided by Integral Ad Science. The ID must be between `1000001` and `1999999`, inclusive.
529 &quot;A String&quot;,
530 ],
531 &quot;excludedOffensiveLanguageRisk&quot;: &quot;A String&quot;, # Brand Safety - **Offensive language**.
532 },
533 &quot;adloox&quot;: { # Details of Adloox settings. # Third party brand verifier -- Adloox.
534 &quot;excludedAdlooxCategories&quot;: [ # Adloox&#x27;s brand safety settings.
535 &quot;A String&quot;,
536 ],
537 },
538 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700539 &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 TargetingType is `TARGETING_TYPE_APP`.
540 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
541 &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`.
542 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the app.
543 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700544 &quot;deviceTypeDetails&quot;: { # Targeting details for device type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`. # Device Type details. This field will be populated when the TargetingType is `TARGETING_TYPE_DEVICE_TYPE`.
545 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the device type.
546 &quot;deviceType&quot;: &quot;A String&quot;, # Output only. The display name of the device type.
547 },
548 &quot;urlDetails&quot;: { # Details for assigned URL targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_URL`. # URL details. This field will be populated when the TargetingType is `TARGETING_TYPE_URL`.
549 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
550 &quot;url&quot;: &quot;A String&quot;, # Required. The URL, for example `example.com`. DV360 supports two levels of subdirectory targeting, for example `www.example.com/one-subdirectory-level/second-level`, and five levels of subdomain targeting, for example `five.four.three.two.one.example.com`.
551 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700552 &quot;carrierAndIspDetails&quot;: { # Details for assigned carrier and ISP targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`. # Carrier and ISP details. This field will be populated when the TargetingType is `TARGETING_TYPE_CARRIER_AND_ISP`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700553 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted. All assigned carrier and ISP targeting options on the same line item must have the same value for this field.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700554 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the carrier or ISP.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700555 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_CARRIER_AND_ISP`.
556 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700557 &quot;authorizedSellerStatusDetails&quot;: { # Represents an assigned authorized seller status. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. # Authorized seller status details. This field will be populated when the TargetingType is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. You can only target one authorized seller status option per line item. If a line item doesn&#x27;t have an authorized seller status option, all authorized sellers indicated as DIRECT or RESELLER in the ads.txt file are targeted by default.
558 &quot;authorizedSellerStatus&quot;: &quot;A String&quot;, # Output only. The authorized seller status to target.
559 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.
560 },
561 &quot;ageRangeDetails&quot;: { # Represents a targetable age range. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AGE_RANGE`. # Age range details. This field will be populated when the TargetingType is `TARGETING_TYPE_AGE_RANGE`.
562 &quot;ageRange&quot;: &quot;A String&quot;, # Output only. The age range of an audience. We only support targeting a continuous age range of an audience. Thus, the age range represented in this field can be 1) targeted solely, or, 2) part of a larger continuous age range. The reach of a continuous age range targeting can be expanded by also targeting an audience of an unknown age.
563 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AGE_RANGE`.
564 },
565 &quot;inheritance&quot;: &quot;A String&quot;, # Output only. The inheritance status of the assigned targeting option.
566 &quot;userRewardedContentDetails&quot;: { # User rewarded content targeting option details. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`. # User rewarded content details. This field will be populated when the TargetingType is `TARGETING_TYPE_USER_REWARDED_CONTENT`.
567 &quot;userRewardedContent&quot;: &quot;A String&quot;, # Output only. User rewarded content status for video ads.
568 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.
569 },
570 &quot;categoryDetails&quot;: { # Assigned category targeting option details. This will be populated in the category_details field when targeting_type is `TARGETING_TYPE_CATEGORY`. # Category details. This field will be populated when the TargetingType is `TARGETING_TYPE_CATEGORY`. Targeting a category will also target its subcategories. If a category is excluded from targeting and a subcategory is included, the exclusion will take precedence.
571 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CATEGORY`.
572 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
573 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the category.
574 },
575 &quot;operatingSystemDetails&quot;: { # Assigned operating system targeting option details. This will be populated in the operating_system_details field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`. # Operating system details. This field will be populated when the TargetingType is `TARGETING_TYPE_OPERATING_SYSTEM`.
576 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
577 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the operating system.
578 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting option ID populated in targeting_option_id field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.
579 },
580 &quot;assignedTargetingOptionId&quot;: &quot;A String&quot;, # Output only. The unique ID of the assigned targeting option. The ID is only unique within a given line item and targeting type. It may be reused in other contexts.
581 &quot;sensitiveCategoryExclusionDetails&quot;: { # Targeting details for sensitive category. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. # Sensitive category details. This field will be populated when the TargetingType is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. Sensitive categories are targeting exclusions. Advertiser level sensitive category exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in line item settings). Line item settings can exclude sensitive categories in addition to advertiser exclusions, but can&#x27;t override them.
582 &quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the sensitive category to be EXCLUDED.
583 &quot;sensitiveCategory&quot;: &quot;A String&quot;, # Output only. An enum for the DV360 Sensitive category content classifier.
584 },
585 &quot;appCategoryDetails&quot;: { # Details for assigned app category targeting option. This will be populated in the app_category_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP_CATEGORY`. # App category details. This field will be populated when the TargetingType is `TARGETING_TYPE_APP_CATEGORY`.
586 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the app category.
587 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.
588 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted.
589 },
590 &quot;contentOutstreamPositionDetails&quot;: { # Assigned content outstream position targeting option details. This will be populated in the content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`. # Content outstream position details. This field will be populated when the TargetingType is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.
591 &quot;contentOutstreamPosition&quot;: &quot;A String&quot;, # Output only. The content outstream position.
592 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.
593 },
594 &quot;environmentDetails&quot;: { # Assigned environment targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`. # Environment details. This field will be populated when the TargetingType is `TARGETING_TYPE_ENVIRONMENT`.
595 &quot;environment&quot;: &quot;A String&quot;, # Output only. The serving environment.
596 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_ENVIRONMENT` (e.g., &quot;508010&quot; for targeting the `ENVIRONMENT_WEB_OPTIMIZED` option).
597 },
598 &quot;languageDetails&quot;: { # Details for assigned language targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_LANGUAGE`. # Language details. This field will be populated when the TargetingType is `TARGETING_TYPE_LANGUAGE`.
599 &quot;negative&quot;: True or False, # Indicates if this option is being negatively targeted. All assigned language targeting options on the same line item must have the same value for this field.
600 &quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_LANGUAGE`.
601 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the language (e.g., &quot;French&quot;).
602 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700603 &quot;audienceGroupDetails&quot;: { # Assigned audience group targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION, except for excluded_first_and_third_party_audience_group and excluded_google_audience_group, of which COMPLEMENT is UNION&#x27;ed with other groups. # Audience targeting details. This field will be populated when the TargetingType is `TARGETING_TYPE_AUDIENCE_GROUP`. You can only target one audience group option per line item.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700604 &quot;includedCustomListGroup&quot;: { # Details of custom list group. All custom list targeting settings are logically ‘OR’ of each other. # The custom list ids of the included custom list group. Contains custom list ids only.
605 &quot;settings&quot;: [ # Required. All custom list targeting settings in custom list group. Repeated settings with same id will be ignored.
606 { # Details of custom list targeting setting.
607 &quot;customListId&quot;: &quot;A String&quot;, # Required. Custom id of custom list targeting setting. This id is custom_list_id.
608 },
609 ],
610 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700611 &quot;excludedGoogleAudienceGroup&quot;: { # Details of Google audience group. All Google audience targeting settings are logically ‘OR’ of each other. # The Google audience ids of the excluded Google audience group. Used for negative targeting. It&#x27;s COMPLEMENT is used to UNION other audience groups. Only contains Affinity, In-market and Installed-apps type Google audiences. All items are logically ‘OR’ of each other.
612 &quot;settings&quot;: [ # Required. All Google audience targeting settings in Google audience group. Repeated settings with same id will be ignored.
613 { # Details of Google audience targeting setting.
614 &quot;googleAudienceId&quot;: &quot;A String&quot;, # Required. Google audience id of the Google audience targeting setting. This id is google_audience_id.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700615 },
616 ],
617 },
618 &quot;excludedFirstAndThirdPartyAudienceGroup&quot;: { # Details of first and third party audience group. All first and third party audience targeting settings are logically ‘OR’ of each other. # The first and third party audience ids and recencies of the excluded first and third party audience group. Used for negative targeting. Its COMPLEMENT is used to UNION other audience groups.
619 &quot;settings&quot;: [ # Required. All first and third party audience targeting settings in first and third party audience group. Repeated settings with same id are not allowed.
620 { # Details of first and third party audience targeting setting.
621 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Required. First and third party audience id of the first and third party audience targeting setting. This id is first_and_third_party_audience_id.
622 &quot;recency&quot;: &quot;A String&quot;, # The recency of the first and third party audience targeting setting. Only applicable to first party audiences, otherwise will be ignored. For more info, refer to https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be used.
623 },
624 ],
625 },
626 &quot;includedGoogleAudienceGroup&quot;: { # Details of Google audience group. All Google audience targeting settings are logically ‘OR’ of each other. # The Google audience ids of the included Google audience group. Contains Google audience ids only.
627 &quot;settings&quot;: [ # Required. All Google audience targeting settings in Google audience group. Repeated settings with same id will be ignored.
628 { # Details of Google audience targeting setting.
629 &quot;googleAudienceId&quot;: &quot;A String&quot;, # Required. Google audience id of the Google audience targeting setting. This id is google_audience_id.
630 },
631 ],
632 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700633 &quot;includedCombinedAudienceGroup&quot;: { # Details of combined audience group. All combined audience targeting settings are logically ‘OR’ of each other. # The combined audience ids of the included combined audience group. Contains combined audience ids only.
634 &quot;settings&quot;: [ # Required. All combined audience targeting settings in combined audience group. Repeated settings with same id will be ignored. The number of combined audience settings should be no more than five, error will be thrown otherwise.
635 { # Details of combined audience targeting setting.
636 &quot;combinedAudienceId&quot;: &quot;A String&quot;, # Required. Combined audience id of combined audience targeting setting. This id is combined_audience_id.
637 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700638 ],
639 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700640 &quot;includedFirstAndThirdPartyAudienceGroups&quot;: [ # The first and third party audience ids and recencies of included first and third party audience groups. Each first and third party audience group contains first and third party audience ids only. The relation between each first and third party audience group is INTERSECTION, and the result is UNION&#x27;ed with other audience groups. Repeated groups with same settings will be ignored.
641 { # Details of first and third party audience group. All first and third party audience targeting settings are logically ‘OR’ of each other.
642 &quot;settings&quot;: [ # Required. All first and third party audience targeting settings in first and third party audience group. Repeated settings with same id are not allowed.
643 { # Details of first and third party audience targeting setting.
644 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Required. First and third party audience id of the first and third party audience targeting setting. This id is first_and_third_party_audience_id.
645 &quot;recency&quot;: &quot;A String&quot;, # The recency of the first and third party audience targeting setting. Only applicable to first party audiences, otherwise will be ignored. For more info, refer to https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be used.
646 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700647 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700648 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700649 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700650 },
651 &quot;proximityLocationListDetails&quot;: { # Targeting details for proximity location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`. # Proximity location list details. This field will be populated when the TargetingType is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.
652 &quot;proximityLocationListId&quot;: &quot;A String&quot;, # Required. ID of the proximity location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_PROXIMITY`.
653 &quot;proximityRadiusRange&quot;: &quot;A String&quot;, # Required. Radius range for proximity location list. This represents the size of the area around a chosen location that will be targeted. `All` proximity location targeting under a single line item must have the same radius range value. Set this value to match any existing targeting. If updated, this field will change the radius range for all proximity targeting under the line item.
654 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700655 },
656 ],
657 }</pre>
658</div>
659
660<div class="method">
661 <code class="details" id="close">close()</code>
662 <pre>Close httplib2 connections.</pre>
663</div>
664
665<div class="method">
666 <code class="details" id="get">get(partnerId, x__xgafv=None)</code>
667 <pre>Gets a partner.
668
669Args:
670 partnerId: string, Required. The ID of the partner to fetch. (required)
671 x__xgafv: string, V1 error format.
672 Allowed values
673 1 - v1 error format
674 2 - v2 error format
675
676Returns:
677 An object of the form:
678
679 { # A single partner in Display &amp; Video 360 (DV360).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700680 &quot;exchangeConfig&quot;: { # Settings that control which exchanges are enabled for a partner. # Settings that control which exchanges are enabled for the partner.
681 &quot;enabledExchanges&quot;: [ # All enabled exchanges in the partner. Duplicate enabled exchanges will be ignored.
682 { # An enabled exchange in the partner.
683 &quot;seatId&quot;: &quot;A String&quot;, # Output only. Seat ID of the enabled exchange.
684 &quot;googleAdManagerAgencyId&quot;: &quot;A String&quot;, # Output only. Agency ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.
685 &quot;exchange&quot;: &quot;A String&quot;, # The enabled exchange.
686 &quot;googleAdManagerBuyerNetworkId&quot;: &quot;A String&quot;, # Output only. Network ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.
687 },
688 ],
689 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700690 &quot;entityStatus&quot;: &quot;A String&quot;, # Output only. The status of the partner.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700691 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the partner. Must be UTF-8 encoded with a maximum size of 240 bytes.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700692 &quot;partnerId&quot;: &quot;A String&quot;, # Output only. The unique ID of the partner. Assigned by the system.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700693 &quot;adServerConfig&quot;: { # Ad server related settings of a partner. # Ad server related settings of the partner.
694 &quot;measurementConfig&quot;: { # Measurement settings of a partner. # Measurement settings of a partner.
695 &quot;dv360ToCmCostReportingEnabled&quot;: True or False, # Whether or not to report DV360 cost to CM360.
696 &quot;dv360ToCmDataSharingEnabled&quot;: True or False, # Whether or not to include DV360 data in CM360 data transfer reports.
697 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700698 },
699 &quot;dataAccessConfig&quot;: { # Settings that control how partner related data may be accessed. # Settings that control how partner data may be accessed.
700 &quot;sdfConfig&quot;: { # Structured Data File (SDF) related settings. # Structured Data Files (SDF) settings for the partner. The SDF configuration for the partner.
701 &quot;adminEmail&quot;: &quot;A String&quot;, # An administrator email address to which the SDF processing status reports will be sent.
702 &quot;version&quot;: &quot;A String&quot;, # Required. The version of SDF being used.
703 },
704 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700705 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the partner.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700706 &quot;generalConfig&quot;: { # General settings of a partner. # General settings of the partner.
707 &quot;timeZone&quot;: &quot;A String&quot;, # Immutable. The standard TZ database name of the partner&#x27;s time zone. For example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
708 &quot;currencyCode&quot;: &quot;A String&quot;, # Immutable. Partner&#x27;s currency in ISO 4217 format.
709 },
710 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the partner was last updated. Assigned by the system.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700711 }</pre>
712</div>
713
714<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700715 <code class="details" id="list">list(orderBy=None, pageToken=None, filter=None, pageSize=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700716 <pre>Lists partners that are accessible to the current user. The order is defined by the order_by parameter.
717
718Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700719 orderBy: string, Field by which to sort the list. Acceptable values are: * `displayName` 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. For example, `displayName desc`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700720 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 `ListPartners` method. If not specified, the first page of results will be returned.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700721 filter: string, Allows filtering by partner properties. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `EQUALS (=)`. * Supported fields: - `entityStatus` Examples: * All active partners: `entityStatus=&quot;ENTITY_STATUS_ACTIVE&quot;` The length of this field should be no more than 500 characters.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700722 pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will default to `100`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700723 x__xgafv: string, V1 error format.
724 Allowed values
725 1 - v1 error format
726 2 - v2 error format
727
728Returns:
729 An object of the form:
730
731 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700732 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListPartners` method to retrieve the next page of results.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700733 &quot;partners&quot;: [ # The list of partners. This list will be absent if empty.
734 { # A single partner in Display &amp; Video 360 (DV360).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700735 &quot;exchangeConfig&quot;: { # Settings that control which exchanges are enabled for a partner. # Settings that control which exchanges are enabled for the partner.
736 &quot;enabledExchanges&quot;: [ # All enabled exchanges in the partner. Duplicate enabled exchanges will be ignored.
737 { # An enabled exchange in the partner.
738 &quot;seatId&quot;: &quot;A String&quot;, # Output only. Seat ID of the enabled exchange.
739 &quot;googleAdManagerAgencyId&quot;: &quot;A String&quot;, # Output only. Agency ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.
740 &quot;exchange&quot;: &quot;A String&quot;, # The enabled exchange.
741 &quot;googleAdManagerBuyerNetworkId&quot;: &quot;A String&quot;, # Output only. Network ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.
742 },
743 ],
744 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700745 &quot;entityStatus&quot;: &quot;A String&quot;, # Output only. The status of the partner.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700746 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the partner. Must be UTF-8 encoded with a maximum size of 240 bytes.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700747 &quot;partnerId&quot;: &quot;A String&quot;, # Output only. The unique ID of the partner. Assigned by the system.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700748 &quot;adServerConfig&quot;: { # Ad server related settings of a partner. # Ad server related settings of the partner.
749 &quot;measurementConfig&quot;: { # Measurement settings of a partner. # Measurement settings of a partner.
750 &quot;dv360ToCmCostReportingEnabled&quot;: True or False, # Whether or not to report DV360 cost to CM360.
751 &quot;dv360ToCmDataSharingEnabled&quot;: True or False, # Whether or not to include DV360 data in CM360 data transfer reports.
752 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700753 },
754 &quot;dataAccessConfig&quot;: { # Settings that control how partner related data may be accessed. # Settings that control how partner data may be accessed.
755 &quot;sdfConfig&quot;: { # Structured Data File (SDF) related settings. # Structured Data Files (SDF) settings for the partner. The SDF configuration for the partner.
756 &quot;adminEmail&quot;: &quot;A String&quot;, # An administrator email address to which the SDF processing status reports will be sent.
757 &quot;version&quot;: &quot;A String&quot;, # Required. The version of SDF being used.
758 },
759 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700760 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the partner.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700761 &quot;generalConfig&quot;: { # General settings of a partner. # General settings of the partner.
762 &quot;timeZone&quot;: &quot;A String&quot;, # Immutable. The standard TZ database name of the partner&#x27;s time zone. For example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
763 &quot;currencyCode&quot;: &quot;A String&quot;, # Immutable. Partner&#x27;s currency in ISO 4217 format.
764 },
765 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the partner was last updated. Assigned by the system.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700766 },
767 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700768 }</pre>
769</div>
770
771<div class="method">
772 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
773 <pre>Retrieves the next page of results.
774
775Args:
776 previous_request: The request for the previous page. (required)
777 previous_response: The response from the request for the previous page. (required)
778
779Returns:
780 A request object that you can call &#x27;execute()&#x27; on to request the next
781 page. Returns None if there are no more items in the collection.
782 </pre>
783</div>
784
Bu Sun Kim65020912020-05-20 12:08:20 -0700785</body></html>