google-apis-displayvideo_v4 0.23.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
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-displayvideo_v4
|
|
2
2
|
|
|
3
|
+
### v0.25.0 (2026-07-26)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260720
|
|
6
|
+
|
|
7
|
+
### v0.24.0 (2026-07-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260714
|
|
10
|
+
|
|
3
11
|
### v0.23.0 (2026-07-12)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260708
|
|
@@ -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
|
|
@@ -1327,6 +1333,21 @@ module Google
|
|
|
1327
1333
|
# @return [Google::Apis::DisplayvideoV4::AdvertiserDataAccessConfig]
|
|
1328
1334
|
attr_accessor :data_access_config
|
|
1329
1335
|
|
|
1336
|
+
# Optional. The default business name for the advertiser. This is the value used
|
|
1337
|
+
# by YouTube and Demand Gen ads under this advertiser if a business name is not
|
|
1338
|
+
# provided.
|
|
1339
|
+
# Corresponds to the JSON property `defaultBusinessName`
|
|
1340
|
+
# @return [String]
|
|
1341
|
+
attr_accessor :default_business_name
|
|
1342
|
+
|
|
1343
|
+
# Optional. The asset ID of the default logo image for the advertiser. This is
|
|
1344
|
+
# the asset ID that will be used by YouTube and Demand ads under this advertiser
|
|
1345
|
+
# if a logo asset is not provided. You must use advertisers.adAssets.upload to
|
|
1346
|
+
# upload this asset using the API.
|
|
1347
|
+
# Corresponds to the JSON property `defaultLogoAssetId`
|
|
1348
|
+
# @return [Fixnum]
|
|
1349
|
+
attr_accessor :default_logo_asset_id
|
|
1350
|
+
|
|
1330
1351
|
# Required. The display name of the advertiser. Must be UTF-8 encoded with a
|
|
1331
1352
|
# maximum size of 240 bytes.
|
|
1332
1353
|
# Corresponds to the JSON property `displayName`
|
|
@@ -1397,6 +1418,8 @@ module Google
|
|
|
1397
1418
|
@contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
|
|
1398
1419
|
@creative_config = args[:creative_config] if args.key?(:creative_config)
|
|
1399
1420
|
@data_access_config = args[:data_access_config] if args.key?(:data_access_config)
|
|
1421
|
+
@default_business_name = args[:default_business_name] if args.key?(:default_business_name)
|
|
1422
|
+
@default_logo_asset_id = args[:default_logo_asset_id] if args.key?(:default_logo_asset_id)
|
|
1400
1423
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1401
1424
|
@entity_status = args[:entity_status] if args.key?(:entity_status)
|
|
1402
1425
|
@general_config = args[:general_config] if args.key?(:general_config)
|
|
@@ -5746,6 +5769,12 @@ module Google
|
|
|
5746
5769
|
attr_accessor :skippable
|
|
5747
5770
|
alias_method :skippable?, :skippable
|
|
5748
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
|
+
|
|
5749
5778
|
# Optional. The original third-party tag used for the creative. Required and
|
|
5750
5779
|
# only valid for third-party tag creatives. Third-party tag creatives are
|
|
5751
5780
|
# creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY`
|
|
@@ -5869,6 +5898,7 @@ module Google
|
|
|
5869
5898
|
@review_status = args[:review_status] if args.key?(:review_status)
|
|
5870
5899
|
@skip_offset = args[:skip_offset] if args.key?(:skip_offset)
|
|
5871
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)
|
|
5872
5902
|
@third_party_tag = args[:third_party_tag] if args.key?(:third_party_tag)
|
|
5873
5903
|
@third_party_urls = args[:third_party_urls] if args.key?(:third_party_urls)
|
|
5874
5904
|
@timer_events = args[:timer_events] if args.key?(:timer_events)
|
|
@@ -6590,9 +6620,9 @@ module Google
|
|
|
6590
6620
|
class DemandGenCarouselAd
|
|
6591
6621
|
include Google::Apis::Core::Hashable
|
|
6592
6622
|
|
|
6593
|
-
#
|
|
6594
|
-
#
|
|
6595
|
-
#
|
|
6623
|
+
# Optional. The business name shown on the ad. This setting is required unless a
|
|
6624
|
+
# default value is set at the advertiser level. If left unset, the default value
|
|
6625
|
+
# will be applied.
|
|
6596
6626
|
# Corresponds to the JSON property `businessName`
|
|
6597
6627
|
# @return [String]
|
|
6598
6628
|
attr_accessor :business_name
|
|
@@ -6667,9 +6697,9 @@ module Google
|
|
|
6667
6697
|
class DemandGenImageAd
|
|
6668
6698
|
include Google::Apis::Core::Hashable
|
|
6669
6699
|
|
|
6670
|
-
#
|
|
6671
|
-
#
|
|
6672
|
-
#
|
|
6700
|
+
# Optional. The business name shown on the ad. This setting is required unless a
|
|
6701
|
+
# default value is set at the advertiser level. If left unset, the default value
|
|
6702
|
+
# will be applied.
|
|
6673
6703
|
# Corresponds to the JSON property `businessName`
|
|
6674
6704
|
# @return [String]
|
|
6675
6705
|
attr_accessor :business_name
|
|
@@ -6712,9 +6742,9 @@ module Google
|
|
|
6712
6742
|
# @return [Array<String>]
|
|
6713
6743
|
attr_accessor :headlines
|
|
6714
6744
|
|
|
6715
|
-
# The list of logo images shown on the ad.
|
|
6716
|
-
#
|
|
6717
|
-
#
|
|
6745
|
+
# The list of logo images shown on the ad. This setting is required unless a
|
|
6746
|
+
# default value is set at the advertiser level. If left unset, the default value
|
|
6747
|
+
# will be applied.
|
|
6718
6748
|
# Corresponds to the JSON property `logoImages`
|
|
6719
6749
|
# @return [Array<Google::Apis::DisplayvideoV4::ImageAsset>]
|
|
6720
6750
|
attr_accessor :logo_images
|
|
@@ -6771,9 +6801,9 @@ module Google
|
|
|
6771
6801
|
class DemandGenProductAd
|
|
6772
6802
|
include Google::Apis::Core::Hashable
|
|
6773
6803
|
|
|
6774
|
-
#
|
|
6775
|
-
#
|
|
6776
|
-
#
|
|
6804
|
+
# Optional. The business name shown on the ad. This setting is required unless a
|
|
6805
|
+
# default value is set at the advertiser level. If left unset, the default value
|
|
6806
|
+
# will be applied.
|
|
6777
6807
|
# Corresponds to the JSON property `businessName`
|
|
6778
6808
|
# @return [String]
|
|
6779
6809
|
attr_accessor :business_name
|
|
@@ -6898,9 +6928,9 @@ module Google
|
|
|
6898
6928
|
class DemandGenVideoAd
|
|
6899
6929
|
include Google::Apis::Core::Hashable
|
|
6900
6930
|
|
|
6901
|
-
#
|
|
6902
|
-
#
|
|
6903
|
-
#
|
|
6931
|
+
# Optional. The business name shown on the ad. This setting is required unless a
|
|
6932
|
+
# default value is set at the advertiser level. If left unset, the default value
|
|
6933
|
+
# will be applied.
|
|
6904
6934
|
# Corresponds to the JSON property `businessName`
|
|
6905
6935
|
# @return [String]
|
|
6906
6936
|
attr_accessor :business_name
|
|
@@ -12687,10 +12717,10 @@ module Google
|
|
|
12687
12717
|
# @return [Array<String>]
|
|
12688
12718
|
attr_accessor :genders
|
|
12689
12719
|
|
|
12690
|
-
# Output only. Targetable
|
|
12691
|
-
# Corresponds to the JSON property `
|
|
12692
|
-
# @return [String]
|
|
12693
|
-
attr_accessor :
|
|
12720
|
+
# Output only. Targetable networks for the ad product.
|
|
12721
|
+
# Corresponds to the JSON property `networks`
|
|
12722
|
+
# @return [Array<String>]
|
|
12723
|
+
attr_accessor :networks
|
|
12694
12724
|
|
|
12695
12725
|
# Surface targeting rules.
|
|
12696
12726
|
# Corresponds to the JSON property `surfaceTargetingCombinations`
|
|
@@ -12712,7 +12742,7 @@ module Google
|
|
|
12712
12742
|
@default_youtube_select_lineup = args[:default_youtube_select_lineup] if args.key?(:default_youtube_select_lineup)
|
|
12713
12743
|
@devices = args[:devices] if args.key?(:devices)
|
|
12714
12744
|
@genders = args[:genders] if args.key?(:genders)
|
|
12715
|
-
@
|
|
12745
|
+
@networks = args[:networks] if args.key?(:networks)
|
|
12716
12746
|
@surface_targeting_combinations = args[:surface_targeting_combinations] if args.key?(:surface_targeting_combinations)
|
|
12717
12747
|
@youtube_select_lineups = args[:youtube_select_lineups] if args.key?(:youtube_select_lineups)
|
|
12718
12748
|
end
|
|
@@ -12829,6 +12859,17 @@ module Google
|
|
|
12829
12859
|
class PlannedProductForecast
|
|
12830
12860
|
include Google::Apis::Core::Hashable
|
|
12831
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
|
+
|
|
12832
12873
|
# Number of on-target impressions.
|
|
12833
12874
|
# Corresponds to the JSON property `onTargetImpressions`
|
|
12834
12875
|
# @return [Fixnum]
|
|
@@ -12839,6 +12880,16 @@ module Google
|
|
|
12839
12880
|
# @return [Fixnum]
|
|
12840
12881
|
attr_accessor :on_target_reach
|
|
12841
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
|
+
|
|
12842
12893
|
# Total number of impressions.
|
|
12843
12894
|
# Corresponds to the JSON property `totalImpressions`
|
|
12844
12895
|
# @return [Fixnum]
|
|
@@ -12865,8 +12916,12 @@ module Google
|
|
|
12865
12916
|
|
|
12866
12917
|
# Update properties of this object
|
|
12867
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)
|
|
12868
12921
|
@on_target_impressions = args[:on_target_impressions] if args.key?(:on_target_impressions)
|
|
12869
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)
|
|
12870
12925
|
@total_impressions = args[:total_impressions] if args.key?(:total_impressions)
|
|
12871
12926
|
@total_reach = args[:total_reach] if args.key?(:total_reach)
|
|
12872
12927
|
@trueview_views = args[:trueview_views] if args.key?(:trueview_views)
|
|
@@ -14521,9 +14576,7 @@ module Google
|
|
|
14521
14576
|
# Optional. The third-party vendors measuring brand lift. The following third-
|
|
14522
14577
|
# party vendors are applicable: * `THIRD_PARTY_VENDOR_DYNATA` * `
|
|
14523
14578
|
# THIRD_PARTY_VENDOR_KANTAR` * `THIRD_PARTY_VENDOR_INTAGE` * `
|
|
14524
|
-
#
|
|
14525
|
-
# Starting **July 13, 2026**, this field will no longer support `
|
|
14526
|
-
# THIRD_PARTY_VENDOR_NIELSEN`.
|
|
14579
|
+
# THIRD_PARTY_VENDOR_MACROMILL`
|
|
14527
14580
|
# Corresponds to the JSON property `brandLiftVendorConfigs`
|
|
14528
14581
|
# @return [Array<Google::Apis::DisplayvideoV4::ThirdPartyVendorConfig>]
|
|
14529
14582
|
attr_accessor :brand_lift_vendor_configs
|
|
@@ -14870,6 +14923,11 @@ module Google
|
|
|
14870
14923
|
# @return [String]
|
|
14871
14924
|
attr_accessor :filename
|
|
14872
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
|
+
|
|
14873
14931
|
def initialize(**args)
|
|
14874
14932
|
update!(**args)
|
|
14875
14933
|
end
|
|
@@ -14878,6 +14936,7 @@ module Google
|
|
|
14878
14936
|
def update!(**args)
|
|
14879
14937
|
@ad_asset_type = args[:ad_asset_type] if args.key?(:ad_asset_type)
|
|
14880
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)
|
|
14881
14940
|
end
|
|
14882
14941
|
end
|
|
14883
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
|
|
@@ -2893,6 +2894,8 @@ module Google
|
|
|
2893
2894
|
|
|
2894
2895
|
property :data_access_config, as: 'dataAccessConfig', class: Google::Apis::DisplayvideoV4::AdvertiserDataAccessConfig, decorator: Google::Apis::DisplayvideoV4::AdvertiserDataAccessConfig::Representation
|
|
2895
2896
|
|
|
2897
|
+
property :default_business_name, as: 'defaultBusinessName'
|
|
2898
|
+
property :default_logo_asset_id, :numeric_string => true, as: 'defaultLogoAssetId'
|
|
2896
2899
|
property :display_name, as: 'displayName'
|
|
2897
2900
|
property :entity_status, as: 'entityStatus'
|
|
2898
2901
|
property :general_config, as: 'generalConfig', class: Google::Apis::DisplayvideoV4::AdvertiserGeneralConfig, decorator: Google::Apis::DisplayvideoV4::AdvertiserGeneralConfig::Representation
|
|
@@ -4089,6 +4092,7 @@ module Google
|
|
|
4089
4092
|
property :skip_offset, as: 'skipOffset', class: Google::Apis::DisplayvideoV4::AudioVideoOffset, decorator: Google::Apis::DisplayvideoV4::AudioVideoOffset::Representation
|
|
4090
4093
|
|
|
4091
4094
|
property :skippable, as: 'skippable'
|
|
4095
|
+
property :synthetic_content_attestation_status, as: 'syntheticContentAttestationStatus'
|
|
4092
4096
|
property :third_party_tag, as: 'thirdPartyTag'
|
|
4093
4097
|
collection :third_party_urls, as: 'thirdPartyUrls', class: Google::Apis::DisplayvideoV4::ThirdPartyUrl, decorator: Google::Apis::DisplayvideoV4::ThirdPartyUrl::Representation
|
|
4094
4098
|
|
|
@@ -5933,7 +5937,7 @@ module Google
|
|
|
5933
5937
|
|
|
5934
5938
|
collection :devices, as: 'devices'
|
|
5935
5939
|
collection :genders, as: 'genders'
|
|
5936
|
-
|
|
5940
|
+
collection :networks, as: 'networks'
|
|
5937
5941
|
property :surface_targeting_combinations, as: 'surfaceTargetingCombinations', class: Google::Apis::DisplayvideoV4::SurfaceTargetingCombinations, decorator: Google::Apis::DisplayvideoV4::SurfaceTargetingCombinations::Representation
|
|
5938
5942
|
|
|
5939
5943
|
collection :youtube_select_lineups, as: 'youtubeSelectLineups', class: Google::Apis::DisplayvideoV4::YouTubeSelectLineUp, decorator: Google::Apis::DisplayvideoV4::YouTubeSelectLineUp::Representation
|
|
@@ -5975,8 +5979,12 @@ module Google
|
|
|
5975
5979
|
class PlannedProductForecast
|
|
5976
5980
|
# @private
|
|
5977
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'
|
|
5978
5984
|
property :on_target_impressions, :numeric_string => true, as: 'onTargetImpressions'
|
|
5979
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'
|
|
5980
5988
|
property :total_impressions, :numeric_string => true, as: 'totalImpressions'
|
|
5981
5989
|
property :total_reach, :numeric_string => true, as: 'totalReach'
|
|
5982
5990
|
property :trueview_views, :numeric_string => true, as: 'trueviewViews'
|
|
@@ -6562,6 +6570,7 @@ module Google
|
|
|
6562
6570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6563
6571
|
property :ad_asset_type, as: 'adAssetType'
|
|
6564
6572
|
property :filename, as: 'filename'
|
|
6573
|
+
property :synthetic_content_attestation_status, as: 'syntheticContentAttestationStatus'
|
|
6565
6574
|
end
|
|
6566
6575
|
end
|
|
6567
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:
|