google-apis-displayvideo_v1 0.5.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df431a99de9fcae97aca5ded4244d714ee11aab660801d6aed8e65bbc99aca18
4
- data.tar.gz: e64b7a53c748a7b4295a9910019a1ac1fe595495344521f0e0bd9f96f72e55ef
3
+ metadata.gz: 70ed5fb9b6411d27d02d67883b46831ebcce6496b147a1ae57d74e101a4aa8c2
4
+ data.tar.gz: a54d832d7ecb002a55ab03e34f235e92392caa9339d4c67a7203c1737e663636
5
5
  SHA512:
6
- metadata.gz: d3984f641d397e0b25914b912dbeba3b17262c370723b7d7e7c704271a3a1295a874a3b0e4d453e2d88b456457de34d1a30c319e3667fbba702064ff056345bb
7
- data.tar.gz: b28ee693cdc952c200a72990a092c82dab838cba3e6693b11f8332dfe40b5d2c8781e59f40acf82fa447bcb3704be57853f4a30baa98e28aa387719929a77cee
6
+ metadata.gz: 896a6f0d99461ea3105c53d93475bbdb53546e4cde4c2106db212e9c3884b5bad4e008cabfb36e1a3a77281be21c8b8e1ec9c3940978ee25b881fded87519fa9
7
+ data.tar.gz: 3ebe392663fd65ccb0b2c9e023ee370d725d64bac1215f9a6a055ca63cdaa418fac4f835491bd7b6def75b2390c90087c1ccf864585aec84c8138d20e3366bb5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Release history for google-apis-displayvideo_v1
2
2
 
3
+ ### v0.10.0 (2021-06-04)
4
+
5
+ * Regenerated from discovery document revision 20210603
6
+ * Regenerated using generator version 0.3.0
7
+
8
+ ### v0.9.0 (2021-05-21)
9
+
10
+ * Regenerated from discovery document revision 20210520
11
+ * Unspecified changes
12
+
13
+ ### v0.8.0 (2021-04-23)
14
+
15
+ * Regenerated from discovery document revision 20210422
16
+
17
+ ### v0.7.0 (2021-03-23)
18
+
19
+ * Regenerated from discovery document revision 20210318
20
+
21
+ ### v0.6.0 (2021-03-16)
22
+
23
+ * Regenerated from discovery document revision 20210312
24
+ * Regenerated using generator version 0.2.0
25
+
3
26
  ### v0.5.0 (2021-03-05)
4
27
 
5
28
  * Regenerated from discovery document revision 20210304
@@ -137,8 +137,9 @@ module Google
137
137
 
138
138
  # Required. Controls whether or not insertion orders and line items of the
139
139
  # advertiser can spend their budgets and bid on inventory. * Accepted values are
140
- # `ENTITY_STATUS_ACTIVE` and `ENTITY_STATUS_SCHEDULED_FOR_DELETION`. * If set to
141
- # `ENTITY_STATUS_SCHEDULED_FOR_DELETION`, the advertiser will be deleted 30 days
140
+ # `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_PAUSED` and `
141
+ # ENTITY_STATUS_SCHEDULED_FOR_DELETION`. * If set to `
142
+ # ENTITY_STATUS_SCHEDULED_FOR_DELETION`, the advertiser will be deleted 30 days
142
143
  # from when it was first scheduled for deletion.
143
144
  # Corresponds to the JSON property `entityStatus`
144
145
  # @return [String]
@@ -165,6 +166,16 @@ module Google
165
166
  # @return [Fixnum]
166
167
  attr_accessor :partner_id
167
168
 
169
+ # Whether integration with Mediaocean (Prisma) is enabled. By enabling this, you
170
+ # agree to the following: On behalf of my company, I authorize Mediaocean (
171
+ # Prisma) to send budget segment plans to Google, and I authorize Google to send
172
+ # corresponding reporting and invoices from DV360 to Mediaocean for the purposes
173
+ # of budget planning, billing, and reconciliation for this advertiser.
174
+ # Corresponds to the JSON property `prismaEnabled`
175
+ # @return [Boolean]
176
+ attr_accessor :prisma_enabled
177
+ alias_method :prisma_enabled?, :prisma_enabled
178
+
168
179
  # Targeting settings related to ad serving of an advertiser.
169
180
  # Corresponds to the JSON property `servingConfig`
170
181
  # @return [Google::Apis::DisplayvideoV1::AdvertiserTargetingConfig]
@@ -192,6 +203,7 @@ module Google
192
203
  @integration_details = args[:integration_details] if args.key?(:integration_details)
193
204
  @name = args[:name] if args.key?(:name)
194
205
  @partner_id = args[:partner_id] if args.key?(:partner_id)
206
+ @prisma_enabled = args[:prisma_enabled] if args.key?(:prisma_enabled)
195
207
  @serving_config = args[:serving_config] if args.key?(:serving_config)
196
208
  @update_time = args[:update_time] if args.key?(:update_time)
197
209
  end
@@ -456,6 +468,13 @@ module Google
456
468
  # @return [String]
457
469
  attr_accessor :app_id
458
470
 
471
+ # Indicates the platform of the targeted app. If this field is not specified,
472
+ # the app platform will be assumed to be mobile (i.e., Android or iOS), and we
473
+ # will derive the appropriate mobile platform from the app ID.
474
+ # Corresponds to the JSON property `appPlatform`
475
+ # @return [String]
476
+ attr_accessor :app_platform
477
+
459
478
  # Output only. The display name of the app.
460
479
  # Corresponds to the JSON property `displayName`
461
480
  # @return [String]
@@ -474,6 +493,7 @@ module Google
474
493
  # Update properties of this object
475
494
  def update!(**args)
476
495
  @app_id = args[:app_id] if args.key?(:app_id)
496
+ @app_platform = args[:app_platform] if args.key?(:app_platform)
477
497
  @display_name = args[:display_name] if args.key?(:display_name)
478
498
  @negative = args[:negative] if args.key?(:negative)
479
499
  end
@@ -850,6 +870,15 @@ module Google
850
870
  # @return [String]
851
871
  attr_accessor :name
852
872
 
873
+ # Details for native content position assigned targeting option. This will be
874
+ # populated in the native_content_position_details field when targeting_type is `
875
+ # TARGETING_TYPE_NATIVE_CONTENT_POSITION`. Explicitly targeting all options is
876
+ # not supported. Remove all native content position targeting options to achieve
877
+ # this effect.
878
+ # Corresponds to the JSON property `nativeContentPositionDetails`
879
+ # @return [Google::Apis::DisplayvideoV1::NativeContentPositionAssignedTargetingOptionDetails]
880
+ attr_accessor :native_content_position_details
881
+
853
882
  # Targeting details for negative keyword list. This will be populated in the
854
883
  # details field of an AssignedTargetingOption when targeting_type is `
855
884
  # TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`.
@@ -981,6 +1010,7 @@ module Google
981
1010
  @keyword_details = args[:keyword_details] if args.key?(:keyword_details)
982
1011
  @language_details = args[:language_details] if args.key?(:language_details)
983
1012
  @name = args[:name] if args.key?(:name)
1013
+ @native_content_position_details = args[:native_content_position_details] if args.key?(:native_content_position_details)
984
1014
  @negative_keyword_list_details = args[:negative_keyword_list_details] if args.key?(:negative_keyword_list_details)
985
1015
  @on_screen_position_details = args[:on_screen_position_details] if args.key?(:on_screen_position_details)
986
1016
  @operating_system_details = args[:operating_system_details] if args.key?(:operating_system_details)
@@ -1345,6 +1375,57 @@ module Google
1345
1375
  end
1346
1376
  end
1347
1377
 
1378
+ # Summarized information of an individual campaign budget.
1379
+ class BudgetSummary
1380
+ include Google::Apis::Core::Hashable
1381
+
1382
+ # Corresponds to the external_budget_id of a campaign budget. If the value is
1383
+ # not set in the campaign budget, this field will be empty.
1384
+ # Corresponds to the JSON property `externalBudgetId`
1385
+ # @return [String]
1386
+ attr_accessor :external_budget_id
1387
+
1388
+ # The sum of charges made under this budget before taxes, in micros of the
1389
+ # invoice's currency. For example, if currency_code is `USD`, then 1000000
1390
+ # represents one US dollar.
1391
+ # Corresponds to the JSON property `preTaxAmountMicros`
1392
+ # @return [Fixnum]
1393
+ attr_accessor :pre_tax_amount_micros
1394
+
1395
+ # Google Payments Center supports searching and filtering on the component
1396
+ # fields of this code.
1397
+ # Corresponds to the JSON property `prismaCpeCode`
1398
+ # @return [Google::Apis::DisplayvideoV1::PrismaCpeCode]
1399
+ attr_accessor :prisma_cpe_code
1400
+
1401
+ # The amount of tax applied to charges under this budget, in micros of the
1402
+ # invoice's currency. For example, if currency_code is `USD`, then 1000000
1403
+ # represents one US dollar.
1404
+ # Corresponds to the JSON property `taxAmountMicros`
1405
+ # @return [Fixnum]
1406
+ attr_accessor :tax_amount_micros
1407
+
1408
+ # The total sum of charges made under this budget, including tax, in micros of
1409
+ # the invoice's currency. For example, if currency_code is `USD`, then 1000000
1410
+ # represents one US dollar.
1411
+ # Corresponds to the JSON property `totalAmountMicros`
1412
+ # @return [Fixnum]
1413
+ attr_accessor :total_amount_micros
1414
+
1415
+ def initialize(**args)
1416
+ update!(**args)
1417
+ end
1418
+
1419
+ # Update properties of this object
1420
+ def update!(**args)
1421
+ @external_budget_id = args[:external_budget_id] if args.key?(:external_budget_id)
1422
+ @pre_tax_amount_micros = args[:pre_tax_amount_micros] if args.key?(:pre_tax_amount_micros)
1423
+ @prisma_cpe_code = args[:prisma_cpe_code] if args.key?(:prisma_cpe_code)
1424
+ @tax_amount_micros = args[:tax_amount_micros] if args.key?(:tax_amount_micros)
1425
+ @total_amount_micros = args[:total_amount_micros] if args.key?(:total_amount_micros)
1426
+ end
1427
+ end
1428
+
1348
1429
  # Request message for BulkEditAdvertiserAssignedTargetingOptions.
1349
1430
  class BulkEditAdvertiserAssignedTargetingOptionsRequest
1350
1431
  include Google::Apis::Core::Hashable
@@ -1781,6 +1862,35 @@ module Google
1781
1862
  end
1782
1863
  end
1783
1864
 
1865
+ # Response message for BulkListCampaignAssignedTargetingOptions.
1866
+ class BulkListCampaignAssignedTargetingOptionsResponse
1867
+ include Google::Apis::Core::Hashable
1868
+
1869
+ # The list of assigned targeting options. This list will be absent if empty.
1870
+ # Corresponds to the JSON property `assignedTargetingOptions`
1871
+ # @return [Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>]
1872
+ attr_accessor :assigned_targeting_options
1873
+
1874
+ # A token identifying the next page of results. This value should be specified
1875
+ # as the pageToken in a subsequent
1876
+ # BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of
1877
+ # results. This token will be absent if there are no more
1878
+ # assigned_targeting_options to return.
1879
+ # Corresponds to the JSON property `nextPageToken`
1880
+ # @return [String]
1881
+ attr_accessor :next_page_token
1882
+
1883
+ def initialize(**args)
1884
+ update!(**args)
1885
+ end
1886
+
1887
+ # Update properties of this object
1888
+ def update!(**args)
1889
+ @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
1890
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1891
+ end
1892
+ end
1893
+
1784
1894
  # Response message for BulkListInsertionOrderAssignedTargetingOptions.
1785
1895
  class BulkListInsertionOrderAssignedTargetingOptionsResponse
1786
1896
  include Google::Apis::Core::Hashable
@@ -1848,6 +1958,12 @@ module Google
1848
1958
  # @return [Fixnum]
1849
1959
  attr_accessor :advertiser_id
1850
1960
 
1961
+ # The list of budgets available to this campaign. If this field is not set, the
1962
+ # campaign uses an unlimited budget.
1963
+ # Corresponds to the JSON property `campaignBudgets`
1964
+ # @return [Array<Google::Apis::DisplayvideoV1::CampaignBudget>]
1965
+ attr_accessor :campaign_budgets
1966
+
1851
1967
  # Settings that track the planned spend and duration of a campaign.
1852
1968
  # Corresponds to the JSON property `campaignFlight`
1853
1969
  # @return [Google::Apis::DisplayvideoV1::CampaignFlight]
@@ -1901,6 +2017,7 @@ module Google
1901
2017
  # Update properties of this object
1902
2018
  def update!(**args)
1903
2019
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
2020
+ @campaign_budgets = args[:campaign_budgets] if args.key?(:campaign_budgets)
1904
2021
  @campaign_flight = args[:campaign_flight] if args.key?(:campaign_flight)
1905
2022
  @campaign_goal = args[:campaign_goal] if args.key?(:campaign_goal)
1906
2023
  @campaign_id = args[:campaign_id] if args.key?(:campaign_id)
@@ -1912,6 +2029,85 @@ module Google
1912
2029
  end
1913
2030
  end
1914
2031
 
2032
+ # Settings that control how the campaign budget is allocated.
2033
+ class CampaignBudget
2034
+ include Google::Apis::Core::Hashable
2035
+
2036
+ # Required. The total amount the linked insertion order segments can budget. The
2037
+ # amount is in micros. Must be greater than 0. For example, 500000000 represents
2038
+ # 500 standard units of the currency.
2039
+ # Corresponds to the JSON property `budgetAmountMicros`
2040
+ # @return [Fixnum]
2041
+ attr_accessor :budget_amount_micros
2042
+
2043
+ # The unique ID of the campaign budget. Assigned by the system. Do not set for
2044
+ # new budgets. Must be included when updating or adding budgets to
2045
+ # campaign_budgets. Otherwise, a new ID will be generated and assigned.
2046
+ # Corresponds to the JSON property `budgetId`
2047
+ # @return [Fixnum]
2048
+ attr_accessor :budget_id
2049
+
2050
+ # Required. Immutable. Specifies whether the budget is measured in currency or
2051
+ # impressions.
2052
+ # Corresponds to the JSON property `budgetUnit`
2053
+ # @return [String]
2054
+ attr_accessor :budget_unit
2055
+
2056
+ # A date range.
2057
+ # Corresponds to the JSON property `dateRange`
2058
+ # @return [Google::Apis::DisplayvideoV1::DateRange]
2059
+ attr_accessor :date_range
2060
+
2061
+ # Required. The display name of the budget. Must be UTF-8 encoded with a maximum
2062
+ # size of 240 bytes.
2063
+ # Corresponds to the JSON property `displayName`
2064
+ # @return [String]
2065
+ attr_accessor :display_name
2066
+
2067
+ # Immutable. The ID identifying this budget to the external source. If this
2068
+ # field is set and the invoice detail level of the corresponding billing profile
2069
+ # is set to "Budget level PO", all impressions served against this budget will
2070
+ # include this ID on the invoice. Must be unique under the campaign.
2071
+ # Corresponds to the JSON property `externalBudgetId`
2072
+ # @return [String]
2073
+ attr_accessor :external_budget_id
2074
+
2075
+ # Required. The external source of the budget.
2076
+ # Corresponds to the JSON property `externalBudgetSource`
2077
+ # @return [String]
2078
+ attr_accessor :external_budget_source
2079
+
2080
+ # Immutable. The ID used to group budgets to be included the same invoice. If
2081
+ # this field is set and the invoice level of the corresponding billing profile
2082
+ # is set to "Budget invoice grouping ID", all external_budget_id sharing the
2083
+ # same invoice_grouping_id will be grouped in the same invoice.
2084
+ # Corresponds to the JSON property `invoiceGroupingId`
2085
+ # @return [String]
2086
+ attr_accessor :invoice_grouping_id
2087
+
2088
+ # Settings specific to the Mediaocean Prisma tool.
2089
+ # Corresponds to the JSON property `prismaConfig`
2090
+ # @return [Google::Apis::DisplayvideoV1::PrismaConfig]
2091
+ attr_accessor :prisma_config
2092
+
2093
+ def initialize(**args)
2094
+ update!(**args)
2095
+ end
2096
+
2097
+ # Update properties of this object
2098
+ def update!(**args)
2099
+ @budget_amount_micros = args[:budget_amount_micros] if args.key?(:budget_amount_micros)
2100
+ @budget_id = args[:budget_id] if args.key?(:budget_id)
2101
+ @budget_unit = args[:budget_unit] if args.key?(:budget_unit)
2102
+ @date_range = args[:date_range] if args.key?(:date_range)
2103
+ @display_name = args[:display_name] if args.key?(:display_name)
2104
+ @external_budget_id = args[:external_budget_id] if args.key?(:external_budget_id)
2105
+ @external_budget_source = args[:external_budget_source] if args.key?(:external_budget_source)
2106
+ @invoice_grouping_id = args[:invoice_grouping_id] if args.key?(:invoice_grouping_id)
2107
+ @prisma_config = args[:prisma_config] if args.key?(:prisma_config)
2108
+ end
2109
+ end
2110
+
1915
2111
  # Settings that track the planned spend and duration of a campaign.
1916
2112
  class CampaignFlight
1917
2113
  include Google::Apis::Core::Hashable
@@ -2109,11 +2305,23 @@ module Google
2109
2305
  # @return [String]
2110
2306
  attr_accessor :name
2111
2307
 
2308
+ # Output only. Number of line items that are directly targeting this channel
2309
+ # negatively.
2310
+ # Corresponds to the JSON property `negativelyTargetedLineItemCount`
2311
+ # @return [Fixnum]
2312
+ attr_accessor :negatively_targeted_line_item_count
2313
+
2112
2314
  # The ID of the partner that owns the channel.
2113
2315
  # Corresponds to the JSON property `partnerId`
2114
2316
  # @return [Fixnum]
2115
2317
  attr_accessor :partner_id
2116
2318
 
2319
+ # Output only. Number of line items that are directly targeting this channel
2320
+ # positively.
2321
+ # Corresponds to the JSON property `positivelyTargetedLineItemCount`
2322
+ # @return [Fixnum]
2323
+ attr_accessor :positively_targeted_line_item_count
2324
+
2117
2325
  def initialize(**args)
2118
2326
  update!(**args)
2119
2327
  end
@@ -2124,7 +2332,9 @@ module Google
2124
2332
  @channel_id = args[:channel_id] if args.key?(:channel_id)
2125
2333
  @display_name = args[:display_name] if args.key?(:display_name)
2126
2334
  @name = args[:name] if args.key?(:name)
2335
+ @negatively_targeted_line_item_count = args[:negatively_targeted_line_item_count] if args.key?(:negatively_targeted_line_item_count)
2127
2336
  @partner_id = args[:partner_id] if args.key?(:partner_id)
2337
+ @positively_targeted_line_item_count = args[:positively_targeted_line_item_count] if args.key?(:positively_targeted_line_item_count)
2128
2338
  end
2129
2339
  end
2130
2340
 
@@ -4344,6 +4554,44 @@ module Google
4344
4554
  end
4345
4555
  end
4346
4556
 
4557
+ # Request message for LineItemService.GenerateDefaultLineItem.
4558
+ class GenerateDefaultLineItemRequest
4559
+ include Google::Apis::Core::Hashable
4560
+
4561
+ # Required. The display name of the line item. Must be UTF-8 encoded with a
4562
+ # maximum size of 240 bytes.
4563
+ # Corresponds to the JSON property `displayName`
4564
+ # @return [String]
4565
+ attr_accessor :display_name
4566
+
4567
+ # Required. The unique ID of the insertion order that the line item belongs to.
4568
+ # Corresponds to the JSON property `insertionOrderId`
4569
+ # @return [Fixnum]
4570
+ attr_accessor :insertion_order_id
4571
+
4572
+ # Required. The type of the line item.
4573
+ # Corresponds to the JSON property `lineItemType`
4574
+ # @return [String]
4575
+ attr_accessor :line_item_type
4576
+
4577
+ # A mobile app promoted by a mobile app install line item.
4578
+ # Corresponds to the JSON property `mobileApp`
4579
+ # @return [Google::Apis::DisplayvideoV1::MobileApp]
4580
+ attr_accessor :mobile_app
4581
+
4582
+ def initialize(**args)
4583
+ update!(**args)
4584
+ end
4585
+
4586
+ # Update properties of this object
4587
+ def update!(**args)
4588
+ @display_name = args[:display_name] if args.key?(:display_name)
4589
+ @insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
4590
+ @line_item_type = args[:line_item_type] if args.key?(:line_item_type)
4591
+ @mobile_app = args[:mobile_app] if args.key?(:mobile_app)
4592
+ end
4593
+ end
4594
+
4347
4595
  # Details for assigned geographic region targeting option. This will be
4348
4596
  # populated in the details field of an AssignedTargetingOption when
4349
4597
  # targeting_type is `TARGETING_TYPE_GEO_REGION`.
@@ -4796,7 +5044,8 @@ module Google
4796
5044
  # @return [Fixnum]
4797
5045
  attr_accessor :budget_amount_micros
4798
5046
 
4799
- # The ID of the campaign budget linked to this insertion order budget segment.
5047
+ # The budget_id of the campaign budget that this insertion order budget segment
5048
+ # is a part of.
4800
5049
  # Corresponds to the JSON property `campaignBudgetId`
4801
5050
  # @return [Fixnum]
4802
5051
  attr_accessor :campaign_budget_id
@@ -5252,6 +5501,176 @@ module Google
5252
5501
  end
5253
5502
  end
5254
5503
 
5504
+ # A single invoice.
5505
+ class Invoice
5506
+ include Google::Apis::Core::Hashable
5507
+
5508
+ # The budget grouping ID for this invoice. This field will only be set if the
5509
+ # invoice level of the corresponding billing profile was set to "Budget invoice
5510
+ # grouping ID".
5511
+ # Corresponds to the JSON property `budgetInvoiceGroupingId`
5512
+ # @return [String]
5513
+ attr_accessor :budget_invoice_grouping_id
5514
+
5515
+ # The list of summarized information for each budget associated with this
5516
+ # invoice. This field will only be set if the invoice detail level of the
5517
+ # corresponding billing profile was set to "Budget level PO".
5518
+ # Corresponds to the JSON property `budgetSummaries`
5519
+ # @return [Array<Google::Apis::DisplayvideoV1::BudgetSummary>]
5520
+ attr_accessor :budget_summaries
5521
+
5522
+ # The ID of the original invoice being adjusted by this invoice, if applicable.
5523
+ # May appear on the invoice PDF as `Reference invoice number`. If
5524
+ # replaced_invoice_ids is set, this field will be empty.
5525
+ # Corresponds to the JSON property `correctedInvoiceId`
5526
+ # @return [String]
5527
+ attr_accessor :corrected_invoice_id
5528
+
5529
+ # The currency used in the invoice in ISO 4217 format.
5530
+ # Corresponds to the JSON property `currencyCode`
5531
+ # @return [String]
5532
+ attr_accessor :currency_code
5533
+
5534
+ # The display name of the invoice.
5535
+ # Corresponds to the JSON property `displayName`
5536
+ # @return [String]
5537
+ attr_accessor :display_name
5538
+
5539
+ # Represents a whole or partial calendar date, such as a birthday. The time of
5540
+ # day and time zone are either specified elsewhere or are insignificant. The
5541
+ # date is relative to the Gregorian Calendar. This can represent one of the
5542
+ # following: * A full date, with non-zero year, month, and day values * A month
5543
+ # and day value, with a zero year, such as an anniversary * A year on its own,
5544
+ # with zero month and day values * A year and month value, with a zero day, such
5545
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
5546
+ # google.protobuf.Timestamp`.
5547
+ # Corresponds to the JSON property `dueDate`
5548
+ # @return [Google::Apis::DisplayvideoV1::Date]
5549
+ attr_accessor :due_date
5550
+
5551
+ # The unique ID of the invoice.
5552
+ # Corresponds to the JSON property `invoiceId`
5553
+ # @return [String]
5554
+ attr_accessor :invoice_id
5555
+
5556
+ # The type of invoice document.
5557
+ # Corresponds to the JSON property `invoiceType`
5558
+ # @return [String]
5559
+ attr_accessor :invoice_type
5560
+
5561
+ # Represents a whole or partial calendar date, such as a birthday. The time of
5562
+ # day and time zone are either specified elsewhere or are insignificant. The
5563
+ # date is relative to the Gregorian Calendar. This can represent one of the
5564
+ # following: * A full date, with non-zero year, month, and day values * A month
5565
+ # and day value, with a zero year, such as an anniversary * A year on its own,
5566
+ # with zero month and day values * A year and month value, with a zero day, such
5567
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
5568
+ # google.protobuf.Timestamp`.
5569
+ # Corresponds to the JSON property `issueDate`
5570
+ # @return [Google::Apis::DisplayvideoV1::Date]
5571
+ attr_accessor :issue_date
5572
+
5573
+ # The resource name of the invoice.
5574
+ # Corresponds to the JSON property `name`
5575
+ # @return [String]
5576
+ attr_accessor :name
5577
+
5578
+ # The total amount of costs or adjustments not tied to a particular budget, in
5579
+ # micros of the invoice's currency. For example, if currency_code is `USD`, then
5580
+ # 1000000 represents one US dollar.
5581
+ # Corresponds to the JSON property `nonBudgetMicros`
5582
+ # @return [Fixnum]
5583
+ attr_accessor :non_budget_micros
5584
+
5585
+ # The ID of the payments account the invoice belongs to. Appears on the invoice
5586
+ # PDF as `Billing Account Number`.
5587
+ # Corresponds to the JSON property `paymentsAccountId`
5588
+ # @return [String]
5589
+ attr_accessor :payments_account_id
5590
+
5591
+ # The ID of the payments profile the invoice belongs to. Appears on the invoice
5592
+ # PDF as `Billing ID`.
5593
+ # Corresponds to the JSON property `paymentsProfileId`
5594
+ # @return [String]
5595
+ attr_accessor :payments_profile_id
5596
+
5597
+ # The URL to download a PDF copy of the invoice. This URL is user specific and
5598
+ # requires a valid OAuth 2.0 access token to access. The access token must be
5599
+ # provided in an `Authorization: Bearer` HTTP header and be authorized for one
5600
+ # of the following scopes: * `https://www.googleapis.com/auth/display-video-
5601
+ # mediaplanning` * `https://www.googleapis.com/auth/display-video` The URL will
5602
+ # be valid for 7 days after retrieval of this invoice object or until this
5603
+ # invoice is retrieved again.
5604
+ # Corresponds to the JSON property `pdfUrl`
5605
+ # @return [String]
5606
+ attr_accessor :pdf_url
5607
+
5608
+ # Purchase order number associated with the invoice.
5609
+ # Corresponds to the JSON property `purchaseOrderNumber`
5610
+ # @return [String]
5611
+ attr_accessor :purchase_order_number
5612
+
5613
+ # The ID(s) of any originally issued invoice that is being cancelled by this
5614
+ # invoice, if applicable. Multiple invoices may be listed if those invoices are
5615
+ # being consolidated into a single invoice. May appear on invoice PDF as `
5616
+ # Replaced invoice numbers`. If corrected_invoice_id is set, this field will be
5617
+ # empty.
5618
+ # Corresponds to the JSON property `replacedInvoiceIds`
5619
+ # @return [Array<String>]
5620
+ attr_accessor :replaced_invoice_ids
5621
+
5622
+ # A date range.
5623
+ # Corresponds to the JSON property `serviceDateRange`
5624
+ # @return [Google::Apis::DisplayvideoV1::DateRange]
5625
+ attr_accessor :service_date_range
5626
+
5627
+ # The pre-tax subtotal amount, in micros of the invoice's currency. For example,
5628
+ # if currency_code is `USD`, then 1000000 represents one US dollar.
5629
+ # Corresponds to the JSON property `subtotalAmountMicros`
5630
+ # @return [Fixnum]
5631
+ attr_accessor :subtotal_amount_micros
5632
+
5633
+ # The invoice total amount, in micros of the invoice's currency. For example, if
5634
+ # currency_code is `USD`, then 1000000 represents one US dollar.
5635
+ # Corresponds to the JSON property `totalAmountMicros`
5636
+ # @return [Fixnum]
5637
+ attr_accessor :total_amount_micros
5638
+
5639
+ # The sum of all taxes in invoice, in micros of the invoice's currency. For
5640
+ # example, if currency_code is `USD`, then 1000000 represents one US dollar.
5641
+ # Corresponds to the JSON property `totalTaxAmountMicros`
5642
+ # @return [Fixnum]
5643
+ attr_accessor :total_tax_amount_micros
5644
+
5645
+ def initialize(**args)
5646
+ update!(**args)
5647
+ end
5648
+
5649
+ # Update properties of this object
5650
+ def update!(**args)
5651
+ @budget_invoice_grouping_id = args[:budget_invoice_grouping_id] if args.key?(:budget_invoice_grouping_id)
5652
+ @budget_summaries = args[:budget_summaries] if args.key?(:budget_summaries)
5653
+ @corrected_invoice_id = args[:corrected_invoice_id] if args.key?(:corrected_invoice_id)
5654
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
5655
+ @display_name = args[:display_name] if args.key?(:display_name)
5656
+ @due_date = args[:due_date] if args.key?(:due_date)
5657
+ @invoice_id = args[:invoice_id] if args.key?(:invoice_id)
5658
+ @invoice_type = args[:invoice_type] if args.key?(:invoice_type)
5659
+ @issue_date = args[:issue_date] if args.key?(:issue_date)
5660
+ @name = args[:name] if args.key?(:name)
5661
+ @non_budget_micros = args[:non_budget_micros] if args.key?(:non_budget_micros)
5662
+ @payments_account_id = args[:payments_account_id] if args.key?(:payments_account_id)
5663
+ @payments_profile_id = args[:payments_profile_id] if args.key?(:payments_profile_id)
5664
+ @pdf_url = args[:pdf_url] if args.key?(:pdf_url)
5665
+ @purchase_order_number = args[:purchase_order_number] if args.key?(:purchase_order_number)
5666
+ @replaced_invoice_ids = args[:replaced_invoice_ids] if args.key?(:replaced_invoice_ids)
5667
+ @service_date_range = args[:service_date_range] if args.key?(:service_date_range)
5668
+ @subtotal_amount_micros = args[:subtotal_amount_micros] if args.key?(:subtotal_amount_micros)
5669
+ @total_amount_micros = args[:total_amount_micros] if args.key?(:total_amount_micros)
5670
+ @total_tax_amount_micros = args[:total_tax_amount_micros] if args.key?(:total_tax_amount_micros)
5671
+ end
5672
+ end
5673
+
5255
5674
  # Details for assigned keyword targeting option. This will be populated in the
5256
5675
  # details field of an AssignedTargetingOption when targeting_type is `
5257
5676
  # TARGETING_TYPE_KEYWORD`.
@@ -5695,6 +6114,34 @@ module Google
5695
6114
  end
5696
6115
  end
5697
6116
 
6117
+ # Response message for ListCampaignAssignedTargetingOptions.
6118
+ class ListCampaignAssignedTargetingOptionsResponse
6119
+ include Google::Apis::Core::Hashable
6120
+
6121
+ # The list of assigned targeting options. This list will be absent if empty.
6122
+ # Corresponds to the JSON property `assignedTargetingOptions`
6123
+ # @return [Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>]
6124
+ attr_accessor :assigned_targeting_options
6125
+
6126
+ # A token identifying the next page of results. This value should be specified
6127
+ # as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest
6128
+ # to fetch the next page of results. This token will be absent if there are no
6129
+ # more assigned_targeting_options to return.
6130
+ # Corresponds to the JSON property `nextPageToken`
6131
+ # @return [String]
6132
+ attr_accessor :next_page_token
6133
+
6134
+ def initialize(**args)
6135
+ update!(**args)
6136
+ end
6137
+
6138
+ # Update properties of this object
6139
+ def update!(**args)
6140
+ @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
6141
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6142
+ end
6143
+ end
6144
+
5698
6145
  #
5699
6146
  class ListCampaignsResponse
5700
6147
  include Google::Apis::Core::Hashable
@@ -6024,6 +6471,34 @@ module Google
6024
6471
  end
6025
6472
  end
6026
6473
 
6474
+ #
6475
+ class ListInvoicesResponse
6476
+ include Google::Apis::Core::Hashable
6477
+
6478
+ # The list of invoices. This list will be absent if empty.
6479
+ # Corresponds to the JSON property `invoices`
6480
+ # @return [Array<Google::Apis::DisplayvideoV1::Invoice>]
6481
+ attr_accessor :invoices
6482
+
6483
+ # A token to retrieve the next page of results. Pass this value in the
6484
+ # page_token field in the subsequent call to `ListInvoices` method to retrieve
6485
+ # the next page of results. This token will be absent if there are no more
6486
+ # invoices to return.
6487
+ # Corresponds to the JSON property `nextPageToken`
6488
+ # @return [String]
6489
+ attr_accessor :next_page_token
6490
+
6491
+ def initialize(**args)
6492
+ update!(**args)
6493
+ end
6494
+
6495
+ # Update properties of this object
6496
+ def update!(**args)
6497
+ @invoices = args[:invoices] if args.key?(:invoices)
6498
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6499
+ end
6500
+ end
6501
+
6027
6502
  # Response message for ListLineItemAssignedTargetingOptions.
6028
6503
  class ListLineItemAssignedTargetingOptionsResponse
6029
6504
  include Google::Apis::Core::Hashable
@@ -6398,6 +6873,25 @@ module Google
6398
6873
  end
6399
6874
  end
6400
6875
 
6876
+ #
6877
+ class LookupInvoiceCurrencyResponse
6878
+ include Google::Apis::Core::Hashable
6879
+
6880
+ # Currency used by the advertiser in ISO 4217 format.
6881
+ # Corresponds to the JSON property `currencyCode`
6882
+ # @return [String]
6883
+ attr_accessor :currency_code
6884
+
6885
+ def initialize(**args)
6886
+ update!(**args)
6887
+ end
6888
+
6889
+ # Update properties of this object
6890
+ def update!(**args)
6891
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
6892
+ end
6893
+ end
6894
+
6401
6895
  # A single manual trigger in Display & Video 360.
6402
6896
  class ManualTrigger
6403
6897
  include Google::Apis::Core::Hashable
@@ -6600,6 +7094,57 @@ module Google
6600
7094
  end
6601
7095
  end
6602
7096
 
7097
+ # Details for native content position assigned targeting option. This will be
7098
+ # populated in the native_content_position_details field when targeting_type is `
7099
+ # TARGETING_TYPE_NATIVE_CONTENT_POSITION`. Explicitly targeting all options is
7100
+ # not supported. Remove all native content position targeting options to achieve
7101
+ # this effect.
7102
+ class NativeContentPositionAssignedTargetingOptionDetails
7103
+ include Google::Apis::Core::Hashable
7104
+
7105
+ # Output only. The content position.
7106
+ # Corresponds to the JSON property `contentPosition`
7107
+ # @return [String]
7108
+ attr_accessor :content_position
7109
+
7110
+ # Required. The targeting_option_id field when targeting_type is `
7111
+ # TARGETING_TYPE_NATIVE_CONTENT_POSITION`.
7112
+ # Corresponds to the JSON property `targetingOptionId`
7113
+ # @return [String]
7114
+ attr_accessor :targeting_option_id
7115
+
7116
+ def initialize(**args)
7117
+ update!(**args)
7118
+ end
7119
+
7120
+ # Update properties of this object
7121
+ def update!(**args)
7122
+ @content_position = args[:content_position] if args.key?(:content_position)
7123
+ @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
7124
+ end
7125
+ end
7126
+
7127
+ # Represents a targetable native content position. This will be populated in the
7128
+ # native_content_position_details field when targeting_type is `
7129
+ # TARGETING_TYPE_NATIVE_CONTENT_POSITION`.
7130
+ class NativeContentPositionTargetingOptionDetails
7131
+ include Google::Apis::Core::Hashable
7132
+
7133
+ # Output only. The content position.
7134
+ # Corresponds to the JSON property `contentPosition`
7135
+ # @return [String]
7136
+ attr_accessor :content_position
7137
+
7138
+ def initialize(**args)
7139
+ update!(**args)
7140
+ end
7141
+
7142
+ # Update properties of this object
7143
+ def update!(**args)
7144
+ @content_position = args[:content_position] if args.key?(:content_position)
7145
+ end
7146
+ end
7147
+
6603
7148
  # A negatively targeted keyword that belongs to a negative keyword list.
6604
7149
  class NegativeKeyword
6605
7150
  include Google::Apis::Core::Hashable
@@ -6657,6 +7202,12 @@ module Google
6657
7202
  # @return [Fixnum]
6658
7203
  attr_accessor :negative_keyword_list_id
6659
7204
 
7205
+ # Output only. Number of line items that are directly targeting this negative
7206
+ # keyword list.
7207
+ # Corresponds to the JSON property `targetedLineItemCount`
7208
+ # @return [Fixnum]
7209
+ attr_accessor :targeted_line_item_count
7210
+
6660
7211
  def initialize(**args)
6661
7212
  update!(**args)
6662
7213
  end
@@ -6667,6 +7218,7 @@ module Google
6667
7218
  @display_name = args[:display_name] if args.key?(:display_name)
6668
7219
  @name = args[:name] if args.key?(:name)
6669
7220
  @negative_keyword_list_id = args[:negative_keyword_list_id] if args.key?(:negative_keyword_list_id)
7221
+ @targeted_line_item_count = args[:targeted_line_item_count] if args.key?(:targeted_line_item_count)
6670
7222
  end
6671
7223
  end
6672
7224
 
@@ -7406,6 +7958,70 @@ module Google
7406
7958
  end
7407
7959
  end
7408
7960
 
7961
+ # Settings specific to the Mediaocean Prisma tool.
7962
+ class PrismaConfig
7963
+ include Google::Apis::Core::Hashable
7964
+
7965
+ # Google Payments Center supports searching and filtering on the component
7966
+ # fields of this code.
7967
+ # Corresponds to the JSON property `prismaCpeCode`
7968
+ # @return [Google::Apis::DisplayvideoV1::PrismaCpeCode]
7969
+ attr_accessor :prisma_cpe_code
7970
+
7971
+ # Required. The Prisma type.
7972
+ # Corresponds to the JSON property `prismaType`
7973
+ # @return [String]
7974
+ attr_accessor :prisma_type
7975
+
7976
+ # Required. The entity allocated this budget (DSP, site, etc.).
7977
+ # Corresponds to the JSON property `supplier`
7978
+ # @return [String]
7979
+ attr_accessor :supplier
7980
+
7981
+ def initialize(**args)
7982
+ update!(**args)
7983
+ end
7984
+
7985
+ # Update properties of this object
7986
+ def update!(**args)
7987
+ @prisma_cpe_code = args[:prisma_cpe_code] if args.key?(:prisma_cpe_code)
7988
+ @prisma_type = args[:prisma_type] if args.key?(:prisma_type)
7989
+ @supplier = args[:supplier] if args.key?(:supplier)
7990
+ end
7991
+ end
7992
+
7993
+ # Google Payments Center supports searching and filtering on the component
7994
+ # fields of this code.
7995
+ class PrismaCpeCode
7996
+ include Google::Apis::Core::Hashable
7997
+
7998
+ # The Prisma client code.
7999
+ # Corresponds to the JSON property `prismaClientCode`
8000
+ # @return [String]
8001
+ attr_accessor :prisma_client_code
8002
+
8003
+ # The Prisma estimate code.
8004
+ # Corresponds to the JSON property `prismaEstimateCode`
8005
+ # @return [String]
8006
+ attr_accessor :prisma_estimate_code
8007
+
8008
+ # The Prisma product code.
8009
+ # Corresponds to the JSON property `prismaProductCode`
8010
+ # @return [String]
8011
+ attr_accessor :prisma_product_code
8012
+
8013
+ def initialize(**args)
8014
+ update!(**args)
8015
+ end
8016
+
8017
+ # Update properties of this object
8018
+ def update!(**args)
8019
+ @prisma_client_code = args[:prisma_client_code] if args.key?(:prisma_client_code)
8020
+ @prisma_estimate_code = args[:prisma_estimate_code] if args.key?(:prisma_estimate_code)
8021
+ @prisma_product_code = args[:prisma_product_code] if args.key?(:prisma_product_code)
8022
+ end
8023
+ end
8024
+
7409
8025
  # Targeting details for proximity location list. This will be populated in the
7410
8026
  # details field of an AssignedTargetingOption when targeting_type is `
7411
8027
  # TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.
@@ -7533,6 +8149,96 @@ module Google
7533
8149
  end
7534
8150
  end
7535
8151
 
8152
+ # Request message for NegativeKeywordService.ReplaceNegativeKeywords.
8153
+ class ReplaceNegativeKeywordsRequest
8154
+ include Google::Apis::Core::Hashable
8155
+
8156
+ # The negative keywords that will replace the existing keywords in the negative
8157
+ # keyword list, specified as a list of NegativeKeywords.
8158
+ # Corresponds to the JSON property `newNegativeKeywords`
8159
+ # @return [Array<Google::Apis::DisplayvideoV1::NegativeKeyword>]
8160
+ attr_accessor :new_negative_keywords
8161
+
8162
+ def initialize(**args)
8163
+ update!(**args)
8164
+ end
8165
+
8166
+ # Update properties of this object
8167
+ def update!(**args)
8168
+ @new_negative_keywords = args[:new_negative_keywords] if args.key?(:new_negative_keywords)
8169
+ end
8170
+ end
8171
+
8172
+ # Response message for NegativeKeywordService.ReplaceNegativeKeywords.
8173
+ class ReplaceNegativeKeywordsResponse
8174
+ include Google::Apis::Core::Hashable
8175
+
8176
+ # The full list of negative keywords now present in the negative keyword list.
8177
+ # Corresponds to the JSON property `negativeKeywords`
8178
+ # @return [Array<Google::Apis::DisplayvideoV1::NegativeKeyword>]
8179
+ attr_accessor :negative_keywords
8180
+
8181
+ def initialize(**args)
8182
+ update!(**args)
8183
+ end
8184
+
8185
+ # Update properties of this object
8186
+ def update!(**args)
8187
+ @negative_keywords = args[:negative_keywords] if args.key?(:negative_keywords)
8188
+ end
8189
+ end
8190
+
8191
+ # Request message for SiteService.ReplaceSites.
8192
+ class ReplaceSitesRequest
8193
+ include Google::Apis::Core::Hashable
8194
+
8195
+ # The ID of the advertiser that owns the parent channel.
8196
+ # Corresponds to the JSON property `advertiserId`
8197
+ # @return [Fixnum]
8198
+ attr_accessor :advertiser_id
8199
+
8200
+ # The sites that will replace the existing sites assigned to the channel,
8201
+ # specified as a list of Sites.
8202
+ # Corresponds to the JSON property `newSites`
8203
+ # @return [Array<Google::Apis::DisplayvideoV1::Site>]
8204
+ attr_accessor :new_sites
8205
+
8206
+ # The ID of the partner that owns the parent channel.
8207
+ # Corresponds to the JSON property `partnerId`
8208
+ # @return [Fixnum]
8209
+ attr_accessor :partner_id
8210
+
8211
+ def initialize(**args)
8212
+ update!(**args)
8213
+ end
8214
+
8215
+ # Update properties of this object
8216
+ def update!(**args)
8217
+ @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
8218
+ @new_sites = args[:new_sites] if args.key?(:new_sites)
8219
+ @partner_id = args[:partner_id] if args.key?(:partner_id)
8220
+ end
8221
+ end
8222
+
8223
+ # Response message for SiteService.ReplaceSites.
8224
+ class ReplaceSitesResponse
8225
+ include Google::Apis::Core::Hashable
8226
+
8227
+ # The list of sites in the channel after replacing.
8228
+ # Corresponds to the JSON property `sites`
8229
+ # @return [Array<Google::Apis::DisplayvideoV1::Site>]
8230
+ attr_accessor :sites
8231
+
8232
+ def initialize(**args)
8233
+ update!(**args)
8234
+ end
8235
+
8236
+ # Update properties of this object
8237
+ def update!(**args)
8238
+ @sites = args[:sites] if args.key?(:sites)
8239
+ end
8240
+ end
8241
+
7536
8242
  # Review statuses for the creative.
7537
8243
  class ReviewStatusInfo
7538
8244
  include Google::Apis::Core::Hashable
@@ -8043,6 +8749,13 @@ module Google
8043
8749
  # @return [String]
8044
8750
  attr_accessor :name
8045
8751
 
8752
+ # Represents a targetable native content position. This will be populated in the
8753
+ # native_content_position_details field when targeting_type is `
8754
+ # TARGETING_TYPE_NATIVE_CONTENT_POSITION`.
8755
+ # Corresponds to the JSON property `nativeContentPositionDetails`
8756
+ # @return [Google::Apis::DisplayvideoV1::NativeContentPositionTargetingOptionDetails]
8757
+ attr_accessor :native_content_position_details
8758
+
8046
8759
  # Represents a targetable on screen position, which could be used by display and
8047
8760
  # video ads. This will be populated in the on_screen_position_details field when
8048
8761
  # targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.
@@ -8134,6 +8847,7 @@ module Google
8134
8847
  @household_income_details = args[:household_income_details] if args.key?(:household_income_details)
8135
8848
  @language_details = args[:language_details] if args.key?(:language_details)
8136
8849
  @name = args[:name] if args.key?(:name)
8850
+ @native_content_position_details = args[:native_content_position_details] if args.key?(:native_content_position_details)
8137
8851
  @on_screen_position_details = args[:on_screen_position_details] if args.key?(:on_screen_position_details)
8138
8852
  @operating_system_details = args[:operating_system_details] if args.key?(:operating_system_details)
8139
8853
  @parental_status_details = args[:parental_status_details] if args.key?(:parental_status_details)