google-apis-displayvideo_v1 0.8.0 → 0.13.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c55f9b7042d91140a011bda8e695ad37698436d6508c73aae100ef435b636c6
|
4
|
+
data.tar.gz: 5654b3683107ec504cde5a00687e00ec08871e811ce8ac2d41794b299edf5323
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9988834d9fc679302c0e50db771477b2c8c3993073e346860c87798ab9d29675be48cf6786826213c32f44b634aaa501b674d5936c12a9c179605e148727ef1c
|
7
|
+
data.tar.gz: 9c21a8b7fec8b7567df2ce18654145ed241d6ef4325991477fec598fb6d0289b6ca5e53e96f5a8793d4a5556f7345e4388fb30a9a7acf9a9b388ded097747b8d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-displayvideo_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2021-07-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210708
|
6
|
+
|
7
|
+
### v0.12.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.4.0
|
10
|
+
|
11
|
+
### v0.11.0 (2021-06-24)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.10.0 (2021-06-04)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210603
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
20
|
+
### v0.9.0 (2021-05-21)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210520
|
23
|
+
* Unspecified changes
|
24
|
+
|
3
25
|
### v0.8.0 (2021-04-23)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210422
|
@@ -166,6 +166,16 @@ module Google
|
|
166
166
|
# @return [Fixnum]
|
167
167
|
attr_accessor :partner_id
|
168
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
|
+
|
169
179
|
# Targeting settings related to ad serving of an advertiser.
|
170
180
|
# Corresponds to the JSON property `servingConfig`
|
171
181
|
# @return [Google::Apis::DisplayvideoV1::AdvertiserTargetingConfig]
|
@@ -193,6 +203,7 @@ module Google
|
|
193
203
|
@integration_details = args[:integration_details] if args.key?(:integration_details)
|
194
204
|
@name = args[:name] if args.key?(:name)
|
195
205
|
@partner_id = args[:partner_id] if args.key?(:partner_id)
|
206
|
+
@prisma_enabled = args[:prisma_enabled] if args.key?(:prisma_enabled)
|
196
207
|
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
197
208
|
@update_time = args[:update_time] if args.key?(:update_time)
|
198
209
|
end
|
@@ -859,6 +870,15 @@ module Google
|
|
859
870
|
# @return [String]
|
860
871
|
attr_accessor :name
|
861
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
|
+
|
862
882
|
# Targeting details for negative keyword list. This will be populated in the
|
863
883
|
# details field of an AssignedTargetingOption when targeting_type is `
|
864
884
|
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`.
|
@@ -990,6 +1010,7 @@ module Google
|
|
990
1010
|
@keyword_details = args[:keyword_details] if args.key?(:keyword_details)
|
991
1011
|
@language_details = args[:language_details] if args.key?(:language_details)
|
992
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)
|
993
1014
|
@negative_keyword_list_details = args[:negative_keyword_list_details] if args.key?(:negative_keyword_list_details)
|
994
1015
|
@on_screen_position_details = args[:on_screen_position_details] if args.key?(:on_screen_position_details)
|
995
1016
|
@operating_system_details = args[:operating_system_details] if args.key?(:operating_system_details)
|
@@ -1354,6 +1375,57 @@ module Google
|
|
1354
1375
|
end
|
1355
1376
|
end
|
1356
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
|
+
|
1357
1429
|
# Request message for BulkEditAdvertiserAssignedTargetingOptions.
|
1358
1430
|
class BulkEditAdvertiserAssignedTargetingOptionsRequest
|
1359
1431
|
include Google::Apis::Core::Hashable
|
@@ -1886,6 +1958,12 @@ module Google
|
|
1886
1958
|
# @return [Fixnum]
|
1887
1959
|
attr_accessor :advertiser_id
|
1888
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
|
+
|
1889
1967
|
# Settings that track the planned spend and duration of a campaign.
|
1890
1968
|
# Corresponds to the JSON property `campaignFlight`
|
1891
1969
|
# @return [Google::Apis::DisplayvideoV1::CampaignFlight]
|
@@ -1939,6 +2017,7 @@ module Google
|
|
1939
2017
|
# Update properties of this object
|
1940
2018
|
def update!(**args)
|
1941
2019
|
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
2020
|
+
@campaign_budgets = args[:campaign_budgets] if args.key?(:campaign_budgets)
|
1942
2021
|
@campaign_flight = args[:campaign_flight] if args.key?(:campaign_flight)
|
1943
2022
|
@campaign_goal = args[:campaign_goal] if args.key?(:campaign_goal)
|
1944
2023
|
@campaign_id = args[:campaign_id] if args.key?(:campaign_id)
|
@@ -1950,6 +2029,85 @@ module Google
|
|
1950
2029
|
end
|
1951
2030
|
end
|
1952
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
|
+
|
1953
2111
|
# Settings that track the planned spend and duration of a campaign.
|
1954
2112
|
class CampaignFlight
|
1955
2113
|
include Google::Apis::Core::Hashable
|
@@ -4886,7 +5044,8 @@ module Google
|
|
4886
5044
|
# @return [Fixnum]
|
4887
5045
|
attr_accessor :budget_amount_micros
|
4888
5046
|
|
4889
|
-
# The
|
5047
|
+
# The budget_id of the campaign budget that this insertion order budget segment
|
5048
|
+
# is a part of.
|
4890
5049
|
# Corresponds to the JSON property `campaignBudgetId`
|
4891
5050
|
# @return [Fixnum]
|
4892
5051
|
attr_accessor :campaign_budget_id
|
@@ -5342,6 +5501,176 @@ module Google
|
|
5342
5501
|
end
|
5343
5502
|
end
|
5344
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
|
+
|
5345
5674
|
# Details for assigned keyword targeting option. This will be populated in the
|
5346
5675
|
# details field of an AssignedTargetingOption when targeting_type is `
|
5347
5676
|
# TARGETING_TYPE_KEYWORD`.
|
@@ -6142,6 +6471,34 @@ module Google
|
|
6142
6471
|
end
|
6143
6472
|
end
|
6144
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
|
+
|
6145
6502
|
# Response message for ListLineItemAssignedTargetingOptions.
|
6146
6503
|
class ListLineItemAssignedTargetingOptionsResponse
|
6147
6504
|
include Google::Apis::Core::Hashable
|
@@ -6516,6 +6873,25 @@ module Google
|
|
6516
6873
|
end
|
6517
6874
|
end
|
6518
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
|
+
|
6519
6895
|
# A single manual trigger in Display & Video 360.
|
6520
6896
|
class ManualTrigger
|
6521
6897
|
include Google::Apis::Core::Hashable
|
@@ -6718,6 +7094,57 @@ module Google
|
|
6718
7094
|
end
|
6719
7095
|
end
|
6720
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
|
+
|
6721
7148
|
# A negatively targeted keyword that belongs to a negative keyword list.
|
6722
7149
|
class NegativeKeyword
|
6723
7150
|
include Google::Apis::Core::Hashable
|
@@ -7531,6 +7958,70 @@ module Google
|
|
7531
7958
|
end
|
7532
7959
|
end
|
7533
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
|
+
|
7534
8025
|
# Targeting details for proximity location list. This will be populated in the
|
7535
8026
|
# details field of an AssignedTargetingOption when targeting_type is `
|
7536
8027
|
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.
|
@@ -8258,6 +8749,13 @@ module Google
|
|
8258
8749
|
# @return [String]
|
8259
8750
|
attr_accessor :name
|
8260
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
|
+
|
8261
8759
|
# Represents a targetable on screen position, which could be used by display and
|
8262
8760
|
# video ads. This will be populated in the on_screen_position_details field when
|
8263
8761
|
# targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.
|
@@ -8349,6 +8847,7 @@ module Google
|
|
8349
8847
|
@household_income_details = args[:household_income_details] if args.key?(:household_income_details)
|
8350
8848
|
@language_details = args[:language_details] if args.key?(:language_details)
|
8351
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)
|
8352
8851
|
@on_screen_position_details = args[:on_screen_position_details] if args.key?(:on_screen_position_details)
|
8353
8852
|
@operating_system_details = args[:operating_system_details] if args.key?(:operating_system_details)
|
8354
8853
|
@parental_status_details = args[:parental_status_details] if args.key?(:parental_status_details)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DisplayvideoV1
|
18
18
|
# Version of the google-apis-displayvideo_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210708"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,12 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class BudgetSummary
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
199
205
|
class BulkEditAdvertiserAssignedTargetingOptionsRequest
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
207
|
|
@@ -322,6 +328,12 @@ module Google
|
|
322
328
|
include Google::Apis::Core::JsonObjectSupport
|
323
329
|
end
|
324
330
|
|
331
|
+
class CampaignBudget
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
325
337
|
class CampaignFlight
|
326
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
339
|
|
@@ -850,6 +862,12 @@ module Google
|
|
850
862
|
include Google::Apis::Core::JsonObjectSupport
|
851
863
|
end
|
852
864
|
|
865
|
+
class Invoice
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
853
871
|
class KeywordAssignedTargetingOptionDetails
|
854
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
873
|
|
@@ -988,6 +1006,12 @@ module Google
|
|
988
1006
|
include Google::Apis::Core::JsonObjectSupport
|
989
1007
|
end
|
990
1008
|
|
1009
|
+
class ListInvoicesResponse
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1011
|
+
|
1012
|
+
include Google::Apis::Core::JsonObjectSupport
|
1013
|
+
end
|
1014
|
+
|
991
1015
|
class ListLineItemAssignedTargetingOptionsResponse
|
992
1016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
1017
|
|
@@ -1066,6 +1090,12 @@ module Google
|
|
1066
1090
|
include Google::Apis::Core::JsonObjectSupport
|
1067
1091
|
end
|
1068
1092
|
|
1093
|
+
class LookupInvoiceCurrencyResponse
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
|
+
|
1096
|
+
include Google::Apis::Core::JsonObjectSupport
|
1097
|
+
end
|
1098
|
+
|
1069
1099
|
class ManualTrigger
|
1070
1100
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1071
1101
|
|
@@ -1096,6 +1126,18 @@ module Google
|
|
1096
1126
|
include Google::Apis::Core::JsonObjectSupport
|
1097
1127
|
end
|
1098
1128
|
|
1129
|
+
class NativeContentPositionAssignedTargetingOptionDetails
|
1130
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1131
|
+
|
1132
|
+
include Google::Apis::Core::JsonObjectSupport
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
class NativeContentPositionTargetingOptionDetails
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
|
+
|
1138
|
+
include Google::Apis::Core::JsonObjectSupport
|
1139
|
+
end
|
1140
|
+
|
1099
1141
|
class NegativeKeyword
|
1100
1142
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1101
1143
|
|
@@ -1222,6 +1264,18 @@ module Google
|
|
1222
1264
|
include Google::Apis::Core::JsonObjectSupport
|
1223
1265
|
end
|
1224
1266
|
|
1267
|
+
class PrismaConfig
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
|
+
|
1270
|
+
include Google::Apis::Core::JsonObjectSupport
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
class PrismaCpeCode
|
1274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1275
|
+
|
1276
|
+
include Google::Apis::Core::JsonObjectSupport
|
1277
|
+
end
|
1278
|
+
|
1225
1279
|
class ProximityLocationListAssignedTargetingOptionDetails
|
1226
1280
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1227
1281
|
|
@@ -1492,6 +1546,7 @@ module Google
|
|
1492
1546
|
|
1493
1547
|
property :name, as: 'name'
|
1494
1548
|
property :partner_id, :numeric_string => true, as: 'partnerId'
|
1549
|
+
property :prisma_enabled, as: 'prismaEnabled'
|
1495
1550
|
property :serving_config, as: 'servingConfig', class: Google::Apis::DisplayvideoV1::AdvertiserTargetingConfig, decorator: Google::Apis::DisplayvideoV1::AdvertiserTargetingConfig::Representation
|
1496
1551
|
|
1497
1552
|
property :update_time, as: 'updateTime'
|
@@ -1681,6 +1736,8 @@ module Google
|
|
1681
1736
|
property :language_details, as: 'languageDetails', class: Google::Apis::DisplayvideoV1::LanguageAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::LanguageAssignedTargetingOptionDetails::Representation
|
1682
1737
|
|
1683
1738
|
property :name, as: 'name'
|
1739
|
+
property :native_content_position_details, as: 'nativeContentPositionDetails', class: Google::Apis::DisplayvideoV1::NativeContentPositionAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::NativeContentPositionAssignedTargetingOptionDetails::Representation
|
1740
|
+
|
1684
1741
|
property :negative_keyword_list_details, as: 'negativeKeywordListDetails', class: Google::Apis::DisplayvideoV1::NegativeKeywordListAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::NegativeKeywordListAssignedTargetingOptionDetails::Representation
|
1685
1742
|
|
1686
1743
|
property :on_screen_position_details, as: 'onScreenPositionDetails', class: Google::Apis::DisplayvideoV1::OnScreenPositionAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::OnScreenPositionAssignedTargetingOptionDetails::Representation
|
@@ -1804,6 +1861,18 @@ module Google
|
|
1804
1861
|
end
|
1805
1862
|
end
|
1806
1863
|
|
1864
|
+
class BudgetSummary
|
1865
|
+
# @private
|
1866
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1867
|
+
property :external_budget_id, as: 'externalBudgetId'
|
1868
|
+
property :pre_tax_amount_micros, :numeric_string => true, as: 'preTaxAmountMicros'
|
1869
|
+
property :prisma_cpe_code, as: 'prismaCpeCode', class: Google::Apis::DisplayvideoV1::PrismaCpeCode, decorator: Google::Apis::DisplayvideoV1::PrismaCpeCode::Representation
|
1870
|
+
|
1871
|
+
property :tax_amount_micros, :numeric_string => true, as: 'taxAmountMicros'
|
1872
|
+
property :total_amount_micros, :numeric_string => true, as: 'totalAmountMicros'
|
1873
|
+
end
|
1874
|
+
end
|
1875
|
+
|
1807
1876
|
class BulkEditAdvertiserAssignedTargetingOptionsRequest
|
1808
1877
|
# @private
|
1809
1878
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1987,6 +2056,8 @@ module Google
|
|
1987
2056
|
# @private
|
1988
2057
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1989
2058
|
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
|
2059
|
+
collection :campaign_budgets, as: 'campaignBudgets', class: Google::Apis::DisplayvideoV1::CampaignBudget, decorator: Google::Apis::DisplayvideoV1::CampaignBudget::Representation
|
2060
|
+
|
1990
2061
|
property :campaign_flight, as: 'campaignFlight', class: Google::Apis::DisplayvideoV1::CampaignFlight, decorator: Google::Apis::DisplayvideoV1::CampaignFlight::Representation
|
1991
2062
|
|
1992
2063
|
property :campaign_goal, as: 'campaignGoal', class: Google::Apis::DisplayvideoV1::CampaignGoal, decorator: Google::Apis::DisplayvideoV1::CampaignGoal::Representation
|
@@ -2001,6 +2072,23 @@ module Google
|
|
2001
2072
|
end
|
2002
2073
|
end
|
2003
2074
|
|
2075
|
+
class CampaignBudget
|
2076
|
+
# @private
|
2077
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2078
|
+
property :budget_amount_micros, :numeric_string => true, as: 'budgetAmountMicros'
|
2079
|
+
property :budget_id, :numeric_string => true, as: 'budgetId'
|
2080
|
+
property :budget_unit, as: 'budgetUnit'
|
2081
|
+
property :date_range, as: 'dateRange', class: Google::Apis::DisplayvideoV1::DateRange, decorator: Google::Apis::DisplayvideoV1::DateRange::Representation
|
2082
|
+
|
2083
|
+
property :display_name, as: 'displayName'
|
2084
|
+
property :external_budget_id, as: 'externalBudgetId'
|
2085
|
+
property :external_budget_source, as: 'externalBudgetSource'
|
2086
|
+
property :invoice_grouping_id, as: 'invoiceGroupingId'
|
2087
|
+
property :prisma_config, as: 'prismaConfig', class: Google::Apis::DisplayvideoV1::PrismaConfig, decorator: Google::Apis::DisplayvideoV1::PrismaConfig::Representation
|
2088
|
+
|
2089
|
+
end
|
2090
|
+
end
|
2091
|
+
|
2004
2092
|
class CampaignFlight
|
2005
2093
|
# @private
|
2006
2094
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2885,6 +2973,36 @@ module Google
|
|
2885
2973
|
end
|
2886
2974
|
end
|
2887
2975
|
|
2976
|
+
class Invoice
|
2977
|
+
# @private
|
2978
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2979
|
+
property :budget_invoice_grouping_id, as: 'budgetInvoiceGroupingId'
|
2980
|
+
collection :budget_summaries, as: 'budgetSummaries', class: Google::Apis::DisplayvideoV1::BudgetSummary, decorator: Google::Apis::DisplayvideoV1::BudgetSummary::Representation
|
2981
|
+
|
2982
|
+
property :corrected_invoice_id, as: 'correctedInvoiceId'
|
2983
|
+
property :currency_code, as: 'currencyCode'
|
2984
|
+
property :display_name, as: 'displayName'
|
2985
|
+
property :due_date, as: 'dueDate', class: Google::Apis::DisplayvideoV1::Date, decorator: Google::Apis::DisplayvideoV1::Date::Representation
|
2986
|
+
|
2987
|
+
property :invoice_id, as: 'invoiceId'
|
2988
|
+
property :invoice_type, as: 'invoiceType'
|
2989
|
+
property :issue_date, as: 'issueDate', class: Google::Apis::DisplayvideoV1::Date, decorator: Google::Apis::DisplayvideoV1::Date::Representation
|
2990
|
+
|
2991
|
+
property :name, as: 'name'
|
2992
|
+
property :non_budget_micros, :numeric_string => true, as: 'nonBudgetMicros'
|
2993
|
+
property :payments_account_id, as: 'paymentsAccountId'
|
2994
|
+
property :payments_profile_id, as: 'paymentsProfileId'
|
2995
|
+
property :pdf_url, as: 'pdfUrl'
|
2996
|
+
property :purchase_order_number, as: 'purchaseOrderNumber'
|
2997
|
+
collection :replaced_invoice_ids, as: 'replacedInvoiceIds'
|
2998
|
+
property :service_date_range, as: 'serviceDateRange', class: Google::Apis::DisplayvideoV1::DateRange, decorator: Google::Apis::DisplayvideoV1::DateRange::Representation
|
2999
|
+
|
3000
|
+
property :subtotal_amount_micros, :numeric_string => true, as: 'subtotalAmountMicros'
|
3001
|
+
property :total_amount_micros, :numeric_string => true, as: 'totalAmountMicros'
|
3002
|
+
property :total_tax_amount_micros, :numeric_string => true, as: 'totalTaxAmountMicros'
|
3003
|
+
end
|
3004
|
+
end
|
3005
|
+
|
2888
3006
|
class KeywordAssignedTargetingOptionDetails
|
2889
3007
|
# @private
|
2890
3008
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3121,6 +3239,15 @@ module Google
|
|
3121
3239
|
end
|
3122
3240
|
end
|
3123
3241
|
|
3242
|
+
class ListInvoicesResponse
|
3243
|
+
# @private
|
3244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3245
|
+
collection :invoices, as: 'invoices', class: Google::Apis::DisplayvideoV1::Invoice, decorator: Google::Apis::DisplayvideoV1::Invoice::Representation
|
3246
|
+
|
3247
|
+
property :next_page_token, as: 'nextPageToken'
|
3248
|
+
end
|
3249
|
+
end
|
3250
|
+
|
3124
3251
|
class ListLineItemAssignedTargetingOptionsResponse
|
3125
3252
|
# @private
|
3126
3253
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3239,6 +3366,13 @@ module Google
|
|
3239
3366
|
end
|
3240
3367
|
end
|
3241
3368
|
|
3369
|
+
class LookupInvoiceCurrencyResponse
|
3370
|
+
# @private
|
3371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3372
|
+
property :currency_code, as: 'currencyCode'
|
3373
|
+
end
|
3374
|
+
end
|
3375
|
+
|
3242
3376
|
class ManualTrigger
|
3243
3377
|
# @private
|
3244
3378
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3288,6 +3422,21 @@ module Google
|
|
3288
3422
|
end
|
3289
3423
|
end
|
3290
3424
|
|
3425
|
+
class NativeContentPositionAssignedTargetingOptionDetails
|
3426
|
+
# @private
|
3427
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3428
|
+
property :content_position, as: 'contentPosition'
|
3429
|
+
property :targeting_option_id, as: 'targetingOptionId'
|
3430
|
+
end
|
3431
|
+
end
|
3432
|
+
|
3433
|
+
class NativeContentPositionTargetingOptionDetails
|
3434
|
+
# @private
|
3435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3436
|
+
property :content_position, as: 'contentPosition'
|
3437
|
+
end
|
3438
|
+
end
|
3439
|
+
|
3291
3440
|
class NegativeKeyword
|
3292
3441
|
# @private
|
3293
3442
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3489,6 +3638,25 @@ module Google
|
|
3489
3638
|
end
|
3490
3639
|
end
|
3491
3640
|
|
3641
|
+
class PrismaConfig
|
3642
|
+
# @private
|
3643
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3644
|
+
property :prisma_cpe_code, as: 'prismaCpeCode', class: Google::Apis::DisplayvideoV1::PrismaCpeCode, decorator: Google::Apis::DisplayvideoV1::PrismaCpeCode::Representation
|
3645
|
+
|
3646
|
+
property :prisma_type, as: 'prismaType'
|
3647
|
+
property :supplier, as: 'supplier'
|
3648
|
+
end
|
3649
|
+
end
|
3650
|
+
|
3651
|
+
class PrismaCpeCode
|
3652
|
+
# @private
|
3653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3654
|
+
property :prisma_client_code, as: 'prismaClientCode'
|
3655
|
+
property :prisma_estimate_code, as: 'prismaEstimateCode'
|
3656
|
+
property :prisma_product_code, as: 'prismaProductCode'
|
3657
|
+
end
|
3658
|
+
end
|
3659
|
+
|
3492
3660
|
class ProximityLocationListAssignedTargetingOptionDetails
|
3493
3661
|
# @private
|
3494
3662
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3708,6 +3876,8 @@ module Google
|
|
3708
3876
|
property :language_details, as: 'languageDetails', class: Google::Apis::DisplayvideoV1::LanguageTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::LanguageTargetingOptionDetails::Representation
|
3709
3877
|
|
3710
3878
|
property :name, as: 'name'
|
3879
|
+
property :native_content_position_details, as: 'nativeContentPositionDetails', class: Google::Apis::DisplayvideoV1::NativeContentPositionTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::NativeContentPositionTargetingOptionDetails::Representation
|
3880
|
+
|
3711
3881
|
property :on_screen_position_details, as: 'onScreenPositionDetails', class: Google::Apis::DisplayvideoV1::OnScreenPositionTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::OnScreenPositionTargetingOptionDetails::Representation
|
3712
3882
|
|
3713
3883
|
property :operating_system_details, as: 'operatingSystemDetails', class: Google::Apis::DisplayvideoV1::OperatingSystemTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV1::OperatingSystemTargetingOptionDetails::Representation
|
@@ -778,7 +778,7 @@ module Google
|
|
778
778
|
# To specify descending order for a field, a suffix "desc" should be added to
|
779
779
|
# the field name. Example: `assignedTargetingOptionId desc`.
|
780
780
|
# @param [Fixnum] page_size
|
781
|
-
# Requested page size. Must be between `1` and `
|
781
|
+
# Requested page size. Must be between `1` and `5000`. If unspecified will
|
782
782
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
783
783
|
# specified.
|
784
784
|
# @param [String] page_token
|
@@ -1768,7 +1768,7 @@ module Google
|
|
1768
1768
|
# To specify descending order for a field, a suffix "desc" should be added to
|
1769
1769
|
# the field name. Example: `assignedTargetingOptionId desc`.
|
1770
1770
|
# @param [Fixnum] page_size
|
1771
|
-
# Requested page size. Must be between `1` and `
|
1771
|
+
# Requested page size. Must be between `1` and `5000`. If unspecified will
|
1772
1772
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
1773
1773
|
# specified.
|
1774
1774
|
# @param [String] page_token
|
@@ -1809,6 +1809,91 @@ module Google
|
|
1809
1809
|
execute_or_queue_command(command, &block)
|
1810
1810
|
end
|
1811
1811
|
|
1812
|
+
# Lists invoices posted for an advertiser in a given month. Invoices generated
|
1813
|
+
# by billing profiles with a "Partner" invoice level are not retrievable through
|
1814
|
+
# this method.
|
1815
|
+
# @param [Fixnum] advertiser_id
|
1816
|
+
# Required. The ID of the advertiser to list invoices for.
|
1817
|
+
# @param [String] issue_month
|
1818
|
+
# The month to list the invoices for. If not set, the request will retrieve
|
1819
|
+
# invoices for the previous month. Must be in the format YYYYMM.
|
1820
|
+
# @param [String] loi_sapin_invoice_type
|
1821
|
+
# Select type of invoice to retrieve for Loi Sapin advertisers. Only applicable
|
1822
|
+
# to Loi Sapin advertisers. Will be ignored otherwise.
|
1823
|
+
# @param [Fixnum] page_size
|
1824
|
+
# Requested page size. Must be between `1` and `100`. If unspecified will
|
1825
|
+
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
1826
|
+
# specified.
|
1827
|
+
# @param [String] page_token
|
1828
|
+
# A token identifying a page of results the server should return. Typically,
|
1829
|
+
# this is the value of next_page_token returned from the previous call to `
|
1830
|
+
# ListInvoices` method. If not specified, the first page of results will be
|
1831
|
+
# returned.
|
1832
|
+
# @param [String] fields
|
1833
|
+
# Selector specifying which fields to include in a partial response.
|
1834
|
+
# @param [String] quota_user
|
1835
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1836
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1837
|
+
# @param [Google::Apis::RequestOptions] options
|
1838
|
+
# Request-specific options
|
1839
|
+
#
|
1840
|
+
# @yield [result, err] Result & error if block supplied
|
1841
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::ListInvoicesResponse] parsed result object
|
1842
|
+
# @yieldparam err [StandardError] error object if request failed
|
1843
|
+
#
|
1844
|
+
# @return [Google::Apis::DisplayvideoV1::ListInvoicesResponse]
|
1845
|
+
#
|
1846
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1847
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1848
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1849
|
+
def list_advertiser_invoices(advertiser_id, issue_month: nil, loi_sapin_invoice_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1850
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/invoices', options)
|
1851
|
+
command.response_representation = Google::Apis::DisplayvideoV1::ListInvoicesResponse::Representation
|
1852
|
+
command.response_class = Google::Apis::DisplayvideoV1::ListInvoicesResponse
|
1853
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
1854
|
+
command.query['issueMonth'] = issue_month unless issue_month.nil?
|
1855
|
+
command.query['loiSapinInvoiceType'] = loi_sapin_invoice_type unless loi_sapin_invoice_type.nil?
|
1856
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1857
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1858
|
+
command.query['fields'] = fields unless fields.nil?
|
1859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1860
|
+
execute_or_queue_command(command, &block)
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
# Retrieves the invoice currency used by an advertiser in a given month.
|
1864
|
+
# @param [Fixnum] advertiser_id
|
1865
|
+
# Required. The ID of the advertiser to lookup currency for.
|
1866
|
+
# @param [String] invoice_month
|
1867
|
+
# Month for which the currency is needed. If not set, the request will return
|
1868
|
+
# existing currency settings for the advertiser. Must be in the format YYYYMM.
|
1869
|
+
# @param [String] fields
|
1870
|
+
# Selector specifying which fields to include in a partial response.
|
1871
|
+
# @param [String] quota_user
|
1872
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1873
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1874
|
+
# @param [Google::Apis::RequestOptions] options
|
1875
|
+
# Request-specific options
|
1876
|
+
#
|
1877
|
+
# @yield [result, err] Result & error if block supplied
|
1878
|
+
# @yieldparam result [Google::Apis::DisplayvideoV1::LookupInvoiceCurrencyResponse] parsed result object
|
1879
|
+
# @yieldparam err [StandardError] error object if request failed
|
1880
|
+
#
|
1881
|
+
# @return [Google::Apis::DisplayvideoV1::LookupInvoiceCurrencyResponse]
|
1882
|
+
#
|
1883
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1884
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1885
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1886
|
+
def lookup_advertiser_invoice_invoice_currency(advertiser_id, invoice_month: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1887
|
+
command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/invoices:lookupInvoiceCurrency', options)
|
1888
|
+
command.response_representation = Google::Apis::DisplayvideoV1::LookupInvoiceCurrencyResponse::Representation
|
1889
|
+
command.response_class = Google::Apis::DisplayvideoV1::LookupInvoiceCurrencyResponse
|
1890
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
1891
|
+
command.query['invoiceMonth'] = invoice_month unless invoice_month.nil?
|
1892
|
+
command.query['fields'] = fields unless fields.nil?
|
1893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1894
|
+
execute_or_queue_command(command, &block)
|
1895
|
+
end
|
1896
|
+
|
1812
1897
|
# Bulk edits targeting options under a single line item. The operation will
|
1813
1898
|
# delete the assigned targeting options provided in
|
1814
1899
|
# BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then
|
@@ -2312,7 +2397,7 @@ module Google
|
|
2312
2397
|
# To specify descending order for a field, a suffix "desc" should be added to
|
2313
2398
|
# the field name. Example: `assignedTargetingOptionId desc`.
|
2314
2399
|
# @param [Fixnum] page_size
|
2315
|
-
# Requested page size. Must be between `1` and `
|
2400
|
+
# Requested page size. Must be between `1` and `5000`. If unspecified will
|
2316
2401
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
2317
2402
|
# specified.
|
2318
2403
|
# @param [String] page_token
|
@@ -3474,7 +3559,7 @@ module Google
|
|
3474
3559
|
# To specify descending order for a field, a suffix "desc" should be added to
|
3475
3560
|
# the field name. Example: `assignedTargetingOptionId desc`.
|
3476
3561
|
# @param [Fixnum] page_size
|
3477
|
-
# Requested page size. Must be between `1` and `
|
3562
|
+
# Requested page size. Must be between `1` and `5000`. If unspecified will
|
3478
3563
|
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
3479
3564
|
# specified.
|
3480
3565
|
# @param [String] page_token
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-displayvideo_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Display & Video 360 API V1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-displayvideo_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.13.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-displayvideo_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|