google-apis-dfareporting_v5 0.2.0 → 0.3.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: '01862a0fd7d82dc690689d7d43ee21bd73c153a4e15c098379b7f1e2369a64b7'
4
- data.tar.gz: ebf1ba282e1bbfe494dced74a76b8b7027e5dee4e488ecf0a4338caab358c9dc
3
+ metadata.gz: afb109a0340eb046242f236dd53473a275faf5e1d91875f546d66a443db0f061
4
+ data.tar.gz: 123af26101d3bd947ed79db4cb93e50afc9076b3c1bb574f8f0ad35a4d8ab33d
5
5
  SHA512:
6
- metadata.gz: f3a08cd5b015f8147732c09345b423e4bb73316b4f63c63e5bc02ca72f4d798f5ce308603a49c8124eadcbd394305039dc3b8a5f065954b60fe58e17c4fe7f81
7
- data.tar.gz: 2b44abda52193f17d93d1999f34c2e17843191ef941a2c331b008940be6bcc4ec32bb1188d5717a663be1d98a34dc71af249a6fa3c11015c13f3ea2e308dbc5b
6
+ metadata.gz: d3222ea15ebf2681e6f611186a9097ab541ac4246f8a8448a6b10fe904ab7a20c5f05f99fe20167f14998a3247d31e6c9f530ac983514b5ced89e67a2a7fb9ff
7
+ data.tar.gz: de2e0c5700c0189b14bf792a785d4ef680f68bc39dfbc1c0b048c28ed6625abbcad318fcb4d1bb059056bec2896998da9f3508353ad0a909638ac03482acf07e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dfareporting_v5
2
2
 
3
+ ### v0.3.0 (2025-10-19)
4
+
5
+ * Regenerated from discovery document revision 20251009
6
+
3
7
  ### v0.2.0 (2025-09-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20250902
@@ -5469,6 +5469,39 @@ module Google
5469
5469
  end
5470
5470
  end
5471
5471
 
5472
+ # Request message for DfareportingStudioCreativeAssets.Insert.
5473
+ class DfareportingStudioCreativeAssetsInsertRequest
5474
+ include Google::Apis::Core::Hashable
5475
+
5476
+ # Optional. Studio account ID of the studio creative asset. It is a optional.
5477
+ # Corresponds to the JSON property `studioAccountId`
5478
+ # @return [Fixnum]
5479
+ attr_accessor :studio_account_id
5480
+
5481
+ # Required. Studio advertiser ID of the studio creative asset. It is a required
5482
+ # field on insertion.
5483
+ # Corresponds to the JSON property `studioAdvertiserId`
5484
+ # @return [Fixnum]
5485
+ attr_accessor :studio_advertiser_id
5486
+
5487
+ # Optional. Studio creative ID of the studio creative asset. It is a optional
5488
+ # field. If it is set, the asset will be associated to the creative.
5489
+ # Corresponds to the JSON property `studioCreativeId`
5490
+ # @return [Fixnum]
5491
+ attr_accessor :studio_creative_id
5492
+
5493
+ def initialize(**args)
5494
+ update!(**args)
5495
+ end
5496
+
5497
+ # Update properties of this object
5498
+ def update!(**args)
5499
+ @studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
5500
+ @studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
5501
+ @studio_creative_id = args[:studio_creative_id] if args.key?(:studio_creative_id)
5502
+ end
5503
+ end
5504
+
5472
5505
  # Google Ad Manager Settings
5473
5506
  class DfpSettings
5474
5507
  include Google::Apis::Core::Hashable
@@ -5952,8 +5985,7 @@ module Google
5952
5985
 
5953
5986
  # Dynamic profile ID is required for dynamic feed insert as the current GPA API
5954
5987
  # only can create a dynamic feed under profile context,even though the dynnamic
5955
- # feed itself don't need the dynamic profile id. See go/cm3-dco-display-api-
5956
- # interface
5988
+ # feed itself don't need the dynamic profile id. See
5957
5989
  class DynamicFeedsInsertRequest
5958
5990
  include Google::Apis::Core::Hashable
5959
5991
 
@@ -6093,6 +6125,25 @@ module Google
6093
6125
  end
6094
6126
  end
6095
6127
 
6128
+ # Response message for DfareportingDynamicProfiles.GenerateCode.
6129
+ class DynamicProfileGenerateCodeResponse
6130
+ include Google::Apis::Core::Hashable
6131
+
6132
+ # Generated code for the dynamic profile.
6133
+ # Corresponds to the JSON property `code`
6134
+ # @return [String]
6135
+ attr_accessor :code
6136
+
6137
+ def initialize(**args)
6138
+ update!(**args)
6139
+ end
6140
+
6141
+ # Update properties of this object
6142
+ def update!(**args)
6143
+ @code = args[:code] if args.key?(:code)
6144
+ end
6145
+ end
6146
+
6096
6147
  # Contains dynamic profile version information.
6097
6148
  class DynamicProfileVersion
6098
6149
  include Google::Apis::Core::Hashable
@@ -12162,6 +12213,225 @@ module Google
12162
12213
  end
12163
12214
  end
12164
12215
 
12216
+ # Contains studio creative information.
12217
+ class StudioCreative
12218
+ include Google::Apis::Core::Hashable
12219
+
12220
+ # List of assets associated with this studio creative. It is a required field on
12221
+ # insertion.
12222
+ # Corresponds to the JSON property `assetIds`
12223
+ # @return [Array<Fixnum>]
12224
+ attr_accessor :asset_ids
12225
+
12226
+ # Backup image asset ID of this studio creative.
12227
+ # Corresponds to the JSON property `backupImageAssetId`
12228
+ # @return [Fixnum]
12229
+ attr_accessor :backup_image_asset_id
12230
+
12231
+ # Modification timestamp.
12232
+ # Corresponds to the JSON property `createdInfo`
12233
+ # @return [Google::Apis::DfareportingV5::LastModifiedInfo]
12234
+ attr_accessor :created_info
12235
+
12236
+ # Dimension information for a studio creative.
12237
+ # Corresponds to the JSON property `dimension`
12238
+ # @return [Google::Apis::DfareportingV5::StudioCreativeDimension]
12239
+ attr_accessor :dimension
12240
+
12241
+ # Dynamic profile ID of this studio creative.
12242
+ # Corresponds to the JSON property `dynamicProfileId`
12243
+ # @return [Fixnum]
12244
+ attr_accessor :dynamic_profile_id
12245
+
12246
+ # Format of this studio creative. This is a required field on insertion.
12247
+ # Corresponds to the JSON property `format`
12248
+ # @return [String]
12249
+ attr_accessor :format
12250
+
12251
+ # Output only. Unique ID of this studio creative. This is a read-only, auto-
12252
+ # generated field.
12253
+ # Corresponds to the JSON property `id`
12254
+ # @return [Fixnum]
12255
+ attr_accessor :id
12256
+
12257
+ # Modification timestamp.
12258
+ # Corresponds to the JSON property `lastModifiedInfo`
12259
+ # @return [Google::Apis::DfareportingV5::LastModifiedInfo]
12260
+ attr_accessor :last_modified_info
12261
+
12262
+ # Identifier. Name of this studio creative. This is a required field on
12263
+ # insertion.
12264
+ # Corresponds to the JSON property `name`
12265
+ # @return [String]
12266
+ attr_accessor :name
12267
+
12268
+ # Output only. Status of this studio creative. It is a read-only field.
12269
+ # Corresponds to the JSON property `status`
12270
+ # @return [String]
12271
+ attr_accessor :status
12272
+
12273
+ # Studio account ID of this creative. This field, if left unset, will be auto-
12274
+ # populated.
12275
+ # Corresponds to the JSON property `studioAccountId`
12276
+ # @return [Fixnum]
12277
+ attr_accessor :studio_account_id
12278
+
12279
+ # Studio advertiser ID of this studio creative. This is a required field on
12280
+ # insertion.
12281
+ # Corresponds to the JSON property `studioAdvertiserId`
12282
+ # @return [Fixnum]
12283
+ attr_accessor :studio_advertiser_id
12284
+
12285
+ # Studio campaign ID of this studio creative. This is a required field on
12286
+ # insertion.
12287
+ # Corresponds to the JSON property `studioCampaignId`
12288
+ # @return [Fixnum]
12289
+ attr_accessor :studio_campaign_id
12290
+
12291
+ def initialize(**args)
12292
+ update!(**args)
12293
+ end
12294
+
12295
+ # Update properties of this object
12296
+ def update!(**args)
12297
+ @asset_ids = args[:asset_ids] if args.key?(:asset_ids)
12298
+ @backup_image_asset_id = args[:backup_image_asset_id] if args.key?(:backup_image_asset_id)
12299
+ @created_info = args[:created_info] if args.key?(:created_info)
12300
+ @dimension = args[:dimension] if args.key?(:dimension)
12301
+ @dynamic_profile_id = args[:dynamic_profile_id] if args.key?(:dynamic_profile_id)
12302
+ @format = args[:format] if args.key?(:format)
12303
+ @id = args[:id] if args.key?(:id)
12304
+ @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
12305
+ @name = args[:name] if args.key?(:name)
12306
+ @status = args[:status] if args.key?(:status)
12307
+ @studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
12308
+ @studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
12309
+ @studio_campaign_id = args[:studio_campaign_id] if args.key?(:studio_campaign_id)
12310
+ end
12311
+ end
12312
+
12313
+ # Contains studio creative asset information.
12314
+ class StudioCreativeAsset
12315
+ include Google::Apis::Core::Hashable
12316
+
12317
+ # Modification timestamp.
12318
+ # Corresponds to the JSON property `createInfo`
12319
+ # @return [Google::Apis::DfareportingV5::LastModifiedInfo]
12320
+ attr_accessor :create_info
12321
+
12322
+ # The filename of the studio creative asset. It is default to the original
12323
+ # filename of the asset.
12324
+ # Corresponds to the JSON property `filename`
12325
+ # @return [String]
12326
+ attr_accessor :filename
12327
+
12328
+ # The filesize of the studio creative asset. This is a read-only field.
12329
+ # Corresponds to the JSON property `filesize`
12330
+ # @return [Fixnum]
12331
+ attr_accessor :filesize
12332
+
12333
+ # Output only. Unique ID of this studio creative asset. This is a read-only,
12334
+ # auto-generated field.
12335
+ # Corresponds to the JSON property `id`
12336
+ # @return [Fixnum]
12337
+ attr_accessor :id
12338
+
12339
+ # Modification timestamp.
12340
+ # Corresponds to the JSON property `lastModifiedInfo`
12341
+ # @return [Google::Apis::DfareportingV5::LastModifiedInfo]
12342
+ attr_accessor :last_modified_info
12343
+
12344
+ # Studio account ID of this studio creative asset. This field, if left unset,
12345
+ # will be auto-populated..
12346
+ # Corresponds to the JSON property `studioAccountId`
12347
+ # @return [Fixnum]
12348
+ attr_accessor :studio_account_id
12349
+
12350
+ # Studio advertiser ID of this studio creative asset. This is a required field
12351
+ # on insertion.
12352
+ # Corresponds to the JSON property `studioAdvertiserId`
12353
+ # @return [Fixnum]
12354
+ attr_accessor :studio_advertiser_id
12355
+
12356
+ # Studio creative ID of this studio creative asset. The asset will be associated
12357
+ # to the creative if creative id is set.
12358
+ # Corresponds to the JSON property `studioCreativeId`
12359
+ # @return [Fixnum]
12360
+ attr_accessor :studio_creative_id
12361
+
12362
+ # The type of the studio creative asset. It is a auto-generated, read-only field.
12363
+ # Corresponds to the JSON property `type`
12364
+ # @return [String]
12365
+ attr_accessor :type
12366
+
12367
+ # Contains processing data for a video asset.
12368
+ # Corresponds to the JSON property `videoProcessingData`
12369
+ # @return [Google::Apis::DfareportingV5::VideoProcessingData]
12370
+ attr_accessor :video_processing_data
12371
+
12372
+ def initialize(**args)
12373
+ update!(**args)
12374
+ end
12375
+
12376
+ # Update properties of this object
12377
+ def update!(**args)
12378
+ @create_info = args[:create_info] if args.key?(:create_info)
12379
+ @filename = args[:filename] if args.key?(:filename)
12380
+ @filesize = args[:filesize] if args.key?(:filesize)
12381
+ @id = args[:id] if args.key?(:id)
12382
+ @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
12383
+ @studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
12384
+ @studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
12385
+ @studio_creative_id = args[:studio_creative_id] if args.key?(:studio_creative_id)
12386
+ @type = args[:type] if args.key?(:type)
12387
+ @video_processing_data = args[:video_processing_data] if args.key?(:video_processing_data)
12388
+ end
12389
+ end
12390
+
12391
+ # Response message for DfareportingStudioCreativeAssets.Insert.
12392
+ class StudioCreativeAssetsResponse
12393
+ include Google::Apis::Core::Hashable
12394
+
12395
+ # The list of studio creative assets.
12396
+ # Corresponds to the JSON property `assets`
12397
+ # @return [Array<Google::Apis::DfareportingV5::StudioCreativeAsset>]
12398
+ attr_accessor :assets
12399
+
12400
+ def initialize(**args)
12401
+ update!(**args)
12402
+ end
12403
+
12404
+ # Update properties of this object
12405
+ def update!(**args)
12406
+ @assets = args[:assets] if args.key?(:assets)
12407
+ end
12408
+ end
12409
+
12410
+ # Dimension information for a studio creative.
12411
+ class StudioCreativeDimension
12412
+ include Google::Apis::Core::Hashable
12413
+
12414
+ # Height of the studio creative.
12415
+ # Corresponds to the JSON property `height`
12416
+ # @return [Fixnum]
12417
+ attr_accessor :height
12418
+
12419
+ # Width of the studio creative.
12420
+ # Corresponds to the JSON property `width`
12421
+ # @return [Fixnum]
12422
+ attr_accessor :width
12423
+
12424
+ def initialize(**args)
12425
+ update!(**args)
12426
+ end
12427
+
12428
+ # Update properties of this object
12429
+ def update!(**args)
12430
+ @height = args[:height] if args.key?(:height)
12431
+ @width = args[:width] if args.key?(:width)
12432
+ end
12433
+ end
12434
+
12165
12435
  # Contains properties of a Campaign Manager subaccount.
12166
12436
  class Subaccount
12167
12437
  include Google::Apis::Core::Hashable
@@ -13475,6 +13745,31 @@ module Google
13475
13745
  end
13476
13746
  end
13477
13747
 
13748
+ # Contains processing data for a video asset.
13749
+ class VideoProcessingData
13750
+ include Google::Apis::Core::Hashable
13751
+
13752
+ # For a FAILED processing state, the error reason discovered.
13753
+ # Corresponds to the JSON property `errorReason`
13754
+ # @return [String]
13755
+ attr_accessor :error_reason
13756
+
13757
+ # Output only. The processing state of the studio creative asset.
13758
+ # Corresponds to the JSON property `processingState`
13759
+ # @return [String]
13760
+ attr_accessor :processing_state
13761
+
13762
+ def initialize(**args)
13763
+ update!(**args)
13764
+ end
13765
+
13766
+ # Update properties of this object
13767
+ def update!(**args)
13768
+ @error_reason = args[:error_reason] if args.key?(:error_reason)
13769
+ @processing_state = args[:processing_state] if args.key?(:processing_state)
13770
+ end
13771
+ end
13772
+
13478
13773
  # Video Settings
13479
13774
  class VideoSettings
13480
13775
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DfareportingV5
18
18
  # Version of the google-apis-dfareporting_v5 gem
19
- GEM_VERSION = "0.2.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.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250902"
25
+ REVISION = "20251009"
26
26
  end
27
27
  end
28
28
  end
@@ -586,6 +586,12 @@ module Google
586
586
  include Google::Apis::Core::JsonObjectSupport
587
587
  end
588
588
 
589
+ class DfareportingStudioCreativeAssetsInsertRequest
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
589
595
  class DfpSettings
590
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
597
 
@@ -664,6 +670,12 @@ module Google
664
670
  include Google::Apis::Core::JsonObjectSupport
665
671
  end
666
672
 
673
+ class DynamicProfileGenerateCodeResponse
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
667
679
  class DynamicProfileVersion
668
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
681
 
@@ -1384,6 +1396,30 @@ module Google
1384
1396
  include Google::Apis::Core::JsonObjectSupport
1385
1397
  end
1386
1398
 
1399
+ class StudioCreative
1400
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1401
+
1402
+ include Google::Apis::Core::JsonObjectSupport
1403
+ end
1404
+
1405
+ class StudioCreativeAsset
1406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1407
+
1408
+ include Google::Apis::Core::JsonObjectSupport
1409
+ end
1410
+
1411
+ class StudioCreativeAssetsResponse
1412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1413
+
1414
+ include Google::Apis::Core::JsonObjectSupport
1415
+ end
1416
+
1417
+ class StudioCreativeDimension
1418
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1419
+
1420
+ include Google::Apis::Core::JsonObjectSupport
1421
+ end
1422
+
1387
1423
  class Subaccount
1388
1424
  class Representation < Google::Apis::Core::JsonRepresentation; end
1389
1425
 
@@ -1576,6 +1612,12 @@ module Google
1576
1612
  include Google::Apis::Core::JsonObjectSupport
1577
1613
  end
1578
1614
 
1615
+ class VideoProcessingData
1616
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1617
+
1618
+ include Google::Apis::Core::JsonObjectSupport
1619
+ end
1620
+
1579
1621
  class VideoSettings
1580
1622
  class Representation < Google::Apis::Core::JsonRepresentation; end
1581
1623
 
@@ -2907,6 +2949,15 @@ module Google
2907
2949
  end
2908
2950
  end
2909
2951
 
2952
+ class DfareportingStudioCreativeAssetsInsertRequest
2953
+ # @private
2954
+ class Representation < Google::Apis::Core::JsonRepresentation
2955
+ property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
2956
+ property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
2957
+ property :studio_creative_id, :numeric_string => true, as: 'studioCreativeId'
2958
+ end
2959
+ end
2960
+
2910
2961
  class DfpSettings
2911
2962
  # @private
2912
2963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3073,6 +3124,13 @@ module Google
3073
3124
  end
3074
3125
  end
3075
3126
 
3127
+ class DynamicProfileGenerateCodeResponse
3128
+ # @private
3129
+ class Representation < Google::Apis::Core::JsonRepresentation
3130
+ property :code, as: 'code'
3131
+ end
3132
+ end
3133
+
3076
3134
  class DynamicProfileVersion
3077
3135
  # @private
3078
3136
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4638,6 +4696,63 @@ module Google
4638
4696
  end
4639
4697
  end
4640
4698
 
4699
+ class StudioCreative
4700
+ # @private
4701
+ class Representation < Google::Apis::Core::JsonRepresentation
4702
+ collection :asset_ids, as: 'assetIds'
4703
+ property :backup_image_asset_id, :numeric_string => true, as: 'backupImageAssetId'
4704
+ property :created_info, as: 'createdInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
4705
+
4706
+ property :dimension, as: 'dimension', class: Google::Apis::DfareportingV5::StudioCreativeDimension, decorator: Google::Apis::DfareportingV5::StudioCreativeDimension::Representation
4707
+
4708
+ property :dynamic_profile_id, :numeric_string => true, as: 'dynamicProfileId'
4709
+ property :format, as: 'format'
4710
+ property :id, :numeric_string => true, as: 'id'
4711
+ property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
4712
+
4713
+ property :name, as: 'name'
4714
+ property :status, as: 'status'
4715
+ property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
4716
+ property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
4717
+ property :studio_campaign_id, :numeric_string => true, as: 'studioCampaignId'
4718
+ end
4719
+ end
4720
+
4721
+ class StudioCreativeAsset
4722
+ # @private
4723
+ class Representation < Google::Apis::Core::JsonRepresentation
4724
+ property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
4725
+
4726
+ property :filename, as: 'filename'
4727
+ property :filesize, :numeric_string => true, as: 'filesize'
4728
+ property :id, :numeric_string => true, as: 'id'
4729
+ property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
4730
+
4731
+ property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
4732
+ property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
4733
+ property :studio_creative_id, :numeric_string => true, as: 'studioCreativeId'
4734
+ property :type, as: 'type'
4735
+ property :video_processing_data, as: 'videoProcessingData', class: Google::Apis::DfareportingV5::VideoProcessingData, decorator: Google::Apis::DfareportingV5::VideoProcessingData::Representation
4736
+
4737
+ end
4738
+ end
4739
+
4740
+ class StudioCreativeAssetsResponse
4741
+ # @private
4742
+ class Representation < Google::Apis::Core::JsonRepresentation
4743
+ collection :assets, as: 'assets', class: Google::Apis::DfareportingV5::StudioCreativeAsset, decorator: Google::Apis::DfareportingV5::StudioCreativeAsset::Representation
4744
+
4745
+ end
4746
+ end
4747
+
4748
+ class StudioCreativeDimension
4749
+ # @private
4750
+ class Representation < Google::Apis::Core::JsonRepresentation
4751
+ property :height, as: 'height'
4752
+ property :width, as: 'width'
4753
+ end
4754
+ end
4755
+
4641
4756
  class Subaccount
4642
4757
  # @private
4643
4758
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4990,6 +5105,14 @@ module Google
4990
5105
  end
4991
5106
  end
4992
5107
 
5108
+ class VideoProcessingData
5109
+ # @private
5110
+ class Representation < Google::Apis::Core::JsonRepresentation
5111
+ property :error_reason, as: 'errorReason'
5112
+ property :processing_state, as: 'processingState'
5113
+ end
5114
+ end
5115
+
4993
5116
  class VideoSettings
4994
5117
  # @private
4995
5118
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3769,6 +3769,96 @@ module Google
3769
3769
  execute_or_queue_command(command, &block)
3770
3770
  end
3771
3771
 
3772
+ # Retransforms a dynamic feed.
3773
+ # @param [Fixnum] dynamic_feed_id
3774
+ # Required. Dynamic feed ID.
3775
+ # @param [String] fields
3776
+ # Selector specifying which fields to include in a partial response.
3777
+ # @param [String] quota_user
3778
+ # Available to use for quota purposes for server-side applications. Can be any
3779
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3780
+ # @param [Google::Apis::RequestOptions] options
3781
+ # Request-specific options
3782
+ #
3783
+ # @yield [result, err] Result & error if block supplied
3784
+ # @yieldparam result [Google::Apis::DfareportingV5::DynamicFeed] parsed result object
3785
+ # @yieldparam err [StandardError] error object if request failed
3786
+ #
3787
+ # @return [Google::Apis::DfareportingV5::DynamicFeed]
3788
+ #
3789
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3790
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3791
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3792
+ def retransform_dynamic_feed(dynamic_feed_id, fields: nil, quota_user: nil, options: nil, &block)
3793
+ command = make_simple_command(:post, 'studio/dynamicFeeds/{+dynamicFeedId}/retransform', options)
3794
+ command.response_representation = Google::Apis::DfareportingV5::DynamicFeed::Representation
3795
+ command.response_class = Google::Apis::DfareportingV5::DynamicFeed
3796
+ command.params['dynamicFeedId'] = dynamic_feed_id unless dynamic_feed_id.nil?
3797
+ command.query['fields'] = fields unless fields.nil?
3798
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3799
+ execute_or_queue_command(command, &block)
3800
+ end
3801
+
3802
+ # Updates a new dynamic feed.
3803
+ # @param [Google::Apis::DfareportingV5::DynamicFeed] dynamic_feed_object
3804
+ # @param [String] fields
3805
+ # Selector specifying which fields to include in a partial response.
3806
+ # @param [String] quota_user
3807
+ # Available to use for quota purposes for server-side applications. Can be any
3808
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3809
+ # @param [Google::Apis::RequestOptions] options
3810
+ # Request-specific options
3811
+ #
3812
+ # @yield [result, err] Result & error if block supplied
3813
+ # @yieldparam result [Google::Apis::DfareportingV5::DynamicFeed] parsed result object
3814
+ # @yieldparam err [StandardError] error object if request failed
3815
+ #
3816
+ # @return [Google::Apis::DfareportingV5::DynamicFeed]
3817
+ #
3818
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3819
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3820
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3821
+ def update_dynamic_feed(dynamic_feed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3822
+ command = make_simple_command(:put, 'studio/dynamicFeeds', options)
3823
+ command.request_representation = Google::Apis::DfareportingV5::DynamicFeed::Representation
3824
+ command.request_object = dynamic_feed_object
3825
+ command.response_representation = Google::Apis::DfareportingV5::DynamicFeed::Representation
3826
+ command.response_class = Google::Apis::DfareportingV5::DynamicFeed
3827
+ command.query['fields'] = fields unless fields.nil?
3828
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3829
+ execute_or_queue_command(command, &block)
3830
+ end
3831
+
3832
+ # Generates code for a dynamic profile.
3833
+ # @param [Fixnum] dynamic_profile_id
3834
+ # Required. Dynamic profile ID.
3835
+ # @param [String] fields
3836
+ # Selector specifying which fields to include in a partial response.
3837
+ # @param [String] quota_user
3838
+ # Available to use for quota purposes for server-side applications. Can be any
3839
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3840
+ # @param [Google::Apis::RequestOptions] options
3841
+ # Request-specific options
3842
+ #
3843
+ # @yield [result, err] Result & error if block supplied
3844
+ # @yieldparam result [Google::Apis::DfareportingV5::DynamicProfileGenerateCodeResponse] parsed result object
3845
+ # @yieldparam err [StandardError] error object if request failed
3846
+ #
3847
+ # @return [Google::Apis::DfareportingV5::DynamicProfileGenerateCodeResponse]
3848
+ #
3849
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3850
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3851
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3852
+ def generate_dynamic_profile_code(dynamic_profile_id, fields: nil, quota_user: nil, options: nil, &block)
3853
+ command = make_simple_command(:get, 'studio/dynamicProfiles/{+dynamicProfileId}/generateCode', options)
3854
+ command.response_representation = Google::Apis::DfareportingV5::DynamicProfileGenerateCodeResponse::Representation
3855
+ command.response_class = Google::Apis::DfareportingV5::DynamicProfileGenerateCodeResponse
3856
+ command.params['dynamicProfileId'] = dynamic_profile_id unless dynamic_profile_id.nil?
3857
+ command.query['fields'] = fields unless fields.nil?
3858
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3859
+ execute_or_queue_command(command, &block)
3860
+ end
3861
+
3772
3862
  # Gets a dynamic profile by ID.
3773
3863
  # @param [Fixnum] dynamic_profile_id
3774
3864
  # Required. Dynamic profile ID.
@@ -3829,6 +3919,34 @@ module Google
3829
3919
  execute_or_queue_command(command, &block)
3830
3920
  end
3831
3921
 
3922
+ # Publish for a dynamic profile.
3923
+ # @param [Fixnum] dynamic_profile_id
3924
+ # Required. Dynamic profile ID.
3925
+ # @param [String] fields
3926
+ # Selector specifying which fields to include in a partial response.
3927
+ # @param [String] quota_user
3928
+ # Available to use for quota purposes for server-side applications. Can be any
3929
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3930
+ # @param [Google::Apis::RequestOptions] options
3931
+ # Request-specific options
3932
+ #
3933
+ # @yield [result, err] Result & error if block supplied
3934
+ # @yieldparam result [NilClass] No result returned for this method
3935
+ # @yieldparam err [StandardError] error object if request failed
3936
+ #
3937
+ # @return [void]
3938
+ #
3939
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3940
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3941
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3942
+ def publish_dynamic_profile(dynamic_profile_id, fields: nil, quota_user: nil, options: nil, &block)
3943
+ command = make_simple_command(:post, 'studio/dynamicProfiles/{+dynamicProfileId}/publish', options)
3944
+ command.params['dynamicProfileId'] = dynamic_profile_id unless dynamic_profile_id.nil?
3945
+ command.query['fields'] = fields unless fields.nil?
3946
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3947
+ execute_or_queue_command(command, &block)
3948
+ end
3949
+
3832
3950
  # Updates an existing dynamic profile.
3833
3951
  # @param [Google::Apis::DfareportingV5::DynamicProfile] dynamic_profile_object
3834
3952
  # @param [String] fields
@@ -7132,6 +7250,134 @@ module Google
7132
7250
  execute_or_queue_command(command, &block)
7133
7251
  end
7134
7252
 
7253
+ # Inserts a new studio creative asset.
7254
+ # @param [Google::Apis::DfareportingV5::DfareportingStudioCreativeAssetsInsertRequest] dfareporting_studio_creative_assets_insert_request_object
7255
+ # @param [String] fields
7256
+ # Selector specifying which fields to include in a partial response.
7257
+ # @param [String] quota_user
7258
+ # Available to use for quota purposes for server-side applications. Can be any
7259
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7260
+ # @param [IO, String] upload_source
7261
+ # IO stream or filename containing content to upload
7262
+ # @param [String] content_type
7263
+ # Content type of the uploaded content.
7264
+ # @param [Google::Apis::RequestOptions] options
7265
+ # Request-specific options
7266
+ #
7267
+ # @yield [result, err] Result & error if block supplied
7268
+ # @yieldparam result [Google::Apis::DfareportingV5::StudioCreativeAssetsResponse] parsed result object
7269
+ # @yieldparam err [StandardError] error object if request failed
7270
+ #
7271
+ # @return [Google::Apis::DfareportingV5::StudioCreativeAssetsResponse]
7272
+ #
7273
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7274
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7275
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7276
+ def insert_studio_creative_asset(dfareporting_studio_creative_assets_insert_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
7277
+ if upload_source.nil?
7278
+ command = make_simple_command(:post, 'studio/creativeAssets', options)
7279
+ else
7280
+ command = make_upload_command(:post, 'studio/creativeAssets', options)
7281
+ command.upload_source = upload_source
7282
+ command.upload_content_type = content_type
7283
+ end
7284
+ command.request_representation = Google::Apis::DfareportingV5::DfareportingStudioCreativeAssetsInsertRequest::Representation
7285
+ command.request_object = dfareporting_studio_creative_assets_insert_request_object
7286
+ command.response_representation = Google::Apis::DfareportingV5::StudioCreativeAssetsResponse::Representation
7287
+ command.response_class = Google::Apis::DfareportingV5::StudioCreativeAssetsResponse
7288
+ command.query['fields'] = fields unless fields.nil?
7289
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7290
+ execute_or_queue_command(command, &block)
7291
+ end
7292
+
7293
+ # Gets a studio creative by ID.
7294
+ # @param [Fixnum] studio_creative_id
7295
+ # Required. Studio creative ID.
7296
+ # @param [String] fields
7297
+ # Selector specifying which fields to include in a partial response.
7298
+ # @param [String] quota_user
7299
+ # Available to use for quota purposes for server-side applications. Can be any
7300
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7301
+ # @param [Google::Apis::RequestOptions] options
7302
+ # Request-specific options
7303
+ #
7304
+ # @yield [result, err] Result & error if block supplied
7305
+ # @yieldparam result [Google::Apis::DfareportingV5::StudioCreative] parsed result object
7306
+ # @yieldparam err [StandardError] error object if request failed
7307
+ #
7308
+ # @return [Google::Apis::DfareportingV5::StudioCreative]
7309
+ #
7310
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7311
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7312
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7313
+ def get_studio_creative(studio_creative_id, fields: nil, quota_user: nil, options: nil, &block)
7314
+ command = make_simple_command(:get, 'studio/creatives/{+studioCreativeId}', options)
7315
+ command.response_representation = Google::Apis::DfareportingV5::StudioCreative::Representation
7316
+ command.response_class = Google::Apis::DfareportingV5::StudioCreative
7317
+ command.params['studioCreativeId'] = studio_creative_id unless studio_creative_id.nil?
7318
+ command.query['fields'] = fields unless fields.nil?
7319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7320
+ execute_or_queue_command(command, &block)
7321
+ end
7322
+
7323
+ # Inserts a new studio creative.
7324
+ # @param [Google::Apis::DfareportingV5::StudioCreative] studio_creative_object
7325
+ # @param [String] fields
7326
+ # Selector specifying which fields to include in a partial response.
7327
+ # @param [String] quota_user
7328
+ # Available to use for quota purposes for server-side applications. Can be any
7329
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7330
+ # @param [Google::Apis::RequestOptions] options
7331
+ # Request-specific options
7332
+ #
7333
+ # @yield [result, err] Result & error if block supplied
7334
+ # @yieldparam result [Google::Apis::DfareportingV5::StudioCreative] parsed result object
7335
+ # @yieldparam err [StandardError] error object if request failed
7336
+ #
7337
+ # @return [Google::Apis::DfareportingV5::StudioCreative]
7338
+ #
7339
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7340
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7341
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7342
+ def insert_studio_creative(studio_creative_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7343
+ command = make_simple_command(:post, 'studio/creatives', options)
7344
+ command.request_representation = Google::Apis::DfareportingV5::StudioCreative::Representation
7345
+ command.request_object = studio_creative_object
7346
+ command.response_representation = Google::Apis::DfareportingV5::StudioCreative::Representation
7347
+ command.response_class = Google::Apis::DfareportingV5::StudioCreative
7348
+ command.query['fields'] = fields unless fields.nil?
7349
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7350
+ execute_or_queue_command(command, &block)
7351
+ end
7352
+
7353
+ # Publish for a studio creative.
7354
+ # @param [Fixnum] studio_creative_id
7355
+ # Required. Studio creative ID.
7356
+ # @param [String] fields
7357
+ # Selector specifying which fields to include in a partial response.
7358
+ # @param [String] quota_user
7359
+ # Available to use for quota purposes for server-side applications. Can be any
7360
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7361
+ # @param [Google::Apis::RequestOptions] options
7362
+ # Request-specific options
7363
+ #
7364
+ # @yield [result, err] Result & error if block supplied
7365
+ # @yieldparam result [NilClass] No result returned for this method
7366
+ # @yieldparam err [StandardError] error object if request failed
7367
+ #
7368
+ # @return [void]
7369
+ #
7370
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7371
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7372
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7373
+ def publish_studio_creative(studio_creative_id, fields: nil, quota_user: nil, options: nil, &block)
7374
+ command = make_simple_command(:post, 'studio/creatives/{+studioCreativeId}/publish', options)
7375
+ command.params['studioCreativeId'] = studio_creative_id unless studio_creative_id.nil?
7376
+ command.query['fields'] = fields unless fields.nil?
7377
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7378
+ execute_or_queue_command(command, &block)
7379
+ end
7380
+
7135
7381
  # Gets one subaccount by ID.
7136
7382
  # @param [Fixnum] profile_id
7137
7383
  # User profile ID associated with this request.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dfareporting_v5
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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-dfareporting_v5/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v5/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v5/v0.3.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dfareporting_v5
62
62
  rdoc_options: []
63
63
  require_paths: