google-apis-displayvideo_v3 0.2.0 → 0.4.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: 3a334289f300f802b2c24f92b0f0dae843f5e50e1ff6df1b330cc594e277681b
4
- data.tar.gz: bbbaa51fe5622bc61813c8c090d2e6766669068cee554db31e80be1bcd0abd1b
3
+ metadata.gz: db80f386c280e3b33f4036a530252dc4fd92a19b6692197fcbc54f433eb64bb5
4
+ data.tar.gz: 207f96353d4278674e87b6874bdb6e3ad3c3f0777d2563a58af6dbd31ab97ea5
5
5
  SHA512:
6
- metadata.gz: 98a63a7c19928f3aef1b733d7c8d9b3d4d05acefaa3d219512de0d8aa547606767adb96439d4f7520b2be4cb59c4b1590a551cc8df0dca1dc2119b50998c0797
7
- data.tar.gz: 4df3bdd05460fca10cc23a1fedc5fbd7776dead947dbd32458f50138daa7c6de242c71512e04787a60476ac3e2c59e53ded7a2c0b8e12ddd81ba61a5b68a79d2
6
+ metadata.gz: 187c17cb702d12d1cbc8dff091efadfd09a3e22c4577923e78dbda1382f1b62ac0829b09a97af1c449c03f5f9d0fc518e417fee3fe525efc60f0e56418bbca25
7
+ data.tar.gz: 72be8991d8294986b2cf9e169adf4dd0b232fd1272f1b26b6e9a1c1fcfaefc25234a6d3cb36a460e6aa6ebea80f63d99235f436f1d059e9f2873f4945564955e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-displayvideo_v3
2
2
 
3
+ ### v0.4.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240118
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.3.0 (2024-01-07)
9
+
10
+ * Regenerated from discovery document revision 20240104
11
+
3
12
  ### v0.2.0 (2023-11-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20231113
@@ -465,7 +465,7 @@ module Google
465
465
  class AdvertiserBillingConfig
466
466
  include Google::Apis::Core::Hashable
467
467
 
468
- # The ID of a billing profile assigned to the advertiser.
468
+ # Optional. The ID of a billing profile assigned to the advertiser.
469
469
  # Corresponds to the JSON property `billingProfileId`
470
470
  # @return [Fixnum]
471
471
  attr_accessor :billing_profile_id
@@ -693,259 +693,6 @@ module Google
693
693
  end
694
694
  end
695
695
 
696
- # Rule-based algorithm.
697
- class AlgorithmRules
698
- include Google::Apis::Core::Hashable
699
-
700
- # A ruleset consisting of a list of rules and how to aggregate the resulting
701
- # values.
702
- # Corresponds to the JSON property `impressionSignalRuleset`
703
- # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesRuleset]
704
- attr_accessor :impression_signal_ruleset
705
-
706
- def initialize(**args)
707
- update!(**args)
708
- end
709
-
710
- # Update properties of this object
711
- def update!(**args)
712
- @impression_signal_ruleset = args[:impression_signal_ruleset] if args.key?(:impression_signal_ruleset)
713
- end
714
- end
715
-
716
- # A value to compare the signal to.
717
- class AlgorithmRulesComparisonValue
718
- include Google::Apis::Core::Hashable
719
-
720
- # Boolean value.
721
- # Corresponds to the JSON property `boolValue`
722
- # @return [Boolean]
723
- attr_accessor :bool_value
724
- alias_method :bool_value?, :bool_value
725
-
726
- # Dimensions.
727
- # Corresponds to the JSON property `creativeDimensionValue`
728
- # @return [Google::Apis::DisplayvideoV3::Dimensions]
729
- attr_accessor :creative_dimension_value
730
-
731
- # Representation of time defined by day of the week and hour of the day.
732
- # Corresponds to the JSON property `dayAndTimeValue`
733
- # @return [Google::Apis::DisplayvideoV3::DayAndTime]
734
- attr_accessor :day_and_time_value
735
-
736
- # Device type value.
737
- # Corresponds to the JSON property `deviceTypeValue`
738
- # @return [String]
739
- attr_accessor :device_type_value
740
-
741
- # Double value.
742
- # Corresponds to the JSON property `doubleValue`
743
- # @return [Float]
744
- attr_accessor :double_value
745
-
746
- # Environment value.
747
- # Corresponds to the JSON property `environmentValue`
748
- # @return [String]
749
- attr_accessor :environment_value
750
-
751
- # Exchange value.
752
- # Corresponds to the JSON property `exchangeValue`
753
- # @return [String]
754
- attr_accessor :exchange_value
755
-
756
- # Integer value.
757
- # Corresponds to the JSON property `int64Value`
758
- # @return [Fixnum]
759
- attr_accessor :int64_value
760
-
761
- # Ad position value.
762
- # Corresponds to the JSON property `onScreenPositionValue`
763
- # @return [String]
764
- attr_accessor :on_screen_position_value
765
-
766
- # String value.
767
- # Corresponds to the JSON property `stringValue`
768
- # @return [String]
769
- attr_accessor :string_value
770
-
771
- def initialize(**args)
772
- update!(**args)
773
- end
774
-
775
- # Update properties of this object
776
- def update!(**args)
777
- @bool_value = args[:bool_value] if args.key?(:bool_value)
778
- @creative_dimension_value = args[:creative_dimension_value] if args.key?(:creative_dimension_value)
779
- @day_and_time_value = args[:day_and_time_value] if args.key?(:day_and_time_value)
780
- @device_type_value = args[:device_type_value] if args.key?(:device_type_value)
781
- @double_value = args[:double_value] if args.key?(:double_value)
782
- @environment_value = args[:environment_value] if args.key?(:environment_value)
783
- @exchange_value = args[:exchange_value] if args.key?(:exchange_value)
784
- @int64_value = args[:int64_value] if args.key?(:int64_value)
785
- @on_screen_position_value = args[:on_screen_position_value] if args.key?(:on_screen_position_value)
786
- @string_value = args[:string_value] if args.key?(:string_value)
787
- end
788
- end
789
-
790
- # Set of conditions. The return value of the rule is either: * The return value
791
- # for single met condition or * The defined default return value if no
792
- # conditions are met.
793
- class AlgorithmRulesRule
794
- include Google::Apis::Core::Hashable
795
-
796
- # List of conditions in this rule. The criteria among conditions should be
797
- # mutually exclusive.
798
- # Corresponds to the JSON property `conditions`
799
- # @return [Array<Google::Apis::DisplayvideoV3::AlgorithmRulesRuleCondition>]
800
- attr_accessor :conditions
801
-
802
- # Adjusted value of the signal used for rule evaluation.
803
- # Corresponds to the JSON property `defaultReturnValue`
804
- # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue]
805
- attr_accessor :default_return_value
806
-
807
- def initialize(**args)
808
- update!(**args)
809
- end
810
-
811
- # Update properties of this object
812
- def update!(**args)
813
- @conditions = args[:conditions] if args.key?(:conditions)
814
- @default_return_value = args[:default_return_value] if args.key?(:default_return_value)
815
- end
816
- end
817
-
818
- # Set of signal comparisons. Equivalent of an `if` statement.
819
- class AlgorithmRulesRuleCondition
820
- include Google::Apis::Core::Hashable
821
-
822
- # Adjusted value of the signal used for rule evaluation.
823
- # Corresponds to the JSON property `returnValue`
824
- # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue]
825
- attr_accessor :return_value
826
-
827
- # List of comparisons that build `if` statement condition. The comparisons are
828
- # combined into a single condition with `AND` logical operators.
829
- # Corresponds to the JSON property `signalComparisons`
830
- # @return [Array<Google::Apis::DisplayvideoV3::AlgorithmRulesSignalComparison>]
831
- attr_accessor :signal_comparisons
832
-
833
- def initialize(**args)
834
- update!(**args)
835
- end
836
-
837
- # Update properties of this object
838
- def update!(**args)
839
- @return_value = args[:return_value] if args.key?(:return_value)
840
- @signal_comparisons = args[:signal_comparisons] if args.key?(:signal_comparisons)
841
- end
842
- end
843
-
844
- # A ruleset consisting of a list of rules and how to aggregate the resulting
845
- # values.
846
- class AlgorithmRulesRuleset
847
- include Google::Apis::Core::Hashable
848
-
849
- # How to aggregate values of evaluated rules.
850
- # Corresponds to the JSON property `aggregationType`
851
- # @return [String]
852
- attr_accessor :aggregation_type
853
-
854
- # Maximum value the ruleset can evaluate to.
855
- # Corresponds to the JSON property `maxValue`
856
- # @return [Float]
857
- attr_accessor :max_value
858
-
859
- # List of rules to generate the impression value.
860
- # Corresponds to the JSON property `rules`
861
- # @return [Array<Google::Apis::DisplayvideoV3::AlgorithmRulesRule>]
862
- attr_accessor :rules
863
-
864
- def initialize(**args)
865
- update!(**args)
866
- end
867
-
868
- # Update properties of this object
869
- def update!(**args)
870
- @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
871
- @max_value = args[:max_value] if args.key?(:max_value)
872
- @rules = args[:rules] if args.key?(:rules)
873
- end
874
- end
875
-
876
- # Signal used to evaluate rules.
877
- class AlgorithmRulesSignal
878
- include Google::Apis::Core::Hashable
879
-
880
- # Signal based on impressions.
881
- # Corresponds to the JSON property `impressionSignal`
882
- # @return [String]
883
- attr_accessor :impression_signal
884
-
885
- def initialize(**args)
886
- update!(**args)
887
- end
888
-
889
- # Update properties of this object
890
- def update!(**args)
891
- @impression_signal = args[:impression_signal] if args.key?(:impression_signal)
892
- end
893
- end
894
-
895
- # A single comparison. The comparison compares the `signal` to the `
896
- # comparisonValue`. The comparison of `siteId==123` is represented with the
897
- # following field values: * `signal` has an `impressionSignal` of `SITE_ID`. * `
898
- # comparisonOperator` is set to `EQUAL`. * `comparisonValue` is set to 123.
899
- class AlgorithmRulesSignalComparison
900
- include Google::Apis::Core::Hashable
901
-
902
- # Operator used to compare the two values. In the resulting experession, the `
903
- # signal` will be the first value and the `comparisonValue will be the second.
904
- # Corresponds to the JSON property `comparisonOperator`
905
- # @return [String]
906
- attr_accessor :comparison_operator
907
-
908
- # A value to compare the signal to.
909
- # Corresponds to the JSON property `comparisonValue`
910
- # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesComparisonValue]
911
- attr_accessor :comparison_value
912
-
913
- # Signal used to evaluate rules.
914
- # Corresponds to the JSON property `signal`
915
- # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesSignal]
916
- attr_accessor :signal
917
-
918
- def initialize(**args)
919
- update!(**args)
920
- end
921
-
922
- # Update properties of this object
923
- def update!(**args)
924
- @comparison_operator = args[:comparison_operator] if args.key?(:comparison_operator)
925
- @comparison_value = args[:comparison_value] if args.key?(:comparison_value)
926
- @signal = args[:signal] if args.key?(:signal)
927
- end
928
- end
929
-
930
- # Adjusted value of the signal used for rule evaluation.
931
- class AlgorithmRulesSignalValue
932
- include Google::Apis::Core::Hashable
933
-
934
- # Value to use as result.
935
- # Corresponds to the JSON property `number`
936
- # @return [Float]
937
- attr_accessor :number
938
-
939
- def initialize(**args)
940
- update!(**args)
941
- end
942
-
943
- # Update properties of this object
944
- def update!(**args)
945
- @number = args[:number] if args.key?(:number)
946
- end
947
- end
948
-
949
696
  # Details for assigned app targeting option. This will be populated in the
950
697
  # details field of an AssignedTargetingOption when targeting_type is `
951
698
  # TARGETING_TYPE_APP`.
@@ -5053,37 +4800,6 @@ module Google
5053
4800
  end
5054
4801
  end
5055
4802
 
5056
- # Representation of time defined by day of the week and hour of the day.
5057
- class DayAndTime
5058
- include Google::Apis::Core::Hashable
5059
-
5060
- # Required. Day of the week.
5061
- # Corresponds to the JSON property `dayOfWeek`
5062
- # @return [String]
5063
- attr_accessor :day_of_week
5064
-
5065
- # Required. Hour of the day.
5066
- # Corresponds to the JSON property `hourOfDay`
5067
- # @return [Fixnum]
5068
- attr_accessor :hour_of_day
5069
-
5070
- # Required. The mechanism used to determine the relevant timezone.
5071
- # Corresponds to the JSON property `timeZoneResolution`
5072
- # @return [String]
5073
- attr_accessor :time_zone_resolution
5074
-
5075
- def initialize(**args)
5076
- update!(**args)
5077
- end
5078
-
5079
- # Update properties of this object
5080
- def update!(**args)
5081
- @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
5082
- @hour_of_day = args[:hour_of_day] if args.key?(:hour_of_day)
5083
- @time_zone_resolution = args[:time_zone_resolution] if args.key?(:time_zone_resolution)
5084
- end
5085
- end
5086
-
5087
4803
  # Representation of a segment of time defined on a specific day of the week and
5088
4804
  # with a start and end time. The time represented by `start_hour` must be before
5089
4805
  # the time represented by `end_hour`.
@@ -6302,10 +6018,10 @@ module Google
6302
6018
  # @return [Fixnum]
6303
6019
  attr_accessor :max_impressions
6304
6020
 
6305
- # The maximum number of times a user may click-through or fully view an ad
6306
- # during this period until it is no longer served to them. Must be greater than
6307
- # 0. Only applicable to YouTube and Partners resources. Required when unlimited
6308
- # is `false` and max_impressions is not set.
6021
+ # Optional. The maximum number of times a user may click-through or fully view
6022
+ # an ad during this period until it is no longer served to them. Must be greater
6023
+ # than 0. Only applicable to YouTube and Partners resources. Required when
6024
+ # unlimited is `false` and max_impressions is not set.
6309
6025
  # Corresponds to the JSON property `maxViews`
6310
6026
  # @return [Fixnum]
6311
6027
  attr_accessor :max_views
@@ -10488,13 +10204,16 @@ module Google
10488
10204
  attr_accessor :proximity_radius_unit
10489
10205
 
10490
10206
  # Required. The targeting_option_id of a TargetingOption of type `
10491
- # TARGETING_TYPE_POI`. Accepted POI targeting option IDs can be retrieved using
10492
- # SearchTargetingOptions. If targeting a specific latitude/longitude coordinate
10493
- # removed from an address or POI name, you can generate the necessary targeting
10494
- # option ID by rounding the desired coordinate values to the 6th decimal place,
10495
- # removing the decimals, and concatenating the string values separated by a
10496
- # semicolon. For example, you can target the latitude/longitude pair of 40.
10497
- # 7414691, -74.003387 using the targeting option ID "40741469;-74003387".
10207
+ # TARGETING_TYPE_POI`. Accepted POI targeting option IDs can be retrieved using `
10208
+ # targetingTypes.targetingOptions.search`. If targeting a specific latitude/
10209
+ # longitude coordinate removed from an address or POI name, you can generate the
10210
+ # necessary targeting option ID by rounding the desired coordinate values to the
10211
+ # 6th decimal place, removing the decimals, and concatenating the string values
10212
+ # separated by a semicolon. For example, you can target the latitude/longitude
10213
+ # pair of 40.7414691, -74.003387 using the targeting option ID "40741469;-
10214
+ # 74003387". **Upon** **creation, this field value will be updated to append a
10215
+ # semicolon and** **alphanumerical hash value if only latitude/longitude
10216
+ # coordinates are** **provided.**
10498
10217
  # Corresponds to the JSON property `targetingOptionId`
10499
10218
  # @return [String]
10500
10219
  attr_accessor :targeting_option_id
@@ -11018,61 +10737,6 @@ module Google
11018
10737
  end
11019
10738
  end
11020
10739
 
11021
- # Type for the response returned by [SdfDownloadTaskService.
11022
- # CreateSdfDownloadTask].
11023
- class SdfDownloadTask
11024
- include Google::Apis::Core::Hashable
11025
-
11026
- # A resource name to be used in media.download to Download the prepared files.
11027
- # Resource names have the format `download/sdfdownloadtasks/media/`media_id``. `
11028
- # media_id` will be made available by the long running operation service once
11029
- # the task status is done.
11030
- # Corresponds to the JSON property `resourceName`
11031
- # @return [String]
11032
- attr_accessor :resource_name
11033
-
11034
- def initialize(**args)
11035
- update!(**args)
11036
- end
11037
-
11038
- # Update properties of this object
11039
- def update!(**args)
11040
- @resource_name = args[:resource_name] if args.key?(:resource_name)
11041
- end
11042
- end
11043
-
11044
- # Type for the metadata returned by [SdfDownloadTaskService.
11045
- # CreateSdfDownloadTask].
11046
- class SdfDownloadTaskMetadata
11047
- include Google::Apis::Core::Hashable
11048
-
11049
- # The time when the operation was created.
11050
- # Corresponds to the JSON property `createTime`
11051
- # @return [String]
11052
- attr_accessor :create_time
11053
-
11054
- # The time when execution was completed.
11055
- # Corresponds to the JSON property `endTime`
11056
- # @return [String]
11057
- attr_accessor :end_time
11058
-
11059
- # The SDF version used to execute this download task.
11060
- # Corresponds to the JSON property `version`
11061
- # @return [String]
11062
- attr_accessor :version
11063
-
11064
- def initialize(**args)
11065
- update!(**args)
11066
- end
11067
-
11068
- # Update properties of this object
11069
- def update!(**args)
11070
- @create_time = args[:create_time] if args.key?(:create_time)
11071
- @end_time = args[:end_time] if args.key?(:end_time)
11072
- @version = args[:version] if args.key?(:version)
11073
- end
11074
- end
11075
-
11076
10740
  # Request message for SearchTargetingOptions.
11077
10741
  class SearchTargetingOptionsRequest
11078
10742
  include Google::Apis::Core::Hashable
@@ -12082,6 +11746,11 @@ module Google
12082
11746
  # @return [String]
12083
11747
  attr_accessor :email
12084
11748
 
11749
+ # Output only. The timestamp when the user last logged in DV360 UI.
11750
+ # Corresponds to the JSON property `lastLoginTime`
11751
+ # @return [String]
11752
+ attr_accessor :last_login_time
11753
+
12085
11754
  # Output only. The resource name of the user.
12086
11755
  # Corresponds to the JSON property `name`
12087
11756
  # @return [String]
@@ -12101,6 +11770,7 @@ module Google
12101
11770
  @assigned_user_roles = args[:assigned_user_roles] if args.key?(:assigned_user_roles)
12102
11771
  @display_name = args[:display_name] if args.key?(:display_name)
12103
11772
  @email = args[:email] if args.key?(:email)
11773
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
12104
11774
  @name = args[:name] if args.key?(:name)
12105
11775
  @user_id = args[:user_id] if args.key?(:user_id)
12106
11776
  end
@@ -12486,8 +12156,14 @@ module Google
12486
12156
  class YoutubeAndPartnersInventorySourceConfig
12487
12157
  include Google::Apis::Core::Hashable
12488
12158
 
12489
- # Whether to target inventory on YouTube. This includes both search, channels
12490
- # and videos.
12159
+ # Optional. Whether to target inventory in video apps available with Google TV.
12160
+ # Corresponds to the JSON property `includeGoogleTv`
12161
+ # @return [Boolean]
12162
+ attr_accessor :include_google_tv
12163
+ alias_method :include_google_tv?, :include_google_tv
12164
+
12165
+ # Optional. Whether to target inventory on YouTube. This includes both search,
12166
+ # channels and videos.
12491
12167
  # Corresponds to the JSON property `includeYoutube`
12492
12168
  # @return [Boolean]
12493
12169
  attr_accessor :include_youtube
@@ -12506,6 +12182,7 @@ module Google
12506
12182
 
12507
12183
  # Update properties of this object
12508
12184
  def update!(**args)
12185
+ @include_google_tv = args[:include_google_tv] if args.key?(:include_google_tv)
12509
12186
  @include_youtube = args[:include_youtube] if args.key?(:include_youtube)
12510
12187
  @include_youtube_video_partners = args[:include_youtube_video_partners] if args.key?(:include_youtube_video_partners)
12511
12188
  end
@@ -12533,18 +12210,19 @@ module Google
12533
12210
  # @return [Google::Apis::DisplayvideoV3::YoutubeAndPartnersInventorySourceConfig]
12534
12211
  attr_accessor :inventory_source_settings
12535
12212
 
12536
- # The ID of the form to generate leads.
12213
+ # Optional. The ID of the form to generate leads.
12537
12214
  # Corresponds to the JSON property `leadFormId`
12538
12215
  # @return [Fixnum]
12539
12216
  attr_accessor :lead_form_id
12540
12217
 
12541
- # The ID of the merchant which is linked to the line item for product feed.
12218
+ # Optional. The ID of the merchant which is linked to the line item for product
12219
+ # feed.
12542
12220
  # Corresponds to the JSON property `linkedMerchantId`
12543
12221
  # @return [Fixnum]
12544
12222
  attr_accessor :linked_merchant_id
12545
12223
 
12546
- # The IDs of the videos appear below the primary video ad when the ad is playing
12547
- # in the YouTube app on mobile devices.
12224
+ # Optional. The IDs of the videos appear below the primary video ad when the ad
12225
+ # is playing in the YouTube app on mobile devices.
12548
12226
  # Corresponds to the JSON property `relatedVideoIds`
12549
12227
  # @return [Array<String>]
12550
12228
  attr_accessor :related_video_ids
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV3
18
18
  # Version of the google-apis-displayvideo_v3 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
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231113"
25
+ REVISION = "20240118"
26
26
  end
27
27
  end
28
28
  end
@@ -118,54 +118,6 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class AlgorithmRules
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class AlgorithmRulesComparisonValue
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
- class AlgorithmRulesRule
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
- class AlgorithmRulesRuleCondition
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
- class AlgorithmRulesRuleset
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
- class AlgorithmRulesSignal
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
- class AlgorithmRulesSignalComparison
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class AlgorithmRulesSignalValue
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
121
  class AppAssignedTargetingOptionDetails
170
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
123
 
@@ -754,12 +706,6 @@ module Google
754
706
  include Google::Apis::Core::JsonObjectSupport
755
707
  end
756
708
 
757
- class DayAndTime
758
- class Representation < Google::Apis::Core::JsonRepresentation; end
759
-
760
- include Google::Apis::Core::JsonObjectSupport
761
- end
762
-
763
709
  class DayAndTimeAssignedTargetingOptionDetails
764
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
765
711
 
@@ -1774,18 +1720,6 @@ module Google
1774
1720
  include Google::Apis::Core::JsonObjectSupport
1775
1721
  end
1776
1722
 
1777
- class SdfDownloadTask
1778
- class Representation < Google::Apis::Core::JsonRepresentation; end
1779
-
1780
- include Google::Apis::Core::JsonObjectSupport
1781
- end
1782
-
1783
- class SdfDownloadTaskMetadata
1784
- class Representation < Google::Apis::Core::JsonRepresentation; end
1785
-
1786
- include Google::Apis::Core::JsonObjectSupport
1787
- end
1788
-
1789
1723
  class SearchTargetingOptionsRequest
1790
1724
  class Representation < Google::Apis::Core::JsonRepresentation; end
1791
1725
 
@@ -2211,87 +2145,6 @@ module Google
2211
2145
  end
2212
2146
  end
2213
2147
 
2214
- class AlgorithmRules
2215
- # @private
2216
- class Representation < Google::Apis::Core::JsonRepresentation
2217
- property :impression_signal_ruleset, as: 'impressionSignalRuleset', class: Google::Apis::DisplayvideoV3::AlgorithmRulesRuleset, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesRuleset::Representation
2218
-
2219
- end
2220
- end
2221
-
2222
- class AlgorithmRulesComparisonValue
2223
- # @private
2224
- class Representation < Google::Apis::Core::JsonRepresentation
2225
- property :bool_value, as: 'boolValue'
2226
- property :creative_dimension_value, as: 'creativeDimensionValue', class: Google::Apis::DisplayvideoV3::Dimensions, decorator: Google::Apis::DisplayvideoV3::Dimensions::Representation
2227
-
2228
- property :day_and_time_value, as: 'dayAndTimeValue', class: Google::Apis::DisplayvideoV3::DayAndTime, decorator: Google::Apis::DisplayvideoV3::DayAndTime::Representation
2229
-
2230
- property :device_type_value, as: 'deviceTypeValue'
2231
- property :double_value, as: 'doubleValue'
2232
- property :environment_value, as: 'environmentValue'
2233
- property :exchange_value, as: 'exchangeValue'
2234
- property :int64_value, :numeric_string => true, as: 'int64Value'
2235
- property :on_screen_position_value, as: 'onScreenPositionValue'
2236
- property :string_value, as: 'stringValue'
2237
- end
2238
- end
2239
-
2240
- class AlgorithmRulesRule
2241
- # @private
2242
- class Representation < Google::Apis::Core::JsonRepresentation
2243
- collection :conditions, as: 'conditions', class: Google::Apis::DisplayvideoV3::AlgorithmRulesRuleCondition, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesRuleCondition::Representation
2244
-
2245
- property :default_return_value, as: 'defaultReturnValue', class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue::Representation
2246
-
2247
- end
2248
- end
2249
-
2250
- class AlgorithmRulesRuleCondition
2251
- # @private
2252
- class Representation < Google::Apis::Core::JsonRepresentation
2253
- property :return_value, as: 'returnValue', class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue::Representation
2254
-
2255
- collection :signal_comparisons, as: 'signalComparisons', class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalComparison, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalComparison::Representation
2256
-
2257
- end
2258
- end
2259
-
2260
- class AlgorithmRulesRuleset
2261
- # @private
2262
- class Representation < Google::Apis::Core::JsonRepresentation
2263
- property :aggregation_type, as: 'aggregationType'
2264
- property :max_value, as: 'maxValue'
2265
- collection :rules, as: 'rules', class: Google::Apis::DisplayvideoV3::AlgorithmRulesRule, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesRule::Representation
2266
-
2267
- end
2268
- end
2269
-
2270
- class AlgorithmRulesSignal
2271
- # @private
2272
- class Representation < Google::Apis::Core::JsonRepresentation
2273
- property :impression_signal, as: 'impressionSignal'
2274
- end
2275
- end
2276
-
2277
- class AlgorithmRulesSignalComparison
2278
- # @private
2279
- class Representation < Google::Apis::Core::JsonRepresentation
2280
- property :comparison_operator, as: 'comparisonOperator'
2281
- property :comparison_value, as: 'comparisonValue', class: Google::Apis::DisplayvideoV3::AlgorithmRulesComparisonValue, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesComparisonValue::Representation
2282
-
2283
- property :signal, as: 'signal', class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignal, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesSignal::Representation
2284
-
2285
- end
2286
- end
2287
-
2288
- class AlgorithmRulesSignalValue
2289
- # @private
2290
- class Representation < Google::Apis::Core::JsonRepresentation
2291
- property :number, as: 'number'
2292
- end
2293
- end
2294
-
2295
2148
  class AppAssignedTargetingOptionDetails
2296
2149
  # @private
2297
2150
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3377,15 +3230,6 @@ module Google
3377
3230
  end
3378
3231
  end
3379
3232
 
3380
- class DayAndTime
3381
- # @private
3382
- class Representation < Google::Apis::Core::JsonRepresentation
3383
- property :day_of_week, as: 'dayOfWeek'
3384
- property :hour_of_day, as: 'hourOfDay'
3385
- property :time_zone_resolution, as: 'timeZoneResolution'
3386
- end
3387
- end
3388
-
3389
3233
  class DayAndTimeAssignedTargetingOptionDetails
3390
3234
  # @private
3391
3235
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5027,22 +4871,6 @@ module Google
5027
4871
  end
5028
4872
  end
5029
4873
 
5030
- class SdfDownloadTask
5031
- # @private
5032
- class Representation < Google::Apis::Core::JsonRepresentation
5033
- property :resource_name, as: 'resourceName'
5034
- end
5035
- end
5036
-
5037
- class SdfDownloadTaskMetadata
5038
- # @private
5039
- class Representation < Google::Apis::Core::JsonRepresentation
5040
- property :create_time, as: 'createTime'
5041
- property :end_time, as: 'endTime'
5042
- property :version, as: 'version'
5043
- end
5044
- end
5045
-
5046
4874
  class SearchTargetingOptionsRequest
5047
4875
  # @private
5048
4876
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5325,6 +5153,7 @@ module Google
5325
5153
 
5326
5154
  property :display_name, as: 'displayName'
5327
5155
  property :email, as: 'email'
5156
+ property :last_login_time, as: 'lastLoginTime'
5328
5157
  property :name, as: 'name'
5329
5158
  property :user_id, :numeric_string => true, as: 'userId'
5330
5159
  end
@@ -5437,6 +5266,7 @@ module Google
5437
5266
  class YoutubeAndPartnersInventorySourceConfig
5438
5267
  # @private
5439
5268
  class Representation < Google::Apis::Core::JsonRepresentation
5269
+ property :include_google_tv, as: 'includeGoogleTv'
5440
5270
  property :include_youtube, as: 'includeYoutube'
5441
5271
  property :include_youtube_video_partners, as: 'includeYoutubeVideoPartners'
5442
5272
  end
@@ -34,6 +34,8 @@ module Google
34
34
  #
35
35
  # @see https://developers.google.com/display-video/
36
36
  class DisplayVideoService < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "https://displayvideo.$UNIVERSE_DOMAIN$/"
38
+
37
39
  # @return [String]
38
40
  # API key. Your API key identifies your project and provides you with API access,
39
41
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -45,7 +47,7 @@ module Google
45
47
  attr_accessor :quota_user
46
48
 
47
49
  def initialize
48
- super('https://displayvideo.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-displayvideo_v3',
50
52
  client_version: Google::Apis::DisplayvideoV3::GEM_VERSION)
51
53
  @batch_path = 'batch'
@@ -1596,7 +1598,9 @@ module Google
1596
1598
  execute_or_queue_command(command, &block)
1597
1599
  end
1598
1600
 
1599
- # Creates a new creative. Returns the newly created creative if successful.
1601
+ # Creates a new creative. Returns the newly created creative if successful. A ["
1602
+ # Standard" user role](//support.google.com/displayvideo/answer/2723011) or
1603
+ # greater for the parent advertiser or partner is required to make this request.
1600
1604
  # @param [Fixnum] advertiser_id
1601
1605
  # Output only. The unique ID of the advertiser the creative belongs to.
1602
1606
  # @param [Google::Apis::DisplayvideoV3::Creative] creative_object
@@ -1631,7 +1635,9 @@ module Google
1631
1635
 
1632
1636
  # Deletes a creative. Returns error code `NOT_FOUND` if the creative does not
1633
1637
  # exist. The creative should be archived first, i.e. set entity_status to `
1634
- # ENTITY_STATUS_ARCHIVED`, before it can be deleted.
1638
+ # ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user role](//
1639
+ # support.google.com/displayvideo/answer/2723011) or greater for the parent
1640
+ # advertiser or partner is required to make this request.
1635
1641
  # @param [Fixnum] advertiser_id
1636
1642
  # The ID of the advertiser this creative belongs to.
1637
1643
  # @param [Fixnum] creative_id
@@ -1781,7 +1787,9 @@ module Google
1781
1787
  execute_or_queue_command(command, &block)
1782
1788
  end
1783
1789
 
1784
- # Updates an existing creative. Returns the updated creative if successful.
1790
+ # Updates an existing creative. Returns the updated creative if successful. A ["
1791
+ # Standard" user role](//support.google.com/displayvideo/answer/2723011) or
1792
+ # greater for the parent advertiser or partner is required to make this request.
1785
1793
  # @param [Fixnum] advertiser_id
1786
1794
  # Output only. The unique ID of the advertiser the creative belongs to.
1787
1795
  # @param [Fixnum] creative_id
@@ -2461,7 +2469,8 @@ module Google
2461
2469
  # create_requests. Requests to this endpoint cannot be made concurrently with
2462
2470
  # the following requests updating the same line item: * lineItems.bulkUpdate *
2463
2471
  # lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.
2464
- # delete
2472
+ # delete YouTube & Partners line items cannot be created or updated using the
2473
+ # API.
2465
2474
  # @param [Fixnum] advertiser_id
2466
2475
  # Required. The ID of the advertiser the line items belong to.
2467
2476
  # @param [Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsRequest] bulk_edit_assigned_targeting_options_request_object
@@ -2564,7 +2573,8 @@ module Google
2564
2573
  # Updates multiple line items. Requests to this endpoint cannot be made
2565
2574
  # concurrently with the following requests updating the same line item: *
2566
2575
  # BulkEditAssignedTargetingOptions * UpdateLineItem * assignedTargetingOptions.
2567
- # create * assignedTargetingOptions.delete
2576
+ # create * assignedTargetingOptions.delete YouTube & Partners line items cannot
2577
+ # be created or updated using the API.
2568
2578
  # @param [Fixnum] advertiser_id
2569
2579
  # Required. The ID of the advertiser this line item belongs to.
2570
2580
  # @param [Google::Apis::DisplayvideoV3::BulkUpdateLineItemsRequest] bulk_update_line_items_request_object
@@ -2598,6 +2608,7 @@ module Google
2598
2608
  end
2599
2609
 
2600
2610
  # Creates a new line item. Returns the newly created line item if successful.
2611
+ # YouTube & Partners line items cannot be created or updated using the API.
2601
2612
  # @param [Fixnum] advertiser_id
2602
2613
  # Output only. The unique ID of the advertiser the line item belongs to.
2603
2614
  # @param [Google::Apis::DisplayvideoV3::LineItem] line_item_object
@@ -2632,7 +2643,8 @@ module Google
2632
2643
 
2633
2644
  # Deletes a line item. Returns error code `NOT_FOUND` if the line item does not
2634
2645
  # exist. The line item should be archived first, i.e. set entity_status to `
2635
- # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
2646
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it. YouTube & Partners line
2647
+ # items cannot be created or updated using the API.
2636
2648
  # @param [Fixnum] advertiser_id
2637
2649
  # The ID of the advertiser this line item belongs to.
2638
2650
  # @param [Fixnum] line_item_id
@@ -2666,6 +2678,7 @@ module Google
2666
2678
  end
2667
2679
 
2668
2680
  # Duplicates a line item. Returns the ID of the created line item if successful.
2681
+ # YouTube & Partners line items cannot be created or updated using the API.
2669
2682
  # @param [Fixnum] advertiser_id
2670
2683
  # Required. The ID of the advertiser this line item belongs to.
2671
2684
  # @param [Fixnum] line_item_id
@@ -2705,7 +2718,8 @@ module Google
2705
2718
  # insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the newly
2706
2719
  # created line item if successful. There are default values based on the three
2707
2720
  # fields: * The insertion order's insertion_order_type * The insertion order's
2708
- # automation_type * The given line_item_type
2721
+ # automation_type * The given line_item_type YouTube & Partners line items
2722
+ # cannot be created or updated using the API.
2709
2723
  # @param [Fixnum] advertiser_id
2710
2724
  # Required. The ID of the advertiser this line item belongs to.
2711
2725
  # @param [Google::Apis::DisplayvideoV3::GenerateDefaultLineItemRequest] generate_default_line_item_request_object
@@ -2845,7 +2859,8 @@ module Google
2845
2859
  # Requests to this endpoint cannot be made concurrently with the following
2846
2860
  # requests updating the same line item: * BulkEditAssignedTargetingOptions *
2847
2861
  # BulkUpdateLineItems * assignedTargetingOptions.create *
2848
- # assignedTargetingOptions.delete
2862
+ # assignedTargetingOptions.delete YouTube & Partners line items cannot be
2863
+ # created or updated using the API.
2849
2864
  # @param [Fixnum] advertiser_id
2850
2865
  # Output only. The unique ID of the advertiser the line item belongs to.
2851
2866
  # @param [Fixnum] line_item_id
@@ -2888,7 +2903,8 @@ module Google
2888
2903
  # option if successful. Requests to this endpoint cannot be made concurrently
2889
2904
  # with the following requests updating the same line item: * lineItems.
2890
2905
  # bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch *
2891
- # DeleteLineItemAssignedTargetingOption
2906
+ # DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be
2907
+ # created or updated using the API.
2892
2908
  # @param [Fixnum] advertiser_id
2893
2909
  # Required. The ID of the advertiser the line item belongs to.
2894
2910
  # @param [Fixnum] line_item_id
@@ -2955,7 +2971,8 @@ module Google
2955
2971
  # Deletes an assigned targeting option from a line item. Requests to this
2956
2972
  # endpoint cannot be made concurrently with the following requests updating the
2957
2973
  # same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.
2958
- # bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption
2974
+ # bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube &
2975
+ # Partners line items cannot be created or updated using the API.
2959
2976
  # @param [Fixnum] advertiser_id
2960
2977
  # Required. The ID of the advertiser the line item belongs to.
2961
2978
  # @param [Fixnum] line_item_id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v3
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
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v3/v0.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v3/v0.4.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v3
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Display & Video 360 API V3