google-apis-displayvideo_v4 0.24.0 → 0.25.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cbb9cf17a3e26fd7d7e6793e32d5cb56020d9b65e8cad3ae19b6d2a5b686a62
|
|
4
|
+
data.tar.gz: 66abe55153a26cf4ab1cfe55c720ba6d535d7528d88f1f0a595fa04001a5bb66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e14610259ed45d03889784b5fd40a19410ec7549df92391c72b11cdacb5199781faddd0849aec945545ccc49406e1e228a7eaeb80d1e7128399211f7f607607d
|
|
7
|
+
data.tar.gz: a975d06f1c7f888a4749295733a231a58461b5ec28882c1b5c79dddbfc8297278aa12f511cab6184388cf234b66c2c74a6d7e2976a3338d7784683d8b99849e1
|
data/CHANGELOG.md
CHANGED
|
@@ -98,6 +98,11 @@ module Google
|
|
|
98
98
|
# @return [String]
|
|
99
99
|
attr_accessor :name
|
|
100
100
|
|
|
101
|
+
# Optional. Whether the asset contains synthetic content or was created using AI.
|
|
102
|
+
# Corresponds to the JSON property `syntheticContentAttestationStatus`
|
|
103
|
+
# @return [String]
|
|
104
|
+
attr_accessor :synthetic_content_attestation_status
|
|
105
|
+
|
|
101
106
|
# Data for a YouTube video ad asset.
|
|
102
107
|
# Corresponds to the JSON property `youtubeVideoAsset`
|
|
103
108
|
# @return [Google::Apis::DisplayvideoV4::YoutubeVideoAsset]
|
|
@@ -113,6 +118,7 @@ module Google
|
|
|
113
118
|
@ad_asset_type = args[:ad_asset_type] if args.key?(:ad_asset_type)
|
|
114
119
|
@entity_status = args[:entity_status] if args.key?(:entity_status)
|
|
115
120
|
@name = args[:name] if args.key?(:name)
|
|
121
|
+
@synthetic_content_attestation_status = args[:synthetic_content_attestation_status] if args.key?(:synthetic_content_attestation_status)
|
|
116
122
|
@youtube_video_asset = args[:youtube_video_asset] if args.key?(:youtube_video_asset)
|
|
117
123
|
end
|
|
118
124
|
end
|
|
@@ -5763,6 +5769,12 @@ module Google
|
|
|
5763
5769
|
attr_accessor :skippable
|
|
5764
5770
|
alias_method :skippable?, :skippable
|
|
5765
5771
|
|
|
5772
|
+
# Optional. Whether the creative contains synthetic content or was created using
|
|
5773
|
+
# AI.
|
|
5774
|
+
# Corresponds to the JSON property `syntheticContentAttestationStatus`
|
|
5775
|
+
# @return [String]
|
|
5776
|
+
attr_accessor :synthetic_content_attestation_status
|
|
5777
|
+
|
|
5766
5778
|
# Optional. The original third-party tag used for the creative. Required and
|
|
5767
5779
|
# only valid for third-party tag creatives. Third-party tag creatives are
|
|
5768
5780
|
# creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY`
|
|
@@ -5886,6 +5898,7 @@ module Google
|
|
|
5886
5898
|
@review_status = args[:review_status] if args.key?(:review_status)
|
|
5887
5899
|
@skip_offset = args[:skip_offset] if args.key?(:skip_offset)
|
|
5888
5900
|
@skippable = args[:skippable] if args.key?(:skippable)
|
|
5901
|
+
@synthetic_content_attestation_status = args[:synthetic_content_attestation_status] if args.key?(:synthetic_content_attestation_status)
|
|
5889
5902
|
@third_party_tag = args[:third_party_tag] if args.key?(:third_party_tag)
|
|
5890
5903
|
@third_party_urls = args[:third_party_urls] if args.key?(:third_party_urls)
|
|
5891
5904
|
@timer_events = args[:timer_events] if args.key?(:timer_events)
|
|
@@ -12846,6 +12859,17 @@ module Google
|
|
|
12846
12859
|
class PlannedProductForecast
|
|
12847
12860
|
include Google::Apis::Core::Hashable
|
|
12848
12861
|
|
|
12862
|
+
# Number of on-target impressions including co-viewers.
|
|
12863
|
+
# Corresponds to the JSON property `onTargetCoviewImpressions`
|
|
12864
|
+
# @return [Fixnum]
|
|
12865
|
+
attr_accessor :on_target_coview_impressions
|
|
12866
|
+
|
|
12867
|
+
# Number of unique people reached that match the on-target definition including
|
|
12868
|
+
# co-viewers.
|
|
12869
|
+
# Corresponds to the JSON property `onTargetCoviewReach`
|
|
12870
|
+
# @return [Fixnum]
|
|
12871
|
+
attr_accessor :on_target_coview_reach
|
|
12872
|
+
|
|
12849
12873
|
# Number of on-target impressions.
|
|
12850
12874
|
# Corresponds to the JSON property `onTargetImpressions`
|
|
12851
12875
|
# @return [Fixnum]
|
|
@@ -12856,6 +12880,16 @@ module Google
|
|
|
12856
12880
|
# @return [Fixnum]
|
|
12857
12881
|
attr_accessor :on_target_reach
|
|
12858
12882
|
|
|
12883
|
+
# Total number of impressions including co-viewers.
|
|
12884
|
+
# Corresponds to the JSON property `totalCoviewImpressions`
|
|
12885
|
+
# @return [Fixnum]
|
|
12886
|
+
attr_accessor :total_coview_impressions
|
|
12887
|
+
|
|
12888
|
+
# Total number of unique people reached including co-viewers.
|
|
12889
|
+
# Corresponds to the JSON property `totalCoviewReach`
|
|
12890
|
+
# @return [Fixnum]
|
|
12891
|
+
attr_accessor :total_coview_reach
|
|
12892
|
+
|
|
12859
12893
|
# Total number of impressions.
|
|
12860
12894
|
# Corresponds to the JSON property `totalImpressions`
|
|
12861
12895
|
# @return [Fixnum]
|
|
@@ -12882,8 +12916,12 @@ module Google
|
|
|
12882
12916
|
|
|
12883
12917
|
# Update properties of this object
|
|
12884
12918
|
def update!(**args)
|
|
12919
|
+
@on_target_coview_impressions = args[:on_target_coview_impressions] if args.key?(:on_target_coview_impressions)
|
|
12920
|
+
@on_target_coview_reach = args[:on_target_coview_reach] if args.key?(:on_target_coview_reach)
|
|
12885
12921
|
@on_target_impressions = args[:on_target_impressions] if args.key?(:on_target_impressions)
|
|
12886
12922
|
@on_target_reach = args[:on_target_reach] if args.key?(:on_target_reach)
|
|
12923
|
+
@total_coview_impressions = args[:total_coview_impressions] if args.key?(:total_coview_impressions)
|
|
12924
|
+
@total_coview_reach = args[:total_coview_reach] if args.key?(:total_coview_reach)
|
|
12887
12925
|
@total_impressions = args[:total_impressions] if args.key?(:total_impressions)
|
|
12888
12926
|
@total_reach = args[:total_reach] if args.key?(:total_reach)
|
|
12889
12927
|
@trueview_views = args[:trueview_views] if args.key?(:trueview_views)
|
|
@@ -14885,6 +14923,11 @@ module Google
|
|
|
14885
14923
|
# @return [String]
|
|
14886
14924
|
attr_accessor :filename
|
|
14887
14925
|
|
|
14926
|
+
# Optional. Whether the asset contains synthetic content or was created using AI.
|
|
14927
|
+
# Corresponds to the JSON property `syntheticContentAttestationStatus`
|
|
14928
|
+
# @return [String]
|
|
14929
|
+
attr_accessor :synthetic_content_attestation_status
|
|
14930
|
+
|
|
14888
14931
|
def initialize(**args)
|
|
14889
14932
|
update!(**args)
|
|
14890
14933
|
end
|
|
@@ -14893,6 +14936,7 @@ module Google
|
|
|
14893
14936
|
def update!(**args)
|
|
14894
14937
|
@ad_asset_type = args[:ad_asset_type] if args.key?(:ad_asset_type)
|
|
14895
14938
|
@filename = args[:filename] if args.key?(:filename)
|
|
14939
|
+
@synthetic_content_attestation_status = args[:synthetic_content_attestation_status] if args.key?(:synthetic_content_attestation_status)
|
|
14896
14940
|
end
|
|
14897
14941
|
end
|
|
14898
14942
|
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.25.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 = "
|
|
25
|
+
REVISION = "20260720"
|
|
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 `synthetic_content_attestation_status` field is
|
|
549
|
+
# 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`.
|
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.
|
|
4
|
+
version: 0.25.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.25.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:
|