google-shopping-type 0.3.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: 9d2dda38698f4dd18c6157f549feb8351b328278816721161f8556bdc16c8131
4
- data.tar.gz: f4bcccf366614a176b00b9d3bc7e19967c6c161ed7b805e3360d354599425b53
3
+ metadata.gz: 11bbc26346b0c0f536a147c02536f081ca345b2eb4f3e655d0f5b688aa03264d
4
+ data.tar.gz: 67fc9b4db799edb23eb1dfba1fba275224a191e3c1997bce4ab93bfae222cc71
5
5
  SHA512:
6
- metadata.gz: fdf8700f420833d0fe6da11ef3eef2c675f5ec5ff92bd6e1790cd958c1b8c9c43228c701b70f486b1dd3a6d5a265b84e7f1213c71e19c84837a41d63115641e3
7
- data.tar.gz: 518c8fb442c1a91e7338f4ee4547d94019f327564d8204ebcd6967fcbe8e75ab954193ff7382c21130f7425845ed19eadd2dca9d1902d4b4f9cff3706edbf701
6
+ metadata.gz: '088ebcbded88020e2b59ec890de2148f410dd924871f8cce2dfd5a009e51e55a00bc5b655c2a391aac6f44a82bc269ce2bd496aeb580917a299fb9f3ea700016'
7
+ data.tar.gz: 6d075a91b2380d2e217036fc9bf87917d74aef9ec4cc051d09b790e7fd1c71b923dfcbb1f1ea26f8b5389122bd1c700af7c2fa04e0f655787b9c3436ec5fe8f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.4.0 (2024-04-14)
4
+
5
+ #### Features
6
+
7
+ * Recommend DEMAND_GEN_ADS over deprecated DISCOVERY_ADS in google-shopping-type ([#269](https://github.com/googleapis/common-protos-ruby/issues/269))
8
+
3
9
  ### 0.3.0 (2024-02-23)
4
10
 
5
11
  #### Features
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n google/shopping/type/types.proto\x12\x14google.shopping.type\"c\n\x05Price\x12\x1a\n\ramount_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcurrency_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_amount_microsB\x10\n\x0e_currency_code\"\x88\x01\n\x0f\x43ustomAttribute\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05value\x18\x02 \x01(\tH\x01\x88\x01\x01\x12;\n\x0cgroup_values\x18\x03 \x03(\x0b\x32%.google.shopping.type.CustomAttributeB\x07\n\x05_nameB\x08\n\x06_value\"\xc1\x01\n\x0b\x44\x65stination\"\xb1\x01\n\x0f\x44\x65stinationEnum\x12 \n\x1c\x44\x45STINATION_ENUM_UNSPECIFIED\x10\x00\x12\x10\n\x0cSHOPPING_ADS\x10\x01\x12\x0f\n\x0b\x44ISPLAY_ADS\x10\x02\x12\x17\n\x13LOCAL_INVENTORY_ADS\x10\x03\x12\x11\n\rFREE_LISTINGS\x10\x04\x12\x17\n\x13\x46REE_LOCAL_LISTINGS\x10\x05\x12\x14\n\x10YOUTUBE_SHOPPING\x10\x06\"\xd9\x02\n\x10ReportingContext\"\xc4\x02\n\x14ReportingContextEnum\x12&\n\"REPORTING_CONTEXT_ENUM_UNSPECIFIED\x10\x00\x12\x10\n\x0cSHOPPING_ADS\x10\x01\x12\x11\n\rDISCOVERY_ADS\x10\x02\x12\r\n\tVIDEO_ADS\x10\x03\x12\x0f\n\x0b\x44ISPLAY_ADS\x10\x04\x12\x17\n\x13LOCAL_INVENTORY_ADS\x10\x05\x12\x19\n\x15VEHICLE_INVENTORY_ADS\x10\x06\x12\x11\n\rFREE_LISTINGS\x10\x07\x12\x17\n\x13\x46REE_LOCAL_LISTINGS\x10\x08\x12\x1f\n\x1b\x46REE_LOCAL_VEHICLE_LISTINGS\x10\t\x12\x14\n\x10YOUTUBE_SHOPPING\x10\n\x12\x10\n\x0c\x43LOUD_RETAIL\x10\x0b\x12\x16\n\x12LOCAL_CLOUD_RETAIL\x10\x0c\"M\n\x07\x43hannel\"B\n\x0b\x43hannelEnum\x12\x1c\n\x18\x43HANNEL_ENUM_UNSPECIFIED\x10\x00\x12\n\n\x06ONLINE\x10\x01\x12\t\n\x05LOCAL\x10\x02\x42p\n\x18\x63om.google.shopping.typeB\nTypesProtoP\x01Z/cloud.google.com/go/shopping/type/typepb;typepb\xaa\x02\x14Google.Shopping.Typeb\x06proto3"
8
+ descriptor_data = "\n google/shopping/type/types.proto\x12\x14google.shopping.type\"c\n\x05Price\x12\x1a\n\ramount_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x1a\n\rcurrency_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_amount_microsB\x10\n\x0e_currency_code\"\x88\x01\n\x0f\x43ustomAttribute\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05value\x18\x02 \x01(\tH\x01\x88\x01\x01\x12;\n\x0cgroup_values\x18\x03 \x03(\x0b\x32%.google.shopping.type.CustomAttributeB\x07\n\x05_nameB\x08\n\x06_value\"\xc1\x01\n\x0b\x44\x65stination\"\xb1\x01\n\x0f\x44\x65stinationEnum\x12 \n\x1c\x44\x45STINATION_ENUM_UNSPECIFIED\x10\x00\x12\x10\n\x0cSHOPPING_ADS\x10\x01\x12\x0f\n\x0b\x44ISPLAY_ADS\x10\x02\x12\x17\n\x13LOCAL_INVENTORY_ADS\x10\x03\x12\x11\n\rFREE_LISTINGS\x10\x04\x12\x17\n\x13\x46REE_LOCAL_LISTINGS\x10\x05\x12\x14\n\x10YOUTUBE_SHOPPING\x10\x06\"\x96\x03\n\x10ReportingContext\"\x81\x03\n\x14ReportingContextEnum\x12&\n\"REPORTING_CONTEXT_ENUM_UNSPECIFIED\x10\x00\x12\x10\n\x0cSHOPPING_ADS\x10\x01\x12\x15\n\rDISCOVERY_ADS\x10\x02\x1a\x02\x08\x01\x12\x12\n\x0e\x44\x45MAND_GEN_ADS\x10\r\x12#\n\x1f\x44\x45MAND_GEN_ADS_DISCOVER_SURFACE\x10\x0e\x12\r\n\tVIDEO_ADS\x10\x03\x12\x0f\n\x0b\x44ISPLAY_ADS\x10\x04\x12\x17\n\x13LOCAL_INVENTORY_ADS\x10\x05\x12\x19\n\x15VEHICLE_INVENTORY_ADS\x10\x06\x12\x11\n\rFREE_LISTINGS\x10\x07\x12\x17\n\x13\x46REE_LOCAL_LISTINGS\x10\x08\x12\x1f\n\x1b\x46REE_LOCAL_VEHICLE_LISTINGS\x10\t\x12\x14\n\x10YOUTUBE_SHOPPING\x10\n\x12\x10\n\x0c\x43LOUD_RETAIL\x10\x0b\x12\x16\n\x12LOCAL_CLOUD_RETAIL\x10\x0c\"M\n\x07\x43hannel\"B\n\x0b\x43hannelEnum\x12\x1c\n\x18\x43HANNEL_ENUM_UNSPECIFIED\x10\x00\x12\n\n\x06ONLINE\x10\x01\x12\t\n\x05LOCAL\x10\x02\x42p\n\x18\x63om.google.shopping.typeB\nTypesProtoP\x01Z/cloud.google.com/go/shopping/type/typepb;typepb\xaa\x02\x14Google.Shopping.Typeb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -139,7 +139,7 @@ end
139
139
  # // Reporting contexts are groups of surfaces and formats for product results on
140
140
  # // Google. They can represent the entire destination (for example, [Shopping
141
141
  # // ads](https://support.google.com/merchants/answer/6149970)) or a subset of
142
- # // formats within a destination (for example, [Discovery
142
+ # // formats within a destination (for example, [Demand Gen
143
143
  # // ads](https://support.google.com/merchants/answer/13389785)).
144
144
  # //
145
145
  # message ReportingContext {
@@ -151,9 +151,17 @@ end
151
151
  # // [Shopping ads](https://support.google.com/merchants/answer/6149970).
152
152
  # SHOPPING_ADS = 1;
153
153
  #
154
+ # // Deprecated: Use `DEMAND_GEN_ADS` instead.
154
155
  # // [Discovery and Demand Gen
155
156
  # // ads](https://support.google.com/merchants/answer/13389785).
156
- # DISCOVERY_ADS = 2;
157
+ # DISCOVERY_ADS = 2 [deprecated = true];
158
+ #
159
+ # // [Demand Gen ads](https://support.google.com/merchants/answer/13389785).
160
+ # DEMAND_GEN_ADS = 13;
161
+ #
162
+ # // [Demand Gen ads on Discover
163
+ # // surface](https://support.google.com/merchants/answer/13389785).
164
+ # DEMAND_GEN_ADS_DISCOVER_SURFACE = 14;
157
165
  #
158
166
  # // [Video ads](https://support.google.com/google-ads/answer/6340491).
159
167
  # VIDEO_ADS = 3;
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module Shopping
19
19
  module Type
20
- VERSION = "0.3.0".freeze
20
+ VERSION = "0.4.0".freeze
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-type
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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-02-23 00:00:00.000000000 Z
11
+ date: 2024-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf