google-apis-dfareporting_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: 91b9ed45b0da8a79077637a4b182e8f7e807d56255f99e1d3ecd003ce8344d17
|
|
4
|
+
data.tar.gz: 6dbdad822858e4270e03cbb7f36a2617b2e9bf251881a0f32254ad988053d6aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4757e07095dd8cf30732be40d904f60365abc477e5bdeb9d0b3360faa907f3a0b985dcab9c64c3c594ab6a81bf371abd88c40499265f8c64ac0526cbc85a3c3c
|
|
7
|
+
data.tar.gz: 23f6ef2e0158c24cbfb32f5e81d376cbd14757724fe145d1a3dce3c7b1db8fb74eea88817c8799f85e6c41503574e16e648e49be156526e14cabeed65ed78c42
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-dfareporting_v4
|
|
2
2
|
|
|
3
|
+
### v0.25.0 (2025-10-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251009
|
|
6
|
+
|
|
7
|
+
### v0.24.0 (2025-09-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250902
|
|
10
|
+
|
|
3
11
|
### v0.23.0 (2025-08-31)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250828
|
|
@@ -5583,6 +5583,39 @@ module Google
|
|
|
5583
5583
|
end
|
|
5584
5584
|
end
|
|
5585
5585
|
|
|
5586
|
+
# Request message for DfareportingStudioCreativeAssets.Insert.
|
|
5587
|
+
class DfareportingStudioCreativeAssetsInsertRequest
|
|
5588
|
+
include Google::Apis::Core::Hashable
|
|
5589
|
+
|
|
5590
|
+
# Optional. Studio account ID of the studio creative asset. It is a optional.
|
|
5591
|
+
# Corresponds to the JSON property `studioAccountId`
|
|
5592
|
+
# @return [Fixnum]
|
|
5593
|
+
attr_accessor :studio_account_id
|
|
5594
|
+
|
|
5595
|
+
# Required. Studio advertiser ID of the studio creative asset. It is a required
|
|
5596
|
+
# field on insertion.
|
|
5597
|
+
# Corresponds to the JSON property `studioAdvertiserId`
|
|
5598
|
+
# @return [Fixnum]
|
|
5599
|
+
attr_accessor :studio_advertiser_id
|
|
5600
|
+
|
|
5601
|
+
# Optional. Studio creative ID of the studio creative asset. It is a optional
|
|
5602
|
+
# field. If it is set, the asset will be associated to the creative.
|
|
5603
|
+
# Corresponds to the JSON property `studioCreativeId`
|
|
5604
|
+
# @return [Fixnum]
|
|
5605
|
+
attr_accessor :studio_creative_id
|
|
5606
|
+
|
|
5607
|
+
def initialize(**args)
|
|
5608
|
+
update!(**args)
|
|
5609
|
+
end
|
|
5610
|
+
|
|
5611
|
+
# Update properties of this object
|
|
5612
|
+
def update!(**args)
|
|
5613
|
+
@studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
|
|
5614
|
+
@studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
|
|
5615
|
+
@studio_creative_id = args[:studio_creative_id] if args.key?(:studio_creative_id)
|
|
5616
|
+
end
|
|
5617
|
+
end
|
|
5618
|
+
|
|
5586
5619
|
# Google Ad Manager Settings
|
|
5587
5620
|
class DfpSettings
|
|
5588
5621
|
include Google::Apis::Core::Hashable
|
|
@@ -6066,8 +6099,7 @@ module Google
|
|
|
6066
6099
|
|
|
6067
6100
|
# Dynamic profile ID is required for dynamic feed insert as the current GPA API
|
|
6068
6101
|
# only can create a dynamic feed under profile context,even though the dynnamic
|
|
6069
|
-
# feed itself don't need the dynamic profile id. See
|
|
6070
|
-
# interface
|
|
6102
|
+
# feed itself don't need the dynamic profile id. See
|
|
6071
6103
|
class DynamicFeedsInsertRequest
|
|
6072
6104
|
include Google::Apis::Core::Hashable
|
|
6073
6105
|
|
|
@@ -6207,6 +6239,25 @@ module Google
|
|
|
6207
6239
|
end
|
|
6208
6240
|
end
|
|
6209
6241
|
|
|
6242
|
+
# Response message for DfareportingDynamicProfiles.GenerateCode.
|
|
6243
|
+
class DynamicProfileGenerateCodeResponse
|
|
6244
|
+
include Google::Apis::Core::Hashable
|
|
6245
|
+
|
|
6246
|
+
# Generated code for the dynamic profile.
|
|
6247
|
+
# Corresponds to the JSON property `code`
|
|
6248
|
+
# @return [String]
|
|
6249
|
+
attr_accessor :code
|
|
6250
|
+
|
|
6251
|
+
def initialize(**args)
|
|
6252
|
+
update!(**args)
|
|
6253
|
+
end
|
|
6254
|
+
|
|
6255
|
+
# Update properties of this object
|
|
6256
|
+
def update!(**args)
|
|
6257
|
+
@code = args[:code] if args.key?(:code)
|
|
6258
|
+
end
|
|
6259
|
+
end
|
|
6260
|
+
|
|
6210
6261
|
# Contains dynamic profile version information.
|
|
6211
6262
|
class DynamicProfileVersion
|
|
6212
6263
|
include Google::Apis::Core::Hashable
|
|
@@ -9768,6 +9819,12 @@ module Google
|
|
|
9768
9819
|
# @return [Google::Apis::DfareportingV4::DimensionValue]
|
|
9769
9820
|
attr_accessor :advertiser_id_dimension_value
|
|
9770
9821
|
|
|
9822
|
+
# Optional. Whether the placement is enabled for YouTube integration.
|
|
9823
|
+
# Corresponds to the JSON property `allowOnYoutube`
|
|
9824
|
+
# @return [Boolean]
|
|
9825
|
+
attr_accessor :allow_on_youtube
|
|
9826
|
+
alias_method :allow_on_youtube?, :allow_on_youtube
|
|
9827
|
+
|
|
9771
9828
|
# Campaign ID of this placement. This field is a required field on insertion.
|
|
9772
9829
|
# Corresponds to the JSON property `campaignId`
|
|
9773
9830
|
# @return [Fixnum]
|
|
@@ -10007,6 +10064,11 @@ module Google
|
|
|
10007
10064
|
attr_accessor :wrapping_opt_out
|
|
10008
10065
|
alias_method :wrapping_opt_out?, :wrapping_opt_out
|
|
10009
10066
|
|
|
10067
|
+
# Contains the YouTube settings.
|
|
10068
|
+
# Corresponds to the JSON property `youtubeSettings`
|
|
10069
|
+
# @return [Google::Apis::DfareportingV4::YoutubeSettings]
|
|
10070
|
+
attr_accessor :youtube_settings
|
|
10071
|
+
|
|
10010
10072
|
def initialize(**args)
|
|
10011
10073
|
update!(**args)
|
|
10012
10074
|
end
|
|
@@ -10020,6 +10082,7 @@ module Google
|
|
|
10020
10082
|
@additional_sizes = args[:additional_sizes] if args.key?(:additional_sizes)
|
|
10021
10083
|
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
|
10022
10084
|
@advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value)
|
|
10085
|
+
@allow_on_youtube = args[:allow_on_youtube] if args.key?(:allow_on_youtube)
|
|
10023
10086
|
@campaign_id = args[:campaign_id] if args.key?(:campaign_id)
|
|
10024
10087
|
@campaign_id_dimension_value = args[:campaign_id_dimension_value] if args.key?(:campaign_id_dimension_value)
|
|
10025
10088
|
@comment = args[:comment] if args.key?(:comment)
|
|
@@ -10059,6 +10122,7 @@ module Google
|
|
|
10059
10122
|
@video_settings = args[:video_settings] if args.key?(:video_settings)
|
|
10060
10123
|
@vpaid_adapter_choice = args[:vpaid_adapter_choice] if args.key?(:vpaid_adapter_choice)
|
|
10061
10124
|
@wrapping_opt_out = args[:wrapping_opt_out] if args.key?(:wrapping_opt_out)
|
|
10125
|
+
@youtube_settings = args[:youtube_settings] if args.key?(:youtube_settings)
|
|
10062
10126
|
end
|
|
10063
10127
|
end
|
|
10064
10128
|
|
|
@@ -13022,6 +13086,225 @@ module Google
|
|
|
13022
13086
|
end
|
|
13023
13087
|
end
|
|
13024
13088
|
|
|
13089
|
+
# Contains studio creative information.
|
|
13090
|
+
class StudioCreative
|
|
13091
|
+
include Google::Apis::Core::Hashable
|
|
13092
|
+
|
|
13093
|
+
# List of assets associated with this studio creative. It is a required field on
|
|
13094
|
+
# insertion.
|
|
13095
|
+
# Corresponds to the JSON property `assetIds`
|
|
13096
|
+
# @return [Array<Fixnum>]
|
|
13097
|
+
attr_accessor :asset_ids
|
|
13098
|
+
|
|
13099
|
+
# Backup image asset ID of this studio creative.
|
|
13100
|
+
# Corresponds to the JSON property `backupImageAssetId`
|
|
13101
|
+
# @return [Fixnum]
|
|
13102
|
+
attr_accessor :backup_image_asset_id
|
|
13103
|
+
|
|
13104
|
+
# Modification timestamp.
|
|
13105
|
+
# Corresponds to the JSON property `createdInfo`
|
|
13106
|
+
# @return [Google::Apis::DfareportingV4::LastModifiedInfo]
|
|
13107
|
+
attr_accessor :created_info
|
|
13108
|
+
|
|
13109
|
+
# Dimension information for a studio creative.
|
|
13110
|
+
# Corresponds to the JSON property `dimension`
|
|
13111
|
+
# @return [Google::Apis::DfareportingV4::StudioCreativeDimension]
|
|
13112
|
+
attr_accessor :dimension
|
|
13113
|
+
|
|
13114
|
+
# Dynamic profile ID of this studio creative.
|
|
13115
|
+
# Corresponds to the JSON property `dynamicProfileId`
|
|
13116
|
+
# @return [Fixnum]
|
|
13117
|
+
attr_accessor :dynamic_profile_id
|
|
13118
|
+
|
|
13119
|
+
# Format of this studio creative. This is a required field on insertion.
|
|
13120
|
+
# Corresponds to the JSON property `format`
|
|
13121
|
+
# @return [String]
|
|
13122
|
+
attr_accessor :format
|
|
13123
|
+
|
|
13124
|
+
# Output only. Unique ID of this studio creative. This is a read-only, auto-
|
|
13125
|
+
# generated field.
|
|
13126
|
+
# Corresponds to the JSON property `id`
|
|
13127
|
+
# @return [Fixnum]
|
|
13128
|
+
attr_accessor :id
|
|
13129
|
+
|
|
13130
|
+
# Modification timestamp.
|
|
13131
|
+
# Corresponds to the JSON property `lastModifiedInfo`
|
|
13132
|
+
# @return [Google::Apis::DfareportingV4::LastModifiedInfo]
|
|
13133
|
+
attr_accessor :last_modified_info
|
|
13134
|
+
|
|
13135
|
+
# Identifier. Name of this studio creative. This is a required field on
|
|
13136
|
+
# insertion.
|
|
13137
|
+
# Corresponds to the JSON property `name`
|
|
13138
|
+
# @return [String]
|
|
13139
|
+
attr_accessor :name
|
|
13140
|
+
|
|
13141
|
+
# Output only. Status of this studio creative. It is a read-only field.
|
|
13142
|
+
# Corresponds to the JSON property `status`
|
|
13143
|
+
# @return [String]
|
|
13144
|
+
attr_accessor :status
|
|
13145
|
+
|
|
13146
|
+
# Studio account ID of this creative. This field, if left unset, will be auto-
|
|
13147
|
+
# populated.
|
|
13148
|
+
# Corresponds to the JSON property `studioAccountId`
|
|
13149
|
+
# @return [Fixnum]
|
|
13150
|
+
attr_accessor :studio_account_id
|
|
13151
|
+
|
|
13152
|
+
# Studio advertiser ID of this studio creative. This is a required field on
|
|
13153
|
+
# insertion.
|
|
13154
|
+
# Corresponds to the JSON property `studioAdvertiserId`
|
|
13155
|
+
# @return [Fixnum]
|
|
13156
|
+
attr_accessor :studio_advertiser_id
|
|
13157
|
+
|
|
13158
|
+
# Studio campaign ID of this studio creative. This is a required field on
|
|
13159
|
+
# insertion.
|
|
13160
|
+
# Corresponds to the JSON property `studioCampaignId`
|
|
13161
|
+
# @return [Fixnum]
|
|
13162
|
+
attr_accessor :studio_campaign_id
|
|
13163
|
+
|
|
13164
|
+
def initialize(**args)
|
|
13165
|
+
update!(**args)
|
|
13166
|
+
end
|
|
13167
|
+
|
|
13168
|
+
# Update properties of this object
|
|
13169
|
+
def update!(**args)
|
|
13170
|
+
@asset_ids = args[:asset_ids] if args.key?(:asset_ids)
|
|
13171
|
+
@backup_image_asset_id = args[:backup_image_asset_id] if args.key?(:backup_image_asset_id)
|
|
13172
|
+
@created_info = args[:created_info] if args.key?(:created_info)
|
|
13173
|
+
@dimension = args[:dimension] if args.key?(:dimension)
|
|
13174
|
+
@dynamic_profile_id = args[:dynamic_profile_id] if args.key?(:dynamic_profile_id)
|
|
13175
|
+
@format = args[:format] if args.key?(:format)
|
|
13176
|
+
@id = args[:id] if args.key?(:id)
|
|
13177
|
+
@last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
|
|
13178
|
+
@name = args[:name] if args.key?(:name)
|
|
13179
|
+
@status = args[:status] if args.key?(:status)
|
|
13180
|
+
@studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
|
|
13181
|
+
@studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
|
|
13182
|
+
@studio_campaign_id = args[:studio_campaign_id] if args.key?(:studio_campaign_id)
|
|
13183
|
+
end
|
|
13184
|
+
end
|
|
13185
|
+
|
|
13186
|
+
# Contains studio creative asset information.
|
|
13187
|
+
class StudioCreativeAsset
|
|
13188
|
+
include Google::Apis::Core::Hashable
|
|
13189
|
+
|
|
13190
|
+
# Modification timestamp.
|
|
13191
|
+
# Corresponds to the JSON property `createInfo`
|
|
13192
|
+
# @return [Google::Apis::DfareportingV4::LastModifiedInfo]
|
|
13193
|
+
attr_accessor :create_info
|
|
13194
|
+
|
|
13195
|
+
# The filename of the studio creative asset. It is default to the original
|
|
13196
|
+
# filename of the asset.
|
|
13197
|
+
# Corresponds to the JSON property `filename`
|
|
13198
|
+
# @return [String]
|
|
13199
|
+
attr_accessor :filename
|
|
13200
|
+
|
|
13201
|
+
# The filesize of the studio creative asset. This is a read-only field.
|
|
13202
|
+
# Corresponds to the JSON property `filesize`
|
|
13203
|
+
# @return [Fixnum]
|
|
13204
|
+
attr_accessor :filesize
|
|
13205
|
+
|
|
13206
|
+
# Output only. Unique ID of this studio creative asset. This is a read-only,
|
|
13207
|
+
# auto-generated field.
|
|
13208
|
+
# Corresponds to the JSON property `id`
|
|
13209
|
+
# @return [Fixnum]
|
|
13210
|
+
attr_accessor :id
|
|
13211
|
+
|
|
13212
|
+
# Modification timestamp.
|
|
13213
|
+
# Corresponds to the JSON property `lastModifiedInfo`
|
|
13214
|
+
# @return [Google::Apis::DfareportingV4::LastModifiedInfo]
|
|
13215
|
+
attr_accessor :last_modified_info
|
|
13216
|
+
|
|
13217
|
+
# Studio account ID of this studio creative asset. This field, if left unset,
|
|
13218
|
+
# will be auto-populated..
|
|
13219
|
+
# Corresponds to the JSON property `studioAccountId`
|
|
13220
|
+
# @return [Fixnum]
|
|
13221
|
+
attr_accessor :studio_account_id
|
|
13222
|
+
|
|
13223
|
+
# Studio advertiser ID of this studio creative asset. This is a required field
|
|
13224
|
+
# on insertion.
|
|
13225
|
+
# Corresponds to the JSON property `studioAdvertiserId`
|
|
13226
|
+
# @return [Fixnum]
|
|
13227
|
+
attr_accessor :studio_advertiser_id
|
|
13228
|
+
|
|
13229
|
+
# Studio creative ID of this studio creative asset. The asset will be associated
|
|
13230
|
+
# to the creative if creative id is set.
|
|
13231
|
+
# Corresponds to the JSON property `studioCreativeId`
|
|
13232
|
+
# @return [Fixnum]
|
|
13233
|
+
attr_accessor :studio_creative_id
|
|
13234
|
+
|
|
13235
|
+
# The type of the studio creative asset. It is a auto-generated, read-only field.
|
|
13236
|
+
# Corresponds to the JSON property `type`
|
|
13237
|
+
# @return [String]
|
|
13238
|
+
attr_accessor :type
|
|
13239
|
+
|
|
13240
|
+
# Contains processing data for a video asset.
|
|
13241
|
+
# Corresponds to the JSON property `videoProcessingData`
|
|
13242
|
+
# @return [Google::Apis::DfareportingV4::VideoProcessingData]
|
|
13243
|
+
attr_accessor :video_processing_data
|
|
13244
|
+
|
|
13245
|
+
def initialize(**args)
|
|
13246
|
+
update!(**args)
|
|
13247
|
+
end
|
|
13248
|
+
|
|
13249
|
+
# Update properties of this object
|
|
13250
|
+
def update!(**args)
|
|
13251
|
+
@create_info = args[:create_info] if args.key?(:create_info)
|
|
13252
|
+
@filename = args[:filename] if args.key?(:filename)
|
|
13253
|
+
@filesize = args[:filesize] if args.key?(:filesize)
|
|
13254
|
+
@id = args[:id] if args.key?(:id)
|
|
13255
|
+
@last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
|
|
13256
|
+
@studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id)
|
|
13257
|
+
@studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
|
|
13258
|
+
@studio_creative_id = args[:studio_creative_id] if args.key?(:studio_creative_id)
|
|
13259
|
+
@type = args[:type] if args.key?(:type)
|
|
13260
|
+
@video_processing_data = args[:video_processing_data] if args.key?(:video_processing_data)
|
|
13261
|
+
end
|
|
13262
|
+
end
|
|
13263
|
+
|
|
13264
|
+
# Response message for DfareportingStudioCreativeAssets.Insert.
|
|
13265
|
+
class StudioCreativeAssetsResponse
|
|
13266
|
+
include Google::Apis::Core::Hashable
|
|
13267
|
+
|
|
13268
|
+
# The list of studio creative assets.
|
|
13269
|
+
# Corresponds to the JSON property `assets`
|
|
13270
|
+
# @return [Array<Google::Apis::DfareportingV4::StudioCreativeAsset>]
|
|
13271
|
+
attr_accessor :assets
|
|
13272
|
+
|
|
13273
|
+
def initialize(**args)
|
|
13274
|
+
update!(**args)
|
|
13275
|
+
end
|
|
13276
|
+
|
|
13277
|
+
# Update properties of this object
|
|
13278
|
+
def update!(**args)
|
|
13279
|
+
@assets = args[:assets] if args.key?(:assets)
|
|
13280
|
+
end
|
|
13281
|
+
end
|
|
13282
|
+
|
|
13283
|
+
# Dimension information for a studio creative.
|
|
13284
|
+
class StudioCreativeDimension
|
|
13285
|
+
include Google::Apis::Core::Hashable
|
|
13286
|
+
|
|
13287
|
+
# Height of the studio creative.
|
|
13288
|
+
# Corresponds to the JSON property `height`
|
|
13289
|
+
# @return [Fixnum]
|
|
13290
|
+
attr_accessor :height
|
|
13291
|
+
|
|
13292
|
+
# Width of the studio creative.
|
|
13293
|
+
# Corresponds to the JSON property `width`
|
|
13294
|
+
# @return [Fixnum]
|
|
13295
|
+
attr_accessor :width
|
|
13296
|
+
|
|
13297
|
+
def initialize(**args)
|
|
13298
|
+
update!(**args)
|
|
13299
|
+
end
|
|
13300
|
+
|
|
13301
|
+
# Update properties of this object
|
|
13302
|
+
def update!(**args)
|
|
13303
|
+
@height = args[:height] if args.key?(:height)
|
|
13304
|
+
@width = args[:width] if args.key?(:width)
|
|
13305
|
+
end
|
|
13306
|
+
end
|
|
13307
|
+
|
|
13025
13308
|
# Contains properties of a Campaign Manager subaccount.
|
|
13026
13309
|
class Subaccount
|
|
13027
13310
|
include Google::Apis::Core::Hashable
|
|
@@ -14335,6 +14618,31 @@ module Google
|
|
|
14335
14618
|
end
|
|
14336
14619
|
end
|
|
14337
14620
|
|
|
14621
|
+
# Contains processing data for a video asset.
|
|
14622
|
+
class VideoProcessingData
|
|
14623
|
+
include Google::Apis::Core::Hashable
|
|
14624
|
+
|
|
14625
|
+
# For a FAILED processing state, the error reason discovered.
|
|
14626
|
+
# Corresponds to the JSON property `errorReason`
|
|
14627
|
+
# @return [String]
|
|
14628
|
+
attr_accessor :error_reason
|
|
14629
|
+
|
|
14630
|
+
# Output only. The processing state of the studio creative asset.
|
|
14631
|
+
# Corresponds to the JSON property `processingState`
|
|
14632
|
+
# @return [String]
|
|
14633
|
+
attr_accessor :processing_state
|
|
14634
|
+
|
|
14635
|
+
def initialize(**args)
|
|
14636
|
+
update!(**args)
|
|
14637
|
+
end
|
|
14638
|
+
|
|
14639
|
+
# Update properties of this object
|
|
14640
|
+
def update!(**args)
|
|
14641
|
+
@error_reason = args[:error_reason] if args.key?(:error_reason)
|
|
14642
|
+
@processing_state = args[:processing_state] if args.key?(:processing_state)
|
|
14643
|
+
end
|
|
14644
|
+
end
|
|
14645
|
+
|
|
14338
14646
|
# Video Settings
|
|
14339
14647
|
class VideoSettings
|
|
14340
14648
|
include Google::Apis::Core::Hashable
|
|
@@ -14411,6 +14719,57 @@ module Google
|
|
|
14411
14719
|
@transcode_settings = args[:transcode_settings] if args.key?(:transcode_settings)
|
|
14412
14720
|
end
|
|
14413
14721
|
end
|
|
14722
|
+
|
|
14723
|
+
# Contains the YouTube settings.
|
|
14724
|
+
class YoutubeSettings
|
|
14725
|
+
include Google::Apis::Core::Hashable
|
|
14726
|
+
|
|
14727
|
+
# Optional. The IDs of the creatives to use for the business logo. Currently
|
|
14728
|
+
# only one creative is supported.
|
|
14729
|
+
# Corresponds to the JSON property `businessLogoCreativeIds`
|
|
14730
|
+
# @return [Array<Fixnum>]
|
|
14731
|
+
attr_accessor :business_logo_creative_ids
|
|
14732
|
+
|
|
14733
|
+
# Optional. The business name.
|
|
14734
|
+
# Corresponds to the JSON property `businessName`
|
|
14735
|
+
# @return [String]
|
|
14736
|
+
attr_accessor :business_name
|
|
14737
|
+
|
|
14738
|
+
# Optional. The call to actions. Currently only one call to action is supported.
|
|
14739
|
+
# Corresponds to the JSON property `callToActions`
|
|
14740
|
+
# @return [Array<String>]
|
|
14741
|
+
attr_accessor :call_to_actions
|
|
14742
|
+
|
|
14743
|
+
# Optional. The descriptions. Currently only one description is supported.
|
|
14744
|
+
# Corresponds to the JSON property `descriptions`
|
|
14745
|
+
# @return [Array<String>]
|
|
14746
|
+
attr_accessor :descriptions
|
|
14747
|
+
|
|
14748
|
+
# Optional. The headlines associated with the call to actions. Currently only
|
|
14749
|
+
# one headline is supported.
|
|
14750
|
+
# Corresponds to the JSON property `headlines`
|
|
14751
|
+
# @return [Array<String>]
|
|
14752
|
+
attr_accessor :headlines
|
|
14753
|
+
|
|
14754
|
+
# Optional. The long headlines. Currently only one long headline is supported.
|
|
14755
|
+
# Corresponds to the JSON property `longHeadlines`
|
|
14756
|
+
# @return [Array<String>]
|
|
14757
|
+
attr_accessor :long_headlines
|
|
14758
|
+
|
|
14759
|
+
def initialize(**args)
|
|
14760
|
+
update!(**args)
|
|
14761
|
+
end
|
|
14762
|
+
|
|
14763
|
+
# Update properties of this object
|
|
14764
|
+
def update!(**args)
|
|
14765
|
+
@business_logo_creative_ids = args[:business_logo_creative_ids] if args.key?(:business_logo_creative_ids)
|
|
14766
|
+
@business_name = args[:business_name] if args.key?(:business_name)
|
|
14767
|
+
@call_to_actions = args[:call_to_actions] if args.key?(:call_to_actions)
|
|
14768
|
+
@descriptions = args[:descriptions] if args.key?(:descriptions)
|
|
14769
|
+
@headlines = args[:headlines] if args.key?(:headlines)
|
|
14770
|
+
@long_headlines = args[:long_headlines] if args.key?(:long_headlines)
|
|
14771
|
+
end
|
|
14772
|
+
end
|
|
14414
14773
|
end
|
|
14415
14774
|
end
|
|
14416
14775
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DfareportingV4
|
|
18
18
|
# Version of the google-apis-dfareporting_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.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251009"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -598,6 +598,12 @@ module Google
|
|
|
598
598
|
include Google::Apis::Core::JsonObjectSupport
|
|
599
599
|
end
|
|
600
600
|
|
|
601
|
+
class DfareportingStudioCreativeAssetsInsertRequest
|
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
|
+
|
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
605
|
+
end
|
|
606
|
+
|
|
601
607
|
class DfpSettings
|
|
602
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
609
|
|
|
@@ -676,6 +682,12 @@ module Google
|
|
|
676
682
|
include Google::Apis::Core::JsonObjectSupport
|
|
677
683
|
end
|
|
678
684
|
|
|
685
|
+
class DynamicProfileGenerateCodeResponse
|
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
687
|
+
|
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
689
|
+
end
|
|
690
|
+
|
|
679
691
|
class DynamicProfileVersion
|
|
680
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
681
693
|
|
|
@@ -1462,6 +1474,30 @@ module Google
|
|
|
1462
1474
|
include Google::Apis::Core::JsonObjectSupport
|
|
1463
1475
|
end
|
|
1464
1476
|
|
|
1477
|
+
class StudioCreative
|
|
1478
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1479
|
+
|
|
1480
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1481
|
+
end
|
|
1482
|
+
|
|
1483
|
+
class StudioCreativeAsset
|
|
1484
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1485
|
+
|
|
1486
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1487
|
+
end
|
|
1488
|
+
|
|
1489
|
+
class StudioCreativeAssetsResponse
|
|
1490
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1491
|
+
|
|
1492
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1493
|
+
end
|
|
1494
|
+
|
|
1495
|
+
class StudioCreativeDimension
|
|
1496
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1497
|
+
|
|
1498
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1499
|
+
end
|
|
1500
|
+
|
|
1465
1501
|
class Subaccount
|
|
1466
1502
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1467
1503
|
|
|
@@ -1654,12 +1690,24 @@ module Google
|
|
|
1654
1690
|
include Google::Apis::Core::JsonObjectSupport
|
|
1655
1691
|
end
|
|
1656
1692
|
|
|
1693
|
+
class VideoProcessingData
|
|
1694
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1695
|
+
|
|
1696
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1697
|
+
end
|
|
1698
|
+
|
|
1657
1699
|
class VideoSettings
|
|
1658
1700
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1659
1701
|
|
|
1660
1702
|
include Google::Apis::Core::JsonObjectSupport
|
|
1661
1703
|
end
|
|
1662
1704
|
|
|
1705
|
+
class YoutubeSettings
|
|
1706
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1707
|
+
|
|
1708
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1709
|
+
end
|
|
1710
|
+
|
|
1663
1711
|
class Account
|
|
1664
1712
|
# @private
|
|
1665
1713
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3005,6 +3053,15 @@ module Google
|
|
|
3005
3053
|
end
|
|
3006
3054
|
end
|
|
3007
3055
|
|
|
3056
|
+
class DfareportingStudioCreativeAssetsInsertRequest
|
|
3057
|
+
# @private
|
|
3058
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3059
|
+
property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
|
|
3060
|
+
property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
|
|
3061
|
+
property :studio_creative_id, :numeric_string => true, as: 'studioCreativeId'
|
|
3062
|
+
end
|
|
3063
|
+
end
|
|
3064
|
+
|
|
3008
3065
|
class DfpSettings
|
|
3009
3066
|
# @private
|
|
3010
3067
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3171,6 +3228,13 @@ module Google
|
|
|
3171
3228
|
end
|
|
3172
3229
|
end
|
|
3173
3230
|
|
|
3231
|
+
class DynamicProfileGenerateCodeResponse
|
|
3232
|
+
# @private
|
|
3233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3234
|
+
property :code, as: 'code'
|
|
3235
|
+
end
|
|
3236
|
+
end
|
|
3237
|
+
|
|
3174
3238
|
class DynamicProfileVersion
|
|
3175
3239
|
# @private
|
|
3176
3240
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4070,6 +4134,7 @@ module Google
|
|
|
4070
4134
|
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
|
|
4071
4135
|
property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV4::DimensionValue, decorator: Google::Apis::DfareportingV4::DimensionValue::Representation
|
|
4072
4136
|
|
|
4137
|
+
property :allow_on_youtube, as: 'allowOnYoutube'
|
|
4073
4138
|
property :campaign_id, :numeric_string => true, as: 'campaignId'
|
|
4074
4139
|
property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV4::DimensionValue, decorator: Google::Apis::DfareportingV4::DimensionValue::Representation
|
|
4075
4140
|
|
|
@@ -4124,6 +4189,8 @@ module Google
|
|
|
4124
4189
|
|
|
4125
4190
|
property :vpaid_adapter_choice, as: 'vpaidAdapterChoice'
|
|
4126
4191
|
property :wrapping_opt_out, as: 'wrappingOptOut'
|
|
4192
|
+
property :youtube_settings, as: 'youtubeSettings', class: Google::Apis::DfareportingV4::YoutubeSettings, decorator: Google::Apis::DfareportingV4::YoutubeSettings::Representation
|
|
4193
|
+
|
|
4127
4194
|
end
|
|
4128
4195
|
end
|
|
4129
4196
|
|
|
@@ -4916,6 +4983,63 @@ module Google
|
|
|
4916
4983
|
end
|
|
4917
4984
|
end
|
|
4918
4985
|
|
|
4986
|
+
class StudioCreative
|
|
4987
|
+
# @private
|
|
4988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4989
|
+
collection :asset_ids, as: 'assetIds'
|
|
4990
|
+
property :backup_image_asset_id, :numeric_string => true, as: 'backupImageAssetId'
|
|
4991
|
+
property :created_info, as: 'createdInfo', class: Google::Apis::DfareportingV4::LastModifiedInfo, decorator: Google::Apis::DfareportingV4::LastModifiedInfo::Representation
|
|
4992
|
+
|
|
4993
|
+
property :dimension, as: 'dimension', class: Google::Apis::DfareportingV4::StudioCreativeDimension, decorator: Google::Apis::DfareportingV4::StudioCreativeDimension::Representation
|
|
4994
|
+
|
|
4995
|
+
property :dynamic_profile_id, :numeric_string => true, as: 'dynamicProfileId'
|
|
4996
|
+
property :format, as: 'format'
|
|
4997
|
+
property :id, :numeric_string => true, as: 'id'
|
|
4998
|
+
property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV4::LastModifiedInfo, decorator: Google::Apis::DfareportingV4::LastModifiedInfo::Representation
|
|
4999
|
+
|
|
5000
|
+
property :name, as: 'name'
|
|
5001
|
+
property :status, as: 'status'
|
|
5002
|
+
property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
|
|
5003
|
+
property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
|
|
5004
|
+
property :studio_campaign_id, :numeric_string => true, as: 'studioCampaignId'
|
|
5005
|
+
end
|
|
5006
|
+
end
|
|
5007
|
+
|
|
5008
|
+
class StudioCreativeAsset
|
|
5009
|
+
# @private
|
|
5010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5011
|
+
property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV4::LastModifiedInfo, decorator: Google::Apis::DfareportingV4::LastModifiedInfo::Representation
|
|
5012
|
+
|
|
5013
|
+
property :filename, as: 'filename'
|
|
5014
|
+
property :filesize, :numeric_string => true, as: 'filesize'
|
|
5015
|
+
property :id, :numeric_string => true, as: 'id'
|
|
5016
|
+
property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV4::LastModifiedInfo, decorator: Google::Apis::DfareportingV4::LastModifiedInfo::Representation
|
|
5017
|
+
|
|
5018
|
+
property :studio_account_id, :numeric_string => true, as: 'studioAccountId'
|
|
5019
|
+
property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId'
|
|
5020
|
+
property :studio_creative_id, :numeric_string => true, as: 'studioCreativeId'
|
|
5021
|
+
property :type, as: 'type'
|
|
5022
|
+
property :video_processing_data, as: 'videoProcessingData', class: Google::Apis::DfareportingV4::VideoProcessingData, decorator: Google::Apis::DfareportingV4::VideoProcessingData::Representation
|
|
5023
|
+
|
|
5024
|
+
end
|
|
5025
|
+
end
|
|
5026
|
+
|
|
5027
|
+
class StudioCreativeAssetsResponse
|
|
5028
|
+
# @private
|
|
5029
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5030
|
+
collection :assets, as: 'assets', class: Google::Apis::DfareportingV4::StudioCreativeAsset, decorator: Google::Apis::DfareportingV4::StudioCreativeAsset::Representation
|
|
5031
|
+
|
|
5032
|
+
end
|
|
5033
|
+
end
|
|
5034
|
+
|
|
5035
|
+
class StudioCreativeDimension
|
|
5036
|
+
# @private
|
|
5037
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5038
|
+
property :height, as: 'height'
|
|
5039
|
+
property :width, as: 'width'
|
|
5040
|
+
end
|
|
5041
|
+
end
|
|
5042
|
+
|
|
4919
5043
|
class Subaccount
|
|
4920
5044
|
# @private
|
|
4921
5045
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5268,6 +5392,14 @@ module Google
|
|
|
5268
5392
|
end
|
|
5269
5393
|
end
|
|
5270
5394
|
|
|
5395
|
+
class VideoProcessingData
|
|
5396
|
+
# @private
|
|
5397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5398
|
+
property :error_reason, as: 'errorReason'
|
|
5399
|
+
property :processing_state, as: 'processingState'
|
|
5400
|
+
end
|
|
5401
|
+
end
|
|
5402
|
+
|
|
5271
5403
|
class VideoSettings
|
|
5272
5404
|
# @private
|
|
5273
5405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5286,6 +5418,18 @@ module Google
|
|
|
5286
5418
|
|
|
5287
5419
|
end
|
|
5288
5420
|
end
|
|
5421
|
+
|
|
5422
|
+
class YoutubeSettings
|
|
5423
|
+
# @private
|
|
5424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5425
|
+
collection :business_logo_creative_ids, as: 'businessLogoCreativeIds'
|
|
5426
|
+
property :business_name, as: 'businessName'
|
|
5427
|
+
collection :call_to_actions, as: 'callToActions'
|
|
5428
|
+
collection :descriptions, as: 'descriptions'
|
|
5429
|
+
collection :headlines, as: 'headlines'
|
|
5430
|
+
collection :long_headlines, as: 'longHeadlines'
|
|
5431
|
+
end
|
|
5432
|
+
end
|
|
5289
5433
|
end
|
|
5290
5434
|
end
|
|
5291
5435
|
end
|
|
@@ -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::DfareportingV4::DynamicFeed] parsed result object
|
|
3785
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3786
|
+
#
|
|
3787
|
+
# @return [Google::Apis::DfareportingV4::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::DfareportingV4::DynamicFeed::Representation
|
|
3795
|
+
command.response_class = Google::Apis::DfareportingV4::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::DfareportingV4::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::DfareportingV4::DynamicFeed] parsed result object
|
|
3814
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3815
|
+
#
|
|
3816
|
+
# @return [Google::Apis::DfareportingV4::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::DfareportingV4::DynamicFeed::Representation
|
|
3824
|
+
command.request_object = dynamic_feed_object
|
|
3825
|
+
command.response_representation = Google::Apis::DfareportingV4::DynamicFeed::Representation
|
|
3826
|
+
command.response_class = Google::Apis::DfareportingV4::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::DfareportingV4::DynamicProfileGenerateCodeResponse] parsed result object
|
|
3845
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3846
|
+
#
|
|
3847
|
+
# @return [Google::Apis::DfareportingV4::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::DfareportingV4::DynamicProfileGenerateCodeResponse::Representation
|
|
3855
|
+
command.response_class = Google::Apis::DfareportingV4::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::DfareportingV4::DynamicProfile] dynamic_profile_object
|
|
3834
3952
|
# @param [String] fields
|
|
@@ -7449,6 +7567,134 @@ module Google
|
|
|
7449
7567
|
execute_or_queue_command(command, &block)
|
|
7450
7568
|
end
|
|
7451
7569
|
|
|
7570
|
+
# Inserts a new studio creative asset.
|
|
7571
|
+
# @param [Google::Apis::DfareportingV4::DfareportingStudioCreativeAssetsInsertRequest] dfareporting_studio_creative_assets_insert_request_object
|
|
7572
|
+
# @param [String] fields
|
|
7573
|
+
# Selector specifying which fields to include in a partial response.
|
|
7574
|
+
# @param [String] quota_user
|
|
7575
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7576
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7577
|
+
# @param [IO, String] upload_source
|
|
7578
|
+
# IO stream or filename containing content to upload
|
|
7579
|
+
# @param [String] content_type
|
|
7580
|
+
# Content type of the uploaded content.
|
|
7581
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7582
|
+
# Request-specific options
|
|
7583
|
+
#
|
|
7584
|
+
# @yield [result, err] Result & error if block supplied
|
|
7585
|
+
# @yieldparam result [Google::Apis::DfareportingV4::StudioCreativeAssetsResponse] parsed result object
|
|
7586
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7587
|
+
#
|
|
7588
|
+
# @return [Google::Apis::DfareportingV4::StudioCreativeAssetsResponse]
|
|
7589
|
+
#
|
|
7590
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7591
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7592
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7593
|
+
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)
|
|
7594
|
+
if upload_source.nil?
|
|
7595
|
+
command = make_simple_command(:post, 'studio/creativeAssets', options)
|
|
7596
|
+
else
|
|
7597
|
+
command = make_upload_command(:post, 'studio/creativeAssets', options)
|
|
7598
|
+
command.upload_source = upload_source
|
|
7599
|
+
command.upload_content_type = content_type
|
|
7600
|
+
end
|
|
7601
|
+
command.request_representation = Google::Apis::DfareportingV4::DfareportingStudioCreativeAssetsInsertRequest::Representation
|
|
7602
|
+
command.request_object = dfareporting_studio_creative_assets_insert_request_object
|
|
7603
|
+
command.response_representation = Google::Apis::DfareportingV4::StudioCreativeAssetsResponse::Representation
|
|
7604
|
+
command.response_class = Google::Apis::DfareportingV4::StudioCreativeAssetsResponse
|
|
7605
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7606
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7607
|
+
execute_or_queue_command(command, &block)
|
|
7608
|
+
end
|
|
7609
|
+
|
|
7610
|
+
# Gets a studio creative by ID.
|
|
7611
|
+
# @param [Fixnum] studio_creative_id
|
|
7612
|
+
# Required. Studio creative ID.
|
|
7613
|
+
# @param [String] fields
|
|
7614
|
+
# Selector specifying which fields to include in a partial response.
|
|
7615
|
+
# @param [String] quota_user
|
|
7616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7618
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7619
|
+
# Request-specific options
|
|
7620
|
+
#
|
|
7621
|
+
# @yield [result, err] Result & error if block supplied
|
|
7622
|
+
# @yieldparam result [Google::Apis::DfareportingV4::StudioCreative] parsed result object
|
|
7623
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7624
|
+
#
|
|
7625
|
+
# @return [Google::Apis::DfareportingV4::StudioCreative]
|
|
7626
|
+
#
|
|
7627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7630
|
+
def get_studio_creative(studio_creative_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
7631
|
+
command = make_simple_command(:get, 'studio/creatives/{+studioCreativeId}', options)
|
|
7632
|
+
command.response_representation = Google::Apis::DfareportingV4::StudioCreative::Representation
|
|
7633
|
+
command.response_class = Google::Apis::DfareportingV4::StudioCreative
|
|
7634
|
+
command.params['studioCreativeId'] = studio_creative_id unless studio_creative_id.nil?
|
|
7635
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7636
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7637
|
+
execute_or_queue_command(command, &block)
|
|
7638
|
+
end
|
|
7639
|
+
|
|
7640
|
+
# Inserts a new studio creative.
|
|
7641
|
+
# @param [Google::Apis::DfareportingV4::StudioCreative] studio_creative_object
|
|
7642
|
+
# @param [String] fields
|
|
7643
|
+
# Selector specifying which fields to include in a partial response.
|
|
7644
|
+
# @param [String] quota_user
|
|
7645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7647
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7648
|
+
# Request-specific options
|
|
7649
|
+
#
|
|
7650
|
+
# @yield [result, err] Result & error if block supplied
|
|
7651
|
+
# @yieldparam result [Google::Apis::DfareportingV4::StudioCreative] parsed result object
|
|
7652
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7653
|
+
#
|
|
7654
|
+
# @return [Google::Apis::DfareportingV4::StudioCreative]
|
|
7655
|
+
#
|
|
7656
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7657
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7658
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7659
|
+
def insert_studio_creative(studio_creative_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
7660
|
+
command = make_simple_command(:post, 'studio/creatives', options)
|
|
7661
|
+
command.request_representation = Google::Apis::DfareportingV4::StudioCreative::Representation
|
|
7662
|
+
command.request_object = studio_creative_object
|
|
7663
|
+
command.response_representation = Google::Apis::DfareportingV4::StudioCreative::Representation
|
|
7664
|
+
command.response_class = Google::Apis::DfareportingV4::StudioCreative
|
|
7665
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7666
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7667
|
+
execute_or_queue_command(command, &block)
|
|
7668
|
+
end
|
|
7669
|
+
|
|
7670
|
+
# Publish for a studio creative.
|
|
7671
|
+
# @param [Fixnum] studio_creative_id
|
|
7672
|
+
# Required. Studio creative ID.
|
|
7673
|
+
# @param [String] fields
|
|
7674
|
+
# Selector specifying which fields to include in a partial response.
|
|
7675
|
+
# @param [String] quota_user
|
|
7676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7678
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7679
|
+
# Request-specific options
|
|
7680
|
+
#
|
|
7681
|
+
# @yield [result, err] Result & error if block supplied
|
|
7682
|
+
# @yieldparam result [NilClass] No result returned for this method
|
|
7683
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7684
|
+
#
|
|
7685
|
+
# @return [void]
|
|
7686
|
+
#
|
|
7687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7690
|
+
def publish_studio_creative(studio_creative_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
7691
|
+
command = make_simple_command(:post, 'studio/creatives/{+studioCreativeId}/publish', options)
|
|
7692
|
+
command.params['studioCreativeId'] = studio_creative_id unless studio_creative_id.nil?
|
|
7693
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7694
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7695
|
+
execute_or_queue_command(command, &block)
|
|
7696
|
+
end
|
|
7697
|
+
|
|
7452
7698
|
# Gets one subaccount by ID.
|
|
7453
7699
|
# @param [Fixnum] profile_id
|
|
7454
7700
|
# 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_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-dfareporting_v4/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v4/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v4/v0.25.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dfareporting_v4
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|