google-apis-dfareporting_v4 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c67afaa7be6d701bebcba9de630e724c4a413d96c3fececdb2d49c1e034df2b7
4
- data.tar.gz: 16a958410a2537b5ce54fd6b58a484701f695ddc8e1d321fe2feb05558ef31a1
3
+ metadata.gz: 67c508fbd0cae3cedd8515c0d79f447a4aced22839408bdd3819e0014926f650
4
+ data.tar.gz: 876bd12eddcbcdf6b52233f82808717a84c6be7f5722c126ae0f8239f9640a9f
5
5
  SHA512:
6
- metadata.gz: 62f094d1ee00d03ab880dc1b40cc8009425906266a4836c6f09b16faf0d057278f69f9c1c2211ff8b18be19e750750a28da5b83c5a3e00c7270e48b06c7f1b1a
7
- data.tar.gz: b7cda36f00b028e2775109a641281d17036b92854f4eff995efda1a691b6ed952ae951cd0ef69f79b3c3af0d7f4e3bb80ce7b7873e9ecce8c2ec84be5473a2f6
6
+ metadata.gz: cc02bf49310f6620e2b9173563ff6c117d7bbe39ee4a938195658b012e05c5e5853aeb4aef3830f6ab8536faaf358726ec2a576b4048f9aefeefd261e9ce1abe
7
+ data.tar.gz: e7108872380ce709f1439694a0e2011a665e9bd5b27b05002269c09773abfc3ac3954a6ac9204bc09c96af4e90234e2584a913042082b829f23180fe63a24d56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dfareporting_v4
2
2
 
3
+ ### v0.17.0 (2024-08-25)
4
+
5
+ * Regenerated from discovery document revision 20240821
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.16.0 (2024-06-16)
4
9
 
5
10
  * Regenerated from discovery document revision 20240613
@@ -2085,6 +2085,81 @@ module Google
2085
2085
  end
2086
2086
  end
2087
2087
 
2088
+ # Contains additional information about cart data.
2089
+ class CartData
2090
+ include Google::Apis::Core::Hashable
2091
+
2092
+ # Data of the items purchased.
2093
+ # Corresponds to the JSON property `items`
2094
+ # @return [Array<Google::Apis::DfareportingV4::CartDataItem>]
2095
+ attr_accessor :items
2096
+
2097
+ # The feed labels associated with the feed where your items are uploaded. For
2098
+ # more information, please refer to ​​ https://support.google.com/merchants/
2099
+ # answer/12453549. This is a required field.
2100
+ # Corresponds to the JSON property `merchantFeedLabel`
2101
+ # @return [String]
2102
+ attr_accessor :merchant_feed_label
2103
+
2104
+ # The language associated with the feed where your items are uploaded. Use ISO
2105
+ # 639-1 language codes. This field is needed only when item IDs are not unique
2106
+ # across multiple Merchant Center feeds.
2107
+ # Corresponds to the JSON property `merchantFeedLanguage`
2108
+ # @return [String]
2109
+ attr_accessor :merchant_feed_language
2110
+
2111
+ # The Merchant Center ID where the items are uploaded.
2112
+ # Corresponds to the JSON property `merchantId`
2113
+ # @return [Fixnum]
2114
+ attr_accessor :merchant_id
2115
+
2116
+ def initialize(**args)
2117
+ update!(**args)
2118
+ end
2119
+
2120
+ # Update properties of this object
2121
+ def update!(**args)
2122
+ @items = args[:items] if args.key?(:items)
2123
+ @merchant_feed_label = args[:merchant_feed_label] if args.key?(:merchant_feed_label)
2124
+ @merchant_feed_language = args[:merchant_feed_language] if args.key?(:merchant_feed_language)
2125
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
2126
+ end
2127
+ end
2128
+
2129
+ # Contains data of the items purchased.
2130
+ class CartDataItem
2131
+ include Google::Apis::Core::Hashable
2132
+
2133
+ # The shopping id of the item. Must be equal to the Merchant Center product
2134
+ # identifier. This is a required field.
2135
+ # Corresponds to the JSON property `itemId`
2136
+ # @return [String]
2137
+ attr_accessor :item_id
2138
+
2139
+ # Number of items sold. This is a required field.
2140
+ # Corresponds to the JSON property `quantity`
2141
+ # @return [Fixnum]
2142
+ attr_accessor :quantity
2143
+
2144
+ # Unit price excluding tax, shipping, and any transaction level discounts.
2145
+ # Interpreted in CM360 Floodlight config parent advertiser's currency code. This
2146
+ # is a required field.
2147
+ # Corresponds to the JSON property `unitPrice`
2148
+ # @return [Float]
2149
+ attr_accessor :unit_price
2150
+
2151
+ def initialize(**args)
2152
+ update!(**args)
2153
+ end
2154
+
2155
+ # Update properties of this object
2156
+ def update!(**args)
2157
+ @item_id = args[:item_id] if args.key?(:item_id)
2158
+ @quantity = args[:quantity] if args.key?(:quantity)
2159
+ @unit_price = args[:unit_price] if args.key?(:unit_price)
2160
+ end
2161
+ end
2162
+
2088
2163
  # Describes a change that a user has made to a resource.
2089
2164
  class ChangeLog
2090
2165
  include Google::Apis::Core::Hashable
@@ -2681,6 +2756,11 @@ module Google
2681
2756
  # @return [String]
2682
2757
  attr_accessor :ad_user_data_consent
2683
2758
 
2759
+ # Contains additional information about cart data.
2760
+ # Corresponds to the JSON property `cartData`
2761
+ # @return [Google::Apis::DfareportingV4::CartData]
2762
+ attr_accessor :cart_data
2763
+
2684
2764
  # Whether this particular request may come from a user under the age of 13,
2685
2765
  # under COPPA compliance.
2686
2766
  # Corresponds to the JSON property `childDirectedTreatment`
@@ -2828,6 +2908,7 @@ module Google
2828
2908
  # Update properties of this object
2829
2909
  def update!(**args)
2830
2910
  @ad_user_data_consent = args[:ad_user_data_consent] if args.key?(:ad_user_data_consent)
2911
+ @cart_data = args[:cart_data] if args.key?(:cart_data)
2831
2912
  @child_directed_treatment = args[:child_directed_treatment] if args.key?(:child_directed_treatment)
2832
2913
  @custom_variables = args[:custom_variables] if args.key?(:custom_variables)
2833
2914
  @dclid = args[:dclid] if args.key?(:dclid)
@@ -5532,6 +5613,19 @@ module Google
5532
5613
  # @return [String]
5533
5614
  attr_accessor :name
5534
5615
 
5616
+ # Output only. Default publisher specification ID of video placements under this
5617
+ # directory site. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`,
5618
+ # CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `
5619
+ # 9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner
5620
+ # Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch
5621
+ # Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile *
5622
+ # `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3
5623
+ # * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`
5624
+ # , Paramount * `31`, Max
5625
+ # Corresponds to the JSON property `publisherSpecificationId`
5626
+ # @return [Fixnum]
5627
+ attr_accessor :publisher_specification_id
5628
+
5535
5629
  # Directory Site Settings
5536
5630
  # Corresponds to the JSON property `settings`
5537
5631
  # @return [Google::Apis::DfareportingV4::DirectorySiteSettings]
@@ -5554,6 +5648,7 @@ module Google
5554
5648
  @interstitial_tag_formats = args[:interstitial_tag_formats] if args.key?(:interstitial_tag_formats)
5555
5649
  @kind = args[:kind] if args.key?(:kind)
5556
5650
  @name = args[:name] if args.key?(:name)
5651
+ @publisher_specification_id = args[:publisher_specification_id] if args.key?(:publisher_specification_id)
5557
5652
  @settings = args[:settings] if args.key?(:settings)
5558
5653
  @url = args[:url] if args.key?(:url)
5559
5654
  end
@@ -8650,6 +8745,18 @@ module Google
8650
8745
  attr_accessor :ad_blocking_opt_out
8651
8746
  alias_method :ad_blocking_opt_out?, :ad_blocking_opt_out
8652
8747
 
8748
+ # Optional. Ad serving platform ID to identify the ad serving platform used by
8749
+ # the placement. Measurement partners can use this field to add ad-server
8750
+ # specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`,
8751
+ # Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`,
8752
+ # DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`,
8753
+ # TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP *
8754
+ # `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`,
8755
+ # Teads * `21`, Quantcast * `22`, Cognitiv
8756
+ # Corresponds to the JSON property `adServingPlatformId`
8757
+ # @return [Fixnum]
8758
+ attr_accessor :ad_serving_platform_id
8759
+
8653
8760
  # Additional sizes associated with this placement. When inserting or updating a
8654
8761
  # placement, only the size ID field is used.
8655
8762
  # Corresponds to the JSON property `additionalSizes`
@@ -8825,6 +8932,14 @@ module Google
8825
8932
  # @return [Google::Apis::DfareportingV4::DimensionValue]
8826
8933
  attr_accessor :site_id_dimension_value
8827
8934
 
8935
+ # Optional. Whether the ads in the placement are served by another platform and
8936
+ # CM is only used for tracking or they are served by CM. A false value indicates
8937
+ # the ad is served by CM.
8938
+ # Corresponds to the JSON property `siteServed`
8939
+ # @return [Boolean]
8940
+ attr_accessor :site_served
8941
+ alias_method :site_served?, :site_served
8942
+
8828
8943
  # Represents the dimensions of ads, placements, creatives, or creative assets.
8829
8944
  # Corresponds to the JSON property `size`
8830
8945
  # @return [Google::Apis::DfareportingV4::Size]
@@ -8906,6 +9021,7 @@ module Google
8906
9021
  @account_id = args[:account_id] if args.key?(:account_id)
8907
9022
  @active_status = args[:active_status] if args.key?(:active_status)
8908
9023
  @ad_blocking_opt_out = args[:ad_blocking_opt_out] if args.key?(:ad_blocking_opt_out)
9024
+ @ad_serving_platform_id = args[:ad_serving_platform_id] if args.key?(:ad_serving_platform_id)
8909
9025
  @additional_sizes = args[:additional_sizes] if args.key?(:additional_sizes)
8910
9026
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
8911
9027
  @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value)
@@ -8937,6 +9053,7 @@ module Google
8937
9053
  @publisher_update_info = args[:publisher_update_info] if args.key?(:publisher_update_info)
8938
9054
  @site_id = args[:site_id] if args.key?(:site_id)
8939
9055
  @site_id_dimension_value = args[:site_id_dimension_value] if args.key?(:site_id_dimension_value)
9056
+ @site_served = args[:site_served] if args.key?(:site_served)
8940
9057
  @size = args[:size] if args.key?(:size)
8941
9058
  @ssl_required = args[:ssl_required] if args.key?(:ssl_required)
8942
9059
  @status = args[:status] if args.key?(:status)
@@ -11166,6 +11283,19 @@ module Google
11166
11283
  # @return [Fixnum]
11167
11284
  attr_accessor :account_id
11168
11285
 
11286
+ # Optional. Ad serving platform ID to identify the ad serving platform used by
11287
+ # the site. Measurement partners can use this field to add ad-server specific
11288
+ # macros. If set, this value acts as the default during placement creation.
11289
+ # Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee *
11290
+ # `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`,
11291
+ # Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`,
11292
+ # The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global *
11293
+ # `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`,
11294
+ # Quantcast * `22`, Cognitiv
11295
+ # Corresponds to the JSON property `adServingPlatformId`
11296
+ # @return [Fixnum]
11297
+ attr_accessor :ad_serving_platform_id
11298
+
11169
11299
  # Whether this site is approved.
11170
11300
  # Corresponds to the JSON property `approved`
11171
11301
  # @return [Boolean]
@@ -11239,6 +11369,7 @@ module Google
11239
11369
  # Update properties of this object
11240
11370
  def update!(**args)
11241
11371
  @account_id = args[:account_id] if args.key?(:account_id)
11372
+ @ad_serving_platform_id = args[:ad_serving_platform_id] if args.key?(:ad_serving_platform_id)
11242
11373
  @approved = args[:approved] if args.key?(:approved)
11243
11374
  @directory_site_id = args[:directory_site_id] if args.key?(:directory_site_id)
11244
11375
  @directory_site_id_dimension_value = args[:directory_site_id_dimension_value] if args.key?(:directory_site_id_dimension_value)
@@ -11524,6 +11655,14 @@ module Google
11524
11655
  # Publisher specification ID used to identify site-associated publisher
11525
11656
  # requirements and automatically populate transcode settings. If publisher
11526
11657
  # specification ID is specified, it will take precedence over transcode settings.
11658
+ # Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `
11659
+ # 5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network
11660
+ # * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`,
11661
+ # Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `
11662
+ # 18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `
11663
+ # 22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `
11664
+ # 27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`,
11665
+ # Max
11527
11666
  # Corresponds to the JSON property `publisherSpecificationId`
11528
11667
  # @return [Fixnum]
11529
11668
  attr_accessor :publisher_specification_id
@@ -12908,7 +13047,14 @@ module Google
12908
13047
  # @return [String]
12909
13048
  attr_accessor :orientation
12910
13049
 
12911
- # Publisher specification ID of a video placement.
13050
+ # Publisher specification ID of a video placement. Possible values are: * `1`,
13051
+ # Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD *
13052
+ # `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `
13053
+ # 12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst
13054
+ # Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.
13055
+ # com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `
13056
+ # 24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`,
13057
+ # Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
12912
13058
  # Corresponds to the JSON property `publisherSpecificationId`
12913
13059
  # @return [Fixnum]
12914
13060
  attr_accessor :publisher_specification_id
@@ -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.16.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240613"
25
+ REVISION = "20240821"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,18 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class CartData
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class CartDataItem
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
241
253
  class ChangeLog
242
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
255
 
@@ -1989,6 +2001,26 @@ module Google
1989
2001
  end
1990
2002
  end
1991
2003
 
2004
+ class CartData
2005
+ # @private
2006
+ class Representation < Google::Apis::Core::JsonRepresentation
2007
+ collection :items, as: 'items', class: Google::Apis::DfareportingV4::CartDataItem, decorator: Google::Apis::DfareportingV4::CartDataItem::Representation
2008
+
2009
+ property :merchant_feed_label, as: 'merchantFeedLabel'
2010
+ property :merchant_feed_language, as: 'merchantFeedLanguage'
2011
+ property :merchant_id, :numeric_string => true, as: 'merchantId'
2012
+ end
2013
+ end
2014
+
2015
+ class CartDataItem
2016
+ # @private
2017
+ class Representation < Google::Apis::Core::JsonRepresentation
2018
+ property :item_id, as: 'itemId'
2019
+ property :quantity, as: 'quantity'
2020
+ property :unit_price, as: 'unitPrice'
2021
+ end
2022
+ end
2023
+
1992
2024
  class ChangeLog
1993
2025
  # @private
1994
2026
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2151,6 +2183,8 @@ module Google
2151
2183
  # @private
2152
2184
  class Representation < Google::Apis::Core::JsonRepresentation
2153
2185
  property :ad_user_data_consent, as: 'adUserDataConsent'
2186
+ property :cart_data, as: 'cartData', class: Google::Apis::DfareportingV4::CartData, decorator: Google::Apis::DfareportingV4::CartData::Representation
2187
+
2154
2188
  property :child_directed_treatment, as: 'childDirectedTreatment'
2155
2189
  collection :custom_variables, as: 'customVariables', class: Google::Apis::DfareportingV4::CustomFloodlightVariable, decorator: Google::Apis::DfareportingV4::CustomFloodlightVariable::Representation
2156
2190
 
@@ -2803,6 +2837,7 @@ module Google
2803
2837
  collection :interstitial_tag_formats, as: 'interstitialTagFormats'
2804
2838
  property :kind, as: 'kind'
2805
2839
  property :name, as: 'name'
2840
+ property :publisher_specification_id, :numeric_string => true, as: 'publisherSpecificationId'
2806
2841
  property :settings, as: 'settings', class: Google::Apis::DfareportingV4::DirectorySiteSettings, decorator: Google::Apis::DfareportingV4::DirectorySiteSettings::Representation
2807
2842
 
2808
2843
  property :url, as: 'url'
@@ -3594,6 +3629,7 @@ module Google
3594
3629
  property :account_id, :numeric_string => true, as: 'accountId'
3595
3630
  property :active_status, as: 'activeStatus'
3596
3631
  property :ad_blocking_opt_out, as: 'adBlockingOptOut'
3632
+ property :ad_serving_platform_id, :numeric_string => true, as: 'adServingPlatformId'
3597
3633
  collection :additional_sizes, as: 'additionalSizes', class: Google::Apis::DfareportingV4::Size, decorator: Google::Apis::DfareportingV4::Size::Representation
3598
3634
 
3599
3635
  property :advertiser_id, :numeric_string => true, as: 'advertiserId'
@@ -3639,6 +3675,7 @@ module Google
3639
3675
  property :site_id, :numeric_string => true, as: 'siteId'
3640
3676
  property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV4::DimensionValue, decorator: Google::Apis::DfareportingV4::DimensionValue::Representation
3641
3677
 
3678
+ property :site_served, as: 'siteServed'
3642
3679
  property :size, as: 'size', class: Google::Apis::DfareportingV4::Size, decorator: Google::Apis::DfareportingV4::Size::Representation
3643
3680
 
3644
3681
  property :ssl_required, as: 'sslRequired'
@@ -4246,6 +4283,7 @@ module Google
4246
4283
  # @private
4247
4284
  class Representation < Google::Apis::Core::JsonRepresentation
4248
4285
  property :account_id, :numeric_string => true, as: 'accountId'
4286
+ property :ad_serving_platform_id, :numeric_string => true, as: 'adServingPlatformId'
4249
4287
  property :approved, as: 'approved'
4250
4288
  property :directory_site_id, :numeric_string => true, as: 'directorySiteId'
4251
4289
  property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV4::DimensionValue, decorator: Google::Apis::DfareportingV4::DimensionValue::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dfareporting_v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-16 00:00:00.000000000 Z
11
+ date: 2024-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dfareporting_v4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v4/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v4/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dfareporting_v4
63
63
  post_install_message:
64
64
  rdoc_options: []