google-apis-displayvideo_v1 0.31.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -413,7 +413,7 @@ module Google
413
413
  # of an audience. Thus, the age range represented in this field can be 1)
414
414
  # targeted solely, or, 2) part of a larger continuous age range. The reach of a
415
415
  # continuous age range targeting can be expanded by also targeting an audience
416
- # of an unknown age. Output only in v1.
416
+ # of an unknown age. Output only in v1. Required in v2.
417
417
  # Corresponds to the JSON property `ageRange`
418
418
  # @return [String]
419
419
  attr_accessor :age_range
@@ -855,7 +855,7 @@ module Google
855
855
 
856
856
  # Details for assigned gender targeting option. This will be populated in the
857
857
  # details field of an AssignedTargetingOption when targeting_type is `
858
- # TARTGETING_TYPE_GENDER`.
858
+ # TARGETING_TYPE_GENDER`.
859
859
  # Corresponds to the JSON property `genderDetails`
860
860
  # @return [Google::Apis::DisplayvideoV1::GenderAssignedTargetingOptionDetails]
861
861
  attr_accessor :gender_details
@@ -951,7 +951,7 @@ module Google
951
951
 
952
952
  # Details for assigned parental status targeting option. This will be populated
953
953
  # in the details field of an AssignedTargetingOption when targeting_type is `
954
- # TARTGETING_TYPE_PARENTAL_STATUS`.
954
+ # TARGETING_TYPE_PARENTAL_STATUS`.
955
955
  # Corresponds to the JSON property `parentalStatusDetails`
956
956
  # @return [Google::Apis::DisplayvideoV1::ParentalStatusAssignedTargetingOptionDetails]
957
957
  attr_accessor :parental_status_details
@@ -1201,7 +1201,7 @@ module Google
1201
1201
  class AudioContentTypeAssignedTargetingOptionDetails
1202
1202
  include Google::Apis::Core::Hashable
1203
1203
 
1204
- # The audio content type. Output only in v1.
1204
+ # The audio content type. Output only in v1. Required in v2.
1205
1205
  # Corresponds to the JSON property `audioContentType`
1206
1206
  # @return [String]
1207
1207
  attr_accessor :audio_content_type
@@ -2818,7 +2818,8 @@ module Google
2818
2818
  include Google::Apis::Core::Hashable
2819
2819
 
2820
2820
  # A list of ContactInfo objects defining Customer Match audience members. The
2821
- # size of contact_infos mustn't be greater than 500,000.
2821
+ # size of members after splitting the contact_infos mustn't be greater than 500,
2822
+ # 000.
2822
2823
  # Corresponds to the JSON property `contactInfos`
2823
2824
  # @return [Array<Google::Apis::DisplayvideoV1::ContactInfo>]
2824
2825
  attr_accessor :contact_infos
@@ -2959,6 +2960,7 @@ module Google
2959
2960
  attr_accessor :ad_type
2960
2961
 
2961
2962
  # The content instream position for video or audio ads. Output only in v1.
2963
+ # Required in v2.
2962
2964
  # Corresponds to the JSON property `contentInstreamPosition`
2963
2965
  # @return [String]
2964
2966
  attr_accessor :content_instream_position
@@ -3020,7 +3022,7 @@ module Google
3020
3022
  # @return [String]
3021
3023
  attr_accessor :ad_type
3022
3024
 
3023
- # The content outstream position. Output only in v1.
3025
+ # The content outstream position. Output only in v1. Required in v2.
3024
3026
  # Corresponds to the JSON property `contentOutstreamPosition`
3025
3027
  # @return [String]
3026
3028
  attr_accessor :content_outstream_position
@@ -3780,6 +3782,17 @@ module Google
3780
3782
  # @return [String]
3781
3783
  attr_accessor :entity_status
3782
3784
 
3785
+ # Output only. The state of custom bidding model readiness for each advertiser
3786
+ # who has access. This field may only include the state of the queried
3787
+ # advertiser if the algorithm [`owner`](/display-video/api/reference/rest/v1/
3788
+ # customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) is a
3789
+ # partner and is being retrieved using an advertiser [`accessor`](/display-video/
3790
+ # api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.
3791
+ # oneof_accessor).
3792
+ # Corresponds to the JSON property `modelReadiness`
3793
+ # @return [Array<Google::Apis::DisplayvideoV1::CustomBiddingModelReadinessState>]
3794
+ attr_accessor :model_readiness
3795
+
3783
3796
  # Output only. The resource name of the custom bidding algorithm.
3784
3797
  # Corresponds to the JSON property `name`
3785
3798
  # @return [String]
@@ -3813,12 +3826,39 @@ module Google
3813
3826
  @custom_bidding_algorithm_type = args[:custom_bidding_algorithm_type] if args.key?(:custom_bidding_algorithm_type)
3814
3827
  @display_name = args[:display_name] if args.key?(:display_name)
3815
3828
  @entity_status = args[:entity_status] if args.key?(:entity_status)
3829
+ @model_readiness = args[:model_readiness] if args.key?(:model_readiness)
3816
3830
  @name = args[:name] if args.key?(:name)
3817
3831
  @partner_id = args[:partner_id] if args.key?(:partner_id)
3818
3832
  @shared_advertiser_ids = args[:shared_advertiser_ids] if args.key?(:shared_advertiser_ids)
3819
3833
  end
3820
3834
  end
3821
3835
 
3836
+ # The custom bidding algorithm model readiness state for a single shared
3837
+ # advertiser.
3838
+ class CustomBiddingModelReadinessState
3839
+ include Google::Apis::Core::Hashable
3840
+
3841
+ # The unique ID of the relevant advertiser.
3842
+ # Corresponds to the JSON property `advertiserId`
3843
+ # @return [Fixnum]
3844
+ attr_accessor :advertiser_id
3845
+
3846
+ # The readiness state of custom bidding model.
3847
+ # Corresponds to the JSON property `readinessState`
3848
+ # @return [String]
3849
+ attr_accessor :readiness_state
3850
+
3851
+ def initialize(**args)
3852
+ update!(**args)
3853
+ end
3854
+
3855
+ # Update properties of this object
3856
+ def update!(**args)
3857
+ @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
3858
+ @readiness_state = args[:readiness_state] if args.key?(:readiness_state)
3859
+ end
3860
+ end
3861
+
3822
3862
  # A single custom bidding script.
3823
3863
  class CustomBiddingScript
3824
3864
  include Google::Apis::Core::Hashable
@@ -4201,7 +4241,7 @@ module Google
4201
4241
  class DeviceTypeAssignedTargetingOptionDetails
4202
4242
  include Google::Apis::Core::Hashable
4203
4243
 
4204
- # The display name of the device type. Output only in v1.
4244
+ # The display name of the device type. Output only in v1. Required in v2.
4205
4245
  # Corresponds to the JSON property `deviceType`
4206
4246
  # @return [String]
4207
4247
  attr_accessor :device_type
@@ -4567,6 +4607,134 @@ module Google
4567
4607
  end
4568
4608
  end
4569
4609
 
4610
+ # Request message for GuaranteedOrderService.EditGuaranteedOrderReadAccessors.
4611
+ class EditGuaranteedOrderReadAccessorsRequest
4612
+ include Google::Apis::Core::Hashable
4613
+
4614
+ # The advertisers to add as read accessors to the guaranteed order.
4615
+ # Corresponds to the JSON property `addedAdvertisers`
4616
+ # @return [Array<Fixnum>]
4617
+ attr_accessor :added_advertisers
4618
+
4619
+ # Required. The partner context in which the change is being made.
4620
+ # Corresponds to the JSON property `partnerId`
4621
+ # @return [Fixnum]
4622
+ attr_accessor :partner_id
4623
+
4624
+ # Whether to give all advertisers of the read/write accessor partner read access
4625
+ # to the guaranteed order. Only applicable if read_write_partner_id is set in
4626
+ # the guaranteed order.
4627
+ # Corresponds to the JSON property `readAccessInherited`
4628
+ # @return [Boolean]
4629
+ attr_accessor :read_access_inherited
4630
+ alias_method :read_access_inherited?, :read_access_inherited
4631
+
4632
+ # The advertisers to remove as read accessors to the guaranteed order.
4633
+ # Corresponds to the JSON property `removedAdvertisers`
4634
+ # @return [Array<Fixnum>]
4635
+ attr_accessor :removed_advertisers
4636
+
4637
+ def initialize(**args)
4638
+ update!(**args)
4639
+ end
4640
+
4641
+ # Update properties of this object
4642
+ def update!(**args)
4643
+ @added_advertisers = args[:added_advertisers] if args.key?(:added_advertisers)
4644
+ @partner_id = args[:partner_id] if args.key?(:partner_id)
4645
+ @read_access_inherited = args[:read_access_inherited] if args.key?(:read_access_inherited)
4646
+ @removed_advertisers = args[:removed_advertisers] if args.key?(:removed_advertisers)
4647
+ end
4648
+ end
4649
+
4650
+ #
4651
+ class EditGuaranteedOrderReadAccessorsResponse
4652
+ include Google::Apis::Core::Hashable
4653
+
4654
+ # Whether all advertisers of read_write_partner_id have read access to the
4655
+ # guaranteed order.
4656
+ # Corresponds to the JSON property `readAccessInherited`
4657
+ # @return [Boolean]
4658
+ attr_accessor :read_access_inherited
4659
+ alias_method :read_access_inherited?, :read_access_inherited
4660
+
4661
+ # The IDs of advertisers with read access to the guaranteed order.
4662
+ # Corresponds to the JSON property `readAdvertiserIds`
4663
+ # @return [Array<Fixnum>]
4664
+ attr_accessor :read_advertiser_ids
4665
+
4666
+ def initialize(**args)
4667
+ update!(**args)
4668
+ end
4669
+
4670
+ # Update properties of this object
4671
+ def update!(**args)
4672
+ @read_access_inherited = args[:read_access_inherited] if args.key?(:read_access_inherited)
4673
+ @read_advertiser_ids = args[:read_advertiser_ids] if args.key?(:read_advertiser_ids)
4674
+ end
4675
+ end
4676
+
4677
+ # Request message for InventorySourceService.
4678
+ # EditInventorySourceReadWriteAccessors.
4679
+ class EditInventorySourceReadWriteAccessorsRequest
4680
+ include Google::Apis::Core::Hashable
4681
+
4682
+ # Update to the list of advertisers with read/write access to the inventory
4683
+ # source.
4684
+ # Corresponds to the JSON property `advertisersUpdate`
4685
+ # @return [Google::Apis::DisplayvideoV1::EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate]
4686
+ attr_accessor :advertisers_update
4687
+
4688
+ # Set the partner context as read/write accessor of the inventory source. This
4689
+ # will remove all other current read/write advertiser accessors.
4690
+ # Corresponds to the JSON property `assignPartner`
4691
+ # @return [Boolean]
4692
+ attr_accessor :assign_partner
4693
+ alias_method :assign_partner?, :assign_partner
4694
+
4695
+ # Required. The partner context by which the accessors change is being made.
4696
+ # Corresponds to the JSON property `partnerId`
4697
+ # @return [Fixnum]
4698
+ attr_accessor :partner_id
4699
+
4700
+ def initialize(**args)
4701
+ update!(**args)
4702
+ end
4703
+
4704
+ # Update properties of this object
4705
+ def update!(**args)
4706
+ @advertisers_update = args[:advertisers_update] if args.key?(:advertisers_update)
4707
+ @assign_partner = args[:assign_partner] if args.key?(:assign_partner)
4708
+ @partner_id = args[:partner_id] if args.key?(:partner_id)
4709
+ end
4710
+ end
4711
+
4712
+ # Update to the list of advertisers with read/write access to the inventory
4713
+ # source.
4714
+ class EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate
4715
+ include Google::Apis::Core::Hashable
4716
+
4717
+ # The advertisers to add.
4718
+ # Corresponds to the JSON property `addedAdvertisers`
4719
+ # @return [Array<Fixnum>]
4720
+ attr_accessor :added_advertisers
4721
+
4722
+ # The advertisers to remove.
4723
+ # Corresponds to the JSON property `removedAdvertisers`
4724
+ # @return [Array<Fixnum>]
4725
+ attr_accessor :removed_advertisers
4726
+
4727
+ def initialize(**args)
4728
+ update!(**args)
4729
+ end
4730
+
4731
+ # Update properties of this object
4732
+ def update!(**args)
4733
+ @added_advertisers = args[:added_advertisers] if args.key?(:added_advertisers)
4734
+ @removed_advertisers = args[:removed_advertisers] if args.key?(:removed_advertisers)
4735
+ end
4736
+ end
4737
+
4570
4738
  # A generic empty message that you can re-use to avoid defining duplicated empty
4571
4739
  # messages in your APIs. A typical example is to use it as the request or the
4572
4740
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -4589,7 +4757,7 @@ module Google
4589
4757
  class EnvironmentAssignedTargetingOptionDetails
4590
4758
  include Google::Apis::Core::Hashable
4591
4759
 
4592
- # The serving environment. Output only in v1.
4760
+ # The serving environment. Output only in v1. Required in v2.
4593
4761
  # Corresponds to the JSON property `environment`
4594
4762
  # @return [String]
4595
4763
  attr_accessor :environment
@@ -5105,7 +5273,8 @@ module Google
5105
5273
  include Google::Apis::Core::Hashable
5106
5274
 
5107
5275
  # The maximum number of times a user may be shown the same ad during this period.
5108
- # Must be greater than 0. Required when unlimited is `false`.
5276
+ # Must be greater than 0. Required when unlimited is `false` and max_views is
5277
+ # not set.
5109
5278
  # Corresponds to the JSON property `maxImpressions`
5110
5279
  # @return [Fixnum]
5111
5280
  attr_accessor :max_impressions
@@ -5149,11 +5318,11 @@ module Google
5149
5318
 
5150
5319
  # Details for assigned gender targeting option. This will be populated in the
5151
5320
  # details field of an AssignedTargetingOption when targeting_type is `
5152
- # TARTGETING_TYPE_GENDER`.
5321
+ # TARGETING_TYPE_GENDER`.
5153
5322
  class GenderAssignedTargetingOptionDetails
5154
5323
  include Google::Apis::Core::Hashable
5155
5324
 
5156
- # The gender of the audience. Output only in v1.
5325
+ # The gender of the audience. Output only in v1. Required in v2.
5157
5326
  # Corresponds to the JSON property `gender`
5158
5327
  # @return [String]
5159
5328
  attr_accessor :gender
@@ -5419,13 +5588,168 @@ module Google
5419
5588
  end
5420
5589
  end
5421
5590
 
5591
+ # A guaranteed order. Guaranteed orders are parent entity of guaranteed
5592
+ # inventory sources. When creating a guaranteed inventory source, a guaranteed
5593
+ # order ID must be assigned to the inventory source.
5594
+ class GuaranteedOrder
5595
+ include Google::Apis::Core::Hashable
5596
+
5597
+ # Output only. The ID of default advertiser of the guaranteed order. The default
5598
+ # advertiser is either the read_write_advertiser_id or, if that is not set, the
5599
+ # first advertiser listed in read_advertiser_ids. Otherwise, there is no default
5600
+ # advertiser.
5601
+ # Corresponds to the JSON property `defaultAdvertiserId`
5602
+ # @return [Fixnum]
5603
+ attr_accessor :default_advertiser_id
5604
+
5605
+ # The ID of the default campaign that is assigned to the guaranteed order. The
5606
+ # default campaign must belong to the default advertiser.
5607
+ # Corresponds to the JSON property `defaultCampaignId`
5608
+ # @return [Fixnum]
5609
+ attr_accessor :default_campaign_id
5610
+
5611
+ # Required. The display name of the guaranteed order. Must be UTF-8 encoded with
5612
+ # a maximum size of 240 bytes.
5613
+ # Corresponds to the JSON property `displayName`
5614
+ # @return [String]
5615
+ attr_accessor :display_name
5616
+
5617
+ # Required. Immutable. The exchange where the guaranteed order originated.
5618
+ # Corresponds to the JSON property `exchange`
5619
+ # @return [String]
5620
+ attr_accessor :exchange
5621
+
5622
+ # Output only. The unique identifier of the guaranteed order. The guaranteed
5623
+ # order IDs have the format ``exchange`-`legacy_guaranteed_order_id``.
5624
+ # Corresponds to the JSON property `guaranteedOrderId`
5625
+ # @return [String]
5626
+ attr_accessor :guaranteed_order_id
5627
+
5628
+ # Output only. The legacy ID of the guaranteed order. Assigned by the original
5629
+ # exchange. The legacy ID is unique within one exchange, but is not guaranteed
5630
+ # to be unique across all guaranteed orders. This ID is used in SDF and UI.
5631
+ # Corresponds to the JSON property `legacyGuaranteedOrderId`
5632
+ # @return [String]
5633
+ attr_accessor :legacy_guaranteed_order_id
5634
+
5635
+ # Output only. The resource name of the guaranteed order.
5636
+ # Corresponds to the JSON property `name`
5637
+ # @return [String]
5638
+ attr_accessor :name
5639
+
5640
+ # Required. The publisher name of the guaranteed order. Must be UTF-8 encoded
5641
+ # with a maximum size of 240 bytes.
5642
+ # Corresponds to the JSON property `publisherName`
5643
+ # @return [String]
5644
+ attr_accessor :publisher_name
5645
+
5646
+ # Whether all advertisers of read_write_partner_id have read access to the
5647
+ # guaranteed order. Only applicable if read_write_partner_id is set. If True,
5648
+ # overrides read_advertiser_ids.
5649
+ # Corresponds to the JSON property `readAccessInherited`
5650
+ # @return [Boolean]
5651
+ attr_accessor :read_access_inherited
5652
+ alias_method :read_access_inherited?, :read_access_inherited
5653
+
5654
+ # The IDs of advertisers with read access to the guaranteed order. This field
5655
+ # must not include the advertiser assigned to read_write_advertiser_id if it is
5656
+ # set. All advertisers in this field must belong to read_write_partner_id or the
5657
+ # same partner as read_write_advertiser_id.
5658
+ # Corresponds to the JSON property `readAdvertiserIds`
5659
+ # @return [Array<Fixnum>]
5660
+ attr_accessor :read_advertiser_ids
5661
+
5662
+ # The advertiser with read/write access to the guaranteed order. This is also
5663
+ # the default advertiser of the guaranteed order.
5664
+ # Corresponds to the JSON property `readWriteAdvertiserId`
5665
+ # @return [Fixnum]
5666
+ attr_accessor :read_write_advertiser_id
5667
+
5668
+ # The partner with read/write access to the guaranteed order.
5669
+ # Corresponds to the JSON property `readWritePartnerId`
5670
+ # @return [Fixnum]
5671
+ attr_accessor :read_write_partner_id
5672
+
5673
+ # The status settings of the guaranteed order.
5674
+ # Corresponds to the JSON property `status`
5675
+ # @return [Google::Apis::DisplayvideoV1::GuaranteedOrderStatus]
5676
+ attr_accessor :status
5677
+
5678
+ # Output only. The timestamp when the guaranteed order was last updated.
5679
+ # Assigned by the system.
5680
+ # Corresponds to the JSON property `updateTime`
5681
+ # @return [String]
5682
+ attr_accessor :update_time
5683
+
5684
+ def initialize(**args)
5685
+ update!(**args)
5686
+ end
5687
+
5688
+ # Update properties of this object
5689
+ def update!(**args)
5690
+ @default_advertiser_id = args[:default_advertiser_id] if args.key?(:default_advertiser_id)
5691
+ @default_campaign_id = args[:default_campaign_id] if args.key?(:default_campaign_id)
5692
+ @display_name = args[:display_name] if args.key?(:display_name)
5693
+ @exchange = args[:exchange] if args.key?(:exchange)
5694
+ @guaranteed_order_id = args[:guaranteed_order_id] if args.key?(:guaranteed_order_id)
5695
+ @legacy_guaranteed_order_id = args[:legacy_guaranteed_order_id] if args.key?(:legacy_guaranteed_order_id)
5696
+ @name = args[:name] if args.key?(:name)
5697
+ @publisher_name = args[:publisher_name] if args.key?(:publisher_name)
5698
+ @read_access_inherited = args[:read_access_inherited] if args.key?(:read_access_inherited)
5699
+ @read_advertiser_ids = args[:read_advertiser_ids] if args.key?(:read_advertiser_ids)
5700
+ @read_write_advertiser_id = args[:read_write_advertiser_id] if args.key?(:read_write_advertiser_id)
5701
+ @read_write_partner_id = args[:read_write_partner_id] if args.key?(:read_write_partner_id)
5702
+ @status = args[:status] if args.key?(:status)
5703
+ @update_time = args[:update_time] if args.key?(:update_time)
5704
+ end
5705
+ end
5706
+
5707
+ # The status settings of the guaranteed order.
5708
+ class GuaranteedOrderStatus
5709
+ include Google::Apis::Core::Hashable
5710
+
5711
+ # Output only. The configuration status of the guaranteed order. Acceptable
5712
+ # values are `PENDING` and `COMPLETED`. A guaranteed order must be configured (
5713
+ # fill in the required fields, choose creatives, and select a default campaign)
5714
+ # before it can serve. Currently the configuration action can only be performed
5715
+ # via UI.
5716
+ # Corresponds to the JSON property `configStatus`
5717
+ # @return [String]
5718
+ attr_accessor :config_status
5719
+
5720
+ # The user-provided reason for pausing this guaranteed order. Must be UTF-8
5721
+ # encoded with a maximum length of 100 bytes. Only applicable when entity_status
5722
+ # is set to `ENTITY_STATUS_PAUSED`.
5723
+ # Corresponds to the JSON property `entityPauseReason`
5724
+ # @return [String]
5725
+ attr_accessor :entity_pause_reason
5726
+
5727
+ # Whether or not the guaranteed order is servable. Acceptable values are `
5728
+ # ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`.
5729
+ # Default value is `ENTITY_STATUS_ACTIVE`.
5730
+ # Corresponds to the JSON property `entityStatus`
5731
+ # @return [String]
5732
+ attr_accessor :entity_status
5733
+
5734
+ def initialize(**args)
5735
+ update!(**args)
5736
+ end
5737
+
5738
+ # Update properties of this object
5739
+ def update!(**args)
5740
+ @config_status = args[:config_status] if args.key?(:config_status)
5741
+ @entity_pause_reason = args[:entity_pause_reason] if args.key?(:entity_pause_reason)
5742
+ @entity_status = args[:entity_status] if args.key?(:entity_status)
5743
+ end
5744
+ end
5745
+
5422
5746
  # Details for assigned household income targeting option. This will be populated
5423
5747
  # in the details field of an AssignedTargetingOption when targeting_type is `
5424
5748
  # TARGETING_TYPE_HOUSEHOLD_INCOME`.
5425
5749
  class HouseholdIncomeAssignedTargetingOptionDetails
5426
5750
  include Google::Apis::Core::Hashable
5427
5751
 
5428
- # Output only. The household income of the audience.
5752
+ # The household income of the audience. Output only in v1. Required in v2.
5429
5753
  # Corresponds to the JSON property `householdIncome`
5430
5754
  # @return [String]
5431
5755
  attr_accessor :household_income
@@ -5897,11 +6221,24 @@ module Google
5897
6221
  # @return [String]
5898
6222
  attr_accessor :exchange
5899
6223
 
6224
+ # Immutable. The ID of the guaranteed order that this inventory source belongs
6225
+ # to. Only applicable when commitment is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`
6226
+ # .
6227
+ # Corresponds to the JSON property `guaranteedOrderId`
6228
+ # @return [String]
6229
+ attr_accessor :guaranteed_order_id
6230
+
5900
6231
  # Output only. The unique ID of the inventory source. Assigned by the system.
5901
6232
  # Corresponds to the JSON property `inventorySourceId`
5902
6233
  # @return [Fixnum]
5903
6234
  attr_accessor :inventory_source_id
5904
6235
 
6236
+ # Output only. The product type of the inventory source, denoting the way
6237
+ # through which it sells inventory.
6238
+ # Corresponds to the JSON property `inventorySourceProductType`
6239
+ # @return [String]
6240
+ attr_accessor :inventory_source_product_type
6241
+
5905
6242
  # Denotes the type of the inventory source.
5906
6243
  # Corresponds to the JSON property `inventorySourceType`
5907
6244
  # @return [String]
@@ -5922,11 +6259,35 @@ module Google
5922
6259
  # @return [Google::Apis::DisplayvideoV1::RateDetails]
5923
6260
  attr_accessor :rate_details
5924
6261
 
6262
+ # Output only. The IDs of advertisers with read-only access to the inventory
6263
+ # source.
6264
+ # Corresponds to the JSON property `readAdvertiserIds`
6265
+ # @return [Array<Fixnum>]
6266
+ attr_accessor :read_advertiser_ids
6267
+
6268
+ # Output only. The IDs of partners with read-only access to the inventory source.
6269
+ # All advertisers of partners in this field inherit read-only access to the
6270
+ # inventory source.
6271
+ # Corresponds to the JSON property `readPartnerIds`
6272
+ # @return [Array<Fixnum>]
6273
+ attr_accessor :read_partner_ids
6274
+
6275
+ # The partner or advertisers with access to the inventory source.
6276
+ # Corresponds to the JSON property `readWriteAccessors`
6277
+ # @return [Google::Apis::DisplayvideoV1::InventorySourceAccessors]
6278
+ attr_accessor :read_write_accessors
6279
+
5925
6280
  # The status related settings of the inventory source.
5926
6281
  # Corresponds to the JSON property `status`
5927
6282
  # @return [Google::Apis::DisplayvideoV1::InventorySourceStatus]
5928
6283
  attr_accessor :status
5929
6284
 
6285
+ # Immutable. The unique ID of the sub-site property assigned to this inventory
6286
+ # source.
6287
+ # Corresponds to the JSON property `subSitePropertyId`
6288
+ # @return [Fixnum]
6289
+ attr_accessor :sub_site_property_id
6290
+
5930
6291
  # A time range.
5931
6292
  # Corresponds to the JSON property `timeRange`
5932
6293
  # @return [Google::Apis::DisplayvideoV1::TimeRange]
@@ -5950,17 +6311,86 @@ module Google
5950
6311
  @delivery_method = args[:delivery_method] if args.key?(:delivery_method)
5951
6312
  @display_name = args[:display_name] if args.key?(:display_name)
5952
6313
  @exchange = args[:exchange] if args.key?(:exchange)
6314
+ @guaranteed_order_id = args[:guaranteed_order_id] if args.key?(:guaranteed_order_id)
5953
6315
  @inventory_source_id = args[:inventory_source_id] if args.key?(:inventory_source_id)
6316
+ @inventory_source_product_type = args[:inventory_source_product_type] if args.key?(:inventory_source_product_type)
5954
6317
  @inventory_source_type = args[:inventory_source_type] if args.key?(:inventory_source_type)
5955
6318
  @name = args[:name] if args.key?(:name)
5956
6319
  @publisher_name = args[:publisher_name] if args.key?(:publisher_name)
5957
6320
  @rate_details = args[:rate_details] if args.key?(:rate_details)
6321
+ @read_advertiser_ids = args[:read_advertiser_ids] if args.key?(:read_advertiser_ids)
6322
+ @read_partner_ids = args[:read_partner_ids] if args.key?(:read_partner_ids)
6323
+ @read_write_accessors = args[:read_write_accessors] if args.key?(:read_write_accessors)
5958
6324
  @status = args[:status] if args.key?(:status)
6325
+ @sub_site_property_id = args[:sub_site_property_id] if args.key?(:sub_site_property_id)
5959
6326
  @time_range = args[:time_range] if args.key?(:time_range)
5960
6327
  @update_time = args[:update_time] if args.key?(:update_time)
5961
6328
  end
5962
6329
  end
5963
6330
 
6331
+ # The partner or advertisers with access to the inventory source.
6332
+ class InventorySourceAccessors
6333
+ include Google::Apis::Core::Hashable
6334
+
6335
+ # The advertisers with access to the inventory source.
6336
+ # Corresponds to the JSON property `advertisers`
6337
+ # @return [Google::Apis::DisplayvideoV1::InventorySourceAccessorsAdvertiserAccessors]
6338
+ attr_accessor :advertisers
6339
+
6340
+ # The partner with access to the inventory source.
6341
+ # Corresponds to the JSON property `partner`
6342
+ # @return [Google::Apis::DisplayvideoV1::InventorySourceAccessorsPartnerAccessor]
6343
+ attr_accessor :partner
6344
+
6345
+ def initialize(**args)
6346
+ update!(**args)
6347
+ end
6348
+
6349
+ # Update properties of this object
6350
+ def update!(**args)
6351
+ @advertisers = args[:advertisers] if args.key?(:advertisers)
6352
+ @partner = args[:partner] if args.key?(:partner)
6353
+ end
6354
+ end
6355
+
6356
+ # The advertisers with access to the inventory source.
6357
+ class InventorySourceAccessorsAdvertiserAccessors
6358
+ include Google::Apis::Core::Hashable
6359
+
6360
+ # The IDs of the advertisers.
6361
+ # Corresponds to the JSON property `advertiserIds`
6362
+ # @return [Array<Fixnum>]
6363
+ attr_accessor :advertiser_ids
6364
+
6365
+ def initialize(**args)
6366
+ update!(**args)
6367
+ end
6368
+
6369
+ # Update properties of this object
6370
+ def update!(**args)
6371
+ @advertiser_ids = args[:advertiser_ids] if args.key?(:advertiser_ids)
6372
+ end
6373
+ end
6374
+
6375
+ # The partner with access to the inventory source.
6376
+ class InventorySourceAccessorsPartnerAccessor
6377
+ include Google::Apis::Core::Hashable
6378
+
6379
+ # The ID of the partner.
6380
+ # Corresponds to the JSON property `partnerId`
6381
+ # @return [Fixnum]
6382
+ attr_accessor :partner_id
6383
+
6384
+ def initialize(**args)
6385
+ update!(**args)
6386
+ end
6387
+
6388
+ # Update properties of this object
6389
+ def update!(**args)
6390
+ @partner_id = args[:partner_id] if args.key?(:partner_id)
6391
+ end
6392
+ end
6393
+
5964
6394
  # Targeting details for inventory source. This will be populated in the details
5965
6395
  # field of an AssignedTargetingOption when targeting_type is `
5966
6396
  # TARGETING_TYPE_INVENTORY_SOURCE`.
@@ -7056,6 +7486,33 @@ module Google
7056
7486
  end
7057
7487
  end
7058
7488
 
7489
+ #
7490
+ class ListGuaranteedOrdersResponse
7491
+ include Google::Apis::Core::Hashable
7492
+
7493
+ # The list of guaranteed orders. This list will be absent if empty.
7494
+ # Corresponds to the JSON property `guaranteedOrders`
7495
+ # @return [Array<Google::Apis::DisplayvideoV1::GuaranteedOrder>]
7496
+ attr_accessor :guaranteed_orders
7497
+
7498
+ # A token to retrieve the next page of results. Pass this value in the
7499
+ # page_token field in the subsequent call to `ListGuaranteedOrders` method to
7500
+ # retrieve the next page of results.
7501
+ # Corresponds to the JSON property `nextPageToken`
7502
+ # @return [String]
7503
+ attr_accessor :next_page_token
7504
+
7505
+ def initialize(**args)
7506
+ update!(**args)
7507
+ end
7508
+
7509
+ # Update properties of this object
7510
+ def update!(**args)
7511
+ @guaranteed_orders = args[:guaranteed_orders] if args.key?(:guaranteed_orders)
7512
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7513
+ end
7514
+ end
7515
+
7059
7516
  # Response message for ListInsertionOrderAssignedTargetingOptions.
7060
7517
  class ListInsertionOrderAssignedTargetingOptionsResponse
7061
7518
  include Google::Apis::Core::Hashable
@@ -7825,7 +8282,7 @@ module Google
7825
8282
  class NativeContentPositionAssignedTargetingOptionDetails
7826
8283
  include Google::Apis::Core::Hashable
7827
8284
 
7828
- # The content position. Output only in v1.
8285
+ # The content position. Output only in v1. Required in v2.
7829
8286
  # Corresponds to the JSON property `contentPosition`
7830
8287
  # @return [String]
7831
8288
  attr_accessor :content_position
@@ -8037,7 +8494,8 @@ module Google
8037
8494
  class OmidAssignedTargetingOptionDetails
8038
8495
  include Google::Apis::Core::Hashable
8039
8496
 
8040
- # The type of Open Measurement enabled inventory. Output only in v1.
8497
+ # The type of Open Measurement enabled inventory. Output only in v1. Required in
8498
+ # v2.
8041
8499
  # Corresponds to the JSON property `omid`
8042
8500
  # @return [String]
8043
8501
  attr_accessor :omid
@@ -8345,11 +8803,11 @@ module Google
8345
8803
 
8346
8804
  # Details for assigned parental status targeting option. This will be populated
8347
8805
  # in the details field of an AssignedTargetingOption when targeting_type is `
8348
- # TARTGETING_TYPE_PARENTAL_STATUS`.
8806
+ # TARGETING_TYPE_PARENTAL_STATUS`.
8349
8807
  class ParentalStatusAssignedTargetingOptionDetails
8350
8808
  include Google::Apis::Core::Hashable
8351
8809
 
8352
- # Output only. The parental status of the audience.
8810
+ # The parental status of the audience. Output only in v1. Required in v2.
8353
8811
  # Corresponds to the JSON property `parentalStatus`
8354
8812
  # @return [String]
8355
8813
  attr_accessor :parental_status
@@ -9384,7 +9842,7 @@ module Google
9384
9842
  # @return [String]
9385
9843
  attr_accessor :excluded_targeting_option_id
9386
9844
 
9387
- # An enum for the DV360 Sensitive category content classifier. Output only in v1.
9845
+ # Output only. An enum for the DV360 Sensitive category content classifier.
9388
9846
  # Corresponds to the JSON property `sensitiveCategory`
9389
9847
  # @return [String]
9390
9848
  attr_accessor :sensitive_category
@@ -10254,7 +10712,7 @@ module Google
10254
10712
  # @return [String]
10255
10713
  attr_accessor :targeting_option_id
10256
10714
 
10257
- # The video player size. Output only in v1.
10715
+ # The video player size. Output only in v1. Required in v2.
10258
10716
  # Corresponds to the JSON property `videoPlayerSize`
10259
10717
  # @return [String]
10260
10718
  attr_accessor :video_player_size
@@ -10304,7 +10762,7 @@ module Google
10304
10762
  # @return [String]
10305
10763
  attr_accessor :targeting_option_id
10306
10764
 
10307
- # The predicted viewability percentage. Output only in v1.
10765
+ # The predicted viewability percentage. Output only in v1. Required in v2.
10308
10766
  # Corresponds to the JSON property `viewability`
10309
10767
  # @return [String]
10310
10768
  attr_accessor :viewability