google-apis-displayvideo_v3 0.4.0 → 0.6.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: db80f386c280e3b33f4036a530252dc4fd92a19b6692197fcbc54f433eb64bb5
4
- data.tar.gz: 207f96353d4278674e87b6874bdb6e3ad3c3f0777d2563a58af6dbd31ab97ea5
3
+ metadata.gz: 882929268c99c4f37aac673a968ff2da69db8678df9cd91e761b59f6f31ef32b
4
+ data.tar.gz: 673a7974e191d9ece8e79f0136e430f276a5aab1d6086a3c0a8fd0e5bdb97bcb
5
5
  SHA512:
6
- metadata.gz: 187c17cb702d12d1cbc8dff091efadfd09a3e22c4577923e78dbda1382f1b62ac0829b09a97af1c449c03f5f9d0fc518e417fee3fe525efc60f0e56418bbca25
7
- data.tar.gz: 72be8991d8294986b2cf9e169adf4dd0b232fd1272f1b26b6e9a1c1fcfaefc25234a6d3cb36a460e6aa6ebea80f63d99235f436f1d059e9f2873f4945564955e
6
+ metadata.gz: e4bd829b665762d34e83b043683a74ae97dd1ec95cf94eeb94279f675085b232506e2515ee4746d9e5f3330a72027e1cd9bf2703dea8f70f094dfad4a35765c4
7
+ data.tar.gz: 26fbafd9aab915189b73c037a53047644a3f40d10f95a9bfb05d05f9ce1f4c8e92e423578d27e6101ec5e1592d256667f03f3fb9f7b913990434a887f869d411
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-displayvideo_v3
2
2
 
3
+ ### v0.6.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240201
6
+
7
+ ### v0.5.0 (2024-01-28)
8
+
9
+ * Regenerated from discovery document revision 20240125
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.4.0 (2024-01-22)
4
13
 
5
14
  * Regenerated from discovery document revision 20240118
@@ -498,9 +498,12 @@ module Google
498
498
  attr_accessor :ias_client_id
499
499
 
500
500
  # Whether or not to use DV360's Online Behavioral Advertising (OBA) compliance.
501
- # Warning: Changing OBA settings may cause the audit status of your creatives to
502
- # be reset by some ad exchanges, making them ineligible to serve until they are
503
- # re-approved.
501
+ # Starting on February 9, 2024, this field will be affected by an update to the
502
+ # Display & Video 360 API Terms of Service. See our [announcement](//ads-
503
+ # developers.googleblog.com/2024/01/update-to-display-video-360-api-terms.html)
504
+ # for more detail. Warning: Changing OBA settings may cause the audit status of
505
+ # your creatives to be reset by some ad exchanges, making them ineligible to
506
+ # serve until they are re-approved.
504
507
  # Corresponds to the JSON property `obaComplianceDisabled`
505
508
  # @return [Boolean]
506
509
  attr_accessor :oba_compliance_disabled
@@ -693,6 +696,259 @@ module Google
693
696
  end
694
697
  end
695
698
 
699
+ # Rule-based algorithm.
700
+ class AlgorithmRules
701
+ include Google::Apis::Core::Hashable
702
+
703
+ # A ruleset consisting of a list of rules and how to aggregate the resulting
704
+ # values.
705
+ # Corresponds to the JSON property `impressionSignalRuleset`
706
+ # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesRuleset]
707
+ attr_accessor :impression_signal_ruleset
708
+
709
+ def initialize(**args)
710
+ update!(**args)
711
+ end
712
+
713
+ # Update properties of this object
714
+ def update!(**args)
715
+ @impression_signal_ruleset = args[:impression_signal_ruleset] if args.key?(:impression_signal_ruleset)
716
+ end
717
+ end
718
+
719
+ # A value to compare the signal to.
720
+ class AlgorithmRulesComparisonValue
721
+ include Google::Apis::Core::Hashable
722
+
723
+ # Boolean value.
724
+ # Corresponds to the JSON property `boolValue`
725
+ # @return [Boolean]
726
+ attr_accessor :bool_value
727
+ alias_method :bool_value?, :bool_value
728
+
729
+ # Dimensions.
730
+ # Corresponds to the JSON property `creativeDimensionValue`
731
+ # @return [Google::Apis::DisplayvideoV3::Dimensions]
732
+ attr_accessor :creative_dimension_value
733
+
734
+ # Representation of time defined by day of the week and hour of the day.
735
+ # Corresponds to the JSON property `dayAndTimeValue`
736
+ # @return [Google::Apis::DisplayvideoV3::DayAndTime]
737
+ attr_accessor :day_and_time_value
738
+
739
+ # Device type value.
740
+ # Corresponds to the JSON property `deviceTypeValue`
741
+ # @return [String]
742
+ attr_accessor :device_type_value
743
+
744
+ # Double value.
745
+ # Corresponds to the JSON property `doubleValue`
746
+ # @return [Float]
747
+ attr_accessor :double_value
748
+
749
+ # Environment value.
750
+ # Corresponds to the JSON property `environmentValue`
751
+ # @return [String]
752
+ attr_accessor :environment_value
753
+
754
+ # Exchange value.
755
+ # Corresponds to the JSON property `exchangeValue`
756
+ # @return [String]
757
+ attr_accessor :exchange_value
758
+
759
+ # Integer value.
760
+ # Corresponds to the JSON property `int64Value`
761
+ # @return [Fixnum]
762
+ attr_accessor :int64_value
763
+
764
+ # Ad position value.
765
+ # Corresponds to the JSON property `onScreenPositionValue`
766
+ # @return [String]
767
+ attr_accessor :on_screen_position_value
768
+
769
+ # String value.
770
+ # Corresponds to the JSON property `stringValue`
771
+ # @return [String]
772
+ attr_accessor :string_value
773
+
774
+ def initialize(**args)
775
+ update!(**args)
776
+ end
777
+
778
+ # Update properties of this object
779
+ def update!(**args)
780
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
781
+ @creative_dimension_value = args[:creative_dimension_value] if args.key?(:creative_dimension_value)
782
+ @day_and_time_value = args[:day_and_time_value] if args.key?(:day_and_time_value)
783
+ @device_type_value = args[:device_type_value] if args.key?(:device_type_value)
784
+ @double_value = args[:double_value] if args.key?(:double_value)
785
+ @environment_value = args[:environment_value] if args.key?(:environment_value)
786
+ @exchange_value = args[:exchange_value] if args.key?(:exchange_value)
787
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
788
+ @on_screen_position_value = args[:on_screen_position_value] if args.key?(:on_screen_position_value)
789
+ @string_value = args[:string_value] if args.key?(:string_value)
790
+ end
791
+ end
792
+
793
+ # Set of conditions. The return value of the rule is either: * The return value
794
+ # for single met condition or * The defined default return value if no
795
+ # conditions are met.
796
+ class AlgorithmRulesRule
797
+ include Google::Apis::Core::Hashable
798
+
799
+ # List of conditions in this rule. The criteria among conditions should be
800
+ # mutually exclusive.
801
+ # Corresponds to the JSON property `conditions`
802
+ # @return [Array<Google::Apis::DisplayvideoV3::AlgorithmRulesRuleCondition>]
803
+ attr_accessor :conditions
804
+
805
+ # Adjusted value of the signal used for rule evaluation.
806
+ # Corresponds to the JSON property `defaultReturnValue`
807
+ # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue]
808
+ attr_accessor :default_return_value
809
+
810
+ def initialize(**args)
811
+ update!(**args)
812
+ end
813
+
814
+ # Update properties of this object
815
+ def update!(**args)
816
+ @conditions = args[:conditions] if args.key?(:conditions)
817
+ @default_return_value = args[:default_return_value] if args.key?(:default_return_value)
818
+ end
819
+ end
820
+
821
+ # Set of signal comparisons. Equivalent of an `if` statement.
822
+ class AlgorithmRulesRuleCondition
823
+ include Google::Apis::Core::Hashable
824
+
825
+ # Adjusted value of the signal used for rule evaluation.
826
+ # Corresponds to the JSON property `returnValue`
827
+ # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue]
828
+ attr_accessor :return_value
829
+
830
+ # List of comparisons that build `if` statement condition. The comparisons are
831
+ # combined into a single condition with `AND` logical operators.
832
+ # Corresponds to the JSON property `signalComparisons`
833
+ # @return [Array<Google::Apis::DisplayvideoV3::AlgorithmRulesSignalComparison>]
834
+ attr_accessor :signal_comparisons
835
+
836
+ def initialize(**args)
837
+ update!(**args)
838
+ end
839
+
840
+ # Update properties of this object
841
+ def update!(**args)
842
+ @return_value = args[:return_value] if args.key?(:return_value)
843
+ @signal_comparisons = args[:signal_comparisons] if args.key?(:signal_comparisons)
844
+ end
845
+ end
846
+
847
+ # A ruleset consisting of a list of rules and how to aggregate the resulting
848
+ # values.
849
+ class AlgorithmRulesRuleset
850
+ include Google::Apis::Core::Hashable
851
+
852
+ # How to aggregate values of evaluated rules.
853
+ # Corresponds to the JSON property `aggregationType`
854
+ # @return [String]
855
+ attr_accessor :aggregation_type
856
+
857
+ # Maximum value the ruleset can evaluate to.
858
+ # Corresponds to the JSON property `maxValue`
859
+ # @return [Float]
860
+ attr_accessor :max_value
861
+
862
+ # List of rules to generate the impression value.
863
+ # Corresponds to the JSON property `rules`
864
+ # @return [Array<Google::Apis::DisplayvideoV3::AlgorithmRulesRule>]
865
+ attr_accessor :rules
866
+
867
+ def initialize(**args)
868
+ update!(**args)
869
+ end
870
+
871
+ # Update properties of this object
872
+ def update!(**args)
873
+ @aggregation_type = args[:aggregation_type] if args.key?(:aggregation_type)
874
+ @max_value = args[:max_value] if args.key?(:max_value)
875
+ @rules = args[:rules] if args.key?(:rules)
876
+ end
877
+ end
878
+
879
+ # Signal used to evaluate rules.
880
+ class AlgorithmRulesSignal
881
+ include Google::Apis::Core::Hashable
882
+
883
+ # Signal based on impressions.
884
+ # Corresponds to the JSON property `impressionSignal`
885
+ # @return [String]
886
+ attr_accessor :impression_signal
887
+
888
+ def initialize(**args)
889
+ update!(**args)
890
+ end
891
+
892
+ # Update properties of this object
893
+ def update!(**args)
894
+ @impression_signal = args[:impression_signal] if args.key?(:impression_signal)
895
+ end
896
+ end
897
+
898
+ # A single comparison. The comparison compares the `signal` to the `
899
+ # comparisonValue`. The comparison of `siteId==123` is represented with the
900
+ # following field values: * `signal` has an `impressionSignal` of `SITE_ID`. * `
901
+ # comparisonOperator` is set to `EQUAL`. * `comparisonValue` is set to 123.
902
+ class AlgorithmRulesSignalComparison
903
+ include Google::Apis::Core::Hashable
904
+
905
+ # Operator used to compare the two values. In the resulting experession, the `
906
+ # signal` will be the first value and the `comparisonValue will be the second.
907
+ # Corresponds to the JSON property `comparisonOperator`
908
+ # @return [String]
909
+ attr_accessor :comparison_operator
910
+
911
+ # A value to compare the signal to.
912
+ # Corresponds to the JSON property `comparisonValue`
913
+ # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesComparisonValue]
914
+ attr_accessor :comparison_value
915
+
916
+ # Signal used to evaluate rules.
917
+ # Corresponds to the JSON property `signal`
918
+ # @return [Google::Apis::DisplayvideoV3::AlgorithmRulesSignal]
919
+ attr_accessor :signal
920
+
921
+ def initialize(**args)
922
+ update!(**args)
923
+ end
924
+
925
+ # Update properties of this object
926
+ def update!(**args)
927
+ @comparison_operator = args[:comparison_operator] if args.key?(:comparison_operator)
928
+ @comparison_value = args[:comparison_value] if args.key?(:comparison_value)
929
+ @signal = args[:signal] if args.key?(:signal)
930
+ end
931
+ end
932
+
933
+ # Adjusted value of the signal used for rule evaluation.
934
+ class AlgorithmRulesSignalValue
935
+ include Google::Apis::Core::Hashable
936
+
937
+ # Value to use as result.
938
+ # Corresponds to the JSON property `number`
939
+ # @return [Float]
940
+ attr_accessor :number
941
+
942
+ def initialize(**args)
943
+ update!(**args)
944
+ end
945
+
946
+ # Update properties of this object
947
+ def update!(**args)
948
+ @number = args[:number] if args.key?(:number)
949
+ end
950
+ end
951
+
696
952
  # Details for assigned app targeting option. This will be populated in the
697
953
  # details field of an AssignedTargetingOption when targeting_type is `
698
954
  # TARGETING_TYPE_APP`.
@@ -3108,6 +3364,12 @@ module Google
3108
3364
  # @return [Fixnum]
3109
3365
  attr_accessor :cm_account_id
3110
3366
 
3367
+ # Output only. The set of CM360 Advertiser IDs sharing the CM360 Floodlight
3368
+ # configuration.
3369
+ # Corresponds to the JSON property `cmAdvertiserIds`
3370
+ # @return [Array<Fixnum>]
3371
+ attr_accessor :cm_advertiser_ids
3372
+
3111
3373
  # Required. Immutable. ID of the CM360 Floodlight configuration linked with the
3112
3374
  # DV360 advertiser.
3113
3375
  # Corresponds to the JSON property `cmFloodlightConfigId`
@@ -3149,6 +3411,7 @@ module Google
3149
3411
  # Update properties of this object
3150
3412
  def update!(**args)
3151
3413
  @cm_account_id = args[:cm_account_id] if args.key?(:cm_account_id)
3414
+ @cm_advertiser_ids = args[:cm_advertiser_ids] if args.key?(:cm_advertiser_ids)
3152
3415
  @cm_floodlight_config_id = args[:cm_floodlight_config_id] if args.key?(:cm_floodlight_config_id)
3153
3416
  @cm_floodlight_linking_authorized = args[:cm_floodlight_linking_authorized] if args.key?(:cm_floodlight_linking_authorized)
3154
3417
  @cm_syncable_site_ids = args[:cm_syncable_site_ids] if args.key?(:cm_syncable_site_ids)
@@ -4800,6 +5063,37 @@ module Google
4800
5063
  end
4801
5064
  end
4802
5065
 
5066
+ # Representation of time defined by day of the week and hour of the day.
5067
+ class DayAndTime
5068
+ include Google::Apis::Core::Hashable
5069
+
5070
+ # Required. Day of the week.
5071
+ # Corresponds to the JSON property `dayOfWeek`
5072
+ # @return [String]
5073
+ attr_accessor :day_of_week
5074
+
5075
+ # Required. Hour of the day.
5076
+ # Corresponds to the JSON property `hourOfDay`
5077
+ # @return [Fixnum]
5078
+ attr_accessor :hour_of_day
5079
+
5080
+ # Required. The mechanism used to determine the relevant timezone.
5081
+ # Corresponds to the JSON property `timeZoneResolution`
5082
+ # @return [String]
5083
+ attr_accessor :time_zone_resolution
5084
+
5085
+ def initialize(**args)
5086
+ update!(**args)
5087
+ end
5088
+
5089
+ # Update properties of this object
5090
+ def update!(**args)
5091
+ @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
5092
+ @hour_of_day = args[:hour_of_day] if args.key?(:hour_of_day)
5093
+ @time_zone_resolution = args[:time_zone_resolution] if args.key?(:time_zone_resolution)
5094
+ end
5095
+ end
5096
+
4803
5097
  # Representation of a segment of time defined on a specific day of the week and
4804
5098
  # with a start and end time. The time represented by `start_hour` must be before
4805
5099
  # the time represented by `end_hour`.
@@ -5938,6 +6232,73 @@ module Google
5938
6232
  end
5939
6233
  end
5940
6234
 
6235
+ # A single Floodlight activity.
6236
+ class FloodlightActivity
6237
+ include Google::Apis::Core::Hashable
6238
+
6239
+ # Output only. IDs of the advertisers that have access to the parent Floodlight
6240
+ # group. Only advertisers under the provided partner ID will be listed in this
6241
+ # field.
6242
+ # Corresponds to the JSON property `advertiserIds`
6243
+ # @return [Array<Fixnum>]
6244
+ attr_accessor :advertiser_ids
6245
+
6246
+ # Required. The display name of the Floodlight activity.
6247
+ # Corresponds to the JSON property `displayName`
6248
+ # @return [String]
6249
+ attr_accessor :display_name
6250
+
6251
+ # Output only. The unique ID of the Floodlight activity. Assigned by the system.
6252
+ # Corresponds to the JSON property `floodlightActivityId`
6253
+ # @return [Fixnum]
6254
+ attr_accessor :floodlight_activity_id
6255
+
6256
+ # Required. Immutable. The ID of the parent Floodlight group.
6257
+ # Corresponds to the JSON property `floodlightGroupId`
6258
+ # @return [Fixnum]
6259
+ attr_accessor :floodlight_group_id
6260
+
6261
+ # Output only. The resource name of the Floodlight activity.
6262
+ # Corresponds to the JSON property `name`
6263
+ # @return [String]
6264
+ attr_accessor :name
6265
+
6266
+ # Output only. A list of configuration objects designating whether remarketing
6267
+ # for this Floodlight Activity is enabled and available for a specifc advertiser.
6268
+ # If enabled, this Floodlight Activity generates a remarketing user list that
6269
+ # is able to be used in targeting under the advertiser.
6270
+ # Corresponds to the JSON property `remarketingConfigs`
6271
+ # @return [Array<Google::Apis::DisplayvideoV3::RemarketingConfig>]
6272
+ attr_accessor :remarketing_configs
6273
+
6274
+ # Optional. Whether the Floodlight activity is served.
6275
+ # Corresponds to the JSON property `servingStatus`
6276
+ # @return [String]
6277
+ attr_accessor :serving_status
6278
+
6279
+ # Output only. Whether tags are required to be compliant.
6280
+ # Corresponds to the JSON property `sslRequired`
6281
+ # @return [Boolean]
6282
+ attr_accessor :ssl_required
6283
+ alias_method :ssl_required?, :ssl_required
6284
+
6285
+ def initialize(**args)
6286
+ update!(**args)
6287
+ end
6288
+
6289
+ # Update properties of this object
6290
+ def update!(**args)
6291
+ @advertiser_ids = args[:advertiser_ids] if args.key?(:advertiser_ids)
6292
+ @display_name = args[:display_name] if args.key?(:display_name)
6293
+ @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id)
6294
+ @floodlight_group_id = args[:floodlight_group_id] if args.key?(:floodlight_group_id)
6295
+ @name = args[:name] if args.key?(:name)
6296
+ @remarketing_configs = args[:remarketing_configs] if args.key?(:remarketing_configs)
6297
+ @serving_status = args[:serving_status] if args.key?(:serving_status)
6298
+ @ssl_required = args[:ssl_required] if args.key?(:ssl_required)
6299
+ end
6300
+ end
6301
+
5941
6302
  # A single Floodlight group.
5942
6303
  class FloodlightGroup
5943
6304
  include Google::Apis::Core::Hashable
@@ -8410,6 +8771,33 @@ module Google
8410
8771
  end
8411
8772
  end
8412
8773
 
8774
+ #
8775
+ class ListFloodlightActivitiesResponse
8776
+ include Google::Apis::Core::Hashable
8777
+
8778
+ # The list of Floodlight activities. This list will be absent if empty.
8779
+ # Corresponds to the JSON property `floodlightActivities`
8780
+ # @return [Array<Google::Apis::DisplayvideoV3::FloodlightActivity>]
8781
+ attr_accessor :floodlight_activities
8782
+
8783
+ # A token to retrieve the next page of results. Pass this value in the
8784
+ # page_token field in the subsequent call to `ListFloodlightActivities` method
8785
+ # to retrieve the next page of results.
8786
+ # Corresponds to the JSON property `nextPageToken`
8787
+ # @return [String]
8788
+ attr_accessor :next_page_token
8789
+
8790
+ def initialize(**args)
8791
+ update!(**args)
8792
+ end
8793
+
8794
+ # Update properties of this object
8795
+ def update!(**args)
8796
+ @floodlight_activities = args[:floodlight_activities] if args.key?(:floodlight_activities)
8797
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8798
+ end
8799
+ end
8800
+
8413
8801
  #
8414
8802
  class ListGoogleAudiencesResponse
8415
8803
  include Google::Apis::Core::Hashable
@@ -10539,6 +10927,34 @@ module Google
10539
10927
  end
10540
10928
  end
10541
10929
 
10930
+ # Settings that control the whether remarketing is enabled for the given
10931
+ # identified advertiser.
10932
+ class RemarketingConfig
10933
+ include Google::Apis::Core::Hashable
10934
+
10935
+ # Output only. The ID of the advertiser.
10936
+ # Corresponds to the JSON property `advertiserId`
10937
+ # @return [Fixnum]
10938
+ attr_accessor :advertiser_id
10939
+
10940
+ # Output only. Whether the Floodlight activity remarketing user list is
10941
+ # available to the identified advertiser.
10942
+ # Corresponds to the JSON property `remarketingEnabled`
10943
+ # @return [Boolean]
10944
+ attr_accessor :remarketing_enabled
10945
+ alias_method :remarketing_enabled?, :remarketing_enabled
10946
+
10947
+ def initialize(**args)
10948
+ update!(**args)
10949
+ end
10950
+
10951
+ # Update properties of this object
10952
+ def update!(**args)
10953
+ @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
10954
+ @remarketing_enabled = args[:remarketing_enabled] if args.key?(:remarketing_enabled)
10955
+ end
10956
+ end
10957
+
10542
10958
  # Request message for NegativeKeywordService.ReplaceNegativeKeywords.
10543
10959
  class ReplaceNegativeKeywordsRequest
10544
10960
  include Google::Apis::Core::Hashable
@@ -10737,6 +11153,61 @@ module Google
10737
11153
  end
10738
11154
  end
10739
11155
 
11156
+ # Type for the response returned by [SdfDownloadTaskService.
11157
+ # CreateSdfDownloadTask].
11158
+ class SdfDownloadTask
11159
+ include Google::Apis::Core::Hashable
11160
+
11161
+ # A resource name to be used in media.download to Download the prepared files.
11162
+ # Resource names have the format `download/sdfdownloadtasks/media/`media_id``. `
11163
+ # media_id` will be made available by the long running operation service once
11164
+ # the task status is done.
11165
+ # Corresponds to the JSON property `resourceName`
11166
+ # @return [String]
11167
+ attr_accessor :resource_name
11168
+
11169
+ def initialize(**args)
11170
+ update!(**args)
11171
+ end
11172
+
11173
+ # Update properties of this object
11174
+ def update!(**args)
11175
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
11176
+ end
11177
+ end
11178
+
11179
+ # Type for the metadata returned by [SdfDownloadTaskService.
11180
+ # CreateSdfDownloadTask].
11181
+ class SdfDownloadTaskMetadata
11182
+ include Google::Apis::Core::Hashable
11183
+
11184
+ # The time when the operation was created.
11185
+ # Corresponds to the JSON property `createTime`
11186
+ # @return [String]
11187
+ attr_accessor :create_time
11188
+
11189
+ # The time when execution was completed.
11190
+ # Corresponds to the JSON property `endTime`
11191
+ # @return [String]
11192
+ attr_accessor :end_time
11193
+
11194
+ # The SDF version used to execute this download task.
11195
+ # Corresponds to the JSON property `version`
11196
+ # @return [String]
11197
+ attr_accessor :version
11198
+
11199
+ def initialize(**args)
11200
+ update!(**args)
11201
+ end
11202
+
11203
+ # Update properties of this object
11204
+ def update!(**args)
11205
+ @create_time = args[:create_time] if args.key?(:create_time)
11206
+ @end_time = args[:end_time] if args.key?(:end_time)
11207
+ @version = args[:version] if args.key?(:version)
11208
+ end
11209
+ end
11210
+
10740
11211
  # Request message for SearchTargetingOptions.
10741
11212
  class SearchTargetingOptionsRequest
10742
11213
  include Google::Apis::Core::Hashable
@@ -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.4.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240201"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,54 @@ 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
+
121
169
  class AppAssignedTargetingOptionDetails
122
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
171
 
@@ -706,6 +754,12 @@ module Google
706
754
  include Google::Apis::Core::JsonObjectSupport
707
755
  end
708
756
 
757
+ class DayAndTime
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
709
763
  class DayAndTimeAssignedTargetingOptionDetails
710
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
765
 
@@ -928,6 +982,12 @@ module Google
928
982
  include Google::Apis::Core::JsonObjectSupport
929
983
  end
930
984
 
985
+ class FloodlightActivity
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
931
991
  class FloodlightGroup
932
992
  class Representation < Google::Apis::Core::JsonRepresentation; end
933
993
 
@@ -1294,6 +1354,12 @@ module Google
1294
1354
  include Google::Apis::Core::JsonObjectSupport
1295
1355
  end
1296
1356
 
1357
+ class ListFloodlightActivitiesResponse
1358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1359
+
1360
+ include Google::Apis::Core::JsonObjectSupport
1361
+ end
1362
+
1297
1363
  class ListGoogleAudiencesResponse
1298
1364
  class Representation < Google::Apis::Core::JsonRepresentation; end
1299
1365
 
@@ -1678,6 +1744,12 @@ module Google
1678
1744
  include Google::Apis::Core::JsonObjectSupport
1679
1745
  end
1680
1746
 
1747
+ class RemarketingConfig
1748
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1749
+
1750
+ include Google::Apis::Core::JsonObjectSupport
1751
+ end
1752
+
1681
1753
  class ReplaceNegativeKeywordsRequest
1682
1754
  class Representation < Google::Apis::Core::JsonRepresentation; end
1683
1755
 
@@ -1720,6 +1792,18 @@ module Google
1720
1792
  include Google::Apis::Core::JsonObjectSupport
1721
1793
  end
1722
1794
 
1795
+ class SdfDownloadTask
1796
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1797
+
1798
+ include Google::Apis::Core::JsonObjectSupport
1799
+ end
1800
+
1801
+ class SdfDownloadTaskMetadata
1802
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1803
+
1804
+ include Google::Apis::Core::JsonObjectSupport
1805
+ end
1806
+
1723
1807
  class SearchTargetingOptionsRequest
1724
1808
  class Representation < Google::Apis::Core::JsonRepresentation; end
1725
1809
 
@@ -2145,6 +2229,87 @@ module Google
2145
2229
  end
2146
2230
  end
2147
2231
 
2232
+ class AlgorithmRules
2233
+ # @private
2234
+ class Representation < Google::Apis::Core::JsonRepresentation
2235
+ property :impression_signal_ruleset, as: 'impressionSignalRuleset', class: Google::Apis::DisplayvideoV3::AlgorithmRulesRuleset, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesRuleset::Representation
2236
+
2237
+ end
2238
+ end
2239
+
2240
+ class AlgorithmRulesComparisonValue
2241
+ # @private
2242
+ class Representation < Google::Apis::Core::JsonRepresentation
2243
+ property :bool_value, as: 'boolValue'
2244
+ property :creative_dimension_value, as: 'creativeDimensionValue', class: Google::Apis::DisplayvideoV3::Dimensions, decorator: Google::Apis::DisplayvideoV3::Dimensions::Representation
2245
+
2246
+ property :day_and_time_value, as: 'dayAndTimeValue', class: Google::Apis::DisplayvideoV3::DayAndTime, decorator: Google::Apis::DisplayvideoV3::DayAndTime::Representation
2247
+
2248
+ property :device_type_value, as: 'deviceTypeValue'
2249
+ property :double_value, as: 'doubleValue'
2250
+ property :environment_value, as: 'environmentValue'
2251
+ property :exchange_value, as: 'exchangeValue'
2252
+ property :int64_value, :numeric_string => true, as: 'int64Value'
2253
+ property :on_screen_position_value, as: 'onScreenPositionValue'
2254
+ property :string_value, as: 'stringValue'
2255
+ end
2256
+ end
2257
+
2258
+ class AlgorithmRulesRule
2259
+ # @private
2260
+ class Representation < Google::Apis::Core::JsonRepresentation
2261
+ collection :conditions, as: 'conditions', class: Google::Apis::DisplayvideoV3::AlgorithmRulesRuleCondition, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesRuleCondition::Representation
2262
+
2263
+ property :default_return_value, as: 'defaultReturnValue', class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue::Representation
2264
+
2265
+ end
2266
+ end
2267
+
2268
+ class AlgorithmRulesRuleCondition
2269
+ # @private
2270
+ class Representation < Google::Apis::Core::JsonRepresentation
2271
+ property :return_value, as: 'returnValue', class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue::Representation
2272
+
2273
+ collection :signal_comparisons, as: 'signalComparisons', class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalComparison, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalComparison::Representation
2274
+
2275
+ end
2276
+ end
2277
+
2278
+ class AlgorithmRulesRuleset
2279
+ # @private
2280
+ class Representation < Google::Apis::Core::JsonRepresentation
2281
+ property :aggregation_type, as: 'aggregationType'
2282
+ property :max_value, as: 'maxValue'
2283
+ collection :rules, as: 'rules', class: Google::Apis::DisplayvideoV3::AlgorithmRulesRule, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesRule::Representation
2284
+
2285
+ end
2286
+ end
2287
+
2288
+ class AlgorithmRulesSignal
2289
+ # @private
2290
+ class Representation < Google::Apis::Core::JsonRepresentation
2291
+ property :impression_signal, as: 'impressionSignal'
2292
+ end
2293
+ end
2294
+
2295
+ class AlgorithmRulesSignalComparison
2296
+ # @private
2297
+ class Representation < Google::Apis::Core::JsonRepresentation
2298
+ property :comparison_operator, as: 'comparisonOperator'
2299
+ property :comparison_value, as: 'comparisonValue', class: Google::Apis::DisplayvideoV3::AlgorithmRulesComparisonValue, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesComparisonValue::Representation
2300
+
2301
+ property :signal, as: 'signal', class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignal, decorator: Google::Apis::DisplayvideoV3::AlgorithmRulesSignal::Representation
2302
+
2303
+ end
2304
+ end
2305
+
2306
+ class AlgorithmRulesSignalValue
2307
+ # @private
2308
+ class Representation < Google::Apis::Core::JsonRepresentation
2309
+ property :number, as: 'number'
2310
+ end
2311
+ end
2312
+
2148
2313
  class AppAssignedTargetingOptionDetails
2149
2314
  # @private
2150
2315
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2805,6 +2970,7 @@ module Google
2805
2970
  # @private
2806
2971
  class Representation < Google::Apis::Core::JsonRepresentation
2807
2972
  property :cm_account_id, :numeric_string => true, as: 'cmAccountId'
2973
+ collection :cm_advertiser_ids, as: 'cmAdvertiserIds'
2808
2974
  property :cm_floodlight_config_id, :numeric_string => true, as: 'cmFloodlightConfigId'
2809
2975
  property :cm_floodlight_linking_authorized, as: 'cmFloodlightLinkingAuthorized'
2810
2976
  collection :cm_syncable_site_ids, as: 'cmSyncableSiteIds'
@@ -3230,6 +3396,15 @@ module Google
3230
3396
  end
3231
3397
  end
3232
3398
 
3399
+ class DayAndTime
3400
+ # @private
3401
+ class Representation < Google::Apis::Core::JsonRepresentation
3402
+ property :day_of_week, as: 'dayOfWeek'
3403
+ property :hour_of_day, as: 'hourOfDay'
3404
+ property :time_zone_resolution, as: 'timeZoneResolution'
3405
+ end
3406
+ end
3407
+
3233
3408
  class DayAndTimeAssignedTargetingOptionDetails
3234
3409
  # @private
3235
3410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3555,6 +3730,21 @@ module Google
3555
3730
  end
3556
3731
  end
3557
3732
 
3733
+ class FloodlightActivity
3734
+ # @private
3735
+ class Representation < Google::Apis::Core::JsonRepresentation
3736
+ collection :advertiser_ids, as: 'advertiserIds'
3737
+ property :display_name, as: 'displayName'
3738
+ property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId'
3739
+ property :floodlight_group_id, :numeric_string => true, as: 'floodlightGroupId'
3740
+ property :name, as: 'name'
3741
+ collection :remarketing_configs, as: 'remarketingConfigs', class: Google::Apis::DisplayvideoV3::RemarketingConfig, decorator: Google::Apis::DisplayvideoV3::RemarketingConfig::Representation
3742
+
3743
+ property :serving_status, as: 'servingStatus'
3744
+ property :ssl_required, as: 'sslRequired'
3745
+ end
3746
+ end
3747
+
3558
3748
  class FloodlightGroup
3559
3749
  # @private
3560
3750
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4213,6 +4403,15 @@ module Google
4213
4403
  end
4214
4404
  end
4215
4405
 
4406
+ class ListFloodlightActivitiesResponse
4407
+ # @private
4408
+ class Representation < Google::Apis::Core::JsonRepresentation
4409
+ collection :floodlight_activities, as: 'floodlightActivities', class: Google::Apis::DisplayvideoV3::FloodlightActivity, decorator: Google::Apis::DisplayvideoV3::FloodlightActivity::Representation
4410
+
4411
+ property :next_page_token, as: 'nextPageToken'
4412
+ end
4413
+ end
4414
+
4216
4415
  class ListGoogleAudiencesResponse
4217
4416
  # @private
4218
4417
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4806,6 +5005,14 @@ module Google
4806
5005
  end
4807
5006
  end
4808
5007
 
5008
+ class RemarketingConfig
5009
+ # @private
5010
+ class Representation < Google::Apis::Core::JsonRepresentation
5011
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
5012
+ property :remarketing_enabled, as: 'remarketingEnabled'
5013
+ end
5014
+ end
5015
+
4809
5016
  class ReplaceNegativeKeywordsRequest
4810
5017
  # @private
4811
5018
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4871,6 +5078,22 @@ module Google
4871
5078
  end
4872
5079
  end
4873
5080
 
5081
+ class SdfDownloadTask
5082
+ # @private
5083
+ class Representation < Google::Apis::Core::JsonRepresentation
5084
+ property :resource_name, as: 'resourceName'
5085
+ end
5086
+ end
5087
+
5088
+ class SdfDownloadTaskMetadata
5089
+ # @private
5090
+ class Representation < Google::Apis::Core::JsonRepresentation
5091
+ property :create_time, as: 'createTime'
5092
+ property :end_time, as: 'endTime'
5093
+ property :version, as: 'version'
5094
+ end
5095
+ end
5096
+
4874
5097
  class SearchTargetingOptionsRequest
4875
5098
  # @private
4876
5099
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5125,6 +5125,96 @@ module Google
5125
5125
  execute_or_queue_command(command, &block)
5126
5126
  end
5127
5127
 
5128
+ # Gets a Floodlight activity.
5129
+ # @param [Fixnum] floodlight_group_id
5130
+ # Required. The ID of the parent Floodlight group to which the requested
5131
+ # Floodlight activity belongs.
5132
+ # @param [Fixnum] floodlight_activity_id
5133
+ # Required. The ID of the Floodlight activity to fetch.
5134
+ # @param [Fixnum] partner_id
5135
+ # Required. The ID of the partner through which the Floodlight activity is being
5136
+ # accessed.
5137
+ # @param [String] fields
5138
+ # Selector specifying which fields to include in a partial response.
5139
+ # @param [String] quota_user
5140
+ # Available to use for quota purposes for server-side applications. Can be any
5141
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5142
+ # @param [Google::Apis::RequestOptions] options
5143
+ # Request-specific options
5144
+ #
5145
+ # @yield [result, err] Result & error if block supplied
5146
+ # @yieldparam result [Google::Apis::DisplayvideoV3::FloodlightActivity] parsed result object
5147
+ # @yieldparam err [StandardError] error object if request failed
5148
+ #
5149
+ # @return [Google::Apis::DisplayvideoV3::FloodlightActivity]
5150
+ #
5151
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5152
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5153
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5154
+ def get_floodlight_group_floodlight_activity(floodlight_group_id, floodlight_activity_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5155
+ command = make_simple_command(:get, 'v3/floodlightGroups/{+floodlightGroupId}/floodlightActivities/{+floodlightActivityId}', options)
5156
+ command.response_representation = Google::Apis::DisplayvideoV3::FloodlightActivity::Representation
5157
+ command.response_class = Google::Apis::DisplayvideoV3::FloodlightActivity
5158
+ command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
5159
+ command.params['floodlightActivityId'] = floodlight_activity_id unless floodlight_activity_id.nil?
5160
+ command.query['partnerId'] = partner_id unless partner_id.nil?
5161
+ command.query['fields'] = fields unless fields.nil?
5162
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5163
+ execute_or_queue_command(command, &block)
5164
+ end
5165
+
5166
+ # Lists Floodlight activities in a Floodlight group.
5167
+ # @param [Fixnum] floodlight_group_id
5168
+ # Required. The ID of the parent Floodlight group to which the requested
5169
+ # Floodlight activities belong.
5170
+ # @param [String] order_by
5171
+ # Optional. Field by which to sort the list. Acceptable values are: * `
5172
+ # displayName` (default) * `floodlightActivityId` The default sorting order is
5173
+ # ascending. To specify descending order for a field, a suffix "desc" should be
5174
+ # added to the field name. Example: `displayName desc`.
5175
+ # @param [Fixnum] page_size
5176
+ # Optional. Requested page size. Must be between `1` and `100`. If unspecified
5177
+ # will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid
5178
+ # value is specified.
5179
+ # @param [String] page_token
5180
+ # Optional. A token identifying a page of results the server should return.
5181
+ # Typically, this is the value of next_page_token returned from the previous
5182
+ # call to `ListFloodlightActivities` method. If not specified, the first page of
5183
+ # results will be returned.
5184
+ # @param [Fixnum] partner_id
5185
+ # Required. The ID of the partner through which the Floodlight activities are
5186
+ # being accessed.
5187
+ # @param [String] fields
5188
+ # Selector specifying which fields to include in a partial response.
5189
+ # @param [String] quota_user
5190
+ # Available to use for quota purposes for server-side applications. Can be any
5191
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5192
+ # @param [Google::Apis::RequestOptions] options
5193
+ # Request-specific options
5194
+ #
5195
+ # @yield [result, err] Result & error if block supplied
5196
+ # @yieldparam result [Google::Apis::DisplayvideoV3::ListFloodlightActivitiesResponse] parsed result object
5197
+ # @yieldparam err [StandardError] error object if request failed
5198
+ #
5199
+ # @return [Google::Apis::DisplayvideoV3::ListFloodlightActivitiesResponse]
5200
+ #
5201
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5202
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5203
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5204
+ def list_floodlight_group_floodlight_activities(floodlight_group_id, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5205
+ command = make_simple_command(:get, 'v3/floodlightGroups/{+floodlightGroupId}/floodlightActivities', options)
5206
+ command.response_representation = Google::Apis::DisplayvideoV3::ListFloodlightActivitiesResponse::Representation
5207
+ command.response_class = Google::Apis::DisplayvideoV3::ListFloodlightActivitiesResponse
5208
+ command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
5209
+ command.query['orderBy'] = order_by unless order_by.nil?
5210
+ command.query['pageSize'] = page_size unless page_size.nil?
5211
+ command.query['pageToken'] = page_token unless page_token.nil?
5212
+ command.query['partnerId'] = partner_id unless partner_id.nil?
5213
+ command.query['fields'] = fields unless fields.nil?
5214
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5215
+ execute_or_queue_command(command, &block)
5216
+ end
5217
+
5128
5218
  # Gets a Google audience.
5129
5219
  # @param [Fixnum] google_audience_id
5130
5220
  # Required. The ID of the Google audience to fetch.
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.4.0
4
+ version: 0.6.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: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v3/v0.6.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: []