google-apis-displayvideo_v1 0.59.0 → 0.61.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: 38c6265f68b65a4a0d7e02bd8ccdafc71f901117e4fd7d3fc1ecff08dd93c80b
4
- data.tar.gz: 4d7cfcb73dd12e82f57163f0e860b38235bdeb8b0ed1c5e04479d109be0ec60d
3
+ metadata.gz: 140f0881461faf1b1f37bc0250049a0f10d7758f5e488d806a4b47ddc0cebcb6
4
+ data.tar.gz: 1eef14ccec536d3861f827ac1f5c1a65519647fc4cb87a78c5c0a580455a3f6a
5
5
  SHA512:
6
- metadata.gz: 3fcbbe5c652c2c1bc0889b4f5523f67ae991a4854db43cf9bf1cdd7f71c64bcaee4b7fd461152185edbbbda23bead6e940f26fb442f91bb6fe39f389eae21107
7
- data.tar.gz: 9d2f74a68304580e0dca18c39f15e1327b7e6e01779f871acef794179e795e1717ee98d50e0b2a5b4e4324ed73ee586b8adc1bd232ddc610db68b9717bb3f164
6
+ metadata.gz: ae4d73becacf485a555e1f3cd0ac72da409e42f9aefebb96374d7c30e833d5ba9f98e3e14ef30ef606bb8b64e3fb30c70c514f4922e7858567594f1923ac05c3
7
+ data.tar.gz: 15379a0edaaba319f9797cceb5b76c321523503a9d316315186c8bc3723d45c16e97bb4c02b585a1c300a21de1810a8d5e8033b4e8b46572ee4e98dd815e2c41
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-displayvideo_v1
2
2
 
3
+ ### v0.61.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231113
6
+
7
+ ### v0.60.0 (2023-10-15)
8
+
9
+ * Regenerated from discovery document revision 20231009
10
+
3
11
  ### v0.59.0 (2023-09-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230831
@@ -409,11 +409,11 @@ module Google
409
409
  class AgeRangeAssignedTargetingOptionDetails
410
410
  include Google::Apis::Core::Hashable
411
411
 
412
- # The age range of an audience. We only support targeting a continuous age range
413
- # of an audience. Thus, the age range represented in this field can be 1)
414
- # targeted solely, or, 2) part of a larger continuous age range. The reach of a
415
- # continuous age range targeting can be expanded by also targeting an audience
416
- # of an unknown age. Output only in v1. Required in v2.
412
+ # Required. The age range of an audience. We only support targeting a continuous
413
+ # age range of an audience. Thus, the age range represented in this field can be
414
+ # 1) targeted solely, or, 2) part of a larger continuous age range. The reach of
415
+ # a continuous age range targeting can be expanded by also targeting an audience
416
+ # of an unknown age.
417
417
  # Corresponds to the JSON property `ageRange`
418
418
  # @return [String]
419
419
  attr_accessor :age_range
@@ -646,8 +646,6 @@ module Google
646
646
  end
647
647
 
648
648
  # An assignment between a location list and a relevant targeting option.
649
- # Currently, geo region targeting options are the only supported option for
650
- # assignment.
651
649
  class AssignedLocation
652
650
  include Google::Apis::Core::Hashable
653
651
 
@@ -663,9 +661,6 @@ module Google
663
661
  attr_accessor :name
664
662
 
665
663
  # Required. The ID of the targeting option assigned to the location list.
666
- # Assigned locations can only be modified in TARGETING_LOCATION_TYPE_REGIONAL
667
- # location lists. When creating or deleting assigned locations, this value must
668
- # be of type TARGETING_TYPE_GEO_REGION.
669
664
  # Corresponds to the JSON property `targetingOptionId`
670
665
  # @return [String]
671
666
  attr_accessor :targeting_option_id
@@ -1207,7 +1202,7 @@ module Google
1207
1202
  class AudioContentTypeAssignedTargetingOptionDetails
1208
1203
  include Google::Apis::Core::Hashable
1209
1204
 
1210
- # The audio content type. Output only in v1. Required in v2.
1205
+ # Required. The audio content type.
1211
1206
  # Corresponds to the JSON property `audioContentType`
1212
1207
  # @return [String]
1213
1208
  attr_accessor :audio_content_type
@@ -1665,13 +1660,13 @@ module Google
1665
1660
  include Google::Apis::Core::Hashable
1666
1661
 
1667
1662
  # The assigned locations to create in bulk, specified as a list of
1668
- # AssignedLocations.
1663
+ # AssignedLocation resources.
1669
1664
  # Corresponds to the JSON property `createdAssignedLocations`
1670
1665
  # @return [Array<Google::Apis::DisplayvideoV1::AssignedLocation>]
1671
1666
  attr_accessor :created_assigned_locations
1672
1667
 
1673
1668
  # The IDs of the assigned locations to delete in bulk, specified as a list of
1674
- # assigned_location_ids.
1669
+ # assignedLocationId values.
1675
1670
  # Corresponds to the JSON property `deletedAssignedLocations`
1676
1671
  # @return [Array<Fixnum>]
1677
1672
  attr_accessor :deleted_assigned_locations
@@ -1687,7 +1682,7 @@ module Google
1687
1682
  end
1688
1683
  end
1689
1684
 
1690
- # Response message for AssignedLocationService.BulkEditAssignedLocations.
1685
+ #
1691
1686
  class BulkEditAssignedLocationsResponse
1692
1687
  include Google::Apis::Core::Hashable
1693
1688
 
@@ -2373,7 +2368,7 @@ module Google
2373
2368
  # @return [String]
2374
2369
  attr_accessor :campaign_goal_type
2375
2370
 
2376
- # Settings that control the performance goal of a campaign or insertion order.
2371
+ # Settings that control the performance goal of a campaign.
2377
2372
  # Corresponds to the JSON property `performanceGoal`
2378
2373
  # @return [Google::Apis::DisplayvideoV1::PerformanceGoal]
2379
2374
  attr_accessor :performance_goal
@@ -2762,6 +2757,31 @@ module Google
2762
2757
  end
2763
2758
  end
2764
2759
 
2760
+ # User consent status.
2761
+ class Consent
2762
+ include Google::Apis::Core::Hashable
2763
+
2764
+ # Represents consent for ad personalization.
2765
+ # Corresponds to the JSON property `adPersonalization`
2766
+ # @return [String]
2767
+ attr_accessor :ad_personalization
2768
+
2769
+ # Represents consent for ad user data.
2770
+ # Corresponds to the JSON property `adUserData`
2771
+ # @return [String]
2772
+ attr_accessor :ad_user_data
2773
+
2774
+ def initialize(**args)
2775
+ update!(**args)
2776
+ end
2777
+
2778
+ # Update properties of this object
2779
+ def update!(**args)
2780
+ @ad_personalization = args[:ad_personalization] if args.key?(:ad_personalization)
2781
+ @ad_user_data = args[:ad_user_data] if args.key?(:ad_user_data)
2782
+ end
2783
+ end
2784
+
2765
2785
  # Contact information defining a Customer Match audience member.
2766
2786
  class ContactInfo
2767
2787
  include Google::Apis::Core::Hashable
@@ -2825,6 +2845,11 @@ module Google
2825
2845
  class ContactInfoList
2826
2846
  include Google::Apis::Core::Hashable
2827
2847
 
2848
+ # User consent status.
2849
+ # Corresponds to the JSON property `consent`
2850
+ # @return [Google::Apis::DisplayvideoV1::Consent]
2851
+ attr_accessor :consent
2852
+
2828
2853
  # A list of ContactInfo objects defining Customer Match audience members. The
2829
2854
  # size of members after splitting the contact_infos mustn't be greater than 500,
2830
2855
  # 000.
@@ -2838,6 +2863,7 @@ module Google
2838
2863
 
2839
2864
  # Update properties of this object
2840
2865
  def update!(**args)
2866
+ @consent = args[:consent] if args.key?(:consent)
2841
2867
  @contact_infos = args[:contact_infos] if args.key?(:contact_infos)
2842
2868
  end
2843
2869
  end
@@ -2967,8 +2993,7 @@ module Google
2967
2993
  # @return [String]
2968
2994
  attr_accessor :ad_type
2969
2995
 
2970
- # The content instream position for video or audio ads. Output only in v1.
2971
- # Required in v2.
2996
+ # Required. The content instream position for video or audio ads.
2972
2997
  # Corresponds to the JSON property `contentInstreamPosition`
2973
2998
  # @return [String]
2974
2999
  attr_accessor :content_instream_position
@@ -3030,7 +3055,7 @@ module Google
3030
3055
  # @return [String]
3031
3056
  attr_accessor :ad_type
3032
3057
 
3033
- # The content outstream position. Output only in v1. Required in v2.
3058
+ # Required. The content outstream position.
3034
3059
  # Corresponds to the JSON property `contentOutstreamPosition`
3035
3060
  # @return [String]
3036
3061
  attr_accessor :content_outstream_position
@@ -3889,7 +3914,7 @@ module Google
3889
3914
  attr_accessor :custom_bidding_script_id
3890
3915
 
3891
3916
  # Output only. Error details of a rejected custom bidding script. This field
3892
- # will only be populated when Script.state is REJECTED.
3917
+ # will only be populated when state is REJECTED.
3893
3918
  # Corresponds to the JSON property `errors`
3894
3919
  # @return [Array<Google::Apis::DisplayvideoV1::ScriptError>]
3895
3920
  attr_accessor :errors
@@ -4243,7 +4268,7 @@ module Google
4243
4268
  class DeviceTypeAssignedTargetingOptionDetails
4244
4269
  include Google::Apis::Core::Hashable
4245
4270
 
4246
- # The display name of the device type. Output only in v1. Required in v2.
4271
+ # Required. The display name of the device type.
4247
4272
  # Corresponds to the JSON property `deviceType`
4248
4273
  # @return [String]
4249
4274
  attr_accessor :device_type
@@ -4759,7 +4784,7 @@ module Google
4759
4784
  class EnvironmentAssignedTargetingOptionDetails
4760
4785
  include Google::Apis::Core::Hashable
4761
4786
 
4762
- # The serving environment. Output only in v1. Required in v2.
4787
+ # Required. The serving environment.
4763
4788
  # Corresponds to the JSON property `environment`
4764
4789
  # @return [String]
4765
4790
  attr_accessor :environment
@@ -5324,7 +5349,7 @@ module Google
5324
5349
  class GenderAssignedTargetingOptionDetails
5325
5350
  include Google::Apis::Core::Hashable
5326
5351
 
5327
- # The gender of the audience. Output only in v1. Required in v2.
5352
+ # Required. The gender of the audience.
5328
5353
  # Corresponds to the JSON property `gender`
5329
5354
  # @return [String]
5330
5355
  attr_accessor :gender
@@ -5751,7 +5776,7 @@ module Google
5751
5776
  class HouseholdIncomeAssignedTargetingOptionDetails
5752
5777
  include Google::Apis::Core::Hashable
5753
5778
 
5754
- # The household income of the audience. Output only in v1. Required in v2.
5779
+ # Required. The household income of the audience.
5755
5780
  # Corresponds to the JSON property `householdIncome`
5756
5781
  # @return [String]
5757
5782
  attr_accessor :household_income
@@ -5936,7 +5961,7 @@ module Google
5936
5961
  # @return [Array<Google::Apis::DisplayvideoV1::PartnerCost>]
5937
5962
  attr_accessor :partner_costs
5938
5963
 
5939
- # Settings that control the performance goal of a campaign or insertion order.
5964
+ # Settings that control the performance goal of a campaign.
5940
5965
  # Corresponds to the JSON property `performanceGoal`
5941
5966
  # @return [Google::Apis::DisplayvideoV1::PerformanceGoal]
5942
5967
  attr_accessor :performance_goal
@@ -8224,6 +8249,11 @@ module Google
8224
8249
  class MobileDeviceIdList
8225
8250
  include Google::Apis::Core::Hashable
8226
8251
 
8252
+ # User consent status.
8253
+ # Corresponds to the JSON property `consent`
8254
+ # @return [Google::Apis::DisplayvideoV1::Consent]
8255
+ attr_accessor :consent
8256
+
8227
8257
  # A list of mobile device IDs defining Customer Match audience members. The size
8228
8258
  # of mobile_device_ids mustn't be greater than 500,000.
8229
8259
  # Corresponds to the JSON property `mobileDeviceIds`
@@ -8236,6 +8266,7 @@ module Google
8236
8266
 
8237
8267
  # Update properties of this object
8238
8268
  def update!(**args)
8269
+ @consent = args[:consent] if args.key?(:consent)
8239
8270
  @mobile_device_ids = args[:mobile_device_ids] if args.key?(:mobile_device_ids)
8240
8271
  end
8241
8272
  end
@@ -8284,7 +8315,7 @@ module Google
8284
8315
  class NativeContentPositionAssignedTargetingOptionDetails
8285
8316
  include Google::Apis::Core::Hashable
8286
8317
 
8287
- # The content position. Output only in v1. Required in v2.
8318
+ # Required. The content position.
8288
8319
  # Corresponds to the JSON property `contentPosition`
8289
8320
  # @return [String]
8290
8321
  attr_accessor :content_position
@@ -8496,8 +8527,7 @@ module Google
8496
8527
  class OmidAssignedTargetingOptionDetails
8497
8528
  include Google::Apis::Core::Hashable
8498
8529
 
8499
- # The type of Open Measurement enabled inventory. Output only in v1. Required in
8500
- # v2.
8530
+ # Required. The type of Open Measurement enabled inventory.
8501
8531
  # Corresponds to the JSON property `omid`
8502
8532
  # @return [String]
8503
8533
  attr_accessor :omid
@@ -8745,7 +8775,7 @@ module Google
8745
8775
 
8746
8776
  # Required. The time period in which the pacing budget will be spent. When
8747
8777
  # automatic budget allocation is enabled at the insertion order via
8748
- # auto_budget_allocation, this field is output only and defaults to `
8778
+ # automationType, this field is output only and defaults to `
8749
8779
  # PACING_PERIOD_FLIGHT`.
8750
8780
  # Corresponds to the JSON property `pacingPeriod`
8751
8781
  # @return [String]
@@ -8809,7 +8839,7 @@ module Google
8809
8839
  class ParentalStatusAssignedTargetingOptionDetails
8810
8840
  include Google::Apis::Core::Hashable
8811
8841
 
8812
- # The parental status of the audience. Output only in v1. Required in v2.
8842
+ # Required. The parental status of the audience.
8813
8843
  # Corresponds to the JSON property `parentalStatus`
8814
8844
  # @return [String]
8815
8845
  attr_accessor :parental_status
@@ -9075,7 +9105,7 @@ module Google
9075
9105
  end
9076
9106
  end
9077
9107
 
9078
- # Settings that control the performance goal of a campaign or insertion order.
9108
+ # Settings that control the performance goal of a campaign.
9079
9109
  class PerformanceGoal
9080
9110
  include Google::Apis::Core::Hashable
9081
9111
 
@@ -10721,7 +10751,7 @@ module Google
10721
10751
  # @return [String]
10722
10752
  attr_accessor :targeting_option_id
10723
10753
 
10724
- # The video player size. Output only in v1. Required in v2.
10754
+ # Required. The video player size.
10725
10755
  # Corresponds to the JSON property `videoPlayerSize`
10726
10756
  # @return [String]
10727
10757
  attr_accessor :video_player_size
@@ -10771,7 +10801,7 @@ module Google
10771
10801
  # @return [String]
10772
10802
  attr_accessor :targeting_option_id
10773
10803
 
10774
- # The predicted viewability percentage. Output only in v1. Required in v2.
10804
+ # Required. The predicted viewability percentage.
10775
10805
  # Corresponds to the JSON property `viewability`
10776
10806
  # @return [String]
10777
10807
  attr_accessor :viewability
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV1
18
18
  # Version of the google-apis-displayvideo_v1 gem
19
- GEM_VERSION = "0.59.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230831"
25
+ REVISION = "20231113"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class Consent
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class ContactInfo
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -2478,6 +2484,14 @@ module Google
2478
2484
  end
2479
2485
  end
2480
2486
 
2487
+ class Consent
2488
+ # @private
2489
+ class Representation < Google::Apis::Core::JsonRepresentation
2490
+ property :ad_personalization, as: 'adPersonalization'
2491
+ property :ad_user_data, as: 'adUserData'
2492
+ end
2493
+ end
2494
+
2481
2495
  class ContactInfo
2482
2496
  # @private
2483
2497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2493,6 +2507,8 @@ module Google
2493
2507
  class ContactInfoList
2494
2508
  # @private
2495
2509
  class Representation < Google::Apis::Core::JsonRepresentation
2510
+ property :consent, as: 'consent', class: Google::Apis::DisplayvideoV1::Consent, decorator: Google::Apis::DisplayvideoV1::Consent::Representation
2511
+
2496
2512
  collection :contact_infos, as: 'contactInfos', class: Google::Apis::DisplayvideoV1::ContactInfo, decorator: Google::Apis::DisplayvideoV1::ContactInfo::Representation
2497
2513
 
2498
2514
  end
@@ -3931,6 +3947,8 @@ module Google
3931
3947
  class MobileDeviceIdList
3932
3948
  # @private
3933
3949
  class Representation < Google::Apis::Core::JsonRepresentation
3950
+ property :consent, as: 'consent', class: Google::Apis::DisplayvideoV1::Consent, decorator: Google::Apis::DisplayvideoV1::Consent::Representation
3951
+
3934
3952
  collection :mobile_device_ids, as: 'mobileDeviceIds'
3935
3953
  end
3936
3954
  end
@@ -2794,9 +2794,8 @@ module Google
2794
2794
 
2795
2795
  # Bulk edits multiple assignments between locations and a single location list.
2796
2796
  # The operation will delete the assigned locations provided in
2797
- # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create
2798
- # the assigned locations provided in BulkEditAssignedLocationsRequest.
2799
- # created_assigned_locations.
2797
+ # deletedAssignedLocations and then create the assigned locations provided in
2798
+ # createdAssignedLocations.
2800
2799
  # @param [Fixnum] advertiser_id
2801
2800
  # Required. The ID of the DV360 advertiser to which the location list belongs.
2802
2801
  # @param [Fixnum] location_list_id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.61.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-09-03 00:00:00.000000000 Z
11
+ date: 2023-11-19 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.61.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v1
63
63
  post_install_message:
64
64
  rdoc_options: []