google-apis-dfareporting_v5 0.2.0 → 0.4.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: 44f149e565061a1d896b5fb57b4f5e21ca133cf9b63d6f25debd96a186804a0e
|
|
4
|
+
data.tar.gz: d152b823d45cacfa2dbeec2987e61ef995fd8cfadad42aa153eced0499372cce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e88cb22fa1b80ada015a984113fda17d040b1059e8231c4074d433c3e48a3ffdade0762b4a768fd55eb5f12b9e532ed0a230e8a05205d9ecb093a61b074c6c8
|
|
7
|
+
data.tar.gz: 8e49ed1dc0ed93c82becc4089bd5306ad25575fd65195cd8770258ebdee16503530e85f9ab6838840db687266611e7a4af6338f6ddb86af6fc9aa1bae216c932
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-dfareporting_v5
|
|
2
2
|
|
|
3
|
+
### v0.4.0 (2025-11-02)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251023
|
|
6
|
+
|
|
7
|
+
### v0.3.0 (2025-10-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251009
|
|
10
|
+
|
|
3
11
|
### v0.2.0 (2025-09-14)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250902
|
|
@@ -650,6 +650,11 @@ module Google
|
|
|
650
650
|
# @return [String]
|
|
651
651
|
attr_accessor :compatibility
|
|
652
652
|
|
|
653
|
+
# Contextual Keyword Targeting.
|
|
654
|
+
# Corresponds to the JSON property `contextualKeywordTargeting`
|
|
655
|
+
# @return [Google::Apis::DfareportingV5::ContextualKeywordTargeting]
|
|
656
|
+
attr_accessor :contextual_keyword_targeting
|
|
657
|
+
|
|
653
658
|
# Modification timestamp.
|
|
654
659
|
# Corresponds to the JSON property `createInfo`
|
|
655
660
|
# @return [Google::Apis::DfareportingV5::LastModifiedInfo]
|
|
@@ -820,6 +825,7 @@ module Google
|
|
|
820
825
|
@click_through_url_suffix_properties = args[:click_through_url_suffix_properties] if args.key?(:click_through_url_suffix_properties)
|
|
821
826
|
@comments = args[:comments] if args.key?(:comments)
|
|
822
827
|
@compatibility = args[:compatibility] if args.key?(:compatibility)
|
|
828
|
+
@contextual_keyword_targeting = args[:contextual_keyword_targeting] if args.key?(:contextual_keyword_targeting)
|
|
823
829
|
@create_info = args[:create_info] if args.key?(:create_info)
|
|
824
830
|
@creative_group_assignments = args[:creative_group_assignments] if args.key?(:creative_group_assignments)
|
|
825
831
|
@creative_rotation = args[:creative_rotation] if args.key?(:creative_rotation)
|
|
@@ -2793,6 +2799,44 @@ module Google
|
|
|
2793
2799
|
end
|
|
2794
2800
|
end
|
|
2795
2801
|
|
|
2802
|
+
# Contains information about a Contextual Keyword that can be targeted by ads.
|
|
2803
|
+
class ContextualKeyword
|
|
2804
|
+
include Google::Apis::Core::Hashable
|
|
2805
|
+
|
|
2806
|
+
# The keyword that can be targeted by ads.
|
|
2807
|
+
# Corresponds to the JSON property `keyword`
|
|
2808
|
+
# @return [String]
|
|
2809
|
+
attr_accessor :keyword
|
|
2810
|
+
|
|
2811
|
+
def initialize(**args)
|
|
2812
|
+
update!(**args)
|
|
2813
|
+
end
|
|
2814
|
+
|
|
2815
|
+
# Update properties of this object
|
|
2816
|
+
def update!(**args)
|
|
2817
|
+
@keyword = args[:keyword] if args.key?(:keyword)
|
|
2818
|
+
end
|
|
2819
|
+
end
|
|
2820
|
+
|
|
2821
|
+
# Contextual Keyword Targeting.
|
|
2822
|
+
class ContextualKeywordTargeting
|
|
2823
|
+
include Google::Apis::Core::Hashable
|
|
2824
|
+
|
|
2825
|
+
# Contextual keywords that this ad targets
|
|
2826
|
+
# Corresponds to the JSON property `keywords`
|
|
2827
|
+
# @return [Array<Google::Apis::DfareportingV5::ContextualKeyword>]
|
|
2828
|
+
attr_accessor :keywords
|
|
2829
|
+
|
|
2830
|
+
def initialize(**args)
|
|
2831
|
+
update!(**args)
|
|
2832
|
+
end
|
|
2833
|
+
|
|
2834
|
+
# Update properties of this object
|
|
2835
|
+
def update!(**args)
|
|
2836
|
+
@keywords = args[:keywords] if args.key?(:keywords)
|
|
2837
|
+
end
|
|
2838
|
+
end
|
|
2839
|
+
|
|
2796
2840
|
# A Conversion represents when a user successfully performs a desired action
|
|
2797
2841
|
# after seeing an ad.
|
|
2798
2842
|
class Conversion
|
|
@@ -5469,6 +5513,39 @@ module Google
|
|
|
5469
5513
|
end
|
|
5470
5514
|
end
|
|
5471
5515
|
|
|
5516
|
+
# Request message for DfareportingStudioCreativeAssets.Insert.
|
|
5517
|
+
class DfareportingStudioCreativeAssetsInsertRequest
|
|
5518
|
+
include Google::Apis::Core::Hashable
|
|
5519
|
+
|
|
5520
|
+
# Optional. Studio account ID of the studio creative asset. It is a optional.
|
|
5521
|
+
# Corresponds to the JSON property `studioAccountId`
|
|
5522
|
+
# @return [Fixnum]
|
|
5523
|
+
attr_accessor :studio_account_id
|
|
5524
|
+
|
|
5525
|
+
# Required. Studio advertiser ID of the studio creative asset. It is a required
|
|
5526
|
+
# field on insertion.
|
|
5527
|
+
# Corresponds to the JSON property `studioAdvertiserId`
|
|
5528
|
+
# @return [Fixnum]
|
|
5529
|
+
attr_accessor :studio_advertiser_id
|
|
5530
|
+
|
|
5531
|
+
# Optional. Studio creative ID of the studio creative asset. It is a optional
|
|
5532
|
+
# field. If it is set, the asset will be associated to the creative.
|
|
5533
|
+
# Corresponds to the JSON property `studioCreativeId`
|
|
5534
|
+
# @return [Fixnum]
|
|
5535
|
+
attr_accessor :studio_creative_id
|
|
5536
|
+
|
|
5537
|
+
def initialize(**args)
|
|
5538
|
+
update!(**args)
|
|
5539
|
+
end
|
|
5540
|
+
|
|
5541
|
+
# Update properties of this object
|
|
5542
|
+
def update!(**args)
|
|
5543
|
+
@studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
|
|
5544
|
+
@studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
|
|
5545
|
+
@studio_creative_id = args[:studio_creative_id] if args.key?(:studio_creative_id)
|
|
5546
|
+
end
|
|
5547
|
+
end
|
|
5548
|
+
|
|
5472
5549
|
# Google Ad Manager Settings
|
|
5473
5550
|
class DfpSettings
|
|
5474
5551
|
include Google::Apis::Core::Hashable
|
|
@@ -5952,8 +6029,7 @@ module Google
|
|
|
5952
6029
|
|
|
5953
6030
|
# Dynamic profile ID is required for dynamic feed insert as the current GPA API
|
|
5954
6031
|
# only can create a dynamic feed under profile context,even though the dynnamic
|
|
5955
|
-
# feed itself don't need the dynamic profile id. See
|
|
5956
|
-
# interface
|
|
6032
|
+
# feed itself don't need the dynamic profile id. See
|
|
5957
6033
|
class DynamicFeedsInsertRequest
|
|
5958
6034
|
include Google::Apis::Core::Hashable
|
|
5959
6035
|
|
|
@@ -6093,6 +6169,25 @@ module Google
|
|
|
6093
6169
|
end
|
|
6094
6170
|
end
|
|
6095
6171
|
|
|
6172
|
+
# Response message for DfareportingDynamicProfiles.GenerateCode.
|
|
6173
|
+
class DynamicProfileGenerateCodeResponse
|
|
6174
|
+
include Google::Apis::Core::Hashable
|
|
6175
|
+
|
|
6176
|
+
# Generated code for the dynamic profile.
|
|
6177
|
+
# Corresponds to the JSON property `code`
|
|
6178
|
+
# @return [String]
|
|
6179
|
+
attr_accessor :code
|
|
6180
|
+
|
|
6181
|
+
def initialize(**args)
|
|
6182
|
+
update!(**args)
|
|
6183
|
+
end
|
|
6184
|
+
|
|
6185
|
+
# Update properties of this object
|
|
6186
|
+
def update!(**args)
|
|
6187
|
+
@code = args[:code] if args.key?(:code)
|
|
6188
|
+
end
|
|
6189
|
+
end
|
|
6190
|
+
|
|
6096
6191
|
# Contains dynamic profile version information.
|
|
6097
6192
|
class DynamicProfileVersion
|
|
6098
6193
|
include Google::Apis::Core::Hashable
|
|
@@ -9218,7 +9313,8 @@ module Google
|
|
|
9218
9313
|
# DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`,
|
|
9219
9314
|
# TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP *
|
|
9220
9315
|
# `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`,
|
|
9221
|
-
# Teads * `21`, Quantcast * `22`, Cognitiv
|
|
9316
|
+
# Teads * `21`, Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent
|
|
9317
|
+
# * `25`, Pulsepoint
|
|
9222
9318
|
# Corresponds to the JSON property `adServingPlatformId`
|
|
9223
9319
|
# @return [Fixnum]
|
|
9224
9320
|
attr_accessor :ad_serving_platform_id
|
|
@@ -11586,7 +11682,8 @@ module Google
|
|
|
11586
11682
|
# Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`,
|
|
11587
11683
|
# The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global *
|
|
11588
11684
|
# `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`,
|
|
11589
|
-
# Quantcast * `22`, Cognitiv
|
|
11685
|
+
# Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent * `25`,
|
|
11686
|
+
# Pulsepoint
|
|
11590
11687
|
# Corresponds to the JSON property `adServingPlatformId`
|
|
11591
11688
|
# @return [Fixnum]
|
|
11592
11689
|
attr_accessor :ad_serving_platform_id
|
|
@@ -12162,6 +12259,225 @@ module Google
|
|
|
12162
12259
|
end
|
|
12163
12260
|
end
|
|
12164
12261
|
|
|
12262
|
+
# Contains studio creative information.
|
|
12263
|
+
class StudioCreative
|
|
12264
|
+
include Google::Apis::Core::Hashable
|
|
12265
|
+
|
|
12266
|
+
# List of assets associated with this studio creative. It is a required field on
|
|
12267
|
+
# insertion.
|
|
12268
|
+
# Corresponds to the JSON property `assetIds`
|
|
12269
|
+
# @return [Array<Fixnum>]
|
|
12270
|
+
attr_accessor :asset_ids
|
|
12271
|
+
|
|
12272
|
+
# Backup image asset ID of this studio creative.
|
|
12273
|
+
# Corresponds to the JSON property `backupImageAssetId`
|
|
12274
|
+
# @return [Fixnum]
|
|
12275
|
+
attr_accessor :backup_image_asset_id
|
|
12276
|
+
|
|
12277
|
+
# Modification timestamp.
|
|
12278
|
+
# Corresponds to the JSON property `createdInfo`
|
|
12279
|
+
# @return [Google::Apis::DfareportingV5::LastModifiedInfo]
|
|
12280
|
+
attr_accessor :created_info
|
|
12281
|
+
|
|
12282
|
+
# Dimension information for a studio creative.
|
|
12283
|
+
# Corresponds to the JSON property `dimension`
|
|
12284
|
+
# @return [Google::Apis::DfareportingV5::StudioCreativeDimension]
|
|
12285
|
+
attr_accessor :dimension
|
|
12286
|
+
|
|
12287
|
+
# Dynamic profile ID of this studio creative.
|
|
12288
|
+
# Corresponds to the JSON property `dynamicProfileId`
|
|
12289
|
+
# @return [Fixnum]
|
|
12290
|
+
attr_accessor :dynamic_profile_id
|
|
12291
|
+
|
|
12292
|
+
# Format of this studio creative. This is a required field on insertion.
|
|
12293
|
+
# Corresponds to the JSON property `format`
|
|
12294
|
+
# @return [String]
|
|
12295
|
+
attr_accessor :format
|
|
12296
|
+
|
|
12297
|
+
# Output only. Unique ID of this studio creative. This is a read-only, auto-
|
|
12298
|
+
# generated field.
|
|
12299
|
+
# Corresponds to the JSON property `id`
|
|
12300
|
+
# @return [Fixnum]
|
|
12301
|
+
attr_accessor :id
|
|
12302
|
+
|
|
12303
|
+
# Modification timestamp.
|
|
12304
|
+
# Corresponds to the JSON property `lastModifiedInfo`
|
|
12305
|
+
# @return [Google::Apis::DfareportingV5::LastModifiedInfo]
|
|
12306
|
+
attr_accessor :last_modified_info
|
|
12307
|
+
|
|
12308
|
+
# Identifier. Name of this studio creative. This is a required field on
|
|
12309
|
+
# insertion.
|
|
12310
|
+
# Corresponds to the JSON property `name`
|
|
12311
|
+
# @return [String]
|
|
12312
|
+
attr_accessor :name
|
|
12313
|
+
|
|
12314
|
+
# Output only. Status of this studio creative. It is a read-only field.
|
|
12315
|
+
# Corresponds to the JSON property `status`
|
|
12316
|
+
# @return [String]
|
|
12317
|
+
attr_accessor :status
|
|
12318
|
+
|
|
12319
|
+
# Studio account ID of this creative. This field, if left unset, will be auto-
|
|
12320
|
+
# populated.
|
|
12321
|
+
# Corresponds to the JSON property `studioAccountId`
|
|
12322
|
+
# @return [Fixnum]
|
|
12323
|
+
attr_accessor :studio_account_id
|
|
12324
|
+
|
|
12325
|
+
# Studio advertiser ID of this studio creative. This is a required field on
|
|
12326
|
+
# insertion.
|
|
12327
|
+
# Corresponds to the JSON property `studioAdvertiserId`
|
|
12328
|
+
# @return [Fixnum]
|
|
12329
|
+
attr_accessor :studio_advertiser_id
|
|
12330
|
+
|
|
12331
|
+
# Studio campaign ID of this studio creative. This is a required field on
|
|
12332
|
+
# insertion.
|
|
12333
|
+
# Corresponds to the JSON property `studioCampaignId`
|
|
12334
|
+
# @return [Fixnum]
|
|
12335
|
+
attr_accessor :studio_campaign_id
|
|
12336
|
+
|
|
12337
|
+
def initialize(**args)
|
|
12338
|
+
update!(**args)
|
|
12339
|
+
end
|
|
12340
|
+
|
|
12341
|
+
# Update properties of this object
|
|
12342
|
+
def update!(**args)
|
|
12343
|
+
@asset_ids = args[:asset_ids] if args.key?(:asset_ids)
|
|
12344
|
+
@backup_image_asset_id = args[:backup_image_asset_id] if args.key?(:backup_image_asset_id)
|
|
12345
|
+
@created_info = args[:created_info] if args.key?(:created_info)
|
|
12346
|
+
@dimension = args[:dimension] if args.key?(:dimension)
|
|
12347
|
+
@dynamic_profile_id = args[:dynamic_profile_id] if args.key?(:dynamic_profile_id)
|
|
12348
|
+
@format = args[:format] if args.key?(:format)
|
|
12349
|
+
@id = args[:id] if args.key?(:id)
|
|
12350
|
+
@last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
|
|
12351
|
+
@name = args[:name] if args.key?(:name)
|
|
12352
|
+
@status = args[:status] if args.key?(:status)
|
|
12353
|
+
@studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
|
|
12354
|
+
@studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
|
|
12355
|
+
@studio_campaign_id = args[:studio_campaign_id] if args.key?(:studio_campaign_id)
|
|
12356
|
+
end
|
|
12357
|
+
end
|
|
12358
|
+
|
|
12359
|
+
# Contains studio creative asset information.
|
|
12360
|
+
class StudioCreativeAsset
|
|
12361
|
+
include Google::Apis::Core::Hashable
|
|
12362
|
+
|
|
12363
|
+
# Modification timestamp.
|
|
12364
|
+
# Corresponds to the JSON property `createInfo`
|
|
12365
|
+
# @return [Google::Apis::DfareportingV5::LastModifiedInfo]
|
|
12366
|
+
attr_accessor :create_info
|
|
12367
|
+
|
|
12368
|
+
# The filename of the studio creative asset. It is default to the original
|
|
12369
|
+
# filename of the asset.
|
|
12370
|
+
# Corresponds to the JSON property `filename`
|
|
12371
|
+
# @return [String]
|
|
12372
|
+
attr_accessor :filename
|
|
12373
|
+
|
|
12374
|
+
# The filesize of the studio creative asset. This is a read-only field.
|
|
12375
|
+
# Corresponds to the JSON property `filesize`
|
|
12376
|
+
# @return [Fixnum]
|
|
12377
|
+
attr_accessor :filesize
|
|
12378
|
+
|
|
12379
|
+
# Output only. Unique ID of this studio creative asset. This is a read-only,
|
|
12380
|
+
# auto-generated field.
|
|
12381
|
+
# Corresponds to the JSON property `id`
|
|
12382
|
+
# @return [Fixnum]
|
|
12383
|
+
attr_accessor :id
|
|
12384
|
+
|
|
12385
|
+
# Modification timestamp.
|
|
12386
|
+
# Corresponds to the JSON property `lastModifiedInfo`
|
|
12387
|
+
# @return [Google::Apis::DfareportingV5::LastModifiedInfo]
|
|
12388
|
+
attr_accessor :last_modified_info
|
|
12389
|
+
|
|
12390
|
+
# Studio account ID of this studio creative asset. This field, if left unset,
|
|
12391
|
+
# will be auto-populated..
|
|
12392
|
+
# Corresponds to the JSON property `studioAccountId`
|
|
12393
|
+
# @return [Fixnum]
|
|
12394
|
+
attr_accessor :studio_account_id
|
|
12395
|
+
|
|
12396
|
+
# Studio advertiser ID of this studio creative asset. This is a required field
|
|
12397
|
+
# on insertion.
|
|
12398
|
+
# Corresponds to the JSON property `studioAdvertiserId`
|
|
12399
|
+
# @return [Fixnum]
|
|
12400
|
+
attr_accessor :studio_advertiser_id
|
|
12401
|
+
|
|
12402
|
+
# Studio creative ID of this studio creative asset. The asset will be associated
|
|
12403
|
+
# to the creative if creative id is set.
|
|
12404
|
+
# Corresponds to the JSON property `studioCreativeId`
|
|
12405
|
+
# @return [Fixnum]
|
|
12406
|
+
attr_accessor :studio_creative_id
|
|
12407
|
+
|
|
12408
|
+
# The type of the studio creative asset. It is a auto-generated, read-only field.
|
|
12409
|
+
# Corresponds to the JSON property `type`
|
|
12410
|
+
# @return [String]
|
|
12411
|
+
attr_accessor :type
|
|
12412
|
+
|
|
12413
|
+
# Contains processing data for a video asset.
|
|
12414
|
+
# Corresponds to the JSON property `videoProcessingData`
|
|
12415
|
+
# @return [Google::Apis::DfareportingV5::VideoProcessingData]
|
|
12416
|
+
attr_accessor :video_processing_data
|
|
12417
|
+
|
|
12418
|
+
def initialize(**args)
|
|
12419
|
+
update!(**args)
|
|
12420
|
+
end
|
|
12421
|
+
|
|
12422
|
+
# Update properties of this object
|
|
12423
|
+
def update!(**args)
|
|
12424
|
+
@create_info = args[:create_info] if args.key?(:create_info)
|
|
12425
|
+
@filename = args[:filename] if args.key?(:filename)
|
|
12426
|
+
@filesize = args[:filesize] if args.key?(:filesize)
|
|
12427
|
+
@id = args[:id] if args.key?(:id)
|
|
12428
|
+
@last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
|
|
12429
|
+
@studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
|
|
12430
|
+
@studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
|
|
12431
|
+
@studio_creative_id = args[:studio_creative_id] if args.key?(:studio_creative_id)
|
|
12432
|
+
@type = args[:type] if args.key?(:type)
|
|
12433
|
+
@video_processing_data = args[:video_processing_data] if args.key?(:video_processing_data)
|
|
12434
|
+
end
|
|
12435
|
+
end
|
|
12436
|
+
|
|
12437
|
+
# Response message for DfareportingStudioCreativeAssets.Insert.
|
|
12438
|
+
class StudioCreativeAssetsResponse
|
|
12439
|
+
include Google::Apis::Core::Hashable
|
|
12440
|
+
|
|
12441
|
+
# The list of studio creative assets.
|
|
12442
|
+
# Corresponds to the JSON property `assets`
|
|
12443
|
+
# @return [Array<Google::Apis::DfareportingV5::StudioCreativeAsset>]
|
|
12444
|
+
attr_accessor :assets
|
|
12445
|
+
|
|
12446
|
+
def initialize(**args)
|
|
12447
|
+
update!(**args)
|
|
12448
|
+
end
|
|
12449
|
+
|
|
12450
|
+
# Update properties of this object
|
|
12451
|
+
def update!(**args)
|
|
12452
|
+
@assets = args[:assets] if args.key?(:assets)
|
|
12453
|
+
end
|
|
12454
|
+
end
|
|
12455
|
+
|
|
12456
|
+
# Dimension information for a studio creative.
|
|
12457
|
+
class StudioCreativeDimension
|
|
12458
|
+
include Google::Apis::Core::Hashable
|
|
12459
|
+
|
|
12460
|
+
# Height of the studio creative.
|
|
12461
|
+
# Corresponds to the JSON property `height`
|
|
12462
|
+
# @return [Fixnum]
|
|
12463
|
+
attr_accessor :height
|
|
12464
|
+
|
|
12465
|
+
# Width of the studio creative.
|
|
12466
|
+
# Corresponds to the JSON property `width`
|
|
12467
|
+
# @return [Fixnum]
|
|
12468
|
+
attr_accessor :width
|
|
12469
|
+
|
|
12470
|
+
def initialize(**args)
|
|
12471
|
+
update!(**args)
|
|
12472
|
+
end
|
|
12473
|
+
|
|
12474
|
+
# Update properties of this object
|
|
12475
|
+
def update!(**args)
|
|
12476
|
+
@height = args[:height] if args.key?(:height)
|
|
12477
|
+
@width = args[:width] if args.key?(:width)
|
|
12478
|
+
end
|
|
12479
|
+
end
|
|
12480
|
+
|
|
12165
12481
|
# Contains properties of a Campaign Manager subaccount.
|
|
12166
12482
|
class Subaccount
|
|
12167
12483
|
include Google::Apis::Core::Hashable
|
|
@@ -12545,6 +12861,11 @@ module Google
|
|
|
12545
12861
|
# @return [Google::Apis::DfareportingV5::DimensionValue]
|
|
12546
12862
|
attr_accessor :advertiser_id_dimension_value
|
|
12547
12863
|
|
|
12864
|
+
# Contextual Keyword Targeting.
|
|
12865
|
+
# Corresponds to the JSON property `contextualKeywordTargeting`
|
|
12866
|
+
# @return [Google::Apis::DfareportingV5::ContextualKeywordTargeting]
|
|
12867
|
+
attr_accessor :contextual_keyword_targeting
|
|
12868
|
+
|
|
12548
12869
|
# Day Part Targeting.
|
|
12549
12870
|
# Corresponds to the JSON property `dayPartTargeting`
|
|
12550
12871
|
# @return [Google::Apis::DfareportingV5::DayPartTargeting]
|
|
@@ -12607,6 +12928,7 @@ module Google
|
|
|
12607
12928
|
@account_id = args[:account_id] if args.key?(:account_id)
|
|
12608
12929
|
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
|
12609
12930
|
@advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value)
|
|
12931
|
+
@contextual_keyword_targeting = args[:contextual_keyword_targeting] if args.key?(:contextual_keyword_targeting)
|
|
12610
12932
|
@day_part_targeting = args[:day_part_targeting] if args.key?(:day_part_targeting)
|
|
12611
12933
|
@geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting)
|
|
12612
12934
|
@id = args[:id] if args.key?(:id)
|
|
@@ -13475,6 +13797,31 @@ module Google
|
|
|
13475
13797
|
end
|
|
13476
13798
|
end
|
|
13477
13799
|
|
|
13800
|
+
# Contains processing data for a video asset.
|
|
13801
|
+
class VideoProcessingData
|
|
13802
|
+
include Google::Apis::Core::Hashable
|
|
13803
|
+
|
|
13804
|
+
# For a FAILED processing state, the error reason discovered.
|
|
13805
|
+
# Corresponds to the JSON property `errorReason`
|
|
13806
|
+
# @return [String]
|
|
13807
|
+
attr_accessor :error_reason
|
|
13808
|
+
|
|
13809
|
+
# Output only. The processing state of the studio creative asset.
|
|
13810
|
+
# Corresponds to the JSON property `processingState`
|
|
13811
|
+
# @return [String]
|
|
13812
|
+
attr_accessor :processing_state
|
|
13813
|
+
|
|
13814
|
+
def initialize(**args)
|
|
13815
|
+
update!(**args)
|
|
13816
|
+
end
|
|
13817
|
+
|
|
13818
|
+
# Update properties of this object
|
|
13819
|
+
def update!(**args)
|
|
13820
|
+
@error_reason = args[:error_reason] if args.key?(:error_reason)
|
|
13821
|
+
@processing_state = args[:processing_state] if args.key?(:processing_state)
|
|
13822
|
+
end
|
|
13823
|
+
end
|
|
13824
|
+
|
|
13478
13825
|
# Video Settings
|
|
13479
13826
|
class VideoSettings
|
|
13480
13827
|
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.
|
|
19
|
+
GEM_VERSION = "0.4.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 = "
|
|
25
|
+
REVISION = "20251023"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -340,6 +340,18 @@ module Google
|
|
|
340
340
|
include Google::Apis::Core::JsonObjectSupport
|
|
341
341
|
end
|
|
342
342
|
|
|
343
|
+
class ContextualKeyword
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
class ContextualKeywordTargeting
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
343
355
|
class Conversion
|
|
344
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
357
|
|
|
@@ -586,6 +598,12 @@ module Google
|
|
|
586
598
|
include Google::Apis::Core::JsonObjectSupport
|
|
587
599
|
end
|
|
588
600
|
|
|
601
|
+
class DfareportingStudioCreativeAssetsInsertRequest
|
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
|
+
|
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
605
|
+
end
|
|
606
|
+
|
|
589
607
|
class DfpSettings
|
|
590
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
591
609
|
|
|
@@ -664,6 +682,12 @@ module Google
|
|
|
664
682
|
include Google::Apis::Core::JsonObjectSupport
|
|
665
683
|
end
|
|
666
684
|
|
|
685
|
+
class DynamicProfileGenerateCodeResponse
|
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
687
|
+
|
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
689
|
+
end
|
|
690
|
+
|
|
667
691
|
class DynamicProfileVersion
|
|
668
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
693
|
|
|
@@ -1384,6 +1408,30 @@ module Google
|
|
|
1384
1408
|
include Google::Apis::Core::JsonObjectSupport
|
|
1385
1409
|
end
|
|
1386
1410
|
|
|
1411
|
+
class StudioCreative
|
|
1412
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1413
|
+
|
|
1414
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1415
|
+
end
|
|
1416
|
+
|
|
1417
|
+
class StudioCreativeAsset
|
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1419
|
+
|
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
class StudioCreativeAssetsResponse
|
|
1424
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1425
|
+
|
|
1426
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1427
|
+
end
|
|
1428
|
+
|
|
1429
|
+
class StudioCreativeDimension
|
|
1430
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1431
|
+
|
|
1432
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1387
1435
|
class Subaccount
|
|
1388
1436
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1389
1437
|
|
|
@@ -1576,6 +1624,12 @@ module Google
|
|
|
1576
1624
|
include Google::Apis::Core::JsonObjectSupport
|
|
1577
1625
|
end
|
|
1578
1626
|
|
|
1627
|
+
class VideoProcessingData
|
|
1628
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1629
|
+
|
|
1630
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1579
1633
|
class VideoSettings
|
|
1580
1634
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1581
1635
|
|
|
@@ -1739,6 +1793,8 @@ module Google
|
|
|
1739
1793
|
|
|
1740
1794
|
property :comments, as: 'comments'
|
|
1741
1795
|
property :compatibility, as: 'compatibility'
|
|
1796
|
+
property :contextual_keyword_targeting, as: 'contextualKeywordTargeting', class: Google::Apis::DfareportingV5::ContextualKeywordTargeting, decorator: Google::Apis::DfareportingV5::ContextualKeywordTargeting::Representation
|
|
1797
|
+
|
|
1742
1798
|
property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
|
|
1743
1799
|
|
|
1744
1800
|
collection :creative_group_assignments, as: 'creativeGroupAssignments', class: Google::Apis::DfareportingV5::CreativeGroupAssignment, decorator: Google::Apis::DfareportingV5::CreativeGroupAssignment::Representation
|
|
@@ -2296,6 +2352,21 @@ module Google
|
|
|
2296
2352
|
end
|
|
2297
2353
|
end
|
|
2298
2354
|
|
|
2355
|
+
class ContextualKeyword
|
|
2356
|
+
# @private
|
|
2357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2358
|
+
property :keyword, as: 'keyword'
|
|
2359
|
+
end
|
|
2360
|
+
end
|
|
2361
|
+
|
|
2362
|
+
class ContextualKeywordTargeting
|
|
2363
|
+
# @private
|
|
2364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2365
|
+
collection :keywords, as: 'keywords', class: Google::Apis::DfareportingV5::ContextualKeyword, decorator: Google::Apis::DfareportingV5::ContextualKeyword::Representation
|
|
2366
|
+
|
|
2367
|
+
end
|
|
2368
|
+
end
|
|
2369
|
+
|
|
2299
2370
|
class Conversion
|
|
2300
2371
|
# @private
|
|
2301
2372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2907,6 +2978,15 @@ module Google
|
|
|
2907
2978
|
end
|
|
2908
2979
|
end
|
|
2909
2980
|
|
|
2981
|
+
class DfareportingStudioCreativeAssetsInsertRequest
|
|
2982
|
+
# @private
|
|
2983
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2984
|
+
property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
|
|
2985
|
+
property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
|
|
2986
|
+
property :studio_creative_id, :numeric_string => true, as: 'studioCreativeId'
|
|
2987
|
+
end
|
|
2988
|
+
end
|
|
2989
|
+
|
|
2910
2990
|
class DfpSettings
|
|
2911
2991
|
# @private
|
|
2912
2992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3073,6 +3153,13 @@ module Google
|
|
|
3073
3153
|
end
|
|
3074
3154
|
end
|
|
3075
3155
|
|
|
3156
|
+
class DynamicProfileGenerateCodeResponse
|
|
3157
|
+
# @private
|
|
3158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3159
|
+
property :code, as: 'code'
|
|
3160
|
+
end
|
|
3161
|
+
end
|
|
3162
|
+
|
|
3076
3163
|
class DynamicProfileVersion
|
|
3077
3164
|
# @private
|
|
3078
3165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4638,6 +4725,63 @@ module Google
|
|
|
4638
4725
|
end
|
|
4639
4726
|
end
|
|
4640
4727
|
|
|
4728
|
+
class StudioCreative
|
|
4729
|
+
# @private
|
|
4730
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4731
|
+
collection :asset_ids, as: 'assetIds'
|
|
4732
|
+
property :backup_image_asset_id, :numeric_string => true, as: 'backupImageAssetId'
|
|
4733
|
+
property :created_info, as: 'createdInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
|
|
4734
|
+
|
|
4735
|
+
property :dimension, as: 'dimension', class: Google::Apis::DfareportingV5::StudioCreativeDimension, decorator: Google::Apis::DfareportingV5::StudioCreativeDimension::Representation
|
|
4736
|
+
|
|
4737
|
+
property :dynamic_profile_id, :numeric_string => true, as: 'dynamicProfileId'
|
|
4738
|
+
property :format, as: 'format'
|
|
4739
|
+
property :id, :numeric_string => true, as: 'id'
|
|
4740
|
+
property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
|
|
4741
|
+
|
|
4742
|
+
property :name, as: 'name'
|
|
4743
|
+
property :status, as: 'status'
|
|
4744
|
+
property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
|
|
4745
|
+
property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
|
|
4746
|
+
property :studio_campaign_id, :numeric_string => true, as: 'studioCampaignId'
|
|
4747
|
+
end
|
|
4748
|
+
end
|
|
4749
|
+
|
|
4750
|
+
class StudioCreativeAsset
|
|
4751
|
+
# @private
|
|
4752
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4753
|
+
property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
|
|
4754
|
+
|
|
4755
|
+
property :filename, as: 'filename'
|
|
4756
|
+
property :filesize, :numeric_string => true, as: 'filesize'
|
|
4757
|
+
property :id, :numeric_string => true, as: 'id'
|
|
4758
|
+
property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
|
|
4759
|
+
|
|
4760
|
+
property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
|
|
4761
|
+
property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
|
|
4762
|
+
property :studio_creative_id, :numeric_string => true, as: 'studioCreativeId'
|
|
4763
|
+
property :type, as: 'type'
|
|
4764
|
+
property :video_processing_data, as: 'videoProcessingData', class: Google::Apis::DfareportingV5::VideoProcessingData, decorator: Google::Apis::DfareportingV5::VideoProcessingData::Representation
|
|
4765
|
+
|
|
4766
|
+
end
|
|
4767
|
+
end
|
|
4768
|
+
|
|
4769
|
+
class StudioCreativeAssetsResponse
|
|
4770
|
+
# @private
|
|
4771
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4772
|
+
collection :assets, as: 'assets', class: Google::Apis::DfareportingV5::StudioCreativeAsset, decorator: Google::Apis::DfareportingV5::StudioCreativeAsset::Representation
|
|
4773
|
+
|
|
4774
|
+
end
|
|
4775
|
+
end
|
|
4776
|
+
|
|
4777
|
+
class StudioCreativeDimension
|
|
4778
|
+
# @private
|
|
4779
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4780
|
+
property :height, as: 'height'
|
|
4781
|
+
property :width, as: 'width'
|
|
4782
|
+
end
|
|
4783
|
+
end
|
|
4784
|
+
|
|
4641
4785
|
class Subaccount
|
|
4642
4786
|
# @private
|
|
4643
4787
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4733,6 +4877,8 @@ module Google
|
|
|
4733
4877
|
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
|
|
4734
4878
|
property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV5::DimensionValue, decorator: Google::Apis::DfareportingV5::DimensionValue::Representation
|
|
4735
4879
|
|
|
4880
|
+
property :contextual_keyword_targeting, as: 'contextualKeywordTargeting', class: Google::Apis::DfareportingV5::ContextualKeywordTargeting, decorator: Google::Apis::DfareportingV5::ContextualKeywordTargeting::Representation
|
|
4881
|
+
|
|
4736
4882
|
property :day_part_targeting, as: 'dayPartTargeting', class: Google::Apis::DfareportingV5::DayPartTargeting, decorator: Google::Apis::DfareportingV5::DayPartTargeting::Representation
|
|
4737
4883
|
|
|
4738
4884
|
property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV5::GeoTargeting, decorator: Google::Apis::DfareportingV5::GeoTargeting::Representation
|
|
@@ -4990,6 +5136,14 @@ module Google
|
|
|
4990
5136
|
end
|
|
4991
5137
|
end
|
|
4992
5138
|
|
|
5139
|
+
class VideoProcessingData
|
|
5140
|
+
# @private
|
|
5141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5142
|
+
property :error_reason, as: 'errorReason'
|
|
5143
|
+
property :processing_state, as: 'processingState'
|
|
5144
|
+
end
|
|
5145
|
+
end
|
|
5146
|
+
|
|
4993
5147
|
class VideoSettings
|
|
4994
5148
|
# @private
|
|
4995
5149
|
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.
|
|
4
|
+
version: 0.4.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v5/v0.4.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:
|