google-apis-displayvideo_v4 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89e27300cf4b7680560e2bf403fba5d3e96028ef375cbb53e1c64b2f5c689c7b
4
- data.tar.gz: a3fe4b3b1ec329293b9564b07e62511d526f4aeda0c3ccfedda5038ff9aaedf2
3
+ metadata.gz: '07930cd4d0606d954b368b393cb607ce17faedb3f24acb15ac5704d58f1d4d78'
4
+ data.tar.gz: 1888bebb0ffdff22a959c04a21607eeead1527b07d85ee4c7a2d8ed7525c5b7b
5
5
  SHA512:
6
- metadata.gz: bfc2e546a7a3a746553a63d5a892c4a9cc326c4e4d0c61071cedb68ce232783ed2e09f5dc59ac587ef4e3664b822cd0433378686675b52f77eb2fb6ee8d2ce14
7
- data.tar.gz: 31ab5fcd34b9e7cd65db537c537fc33b045b8a34fdf371cb8318802df71e8dd02f4ca7f63d7c8f8306224d4fd09c7d0f171b4f5f807b610a74ee73ae623a3c6e
6
+ metadata.gz: 17ba6669e3edf6373bfbc91764e92846a440f3b04294f834a67d9e400ebf964d171a94cd8990caf73e82310733c232075761c07d26d19d4430aa0c72b9cb502e
7
+ data.tar.gz: 57e1c0618e04f83917b9754911648eb37bb4a4c609c6bcc2bb6162c7c2047528ee0186023171c19f8b887a622307c94785781b49d9c35d0212d079cda4ff97e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-displayvideo_v4
2
2
 
3
+ ### v0.4.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250320
6
+
7
+ ### v0.3.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250313
10
+
3
11
  ### v0.2.0 (2025-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20250220
@@ -1435,6 +1435,13 @@ module Google
1435
1435
  # @return [Google::Apis::DisplayvideoV4::ContentStreamTypeAssignedTargetingOptionDetails]
1436
1436
  attr_accessor :content_stream_type_details
1437
1437
 
1438
+ # Targeting details for content theme. This will be populated in the details
1439
+ # field of an AssignedTargetingOption when targeting_type is `
1440
+ # TARGETING_TYPE_CONTENT_THEME_EXCLUSION`.
1441
+ # Corresponds to the JSON property `contentThemeExclusionDetails`
1442
+ # @return [Google::Apis::DisplayvideoV4::ContentThemeAssignedTargetingOptionDetails]
1443
+ attr_accessor :content_theme_exclusion_details
1444
+
1438
1445
  # Representation of a segment of time defined on a specific day of the week and
1439
1446
  # with a start and end time. The time represented by `start_hour` must be before
1440
1447
  # the time represented by `end_hour`.
@@ -1702,6 +1709,7 @@ module Google
1702
1709
  @content_instream_position_details = args[:content_instream_position_details] if args.key?(:content_instream_position_details)
1703
1710
  @content_outstream_position_details = args[:content_outstream_position_details] if args.key?(:content_outstream_position_details)
1704
1711
  @content_stream_type_details = args[:content_stream_type_details] if args.key?(:content_stream_type_details)
1712
+ @content_theme_exclusion_details = args[:content_theme_exclusion_details] if args.key?(:content_theme_exclusion_details)
1705
1713
  @day_and_time_details = args[:day_and_time_details] if args.key?(:day_and_time_details)
1706
1714
  @device_make_model_details = args[:device_make_model_details] if args.key?(:device_make_model_details)
1707
1715
  @device_type_details = args[:device_type_details] if args.key?(:device_type_details)
@@ -4014,6 +4022,60 @@ module Google
4014
4022
  end
4015
4023
  end
4016
4024
 
4025
+ # Targeting details for content theme. This will be populated in the details
4026
+ # field of an AssignedTargetingOption when targeting_type is `
4027
+ # TARGETING_TYPE_CONTENT_THEME_EXCLUSION`.
4028
+ class ContentThemeAssignedTargetingOptionDetails
4029
+ include Google::Apis::Core::Hashable
4030
+
4031
+ # Output only. An enum for the DV360 content theme classifier.
4032
+ # Corresponds to the JSON property `contentTheme`
4033
+ # @return [String]
4034
+ attr_accessor :content_theme
4035
+
4036
+ # Required. An enum for the DV360 content theme classified to be EXCLUDED.
4037
+ # Corresponds to the JSON property `excludedContentTheme`
4038
+ # @return [String]
4039
+ attr_accessor :excluded_content_theme
4040
+
4041
+ # Required. ID of the content theme to be EXCLUDED.
4042
+ # Corresponds to the JSON property `excludedTargetingOptionId`
4043
+ # @return [String]
4044
+ attr_accessor :excluded_targeting_option_id
4045
+
4046
+ def initialize(**args)
4047
+ update!(**args)
4048
+ end
4049
+
4050
+ # Update properties of this object
4051
+ def update!(**args)
4052
+ @content_theme = args[:content_theme] if args.key?(:content_theme)
4053
+ @excluded_content_theme = args[:excluded_content_theme] if args.key?(:excluded_content_theme)
4054
+ @excluded_targeting_option_id = args[:excluded_targeting_option_id] if args.key?(:excluded_targeting_option_id)
4055
+ end
4056
+ end
4057
+
4058
+ # Represents a targetable content theme. This will be populated in the
4059
+ # content_theme_details field of the TargetingOption when targeting_type is `
4060
+ # TARGETING_TYPE_CONTENT_THEME_EXCLUSION`.
4061
+ class ContentThemeTargetingOptionDetails
4062
+ include Google::Apis::Core::Hashable
4063
+
4064
+ # Output only. An enum for the DV360 content theme content classifier.
4065
+ # Corresponds to the JSON property `contentTheme`
4066
+ # @return [String]
4067
+ attr_accessor :content_theme
4068
+
4069
+ def initialize(**args)
4070
+ update!(**args)
4071
+ end
4072
+
4073
+ # Update properties of this object
4074
+ def update!(**args)
4075
+ @content_theme = args[:content_theme] if args.key?(:content_theme)
4076
+ end
4077
+ end
4078
+
4017
4079
  # Settings that control how conversions are counted. All post-click conversions
4018
4080
  # will be counted. A percentage value can be set for post-view conversions
4019
4081
  # counting.
@@ -6186,7 +6248,12 @@ module Google
6186
6248
  # field to 10000. Otherwise, the set value must be greater than 0 and less than
6187
6249
  # or equal to 540. Only applicable to first party audiences. This field is
6188
6250
  # required if one of the following audience_type is used: * `
6189
- # CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
6251
+ # CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` *Warning*: Starting
6252
+ # on **April 7, 2025**, audiences will no longer be able to have infinite
6253
+ # membership duration. This field will no longer accept the value 10000 and all
6254
+ # audiences with membership durations greater than 540 days will be updated to a
6255
+ # membership duration of 540 days. [Read more about this announced change](/
6256
+ # display-video/api/deprecations#features.audience_duration).
6190
6257
  # Corresponds to the JSON property `membershipDurationDays`
6191
6258
  # @return [Fixnum]
6192
6259
  attr_accessor :membership_duration_days
@@ -6467,25 +6534,16 @@ module Google
6467
6534
  attr_accessor :max_views
6468
6535
 
6469
6536
  # The time unit in which the frequency cap will be applied. Required when
6470
- # unlimited is `false`. *Warning*: On **February 28, 2025**, frequency cap time
6471
- # periods greater than 30 days will no longer be accepted. This field will no
6472
- # longer accept the value `TIME_UNIT_LIFETIME`. [Read more about this announced
6473
- # change](/display-video/api/deprecations#features.lifetime_frequency_cap).
6537
+ # unlimited is `false`.
6474
6538
  # Corresponds to the JSON property `timeUnit`
6475
6539
  # @return [String]
6476
6540
  attr_accessor :time_unit
6477
6541
 
6478
6542
  # The number of time_unit the frequency cap will last. Required when unlimited
6479
6543
  # is `false`. The following restrictions apply based on the value of time_unit: *
6480
- # `TIME_UNIT_LIFETIME` - this field is output only and will default to 1 * `
6481
- # TIME_UNIT_MONTHS` - must be between 1 and 2 * `TIME_UNIT_WEEKS` - must be
6482
- # between 1 and 4 * `TIME_UNIT_DAYS` - must be between 1 and 6 * `
6483
- # TIME_UNIT_HOURS` - must be between 1 and 23 * `TIME_UNIT_MINUTES` - must be
6484
- # between 1 and 59 *Warning*: On **February 28, 2025**, frequency cap time
6485
- # periods greater than 30 days will no longer be accepted. This field will no
6486
- # longer accept the value 2 if the value of time_unit is `TIME_UNIT_MONTHS`. [
6487
- # Read more about this announced change](/display-video/api/deprecations#
6488
- # features.lifetime_frequency_cap).
6544
+ # `TIME_UNIT_MONTHS` - must be 1 * `TIME_UNIT_WEEKS` - must be between 1 and 4 *
6545
+ # `TIME_UNIT_DAYS` - must be between 1 and 6 * `TIME_UNIT_HOURS` - must be
6546
+ # between 1 and 23 * `TIME_UNIT_MINUTES` - must be between 1 and 59
6489
6547
  # Corresponds to the JSON property `timeUnitCount`
6490
6548
  # @return [Fixnum]
6491
6549
  attr_accessor :time_unit_count
@@ -11563,16 +11621,13 @@ module Google
11563
11621
 
11564
11622
  # Required. Whether to enable Optimized Targeting for the line item. Optimized
11565
11623
  # targeting is not compatible with all bid strategies. Attempting to set this
11566
- # field to `true` for a line item using one of the following combinations of
11567
- # BiddingStrategy fields and BiddingStrategyPerformanceGoalType will result in
11568
- # an error: maximize_auto_spend_bid: * `
11569
- # BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * `
11624
+ # field to `true` for a line item using the BiddingStrategy field fixed_bid or
11625
+ # one of the following combinations of BiddingStrategy fields and
11626
+ # BiddingStrategyPerformanceGoalType will result in an error:
11627
+ # maximize_auto_spend_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * `
11570
11628
  # BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` * `
11571
11629
  # BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` performance_goal_auto_bid: *
11572
- # `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` *Warning*: Starting **
11573
- # March 6, 2025**, this field will stop being compatible when using the
11574
- # BiddingStrategy field fixed_bid. [Read more about this announced change](/
11575
- # display-video/api/deprecations#features.ot_fixed_bid)
11630
+ # `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`
11576
11631
  # Corresponds to the JSON property `enableOptimizedTargeting`
11577
11632
  # @return [Boolean]
11578
11633
  attr_accessor :enable_optimized_targeting
@@ -11687,6 +11742,13 @@ module Google
11687
11742
  # @return [Google::Apis::DisplayvideoV4::ContentStreamTypeTargetingOptionDetails]
11688
11743
  attr_accessor :content_stream_type_details
11689
11744
 
11745
+ # Represents a targetable content theme. This will be populated in the
11746
+ # content_theme_details field of the TargetingOption when targeting_type is `
11747
+ # TARGETING_TYPE_CONTENT_THEME_EXCLUSION`.
11748
+ # Corresponds to the JSON property `contentThemeDetails`
11749
+ # @return [Google::Apis::DisplayvideoV4::ContentThemeTargetingOptionDetails]
11750
+ attr_accessor :content_theme_details
11751
+
11690
11752
  # Represents a targetable device make and model. This will be populated in the
11691
11753
  # device_make_model_details field of a TargetingOption when targeting_type is `
11692
11754
  # TARGETING_TYPE_DEVICE_MAKE_MODEL`.
@@ -11858,6 +11920,7 @@ module Google
11858
11920
  @content_instream_position_details = args[:content_instream_position_details] if args.key?(:content_instream_position_details)
11859
11921
  @content_outstream_position_details = args[:content_outstream_position_details] if args.key?(:content_outstream_position_details)
11860
11922
  @content_stream_type_details = args[:content_stream_type_details] if args.key?(:content_stream_type_details)
11923
+ @content_theme_details = args[:content_theme_details] if args.key?(:content_theme_details)
11861
11924
  @device_make_model_details = args[:device_make_model_details] if args.key?(:device_make_model_details)
11862
11925
  @device_type_details = args[:device_type_details] if args.key?(:device_type_details)
11863
11926
  @digital_content_label_details = args[:digital_content_label_details] if args.key?(:digital_content_label_details)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV4
18
18
  # Version of the google-apis-displayvideo_v4 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250220"
25
+ REVISION = "20250320"
26
26
  end
27
27
  end
28
28
  end
@@ -616,6 +616,18 @@ module Google
616
616
  include Google::Apis::Core::JsonObjectSupport
617
617
  end
618
618
 
619
+ class ContentThemeAssignedTargetingOptionDetails
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class ContentThemeTargetingOptionDetails
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
619
631
  class ConversionCountingConfig
620
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
633
 
@@ -2393,6 +2405,8 @@ module Google
2393
2405
 
2394
2406
  property :content_stream_type_details, as: 'contentStreamTypeDetails', class: Google::Apis::DisplayvideoV4::ContentStreamTypeAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV4::ContentStreamTypeAssignedTargetingOptionDetails::Representation
2395
2407
 
2408
+ property :content_theme_exclusion_details, as: 'contentThemeExclusionDetails', class: Google::Apis::DisplayvideoV4::ContentThemeAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV4::ContentThemeAssignedTargetingOptionDetails::Representation
2409
+
2396
2410
  property :day_and_time_details, as: 'dayAndTimeDetails', class: Google::Apis::DisplayvideoV4::DayAndTimeAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV4::DayAndTimeAssignedTargetingOptionDetails::Representation
2397
2411
 
2398
2412
  property :device_make_model_details, as: 'deviceMakeModelDetails', class: Google::Apis::DisplayvideoV4::DeviceMakeModelAssignedTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV4::DeviceMakeModelAssignedTargetingOptionDetails::Representation
@@ -3100,6 +3114,22 @@ module Google
3100
3114
  end
3101
3115
  end
3102
3116
 
3117
+ class ContentThemeAssignedTargetingOptionDetails
3118
+ # @private
3119
+ class Representation < Google::Apis::Core::JsonRepresentation
3120
+ property :content_theme, as: 'contentTheme'
3121
+ property :excluded_content_theme, as: 'excludedContentTheme'
3122
+ property :excluded_targeting_option_id, as: 'excludedTargetingOptionId'
3123
+ end
3124
+ end
3125
+
3126
+ class ContentThemeTargetingOptionDetails
3127
+ # @private
3128
+ class Representation < Google::Apis::Core::JsonRepresentation
3129
+ property :content_theme, as: 'contentTheme'
3130
+ end
3131
+ end
3132
+
3103
3133
  class ConversionCountingConfig
3104
3134
  # @private
3105
3135
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5165,6 +5195,8 @@ module Google
5165
5195
 
5166
5196
  property :content_stream_type_details, as: 'contentStreamTypeDetails', class: Google::Apis::DisplayvideoV4::ContentStreamTypeTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV4::ContentStreamTypeTargetingOptionDetails::Representation
5167
5197
 
5198
+ property :content_theme_details, as: 'contentThemeDetails', class: Google::Apis::DisplayvideoV4::ContentThemeTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV4::ContentThemeTargetingOptionDetails::Representation
5199
+
5168
5200
  property :device_make_model_details, as: 'deviceMakeModelDetails', class: Google::Apis::DisplayvideoV4::DeviceMakeModelTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV4::DeviceMakeModelTargetingOptionDetails::Representation
5169
5201
 
5170
5202
  property :device_type_details, as: 'deviceTypeDetails', class: Google::Apis::DisplayvideoV4::DeviceTypeTargetingOptionDetails, decorator: Google::Apis::DisplayvideoV4::DeviceTypeTargetingOptionDetails::Representation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.4.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v4
62
62
  rdoc_options: []
63
63
  require_paths: