google-ads-ad_manager-v1 0.a → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/ads/ad_manager/v1/ad_unit_service/credentials.rb +44 -0
  6. data/lib/google/ads/ad_manager/v1/ad_unit_service/paths.rb +64 -0
  7. data/lib/google/ads/ad_manager/v1/ad_unit_service/rest/client.rb +644 -0
  8. data/lib/google/ads/ad_manager/v1/ad_unit_service/rest/service_stub.rb +264 -0
  9. data/lib/google/ads/ad_manager/v1/ad_unit_service/rest.rb +52 -0
  10. data/lib/google/ads/ad_manager/v1/ad_unit_service.rb +48 -0
  11. data/lib/google/ads/ad_manager/v1/company_service/credentials.rb +44 -0
  12. data/lib/google/ads/ad_manager/v1/company_service/paths.rb +64 -0
  13. data/lib/google/ads/ad_manager/v1/company_service/rest/client.rb +531 -0
  14. data/lib/google/ads/ad_manager/v1/company_service/rest/service_stub.rb +203 -0
  15. data/lib/google/ads/ad_manager/v1/company_service/rest.rb +52 -0
  16. data/lib/google/ads/ad_manager/v1/company_service.rb +48 -0
  17. data/lib/google/ads/ad_manager/v1/custom_field_service/credentials.rb +44 -0
  18. data/lib/google/ads/ad_manager/v1/custom_field_service/paths.rb +64 -0
  19. data/lib/google/ads/ad_manager/v1/custom_field_service/rest/client.rb +531 -0
  20. data/lib/google/ads/ad_manager/v1/custom_field_service/rest/service_stub.rb +203 -0
  21. data/lib/google/ads/ad_manager/v1/custom_field_service/rest.rb +52 -0
  22. data/lib/google/ads/ad_manager/v1/custom_field_service.rb +48 -0
  23. data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/credentials.rb +44 -0
  24. data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/paths.rb +64 -0
  25. data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/rest/client.rb +532 -0
  26. data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/rest/service_stub.rb +203 -0
  27. data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/rest.rb +52 -0
  28. data/lib/google/ads/ad_manager/v1/custom_targeting_key_service.rb +48 -0
  29. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/credentials.rb +44 -0
  30. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/paths.rb +69 -0
  31. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest/client.rb +535 -0
  32. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest/service_stub.rb +203 -0
  33. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest.rb +52 -0
  34. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service.rb +48 -0
  35. data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/credentials.rb +44 -0
  36. data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/paths.rb +64 -0
  37. data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/rest/client.rb +894 -0
  38. data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/rest/service_stub.rb +451 -0
  39. data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/rest.rb +52 -0
  40. data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service.rb +48 -0
  41. data/lib/google/ads/ad_manager/v1/network_service/credentials.rb +44 -0
  42. data/lib/google/ads/ad_manager/v1/network_service/paths.rb +47 -0
  43. data/lib/google/ads/ad_manager/v1/network_service/rest/client.rb +495 -0
  44. data/lib/google/ads/ad_manager/v1/network_service/rest/service_stub.rb +201 -0
  45. data/lib/google/ads/ad_manager/v1/network_service/rest.rb +52 -0
  46. data/lib/google/ads/ad_manager/v1/network_service.rb +48 -0
  47. data/lib/google/ads/ad_manager/v1/order_service/credentials.rb +44 -0
  48. data/lib/google/ads/ad_manager/v1/order_service/paths.rb +64 -0
  49. data/lib/google/ads/ad_manager/v1/order_service/rest/client.rb +541 -0
  50. data/lib/google/ads/ad_manager/v1/order_service/rest/service_stub.rb +203 -0
  51. data/lib/google/ads/ad_manager/v1/order_service/rest.rb +52 -0
  52. data/lib/google/ads/ad_manager/v1/order_service.rb +48 -0
  53. data/lib/google/ads/ad_manager/v1/placement_service/credentials.rb +44 -0
  54. data/lib/google/ads/ad_manager/v1/placement_service/paths.rb +64 -0
  55. data/lib/google/ads/ad_manager/v1/placement_service/rest/client.rb +531 -0
  56. data/lib/google/ads/ad_manager/v1/placement_service/rest/service_stub.rb +203 -0
  57. data/lib/google/ads/ad_manager/v1/placement_service/rest.rb +52 -0
  58. data/lib/google/ads/ad_manager/v1/placement_service.rb +48 -0
  59. data/lib/google/ads/ad_manager/v1/report_service/credentials.rb +44 -0
  60. data/lib/google/ads/ad_manager/v1/report_service/paths.rb +64 -0
  61. data/lib/google/ads/ad_manager/v1/report_service/rest/client.rb +923 -0
  62. data/lib/google/ads/ad_manager/v1/report_service/rest/operations.rb +914 -0
  63. data/lib/google/ads/ad_manager/v1/report_service/rest/service_stub.rb +450 -0
  64. data/lib/google/ads/ad_manager/v1/report_service/rest.rb +53 -0
  65. data/lib/google/ads/ad_manager/v1/report_service.rb +48 -0
  66. data/lib/google/ads/ad_manager/v1/rest.rb +49 -0
  67. data/lib/google/ads/ad_manager/v1/role_service/credentials.rb +44 -0
  68. data/lib/google/ads/ad_manager/v1/role_service/paths.rb +64 -0
  69. data/lib/google/ads/ad_manager/v1/role_service/rest/client.rb +530 -0
  70. data/lib/google/ads/ad_manager/v1/role_service/rest/service_stub.rb +203 -0
  71. data/lib/google/ads/ad_manager/v1/role_service/rest.rb +52 -0
  72. data/lib/google/ads/ad_manager/v1/role_service.rb +48 -0
  73. data/lib/google/ads/ad_manager/v1/taxonomy_category_service/credentials.rb +44 -0
  74. data/lib/google/ads/ad_manager/v1/taxonomy_category_service/paths.rb +64 -0
  75. data/lib/google/ads/ad_manager/v1/taxonomy_category_service/rest/client.rb +531 -0
  76. data/lib/google/ads/ad_manager/v1/taxonomy_category_service/rest/service_stub.rb +203 -0
  77. data/lib/google/ads/ad_manager/v1/taxonomy_category_service/rest.rb +52 -0
  78. data/lib/google/ads/ad_manager/v1/taxonomy_category_service.rb +48 -0
  79. data/lib/google/ads/ad_manager/v1/user_service/credentials.rb +44 -0
  80. data/lib/google/ads/ad_manager/v1/user_service/paths.rb +50 -0
  81. data/lib/google/ads/ad_manager/v1/user_service/rest/client.rb +421 -0
  82. data/lib/google/ads/ad_manager/v1/user_service/rest/service_stub.rb +142 -0
  83. data/lib/google/ads/ad_manager/v1/user_service/rest.rb +52 -0
  84. data/lib/google/ads/ad_manager/v1/user_service.rb +48 -0
  85. data/lib/google/ads/ad_manager/v1/version.rb +7 -2
  86. data/lib/google/ads/ad_manager/v1.rb +52 -0
  87. data/lib/google/ads/admanager/v1/ad_unit_enums_pb.rb +47 -0
  88. data/lib/google/ads/admanager/v1/ad_unit_messages_pb.rb +60 -0
  89. data/lib/google/ads/admanager/v1/ad_unit_service_pb.rb +53 -0
  90. data/lib/google/ads/admanager/v1/ad_unit_service_services_pb.rb +49 -0
  91. data/lib/google/ads/admanager/v1/admanager_error_pb.rb +45 -0
  92. data/lib/google/ads/admanager/v1/applied_label_pb.rb +45 -0
  93. data/lib/google/ads/admanager/v1/company_credit_status_enum_pb.rb +43 -0
  94. data/lib/google/ads/admanager/v1/company_messages_pb.rb +51 -0
  95. data/lib/google/ads/admanager/v1/company_service_pb.rb +51 -0
  96. data/lib/google/ads/admanager/v1/company_service_services_pb.rb +47 -0
  97. data/lib/google/ads/admanager/v1/company_type_enum_pb.rb +43 -0
  98. data/lib/google/ads/admanager/v1/contact_messages_pb.rb +45 -0
  99. data/lib/google/ads/admanager/v1/custom_field_enums_pb.rb +49 -0
  100. data/lib/google/ads/admanager/v1/custom_field_messages_pb.rb +47 -0
  101. data/lib/google/ads/admanager/v1/custom_field_service_pb.rb +51 -0
  102. data/lib/google/ads/admanager/v1/custom_field_service_services_pb.rb +47 -0
  103. data/lib/google/ads/admanager/v1/custom_field_value_pb.rb +46 -0
  104. data/lib/google/ads/admanager/v1/custom_targeting_key_enums_pb.rb +47 -0
  105. data/lib/google/ads/admanager/v1/custom_targeting_key_messages_pb.rb +46 -0
  106. data/lib/google/ads/admanager/v1/custom_targeting_key_service_pb.rb +51 -0
  107. data/lib/google/ads/admanager/v1/custom_targeting_key_service_services_pb.rb +47 -0
  108. data/lib/google/ads/admanager/v1/custom_targeting_value_enums_pb.rb +45 -0
  109. data/lib/google/ads/admanager/v1/custom_targeting_value_messages_pb.rb +46 -0
  110. data/lib/google/ads/admanager/v1/custom_targeting_value_service_pb.rb +51 -0
  111. data/lib/google/ads/admanager/v1/custom_targeting_value_service_services_pb.rb +47 -0
  112. data/lib/google/ads/admanager/v1/entity_signals_mapping_messages_pb.rb +45 -0
  113. data/lib/google/ads/admanager/v1/entity_signals_mapping_service_pb.rb +59 -0
  114. data/lib/google/ads/admanager/v1/entity_signals_mapping_service_services_pb.rb +55 -0
  115. data/lib/google/ads/admanager/v1/environment_type_enum_pb.rb +43 -0
  116. data/lib/google/ads/admanager/v1/frequency_cap_pb.rb +44 -0
  117. data/lib/google/ads/admanager/v1/label_messages_pb.rb +45 -0
  118. data/lib/google/ads/admanager/v1/network_messages_pb.rb +45 -0
  119. data/lib/google/ads/admanager/v1/network_service_pb.rb +51 -0
  120. data/lib/google/ads/admanager/v1/network_service_services_pb.rb +47 -0
  121. data/lib/google/ads/admanager/v1/order_enums_pb.rb +43 -0
  122. data/lib/google/ads/admanager/v1/order_messages_pb.rb +52 -0
  123. data/lib/google/ads/admanager/v1/order_service_pb.rb +51 -0
  124. data/lib/google/ads/admanager/v1/order_service_services_pb.rb +52 -0
  125. data/lib/google/ads/admanager/v1/placement_enums_pb.rb +43 -0
  126. data/lib/google/ads/admanager/v1/placement_messages_pb.rb +48 -0
  127. data/lib/google/ads/admanager/v1/placement_service_pb.rb +51 -0
  128. data/lib/google/ads/admanager/v1/placement_service_services_pb.rb +47 -0
  129. data/lib/google/ads/admanager/v1/report_service_pb.rb +97 -0
  130. data/lib/google/ads/admanager/v1/report_service_services_pb.rb +65 -0
  131. data/lib/google/ads/admanager/v1/role_enums_pb.rb +43 -0
  132. data/lib/google/ads/admanager/v1/role_messages_pb.rb +46 -0
  133. data/lib/google/ads/admanager/v1/role_service_pb.rb +51 -0
  134. data/lib/google/ads/admanager/v1/role_service_services_pb.rb +47 -0
  135. data/lib/google/ads/admanager/v1/size_pb.rb +45 -0
  136. data/lib/google/ads/admanager/v1/size_type_enum_pb.rb +43 -0
  137. data/lib/google/ads/admanager/v1/taxonomy_category_messages_pb.rb +46 -0
  138. data/lib/google/ads/admanager/v1/taxonomy_category_service_pb.rb +51 -0
  139. data/lib/google/ads/admanager/v1/taxonomy_category_service_services_pb.rb +47 -0
  140. data/lib/google/ads/admanager/v1/taxonomy_type_enum_pb.rb +43 -0
  141. data/lib/google/ads/admanager/v1/team_messages_pb.rb +45 -0
  142. data/lib/google/ads/admanager/v1/time_unit_enum_pb.rb +43 -0
  143. data/lib/google/ads/admanager/v1/user_messages_pb.rb +45 -0
  144. data/lib/google/ads/admanager/v1/user_service_pb.rb +48 -0
  145. data/lib/google/ads/admanager/v1/user_service_services_pb.rb +48 -0
  146. data/lib/google-ads-ad_manager-v1.rb +21 -0
  147. data/proto_docs/README.md +4 -0
  148. data/proto_docs/google/ads/admanager/v1/ad_unit_enums.rb +91 -0
  149. data/proto_docs/google/ads/admanager/v1/ad_unit_messages.rb +188 -0
  150. data/proto_docs/google/ads/admanager/v1/ad_unit_service.rb +160 -0
  151. data/proto_docs/google/ads/admanager/v1/admanager_error.rb +54 -0
  152. data/proto_docs/google/ads/admanager/v1/applied_label.rb +39 -0
  153. data/proto_docs/google/ads/admanager/v1/company_credit_status_enum.rb +101 -0
  154. data/proto_docs/google/ads/admanager/v1/company_messages.rb +101 -0
  155. data/proto_docs/google/ads/admanager/v1/company_service.rb +99 -0
  156. data/proto_docs/google/ads/admanager/v1/company_type_enum.rb +55 -0
  157. data/proto_docs/google/ads/admanager/v1/contact_messages.rb +43 -0
  158. data/proto_docs/google/ads/admanager/v1/custom_field_enums.rb +123 -0
  159. data/proto_docs/google/ads/admanager/v1/custom_field_messages.rb +78 -0
  160. data/proto_docs/google/ads/admanager/v1/custom_field_service.rb +99 -0
  161. data/proto_docs/google/ads/admanager/v1/custom_field_value.rb +58 -0
  162. data/proto_docs/google/ads/admanager/v1/custom_targeting_key_enums.rb +86 -0
  163. data/proto_docs/google/ads/admanager/v1/custom_targeting_key_messages.rb +59 -0
  164. data/proto_docs/google/ads/admanager/v1/custom_targeting_key_service.rb +100 -0
  165. data/proto_docs/google/ads/admanager/v1/custom_targeting_value_enums.rb +97 -0
  166. data/proto_docs/google/ads/admanager/v1/custom_targeting_value_messages.rb +54 -0
  167. data/proto_docs/google/ads/admanager/v1/custom_targeting_value_service.rb +103 -0
  168. data/proto_docs/google/ads/admanager/v1/entity_signals_mapping_messages.rb +53 -0
  169. data/proto_docs/google/ads/admanager/v1/entity_signals_mapping_service.rb +180 -0
  170. data/proto_docs/google/ads/admanager/v1/environment_type_enum.rb +45 -0
  171. data/proto_docs/google/ads/admanager/v1/frequency_cap.rb +41 -0
  172. data/proto_docs/google/ads/admanager/v1/label_messages.rb +36 -0
  173. data/proto_docs/google/ads/admanager/v1/network_messages.rb +67 -0
  174. data/proto_docs/google/ads/admanager/v1/network_service.rb +51 -0
  175. data/proto_docs/google/ads/admanager/v1/order_enums.rb +63 -0
  176. data/proto_docs/google/ads/admanager/v1/order_messages.rb +149 -0
  177. data/proto_docs/google/ads/admanager/v1/order_service.rb +99 -0
  178. data/proto_docs/google/ads/admanager/v1/placement_enums.rb +48 -0
  179. data/proto_docs/google/ads/admanager/v1/placement_messages.rb +62 -0
  180. data/proto_docs/google/ads/admanager/v1/placement_service.rb +99 -0
  181. data/proto_docs/google/ads/admanager/v1/report_service.rb +3476 -0
  182. data/proto_docs/google/ads/admanager/v1/role_enums.rb +45 -0
  183. data/proto_docs/google/ads/admanager/v1/role_messages.rb +51 -0
  184. data/proto_docs/google/ads/admanager/v1/role_service.rb +97 -0
  185. data/proto_docs/google/ads/admanager/v1/size.rb +48 -0
  186. data/proto_docs/google/ads/admanager/v1/size_type_enum.rb +66 -0
  187. data/proto_docs/google/ads/admanager/v1/taxonomy_category_messages.rb +59 -0
  188. data/proto_docs/google/ads/admanager/v1/taxonomy_category_service.rb +99 -0
  189. data/proto_docs/google/ads/admanager/v1/taxonomy_type_enum.rb +55 -0
  190. data/proto_docs/google/ads/admanager/v1/team_messages.rb +40 -0
  191. data/proto_docs/google/ads/admanager/v1/time_unit_enum.rb +63 -0
  192. data/proto_docs/google/ads/admanager/v1/user_messages.rb +69 -0
  193. data/proto_docs/google/ads/admanager/v1/user_service.rb +36 -0
  194. data/proto_docs/google/api/client.rb +459 -0
  195. data/proto_docs/google/api/field_behavior.rb +85 -0
  196. data/proto_docs/google/api/launch_stage.rb +71 -0
  197. data/proto_docs/google/api/resource.rb +227 -0
  198. data/proto_docs/google/longrunning/operations.rb +169 -0
  199. data/proto_docs/google/protobuf/any.rb +145 -0
  200. data/proto_docs/google/protobuf/duration.rb +98 -0
  201. data/proto_docs/google/protobuf/empty.rb +34 -0
  202. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  203. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  204. data/proto_docs/google/rpc/status.rb +48 -0
  205. data/proto_docs/google/type/date.rb +53 -0
  206. data/proto_docs/google/type/dayofweek.rb +49 -0
  207. data/proto_docs/google/type/timeofday.rb +45 -0
  208. metadata +248 -11
@@ -0,0 +1,47 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/ads/admanager/v1/custom_targeting_value_service.proto for package 'Google.Ads.AdManager.V1'
3
+ # Original file comments:
4
+ # Copyright 2024 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/ads/admanager/v1/custom_targeting_value_service_pb'
21
+
22
+ module Google
23
+ module Ads
24
+ module AdManager
25
+ module V1
26
+ module CustomTargetingValueService
27
+ # Provides methods for handling `CustomTargetingValue` objects.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.ads.admanager.v1.CustomTargetingValueService'
35
+
36
+ # API to retrieve a `CustomTargetingValue` object.
37
+ rpc :GetCustomTargetingValue, ::Google::Ads::AdManager::V1::GetCustomTargetingValueRequest, ::Google::Ads::AdManager::V1::CustomTargetingValue
38
+ # API to retrieve a list of `CustomTargetingValue` objects.
39
+ rpc :ListCustomTargetingValues, ::Google::Ads::AdManager::V1::ListCustomTargetingValuesRequest, ::Google::Ads::AdManager::V1::ListCustomTargetingValuesResponse
40
+ end
41
+
42
+ Stub = Service.rpc_stub_class
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/entity_signals_mapping_messages.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\n=google/ads/admanager/v1/entity_signals_mapping_messages.proto\x12\x17google.ads.admanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x8b\x03\n\x14\x45ntitySignalsMapping\x12\x1d\n\x13\x61udience_segment_id\x18\x03 \x01(\x03H\x00\x12\x1b\n\x11\x63ontent_bundle_id\x18\x04 \x01(\x03H\x00\x12#\n\x19\x63ustom_targeting_value_id\x18\x05 \x01(\x03H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12&\n\x19\x65ntity_signals_mapping_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\"\n\x15taxonomy_category_ids\x18\x06 \x03(\x03\x42\x03\xe0\x41\x02:\xa8\x01\xea\x41\xa4\x01\n-admanager.googleapis.com/EntitySignalsMapping\x12\x46networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}*\x15\x65ntitySignalsMappings2\x14\x65ntitySignalsMappingB\x08\n\x06\x65ntityB\xd5\x01\n\x1b\x63om.google.ads.admanager.v1B!EntitySignalsMappingMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module Google
38
+ module Ads
39
+ module AdManager
40
+ module V1
41
+ EntitySignalsMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.EntitySignalsMapping").msgclass
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/entity_signals_mapping_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/ads/admanager/v1/entity_signals_mapping_messages_pb'
8
+ require 'google/api/annotations_pb'
9
+ require 'google/api/client_pb'
10
+ require 'google/api/field_behavior_pb'
11
+ require 'google/api/resource_pb'
12
+ require 'google/protobuf/field_mask_pb'
13
+
14
+
15
+ descriptor_data = "\n<google/ads/admanager/v1/entity_signals_mapping_service.proto\x12\x17google.ads.admanager.v1\x1a=google/ads/admanager/v1/entity_signals_mapping_messages.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"e\n\x1eGetEntitySignalsMappingRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-admanager.googleapis.com/EntitySignalsMapping\"\xcc\x01\n ListEntitySignalsMappingsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n admanager.googleapis.com/Network\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04skip\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\"\xbe\x01\n!CreateEntitySignalsMappingRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-admanager.googleapis.com/EntitySignalsMapping\x12R\n\x16\x65ntity_signals_mapping\x18\x02 \x01(\x0b\x32-.google.ads.admanager.v1.EntitySignalsMappingB\x03\xe0\x41\x02\"\xad\x01\n!UpdateEntitySignalsMappingRequest\x12R\n\x16\x65ntity_signals_mapping\x18\x01 \x01(\x0b\x32-.google.ads.admanager.v1.EntitySignalsMappingB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xa0\x01\n!ListEntitySignalsMappingsResponse\x12N\n\x17\x65ntity_signals_mappings\x18\x01 \x03(\x0b\x32-.google.ads.admanager.v1.EntitySignalsMapping\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\xc3\x01\n\'BatchCreateEntitySignalsMappingsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-admanager.googleapis.com/EntitySignalsMapping\x12Q\n\x08requests\x18\x02 \x03(\x0b\x32:.google.ads.admanager.v1.CreateEntitySignalsMappingRequestB\x03\xe0\x41\x02\"z\n(BatchCreateEntitySignalsMappingsResponse\x12N\n\x17\x65ntity_signals_mappings\x18\x01 \x03(\x0b\x32-.google.ads.admanager.v1.EntitySignalsMapping\"\xc3\x01\n\'BatchUpdateEntitySignalsMappingsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-admanager.googleapis.com/EntitySignalsMapping\x12Q\n\x08requests\x18\x02 \x03(\x0b\x32:.google.ads.admanager.v1.UpdateEntitySignalsMappingRequestB\x03\xe0\x41\x02\"z\n(BatchUpdateEntitySignalsMappingsResponse\x12N\n\x17\x65ntity_signals_mappings\x18\x01 \x03(\x0b\x32-.google.ads.admanager.v1.EntitySignalsMapping2\xe4\x0b\n\x1b\x45ntitySignalsMappingService\x12\xbf\x01\n\x17GetEntitySignalsMapping\x12\x37.google.ads.admanager.v1.GetEntitySignalsMappingRequest\x1a-.google.ads.admanager.v1.EntitySignalsMapping\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=networks/*/entitySignalsMappings/*}\x12\xd2\x01\n\x19ListEntitySignalsMappings\x12\x39.google.ads.admanager.v1.ListEntitySignalsMappingsRequest\x1a:.google.ads.admanager.v1.ListEntitySignalsMappingsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=networks/*}/entitySignalsMappings\x12\xf6\x01\n\x1a\x43reateEntitySignalsMapping\x12:.google.ads.admanager.v1.CreateEntitySignalsMappingRequest\x1a-.google.ads.admanager.v1.EntitySignalsMapping\"m\xda\x41\x1dparent,entity_signals_mapping\x82\xd3\xe4\x93\x02G\"-/v1/{parent=networks/*}/entitySignalsMappings:\x16\x65ntity_signals_mapping\x12\x93\x02\n\x1aUpdateEntitySignalsMapping\x12:.google.ads.admanager.v1.UpdateEntitySignalsMappingRequest\x1a-.google.ads.admanager.v1.EntitySignalsMapping\"\x89\x01\xda\x41\"entity_signals_mapping,update_mask\x82\xd3\xe4\x93\x02^2D/v1/{entity_signals_mapping.name=networks/*/entitySignalsMappings/*}:\x16\x65ntity_signals_mapping\x12\xff\x01\n BatchCreateEntitySignalsMappings\x12@.google.ads.admanager.v1.BatchCreateEntitySignalsMappingsRequest\x1a\x41.google.ads.admanager.v1.BatchCreateEntitySignalsMappingsResponse\"V\xda\x41\x0fparent,requests\x82\xd3\xe4\x93\x02>\"9/v1/{parent=networks/*}/entitySignalsMappings:batchCreate:\x01*\x12\xff\x01\n BatchUpdateEntitySignalsMappings\x12@.google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsRequest\x1a\x41.google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsResponse\"V\xda\x41\x0fparent,requests\x82\xd3\xe4\x93\x02>\"9/v1/{parent=networks/*}/entitySignalsMappings:batchUpdate:\x01*\x1a\x1b\xca\x41\x18\x61\x64manager.googleapis.comB\xd4\x01\n\x1b\x63om.google.ads.admanager.v1B EntitySignalsMappingServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.ads.admanager.v1.EntitySignalsMapping", "google/ads/admanager/v1/entity_signals_mapping_messages.proto"],
31
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
+ end
38
+ end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
41
+ end
42
+
43
+ module Google
44
+ module Ads
45
+ module AdManager
46
+ module V1
47
+ GetEntitySignalsMappingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.GetEntitySignalsMappingRequest").msgclass
48
+ ListEntitySignalsMappingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListEntitySignalsMappingsRequest").msgclass
49
+ CreateEntitySignalsMappingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.CreateEntitySignalsMappingRequest").msgclass
50
+ UpdateEntitySignalsMappingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.UpdateEntitySignalsMappingRequest").msgclass
51
+ ListEntitySignalsMappingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListEntitySignalsMappingsResponse").msgclass
52
+ BatchCreateEntitySignalsMappingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.BatchCreateEntitySignalsMappingsRequest").msgclass
53
+ BatchCreateEntitySignalsMappingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.BatchCreateEntitySignalsMappingsResponse").msgclass
54
+ BatchUpdateEntitySignalsMappingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsRequest").msgclass
55
+ BatchUpdateEntitySignalsMappingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.BatchUpdateEntitySignalsMappingsResponse").msgclass
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,55 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/ads/admanager/v1/entity_signals_mapping_service.proto for package 'Google.Ads.AdManager.V1'
3
+ # Original file comments:
4
+ # Copyright 2024 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/ads/admanager/v1/entity_signals_mapping_service_pb'
21
+
22
+ module Google
23
+ module Ads
24
+ module AdManager
25
+ module V1
26
+ module EntitySignalsMappingService
27
+ # Provides methods for handling `EntitySignalsMapping` objects.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.ads.admanager.v1.EntitySignalsMappingService'
35
+
36
+ # API to retrieve a `EntitySignalsMapping` object.
37
+ rpc :GetEntitySignalsMapping, ::Google::Ads::AdManager::V1::GetEntitySignalsMappingRequest, ::Google::Ads::AdManager::V1::EntitySignalsMapping
38
+ # API to retrieve a list of `EntitySignalsMapping` objects.
39
+ rpc :ListEntitySignalsMappings, ::Google::Ads::AdManager::V1::ListEntitySignalsMappingsRequest, ::Google::Ads::AdManager::V1::ListEntitySignalsMappingsResponse
40
+ # API to create an `EntitySignalsMapping` object.
41
+ rpc :CreateEntitySignalsMapping, ::Google::Ads::AdManager::V1::CreateEntitySignalsMappingRequest, ::Google::Ads::AdManager::V1::EntitySignalsMapping
42
+ # API to update an `EntitySignalsMapping` object.
43
+ rpc :UpdateEntitySignalsMapping, ::Google::Ads::AdManager::V1::UpdateEntitySignalsMappingRequest, ::Google::Ads::AdManager::V1::EntitySignalsMapping
44
+ # API to batch create `EntitySignalsMapping` objects.
45
+ rpc :BatchCreateEntitySignalsMappings, ::Google::Ads::AdManager::V1::BatchCreateEntitySignalsMappingsRequest, ::Google::Ads::AdManager::V1::BatchCreateEntitySignalsMappingsResponse
46
+ # API to batch update `EntitySignalsMapping` objects.
47
+ rpc :BatchUpdateEntitySignalsMappings, ::Google::Ads::AdManager::V1::BatchUpdateEntitySignalsMappingsRequest, ::Google::Ads::AdManager::V1::BatchUpdateEntitySignalsMappingsResponse
48
+ end
49
+
50
+ Stub = Service.rpc_stub_class
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/environment_type_enum.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n3google/ads/admanager/v1/environment_type_enum.proto\x12\x17google.ads.admanager.v1\"i\n\x13\x45nvironmentTypeEnum\"R\n\x0f\x45nvironmentType\x12 \n\x1c\x45NVIRONMENT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x42ROWSER\x10\x01\x12\x10\n\x0cVIDEO_PLAYER\x10\x02\x42\xcc\x01\n\x1b\x63om.google.ads.admanager.v1B\x18\x45nvironmentTypeEnumProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
+ end
29
+ end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
32
+ end
33
+
34
+ module Google
35
+ module Ads
36
+ module AdManager
37
+ module V1
38
+ EnvironmentTypeEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.EnvironmentTypeEnum").msgclass
39
+ EnvironmentTypeEnum::EnvironmentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType").enummodule
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/frequency_cap.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/ads/admanager/v1/time_unit_enum_pb'
8
+
9
+
10
+ descriptor_data = "\n+google/ads/admanager/v1/frequency_cap.proto\x12\x17google.ads.admanager.v1\x1a,google/ads/admanager/v1/time_unit_enum.proto\"\xc0\x01\n\x0c\x46requencyCap\x12\x1c\n\x0fmax_impressions\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x18\n\x0btime_amount\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12\x46\n\ttime_unit\x18\x03 \x01(\x0e\x32..google.ads.admanager.v1.TimeUnitEnum.TimeUnitH\x02\x88\x01\x01\x42\x12\n\x10_max_impressionsB\x0e\n\x0c_time_amountB\x0c\n\n_time_unitB\xc5\x01\n\x1b\x63om.google.ads.admanager.v1B\x11\x46requencyCapProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module Google
37
+ module Ads
38
+ module AdManager
39
+ module V1
40
+ FrequencyCap = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.FrequencyCap").msgclass
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/label_messages.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\n,google/ads/admanager/v1/label_messages.proto\x12\x17google.ads.admanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"v\n\x05Label\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08:Z\xea\x41W\n\x1e\x61\x64manager.googleapis.com/Label\x12&networks/{network_code}/labels/{label}*\x06labels2\x05labelB\xc6\x01\n\x1b\x63om.google.ads.admanager.v1B\x12LabelMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module Google
38
+ module Ads
39
+ module AdManager
40
+ module V1
41
+ Label = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.Label").msgclass
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/network_messages.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\n.google/ads/admanager/v1/network_messages.proto\x12\x17google.ads.admanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x99\x03\n\x07Network\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cnetwork_code\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rproperty_code\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcurrency_code\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12%\n\x18secondary_currency_codes\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12G\n\x16\x65\x66\x66\x65\x63tive_root_ad_unit\x18\x08 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61\x64manager.googleapis.com/AdUnit\x12\x19\n\x0ctest_network\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x17\n\nnetwork_id\x18\x0b \x01(\x03\x42\x03\xe0\x41\x03:Q\xea\x41N\n admanager.googleapis.com/Network\x12\x17networks/{network_code}*\x08networks2\x07networkB\xc8\x01\n\x1b\x63om.google.ads.admanager.v1B\x14NetworkMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module Google
38
+ module Ads
39
+ module AdManager
40
+ module V1
41
+ Network = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.Network").msgclass
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/network_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/ads/admanager/v1/network_messages_pb'
8
+ require 'google/api/annotations_pb'
9
+ require 'google/api/client_pb'
10
+ require 'google/api/field_behavior_pb'
11
+ require 'google/api/resource_pb'
12
+
13
+
14
+ descriptor_data = "\n-google/ads/admanager/v1/network_service.proto\x12\x17google.ads.admanager.v1\x1a.google/ads/admanager/v1/network_messages.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"K\n\x11GetNetworkRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n admanager.googleapis.com/Network\"\x15\n\x13ListNetworksRequest\"J\n\x14ListNetworksResponse\x12\x32\n\x08networks\x18\x01 \x03(\x0b\x32 .google.ads.admanager.v1.Network2\xb4\x02\n\x0eNetworkService\x12\x80\x01\n\nGetNetwork\x12*.google.ads.admanager.v1.GetNetworkRequest\x1a .google.ads.admanager.v1.Network\"$\xda\x41\x04name\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=networks/*}\x12\x81\x01\n\x0cListNetworks\x12,.google.ads.admanager.v1.ListNetworksRequest\x1a-.google.ads.admanager.v1.ListNetworksResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/networks\x1a\x1b\xca\x41\x18\x61\x64manager.googleapis.comB\xc7\x01\n\x1b\x63om.google.ads.admanager.v1B\x13NetworkServiceProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.ads.admanager.v1.Network", "google/ads/admanager/v1/network_messages.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
+ end
36
+ end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
39
+ end
40
+
41
+ module Google
42
+ module Ads
43
+ module AdManager
44
+ module V1
45
+ GetNetworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.GetNetworkRequest").msgclass
46
+ ListNetworksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListNetworksRequest").msgclass
47
+ ListNetworksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.ListNetworksResponse").msgclass
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,47 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/ads/admanager/v1/network_service.proto for package 'Google.Ads.AdManager.V1'
3
+ # Original file comments:
4
+ # Copyright 2024 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/ads/admanager/v1/network_service_pb'
21
+
22
+ module Google
23
+ module Ads
24
+ module AdManager
25
+ module V1
26
+ module NetworkService
27
+ # Provides methods for handling Network objects.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.ads.admanager.v1.NetworkService'
35
+
36
+ # API to retrieve a Network object.
37
+ rpc :GetNetwork, ::Google::Ads::AdManager::V1::GetNetworkRequest, ::Google::Ads::AdManager::V1::Network
38
+ # API to retrieve all the networks the current user has access to.
39
+ rpc :ListNetworks, ::Google::Ads::AdManager::V1::ListNetworksRequest, ::Google::Ads::AdManager::V1::ListNetworksResponse
40
+ end
41
+
42
+ Stub = Service.rpc_stub_class
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/order_enums.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n)google/ads/admanager/v1/order_enums.proto\x12\x17google.ads.admanager.v1\"\xa6\x01\n\x0fOrderStatusEnum\"\x92\x01\n\x0bOrderStatus\x12\x1c\n\x18ORDER_STATUS_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x02\x12\x14\n\x10PENDING_APPROVAL\x10\x03\x12\x0c\n\x08\x41PPROVED\x10\x04\x12\x0f\n\x0b\x44ISAPPROVED\x10\x05\x12\n\n\x06PAUSED\x10\x06\x12\x0c\n\x08\x43\x41NCELED\x10\x07\x12\x0b\n\x07\x44\x45LETED\x10\x08\x42\xc3\x01\n\x1b\x63om.google.ads.admanager.v1B\x0fOrderEnumsProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
+ end
29
+ end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
32
+ end
33
+
34
+ module Google
35
+ module Ads
36
+ module AdManager
37
+ module V1
38
+ OrderStatusEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.OrderStatusEnum").msgclass
39
+ OrderStatusEnum::OrderStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.OrderStatusEnum.OrderStatus").enummodule
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/ads/admanager/v1/order_messages.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/ads/admanager/v1/applied_label_pb'
8
+ require 'google/ads/admanager/v1/custom_field_value_pb'
9
+ require 'google/ads/admanager/v1/order_enums_pb'
10
+ require 'google/api/field_behavior_pb'
11
+ require 'google/api/resource_pb'
12
+ require 'google/protobuf/timestamp_pb'
13
+
14
+
15
+ descriptor_data = "\n,google/ads/admanager/v1/order_messages.proto\x12\x17google.ads.admanager.v1\x1a+google/ads/admanager/v1/applied_label.proto\x1a\x30google/ads/admanager/v1/custom_field_value.proto\x1a)google/ads/admanager/v1/order_enums.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x0c\n\x05Order\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x15\n\x08order_id\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cprogrammatic\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x39\n\ntrafficker\x18\x17 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/User\x12\x45\n\x13\x61\x64vertiser_contacts\x18\x05 \x03(\tB(\xe0\x41\x01\xfa\x41\"\n admanager.googleapis.com/Contact\x12<\n\nadvertiser\x18\x06 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n admanager.googleapis.com/Company\x12\x41\n\x0f\x61gency_contacts\x18\x07 \x03(\tB(\xe0\x41\x01\xfa\x41\"\n admanager.googleapis.com/Contact\x12\x38\n\x06\x61gency\x18\x08 \x01(\tB(\xe0\x41\x01\xfa\x41\"\n admanager.googleapis.com/Company\x12<\n\rapplied_teams\x18\t \x03(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/Team\x12>\n\x0f\x65\x66\x66\x65\x63tive_teams\x18\x1c \x03(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/Team\x12\x36\n\x07\x63reator\x18\n \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/User\x12\x1a\n\rcurrency_code\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1f\n\x12unlimited_end_time\x18- \x01(\x08\x42\x03\xe0\x41\x03\x12\x1e\n\x11\x65xternal_order_id\x18\r \x01(\x03\x42\x03\xe0\x41\x01\x12\x15\n\x08\x61rchived\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x12!\n\x14last_modified_by_app\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x12\n\x05notes\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpo_number\x18\x12 \x01(\tB\x03\xe0\x41\x01\x12I\n\x06status\x18\x14 \x01(\x0e\x32\x34.google.ads.admanager.v1.OrderStatusEnum.OrderStatusB\x03\xe0\x41\x03\x12:\n\x0bsalesperson\x18\x15 \x01(\tB%\xe0\x41\x01\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/User\x12G\n\x15secondary_salespeople\x18\x16 \x03(\tB(\xe0\x41\x01\xe0\x41\x06\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/User\x12G\n\x15secondary_traffickers\x18\x18 \x03(\tB(\xe0\x41\x01\xe0\x41\x06\xfa\x41\x1f\n\x1d\x61\x64manager.googleapis.com/User\x12\x42\n\x0e\x61pplied_labels\x18\x19 \x03(\x0b\x32%.google.ads.admanager.v1.AppliedLabelB\x03\xe0\x41\x01\x12L\n\x18\x65\x66\x66\x65\x63tive_applied_labels\x18\x1a \x03(\x0b\x32%.google.ads.admanager.v1.AppliedLabelB\x03\xe0\x41\x03\x12K\n\x13\x63ustom_field_values\x18& \x03(\x0b\x32).google.ads.admanager.v1.CustomFieldValueB\x03\xe0\x41\x01:Z\xea\x41W\n\x1e\x61\x64manager.googleapis.com/Order\x12&networks/{network_code}/orders/{order}*\x06orders2\x05orderB\xc6\x01\n\x1b\x63om.google.ads.admanager.v1B\x12OrderMessagesProtoP\x01Z@google.golang.org/genproto/googleapis/ads/admanager/v1;admanager\xaa\x02\x17Google.Ads.AdManager.V1\xca\x02\x17Google\\Ads\\AdManager\\V1\xea\x02\x1aGoogle::Ads::AdManager::V1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.ads.admanager.v1.AppliedLabel", "google/ads/admanager/v1/applied_label.proto"],
32
+ ["google.ads.admanager.v1.CustomFieldValue", "google/ads/admanager/v1/custom_field_value.proto"],
33
+ ]
34
+ imports.each do |type_name, expected_filename|
35
+ import_file = pool.lookup(type_name).file_descriptor
36
+ if import_file.name != expected_filename
37
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
+ end
39
+ end
40
+ warn "Each proto file must use a consistent fully-qualified name."
41
+ warn "This will become an error in the next major version."
42
+ end
43
+
44
+ module Google
45
+ module Ads
46
+ module AdManager
47
+ module V1
48
+ Order = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.admanager.v1.Order").msgclass
49
+ end
50
+ end
51
+ end
52
+ end