google-apis-displayvideo_v3 0.1.0 → 0.3.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: ee47b7fa67ce221260d32a5b6976617ce7e9235767455dd8dbb56196ffe0cfaf
4
- data.tar.gz: 3f9a1da7f8d9bbc381bd6b004dda60ddaa67e4a45d5965602236cfc384af1951
3
+ metadata.gz: 340d8befed94e9ae260c78f0bb58c363a6eaa43858b3edd1ccf96aa23c6befd6
4
+ data.tar.gz: 45a82f5b691b4b24cf69d92fed398cb7ca4bd7078fd9952e78421069ce310bf2
5
5
  SHA512:
6
- metadata.gz: 7d3bd2ae95ca4cf8b9b6e8467604142cf50e23e98a3242620eae9afa928ac3c0182ea9c5b274ba5f41e44996f11079d500762afc5a6c73ee81e4a10229c57ea2
7
- data.tar.gz: 288b5ab7d580e228c25982c38dbe00fcb0b259cc75407c08e7135485f026a5b3b55f2ac34b1f185884f1be5cfc955fa436b1e58e1dd7d0a09b339d355075dcbc
6
+ metadata.gz: 849d2768c9ca8b9b97a1dd7a4c71706cacc5f542d3ea4de1472bcc0727c00a93677cb92f94a2e3d11ee2afd3d4c28fdbac4be08cc82d491e1011c1633bcf4c1f
7
+ data.tar.gz: 30b2cb44a901fd9b07c66caa003972bc358edd5a9c7bf42830716c9d7ab20715373ecfa216a188812e894b0076ee7c062477e890829275a69294742e80350746
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-displayvideo_v3
2
2
 
3
+ ### v0.3.0 (2024-01-07)
4
+
5
+ * Regenerated from discovery document revision 20240104
6
+
7
+ ### v0.2.0 (2023-11-19)
8
+
9
+ * Regenerated from discovery document revision 20231113
10
+
3
11
  ### v0.1.0 (2023-10-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20231012
@@ -3569,6 +3569,31 @@ module Google
3569
3569
  end
3570
3570
  end
3571
3571
 
3572
+ # User consent status.
3573
+ class Consent
3574
+ include Google::Apis::Core::Hashable
3575
+
3576
+ # Represents consent for ad personalization.
3577
+ # Corresponds to the JSON property `adPersonalization`
3578
+ # @return [String]
3579
+ attr_accessor :ad_personalization
3580
+
3581
+ # Represents consent for ad user data.
3582
+ # Corresponds to the JSON property `adUserData`
3583
+ # @return [String]
3584
+ attr_accessor :ad_user_data
3585
+
3586
+ def initialize(**args)
3587
+ update!(**args)
3588
+ end
3589
+
3590
+ # Update properties of this object
3591
+ def update!(**args)
3592
+ @ad_personalization = args[:ad_personalization] if args.key?(:ad_personalization)
3593
+ @ad_user_data = args[:ad_user_data] if args.key?(:ad_user_data)
3594
+ end
3595
+ end
3596
+
3572
3597
  # Contact information defining a Customer Match audience member.
3573
3598
  class ContactInfo
3574
3599
  include Google::Apis::Core::Hashable
@@ -3632,6 +3657,11 @@ module Google
3632
3657
  class ContactInfoList
3633
3658
  include Google::Apis::Core::Hashable
3634
3659
 
3660
+ # User consent status.
3661
+ # Corresponds to the JSON property `consent`
3662
+ # @return [Google::Apis::DisplayvideoV3::Consent]
3663
+ attr_accessor :consent
3664
+
3635
3665
  # A list of ContactInfo objects defining Customer Match audience members. The
3636
3666
  # size of members after splitting the contact_infos mustn't be greater than 500,
3637
3667
  # 000.
@@ -3645,6 +3675,7 @@ module Google
3645
3675
 
3646
3676
  # Update properties of this object
3647
3677
  def update!(**args)
3678
+ @consent = args[:consent] if args.key?(:consent)
3648
3679
  @contact_infos = args[:contact_infos] if args.key?(:contact_infos)
3649
3680
  end
3650
3681
  end
@@ -9421,6 +9452,11 @@ module Google
9421
9452
  class MobileDeviceIdList
9422
9453
  include Google::Apis::Core::Hashable
9423
9454
 
9455
+ # User consent status.
9456
+ # Corresponds to the JSON property `consent`
9457
+ # @return [Google::Apis::DisplayvideoV3::Consent]
9458
+ attr_accessor :consent
9459
+
9424
9460
  # A list of mobile device IDs defining Customer Match audience members. The size
9425
9461
  # of mobile_device_ids mustn't be greater than 500,000.
9426
9462
  # Corresponds to the JSON property `mobileDeviceIds`
@@ -9433,6 +9469,7 @@ module Google
9433
9469
 
9434
9470
  # Update properties of this object
9435
9471
  def update!(**args)
9472
+ @consent = args[:consent] if args.key?(:consent)
9436
9473
  @mobile_device_ids = args[:mobile_device_ids] if args.key?(:mobile_device_ids)
9437
9474
  end
9438
9475
  end
@@ -10451,13 +10488,16 @@ module Google
10451
10488
  attr_accessor :proximity_radius_unit
10452
10489
 
10453
10490
  # Required. The targeting_option_id of a TargetingOption of type `
10454
- # TARGETING_TYPE_POI`. Accepted POI targeting option IDs can be retrieved using
10455
- # SearchTargetingOptions. If targeting a specific latitude/longitude coordinate
10456
- # removed from an address or POI name, you can generate the necessary targeting
10457
- # option ID by rounding the desired coordinate values to the 6th decimal place,
10458
- # removing the decimals, and concatenating the string values separated by a
10459
- # semicolon. For example, you can target the latitude/longitude pair of 40.
10460
- # 7414691, -74.003387 using the targeting option ID "40741469;-74003387".
10491
+ # TARGETING_TYPE_POI`. Accepted POI targeting option IDs can be retrieved using `
10492
+ # targetingTypes.targetingOptions.search`. If targeting a specific latitude/
10493
+ # longitude coordinate removed from an address or POI name, you can generate the
10494
+ # necessary targeting option ID by rounding the desired coordinate values to the
10495
+ # 6th decimal place, removing the decimals, and concatenating the string values
10496
+ # separated by a semicolon. For example, you can target the latitude/longitude
10497
+ # pair of 40.7414691, -74.003387 using the targeting option ID "40741469;-
10498
+ # 74003387". **Upon** **creation, this field value will be updated to append a
10499
+ # semicolon and** **alphanumerical hash value if only latitude/longitude
10500
+ # coordinates are** **provided.**
10461
10501
  # Corresponds to the JSON property `targetingOptionId`
10462
10502
  # @return [String]
10463
10503
  attr_accessor :targeting_option_id
@@ -12045,6 +12085,11 @@ module Google
12045
12085
  # @return [String]
12046
12086
  attr_accessor :email
12047
12087
 
12088
+ # Output only. The timestamp when the user last logged in DV360 UI.
12089
+ # Corresponds to the JSON property `lastLoginTime`
12090
+ # @return [String]
12091
+ attr_accessor :last_login_time
12092
+
12048
12093
  # Output only. The resource name of the user.
12049
12094
  # Corresponds to the JSON property `name`
12050
12095
  # @return [String]
@@ -12064,6 +12109,7 @@ module Google
12064
12109
  @assigned_user_roles = args[:assigned_user_roles] if args.key?(:assigned_user_roles)
12065
12110
  @display_name = args[:display_name] if args.key?(:display_name)
12066
12111
  @email = args[:email] if args.key?(:email)
12112
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
12067
12113
  @name = args[:name] if args.key?(:name)
12068
12114
  @user_id = args[:user_id] if args.key?(:user_id)
12069
12115
  end
@@ -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.1.0"
19
+ GEM_VERSION = "0.3.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 = "20231012"
25
+ REVISION = "20240104"
26
26
  end
27
27
  end
28
28
  end
@@ -550,6 +550,12 @@ module Google
550
550
  include Google::Apis::Core::JsonObjectSupport
551
551
  end
552
552
 
553
+ class Consent
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
553
559
  class ContactInfo
554
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
561
 
@@ -3002,6 +3008,14 @@ module Google
3002
3008
  end
3003
3009
  end
3004
3010
 
3011
+ class Consent
3012
+ # @private
3013
+ class Representation < Google::Apis::Core::JsonRepresentation
3014
+ property :ad_personalization, as: 'adPersonalization'
3015
+ property :ad_user_data, as: 'adUserData'
3016
+ end
3017
+ end
3018
+
3005
3019
  class ContactInfo
3006
3020
  # @private
3007
3021
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3017,6 +3031,8 @@ module Google
3017
3031
  class ContactInfoList
3018
3032
  # @private
3019
3033
  class Representation < Google::Apis::Core::JsonRepresentation
3034
+ property :consent, as: 'consent', class: Google::Apis::DisplayvideoV3::Consent, decorator: Google::Apis::DisplayvideoV3::Consent::Representation
3035
+
3020
3036
  collection :contact_infos, as: 'contactInfos', class: Google::Apis::DisplayvideoV3::ContactInfo, decorator: Google::Apis::DisplayvideoV3::ContactInfo::Representation
3021
3037
 
3022
3038
  end
@@ -4582,6 +4598,8 @@ module Google
4582
4598
  class MobileDeviceIdList
4583
4599
  # @private
4584
4600
  class Representation < Google::Apis::Core::JsonRepresentation
4601
+ property :consent, as: 'consent', class: Google::Apis::DisplayvideoV3::Consent, decorator: Google::Apis::DisplayvideoV3::Consent::Representation
4602
+
4585
4603
  collection :mobile_device_ids, as: 'mobileDeviceIds'
4586
4604
  end
4587
4605
  end
@@ -5307,6 +5325,7 @@ module Google
5307
5325
 
5308
5326
  property :display_name, as: 'displayName'
5309
5327
  property :email, as: 'email'
5328
+ property :last_login_time, as: 'lastLoginTime'
5310
5329
  property :name, as: 'name'
5311
5330
  property :user_id, :numeric_string => true, as: 'userId'
5312
5331
  end
@@ -1596,7 +1596,9 @@ module Google
1596
1596
  execute_or_queue_command(command, &block)
1597
1597
  end
1598
1598
 
1599
- # Creates a new creative. Returns the newly created creative if successful.
1599
+ # Creates a new creative. Returns the newly created creative if successful. A ["
1600
+ # Standard" user role](//support.google.com/displayvideo/answer/2723011) or
1601
+ # greater for the parent advertiser or partner is required to make this request.
1600
1602
  # @param [Fixnum] advertiser_id
1601
1603
  # Output only. The unique ID of the advertiser the creative belongs to.
1602
1604
  # @param [Google::Apis::DisplayvideoV3::Creative] creative_object
@@ -1631,7 +1633,9 @@ module Google
1631
1633
 
1632
1634
  # Deletes a creative. Returns error code `NOT_FOUND` if the creative does not
1633
1635
  # exist. The creative should be archived first, i.e. set entity_status to `
1634
- # ENTITY_STATUS_ARCHIVED`, before it can be deleted.
1636
+ # ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user role](//
1637
+ # support.google.com/displayvideo/answer/2723011) or greater for the parent
1638
+ # advertiser or partner is required to make this request.
1635
1639
  # @param [Fixnum] advertiser_id
1636
1640
  # The ID of the advertiser this creative belongs to.
1637
1641
  # @param [Fixnum] creative_id
@@ -1781,7 +1785,9 @@ module Google
1781
1785
  execute_or_queue_command(command, &block)
1782
1786
  end
1783
1787
 
1784
- # Updates an existing creative. Returns the updated creative if successful.
1788
+ # Updates an existing creative. Returns the updated creative if successful. A ["
1789
+ # Standard" user role](//support.google.com/displayvideo/answer/2723011) or
1790
+ # greater for the parent advertiser or partner is required to make this request.
1785
1791
  # @param [Fixnum] advertiser_id
1786
1792
  # Output only. The unique ID of the advertiser the creative belongs to.
1787
1793
  # @param [Fixnum] creative_id
@@ -2461,7 +2467,8 @@ module Google
2461
2467
  # create_requests. Requests to this endpoint cannot be made concurrently with
2462
2468
  # the following requests updating the same line item: * lineItems.bulkUpdate *
2463
2469
  # lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.
2464
- # delete
2470
+ # delete YouTube & Partners line items cannot be created or updated using the
2471
+ # API.
2465
2472
  # @param [Fixnum] advertiser_id
2466
2473
  # Required. The ID of the advertiser the line items belong to.
2467
2474
  # @param [Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsRequest] bulk_edit_assigned_targeting_options_request_object
@@ -2564,7 +2571,8 @@ module Google
2564
2571
  # Updates multiple line items. Requests to this endpoint cannot be made
2565
2572
  # concurrently with the following requests updating the same line item: *
2566
2573
  # BulkEditAssignedTargetingOptions * UpdateLineItem * assignedTargetingOptions.
2567
- # create * assignedTargetingOptions.delete
2574
+ # create * assignedTargetingOptions.delete YouTube & Partners line items cannot
2575
+ # be created or updated using the API.
2568
2576
  # @param [Fixnum] advertiser_id
2569
2577
  # Required. The ID of the advertiser this line item belongs to.
2570
2578
  # @param [Google::Apis::DisplayvideoV3::BulkUpdateLineItemsRequest] bulk_update_line_items_request_object
@@ -2598,6 +2606,7 @@ module Google
2598
2606
  end
2599
2607
 
2600
2608
  # Creates a new line item. Returns the newly created line item if successful.
2609
+ # YouTube & Partners line items cannot be created or updated using the API.
2601
2610
  # @param [Fixnum] advertiser_id
2602
2611
  # Output only. The unique ID of the advertiser the line item belongs to.
2603
2612
  # @param [Google::Apis::DisplayvideoV3::LineItem] line_item_object
@@ -2632,7 +2641,8 @@ module Google
2632
2641
 
2633
2642
  # Deletes a line item. Returns error code `NOT_FOUND` if the line item does not
2634
2643
  # exist. The line item should be archived first, i.e. set entity_status to `
2635
- # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
2644
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it. YouTube & Partners line
2645
+ # items cannot be created or updated using the API.
2636
2646
  # @param [Fixnum] advertiser_id
2637
2647
  # The ID of the advertiser this line item belongs to.
2638
2648
  # @param [Fixnum] line_item_id
@@ -2666,6 +2676,7 @@ module Google
2666
2676
  end
2667
2677
 
2668
2678
  # Duplicates a line item. Returns the ID of the created line item if successful.
2679
+ # YouTube & Partners line items cannot be created or updated using the API.
2669
2680
  # @param [Fixnum] advertiser_id
2670
2681
  # Required. The ID of the advertiser this line item belongs to.
2671
2682
  # @param [Fixnum] line_item_id
@@ -2705,7 +2716,8 @@ module Google
2705
2716
  # insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the newly
2706
2717
  # created line item if successful. There are default values based on the three
2707
2718
  # fields: * The insertion order's insertion_order_type * The insertion order's
2708
- # automation_type * The given line_item_type
2719
+ # automation_type * The given line_item_type YouTube & Partners line items
2720
+ # cannot be created or updated using the API.
2709
2721
  # @param [Fixnum] advertiser_id
2710
2722
  # Required. The ID of the advertiser this line item belongs to.
2711
2723
  # @param [Google::Apis::DisplayvideoV3::GenerateDefaultLineItemRequest] generate_default_line_item_request_object
@@ -2845,7 +2857,8 @@ module Google
2845
2857
  # Requests to this endpoint cannot be made concurrently with the following
2846
2858
  # requests updating the same line item: * BulkEditAssignedTargetingOptions *
2847
2859
  # BulkUpdateLineItems * assignedTargetingOptions.create *
2848
- # assignedTargetingOptions.delete
2860
+ # assignedTargetingOptions.delete YouTube & Partners line items cannot be
2861
+ # created or updated using the API.
2849
2862
  # @param [Fixnum] advertiser_id
2850
2863
  # Output only. The unique ID of the advertiser the line item belongs to.
2851
2864
  # @param [Fixnum] line_item_id
@@ -2888,7 +2901,8 @@ module Google
2888
2901
  # option if successful. Requests to this endpoint cannot be made concurrently
2889
2902
  # with the following requests updating the same line item: * lineItems.
2890
2903
  # bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch *
2891
- # DeleteLineItemAssignedTargetingOption
2904
+ # DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be
2905
+ # created or updated using the API.
2892
2906
  # @param [Fixnum] advertiser_id
2893
2907
  # Required. The ID of the advertiser the line item belongs to.
2894
2908
  # @param [Fixnum] line_item_id
@@ -2955,7 +2969,8 @@ module Google
2955
2969
  # Deletes an assigned targeting option from a line item. Requests to this
2956
2970
  # endpoint cannot be made concurrently with the following requests updating the
2957
2971
  # same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.
2958
- # bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption
2972
+ # bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube &
2973
+ # Partners line items cannot be created or updated using the API.
2959
2974
  # @param [Fixnum] advertiser_id
2960
2975
  # Required. The ID of the advertiser the line item belongs to.
2961
2976
  # @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.1.0
4
+ version: 0.3.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-10-15 00:00:00.000000000 Z
11
+ date: 2024-01-07 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.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v3/v0.3.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