google-apis-displayvideo_v4 0.24.0 → 0.26.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: 196f5f7287c0ac0372eb22414ea9ec685a1ef93ab4a14122d3d895c74a791d43
4
- data.tar.gz: e3a0096f5b33fc276ef44cb8a8d516437ed7c092f7fa56f605f967fd21808b29
3
+ metadata.gz: 7e852f2d8bd2fd48de1ca5dead46475818e623123d72b547e13923cf5e9345c1
4
+ data.tar.gz: 8c92888e4fc768207c84fcfca6ebb301cd40341906c2505ec8c068ada452bbf6
5
5
  SHA512:
6
- metadata.gz: '079e01d025d2126ff3955d8074dae02f6c2ce20c7832567963e76f437bad310d605f1ecc2f12560cb22a86f65d57875a9201ebeb46207fa532a6134318b27413'
7
- data.tar.gz: e5aed96c9594bdb58fc3eb11363b2546da472a1cc8c8551848962e8eccb7ad2cfb615a8c075ca2e9ba71270908c82fe13d372f95a92ffffee50c20b9813d316b
6
+ metadata.gz: 639e7bd0e57a891737dd6bd0a65e2c480a45e0ecbe5f918f49055366fa52b27ca56ec954999d5017ca1878127f4d67928ee13d3505b752bec23114eec06fd2ba
7
+ data.tar.gz: 409fb3b40d01b25c48051406f858543ffe693fc8bbc8069aee6e0eef076cdbce7f173ffd64facb1777b7bb7128b65190d03bdd99917369c213649e6771bce664
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-displayvideo_v4
2
2
 
3
+ ### v0.26.0 (2026-08-09)
4
+
5
+ * Regenerated from discovery document revision 20260805
6
+
7
+ ### v0.25.0 (2026-07-26)
8
+
9
+ * Regenerated from discovery document revision 20260720
10
+
3
11
  ### v0.24.0 (2026-07-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20260714
@@ -98,6 +98,12 @@ module Google
98
98
  # @return [String]
99
99
  attr_accessor :name
100
100
 
101
+ # Optional. Whether to add a label to the asset as created or edited using AI
102
+ # when served in regions with local AI labeling regulations.
103
+ # Corresponds to the JSON property `syntheticContentAttestationStatus`
104
+ # @return [String]
105
+ attr_accessor :synthetic_content_attestation_status
106
+
101
107
  # Data for a YouTube video ad asset.
102
108
  # Corresponds to the JSON property `youtubeVideoAsset`
103
109
  # @return [Google::Apis::DisplayvideoV4::YoutubeVideoAsset]
@@ -113,6 +119,7 @@ module Google
113
119
  @ad_asset_type = args[:ad_asset_type] if args.key?(:ad_asset_type)
114
120
  @entity_status = args[:entity_status] if args.key?(:entity_status)
115
121
  @name = args[:name] if args.key?(:name)
122
+ @synthetic_content_attestation_status = args[:synthetic_content_attestation_status] if args.key?(:synthetic_content_attestation_status)
116
123
  @youtube_video_asset = args[:youtube_video_asset] if args.key?(:youtube_video_asset)
117
124
  end
118
125
  end
@@ -4873,7 +4880,7 @@ module Google
4873
4880
  include Google::Apis::Core::Hashable
4874
4881
 
4875
4882
  # Optional. Country code of the member. Must also be set with the following
4876
- # fields: * country_code * hashed_first_name * hashed_last_name * zip_codes
4883
+ # fields: * hashed_first_name * hashed_last_name * zip_codes
4877
4884
  # Corresponds to the JSON property `countryCode`
4878
4885
  # @return [String]
4879
4886
  attr_accessor :country_code
@@ -5763,6 +5770,12 @@ module Google
5763
5770
  attr_accessor :skippable
5764
5771
  alias_method :skippable?, :skippable
5765
5772
 
5773
+ # Optional. Whether to add a label to the creative as created or edited using AI
5774
+ # when served in regions with local AI labeling regulations.
5775
+ # Corresponds to the JSON property `syntheticContentAttestationStatus`
5776
+ # @return [String]
5777
+ attr_accessor :synthetic_content_attestation_status
5778
+
5766
5779
  # Optional. The original third-party tag used for the creative. Required and
5767
5780
  # only valid for third-party tag creatives. Third-party tag creatives are
5768
5781
  # creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY`
@@ -5886,6 +5899,7 @@ module Google
5886
5899
  @review_status = args[:review_status] if args.key?(:review_status)
5887
5900
  @skip_offset = args[:skip_offset] if args.key?(:skip_offset)
5888
5901
  @skippable = args[:skippable] if args.key?(:skippable)
5902
+ @synthetic_content_attestation_status = args[:synthetic_content_attestation_status] if args.key?(:synthetic_content_attestation_status)
5889
5903
  @third_party_tag = args[:third_party_tag] if args.key?(:third_party_tag)
5890
5904
  @third_party_urls = args[:third_party_urls] if args.key?(:third_party_urls)
5891
5905
  @timer_events = args[:timer_events] if args.key?(:timer_events)
@@ -12846,6 +12860,17 @@ module Google
12846
12860
  class PlannedProductForecast
12847
12861
  include Google::Apis::Core::Hashable
12848
12862
 
12863
+ # Number of on-target impressions including co-viewers.
12864
+ # Corresponds to the JSON property `onTargetCoviewImpressions`
12865
+ # @return [Fixnum]
12866
+ attr_accessor :on_target_coview_impressions
12867
+
12868
+ # Number of unique people reached that match the on-target definition including
12869
+ # co-viewers.
12870
+ # Corresponds to the JSON property `onTargetCoviewReach`
12871
+ # @return [Fixnum]
12872
+ attr_accessor :on_target_coview_reach
12873
+
12849
12874
  # Number of on-target impressions.
12850
12875
  # Corresponds to the JSON property `onTargetImpressions`
12851
12876
  # @return [Fixnum]
@@ -12856,6 +12881,16 @@ module Google
12856
12881
  # @return [Fixnum]
12857
12882
  attr_accessor :on_target_reach
12858
12883
 
12884
+ # Total number of impressions including co-viewers.
12885
+ # Corresponds to the JSON property `totalCoviewImpressions`
12886
+ # @return [Fixnum]
12887
+ attr_accessor :total_coview_impressions
12888
+
12889
+ # Total number of unique people reached including co-viewers.
12890
+ # Corresponds to the JSON property `totalCoviewReach`
12891
+ # @return [Fixnum]
12892
+ attr_accessor :total_coview_reach
12893
+
12859
12894
  # Total number of impressions.
12860
12895
  # Corresponds to the JSON property `totalImpressions`
12861
12896
  # @return [Fixnum]
@@ -12882,8 +12917,12 @@ module Google
12882
12917
 
12883
12918
  # Update properties of this object
12884
12919
  def update!(**args)
12920
+ @on_target_coview_impressions = args[:on_target_coview_impressions] if args.key?(:on_target_coview_impressions)
12921
+ @on_target_coview_reach = args[:on_target_coview_reach] if args.key?(:on_target_coview_reach)
12885
12922
  @on_target_impressions = args[:on_target_impressions] if args.key?(:on_target_impressions)
12886
12923
  @on_target_reach = args[:on_target_reach] if args.key?(:on_target_reach)
12924
+ @total_coview_impressions = args[:total_coview_impressions] if args.key?(:total_coview_impressions)
12925
+ @total_coview_reach = args[:total_coview_reach] if args.key?(:total_coview_reach)
12887
12926
  @total_impressions = args[:total_impressions] if args.key?(:total_impressions)
12888
12927
  @total_reach = args[:total_reach] if args.key?(:total_reach)
12889
12928
  @trueview_views = args[:trueview_views] if args.key?(:trueview_views)
@@ -14885,6 +14924,12 @@ module Google
14885
14924
  # @return [String]
14886
14925
  attr_accessor :filename
14887
14926
 
14927
+ # Optional. Whether to add a label to the asset as created or edited using AI
14928
+ # when served in regions with local AI labeling regulations.
14929
+ # Corresponds to the JSON property `syntheticContentAttestationStatus`
14930
+ # @return [String]
14931
+ attr_accessor :synthetic_content_attestation_status
14932
+
14888
14933
  def initialize(**args)
14889
14934
  update!(**args)
14890
14935
  end
@@ -14893,6 +14938,7 @@ module Google
14893
14938
  def update!(**args)
14894
14939
  @ad_asset_type = args[:ad_asset_type] if args.key?(:ad_asset_type)
14895
14940
  @filename = args[:filename] if args.key?(:filename)
14941
+ @synthetic_content_attestation_status = args[:synthetic_content_attestation_status] if args.key?(:synthetic_content_attestation_status)
14896
14942
  end
14897
14943
  end
14898
14944
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV4
18
18
  # Version of the google-apis-displayvideo_v4 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260714"
25
+ REVISION = "20260805"
26
26
  end
27
27
  end
28
28
  end
@@ -2524,6 +2524,7 @@ module Google
2524
2524
  property :ad_asset_type, as: 'adAssetType'
2525
2525
  property :entity_status, as: 'entityStatus'
2526
2526
  property :name, as: 'name'
2527
+ property :synthetic_content_attestation_status, as: 'syntheticContentAttestationStatus'
2527
2528
  property :youtube_video_asset, as: 'youtubeVideoAsset', class: Google::Apis::DisplayvideoV4::YoutubeVideoAsset, decorator: Google::Apis::DisplayvideoV4::YoutubeVideoAsset::Representation
2528
2529
 
2529
2530
  end
@@ -4091,6 +4092,7 @@ module Google
4091
4092
  property :skip_offset, as: 'skipOffset', class: Google::Apis::DisplayvideoV4::AudioVideoOffset, decorator: Google::Apis::DisplayvideoV4::AudioVideoOffset::Representation
4092
4093
 
4093
4094
  property :skippable, as: 'skippable'
4095
+ property :synthetic_content_attestation_status, as: 'syntheticContentAttestationStatus'
4094
4096
  property :third_party_tag, as: 'thirdPartyTag'
4095
4097
  collection :third_party_urls, as: 'thirdPartyUrls', class: Google::Apis::DisplayvideoV4::ThirdPartyUrl, decorator: Google::Apis::DisplayvideoV4::ThirdPartyUrl::Representation
4096
4098
 
@@ -5977,8 +5979,12 @@ module Google
5977
5979
  class PlannedProductForecast
5978
5980
  # @private
5979
5981
  class Representation < Google::Apis::Core::JsonRepresentation
5982
+ property :on_target_coview_impressions, :numeric_string => true, as: 'onTargetCoviewImpressions'
5983
+ property :on_target_coview_reach, :numeric_string => true, as: 'onTargetCoviewReach'
5980
5984
  property :on_target_impressions, :numeric_string => true, as: 'onTargetImpressions'
5981
5985
  property :on_target_reach, :numeric_string => true, as: 'onTargetReach'
5986
+ property :total_coview_impressions, :numeric_string => true, as: 'totalCoviewImpressions'
5987
+ property :total_coview_reach, :numeric_string => true, as: 'totalCoviewReach'
5982
5988
  property :total_impressions, :numeric_string => true, as: 'totalImpressions'
5983
5989
  property :total_reach, :numeric_string => true, as: 'totalReach'
5984
5990
  property :trueview_views, :numeric_string => true, as: 'trueviewViews'
@@ -6564,6 +6570,7 @@ module Google
6564
6570
  class Representation < Google::Apis::Core::JsonRepresentation
6565
6571
  property :ad_asset_type, as: 'adAssetType'
6566
6572
  property :filename, as: 'filename'
6573
+ property :synthetic_content_attestation_status, as: 'syntheticContentAttestationStatus'
6567
6574
  end
6568
6575
  end
6569
6576
 
@@ -543,6 +543,50 @@ module Google
543
543
  execute_or_queue_command(command, &block)
544
544
  end
545
545
 
546
+ # Updates an ad asset. Returns the updated ad asset if successful. Supports
547
+ # updating assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO` and `
548
+ # AD_ASSET_TYPE_IMAGE`. Only the AdAsset.synthetic_content_attestation_status
549
+ # field is mutable.
550
+ # @param [Fixnum] advertiser_id
551
+ # Required. The ID of the advertiser this ad asset belongs to.
552
+ # @param [Fixnum] ad_asset_id
553
+ # Output only. The ID of the ad asset. Referred to as the asset ID when assigned
554
+ # to an ad.
555
+ # @param [Google::Apis::DisplayvideoV4::AdAsset] ad_asset_object
556
+ # @param [String] update_mask
557
+ # Required. The list of fields to update. Only AdAsset.
558
+ # synthetic_content_attestation_status is mutable.
559
+ # @param [String] fields
560
+ # Selector specifying which fields to include in a partial response.
561
+ # @param [String] quota_user
562
+ # Available to use for quota purposes for server-side applications. Can be any
563
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
564
+ # @param [Google::Apis::RequestOptions] options
565
+ # Request-specific options
566
+ #
567
+ # @yield [result, err] Result & error if block supplied
568
+ # @yieldparam result [Google::Apis::DisplayvideoV4::AdAsset] parsed result object
569
+ # @yieldparam err [StandardError] error object if request failed
570
+ #
571
+ # @return [Google::Apis::DisplayvideoV4::AdAsset]
572
+ #
573
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
574
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
575
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
576
+ def patch_advertiser_ad_asset(advertiser_id, ad_asset_id, ad_asset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
577
+ command = make_simple_command(:patch, 'v4/advertisers/{+advertiserId}/adAssets/{+adAssetId}', options)
578
+ command.request_representation = Google::Apis::DisplayvideoV4::AdAsset::Representation
579
+ command.request_object = ad_asset_object
580
+ command.response_representation = Google::Apis::DisplayvideoV4::AdAsset::Representation
581
+ command.response_class = Google::Apis::DisplayvideoV4::AdAsset
582
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
583
+ command.params['adAssetId'] = ad_asset_id unless ad_asset_id.nil?
584
+ command.query['updateMask'] = update_mask unless update_mask.nil?
585
+ command.query['fields'] = fields unless fields.nil?
586
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
587
+ execute_or_queue_command(command, &block)
588
+ end
589
+
546
590
  # Uploads and creates an ad asset. Returns the ID of the newly-created ad asset
547
591
  # if successful. Only supports the uploading of assets with the AdAssetType `
548
592
  # AD_ASSET_TYPE_IMAGE`.
@@ -4239,6 +4283,8 @@ module Google
4239
4283
  end
4240
4284
 
4241
4285
  # Generates a reach forecast for a given advertiser and targeting configuration.
4286
+ # API support for generating reach forecasts and retrieving related metadata is
4287
+ # in beta. This method is only available to allowlisted users.
4242
4288
  # @param [Fixnum] advertiser_id
4243
4289
  # Required. The ID of the advertiser that will run the planned campaign.
4244
4290
  # @param [Google::Apis::DisplayvideoV4::GenerateReachForecastRequest] generate_reach_forecast_request_object
@@ -4271,7 +4317,9 @@ module Google
4271
4317
  execute_or_queue_command(command, &block)
4272
4318
  end
4273
4319
 
4274
- # Retrieves the list of countries where reach forecasting is supported.
4320
+ # Retrieves the list of countries where reach forecasting is supported. API
4321
+ # support for generating reach forecasts and retrieving related metadata is in
4322
+ # beta. This method is only available to allowlisted users.
4275
4323
  # @param [Fixnum] advertiser_id
4276
4324
  # Required. The ID of the advertiser to list plannable locations for.
4277
4325
  # @param [String] fields
@@ -4301,7 +4349,9 @@ module Google
4301
4349
  execute_or_queue_command(command, &block)
4302
4350
  end
4303
4351
 
4304
- # Retrieves the list of products that can be planned for a location.
4352
+ # Retrieves the list of products that can be planned for a location. API support
4353
+ # for generating reach forecasts and retrieving related metadata is in beta.
4354
+ # This method is only available to allowlisted users.
4305
4355
  # @param [Fixnum] advertiser_id
4306
4356
  # Required. The ID of the advertiser to list plannable products for.
4307
4357
  # @param [String] plannable_location_id
@@ -4334,7 +4384,9 @@ module Google
4334
4384
  execute_or_queue_command(command, &block)
4335
4385
  end
4336
4386
 
4337
- # Retrieves Google Audiences (User Interests) available for forecasting.
4387
+ # Retrieves Google Audiences (User Interests) available for forecasting. API
4388
+ # support for generating reach forecasts and retrieving related metadata is in
4389
+ # beta. This method is only available to allowlisted users.
4338
4390
  # @param [Fixnum] advertiser_id
4339
4391
  # Required. The ID of the advertiser to list plannable user interests for.
4340
4392
  # @param [String] product_category
@@ -4367,7 +4419,9 @@ module Google
4367
4419
  execute_or_queue_command(command, &block)
4368
4420
  end
4369
4421
 
4370
- # Retrieves first and third party user lists available for forecasting.
4422
+ # Retrieves first and third party user lists available for forecasting. API
4423
+ # support for generating reach forecasts and retrieving related metadata is in
4424
+ # beta. This method is only available to allowlisted users.
4371
4425
  # @param [Fixnum] advertiser_id
4372
4426
  # Required. The ID of the advertiser to retrieve plannable user lists for.
4373
4427
  # @param [String] filter
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.24.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.26.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v4
62
62
  rdoc_options: []
63
63
  require_paths: