google-ads-ad_manager-v1 1.1.0 → 2.0.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.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/ads/ad_manager/v1/ad_break_service/credentials.rb +47 -0
  5. data/lib/google/ads/ad_manager/v1/ad_break_service/paths.rb +69 -0
  6. data/lib/google/ads/ad_manager/v1/ad_break_service/rest/client.rb +854 -0
  7. data/lib/google/ads/ad_manager/v1/ad_break_service/rest/service_stub.rb +432 -0
  8. data/lib/google/ads/ad_manager/v1/ad_break_service/rest.rb +52 -0
  9. data/lib/google/ads/ad_manager/v1/ad_break_service.rb +48 -0
  10. data/lib/google/ads/ad_manager/v1/ad_unit_service/credentials.rb +3 -0
  11. data/lib/google/ads/ad_manager/v1/bandwidth_group_service/credentials.rb +47 -0
  12. data/lib/google/ads/ad_manager/v1/bandwidth_group_service/paths.rb +64 -0
  13. data/lib/google/ads/ad_manager/v1/bandwidth_group_service/rest/client.rb +538 -0
  14. data/lib/google/ads/ad_manager/v1/bandwidth_group_service/rest/service_stub.rb +203 -0
  15. data/lib/google/ads/ad_manager/v1/bandwidth_group_service/rest.rb +52 -0
  16. data/lib/google/ads/ad_manager/v1/bandwidth_group_service.rb +48 -0
  17. data/lib/google/ads/ad_manager/v1/company_service/credentials.rb +3 -0
  18. data/lib/google/ads/ad_manager/v1/custom_field_service/credentials.rb +3 -0
  19. data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/credentials.rb +3 -0
  20. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/credentials.rb +3 -0
  21. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/paths.rb +9 -14
  22. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest/client.rb +2 -2
  23. data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest/service_stub.rb +14 -0
  24. data/lib/google/ads/ad_manager/v1/device_category_service/credentials.rb +47 -0
  25. data/lib/google/ads/ad_manager/v1/device_category_service/paths.rb +64 -0
  26. data/lib/google/ads/ad_manager/v1/device_category_service/rest/client.rb +538 -0
  27. data/lib/google/ads/ad_manager/v1/device_category_service/rest/service_stub.rb +203 -0
  28. data/lib/google/ads/ad_manager/v1/device_category_service/rest.rb +52 -0
  29. data/lib/google/ads/ad_manager/v1/device_category_service.rb +48 -0
  30. data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/credentials.rb +3 -0
  31. data/lib/google/ads/ad_manager/v1/geo_target_service/credentials.rb +47 -0
  32. data/lib/google/ads/ad_manager/v1/geo_target_service/paths.rb +64 -0
  33. data/lib/google/ads/ad_manager/v1/geo_target_service/rest/client.rb +538 -0
  34. data/lib/google/ads/ad_manager/v1/geo_target_service/rest/service_stub.rb +203 -0
  35. data/lib/google/ads/ad_manager/v1/geo_target_service/rest.rb +52 -0
  36. data/lib/google/ads/ad_manager/v1/geo_target_service.rb +48 -0
  37. data/lib/google/ads/ad_manager/v1/network_service/credentials.rb +3 -0
  38. data/lib/google/ads/ad_manager/v1/network_service/rest/client.rb +1 -1
  39. data/lib/google/ads/ad_manager/v1/network_service/rest.rb +1 -1
  40. data/lib/google/ads/ad_manager/v1/network_service.rb +1 -1
  41. data/lib/google/ads/ad_manager/v1/operating_system_service/credentials.rb +47 -0
  42. data/lib/google/ads/ad_manager/v1/operating_system_service/paths.rb +64 -0
  43. data/lib/google/ads/ad_manager/v1/operating_system_service/rest/client.rb +538 -0
  44. data/lib/google/ads/ad_manager/v1/operating_system_service/rest/service_stub.rb +203 -0
  45. data/lib/google/ads/ad_manager/v1/operating_system_service/rest.rb +52 -0
  46. data/lib/google/ads/ad_manager/v1/operating_system_service.rb +48 -0
  47. data/lib/google/ads/ad_manager/v1/operating_system_version_service/credentials.rb +47 -0
  48. data/lib/google/ads/ad_manager/v1/operating_system_version_service/paths.rb +64 -0
  49. data/lib/google/ads/ad_manager/v1/operating_system_version_service/rest/client.rb +541 -0
  50. data/lib/google/ads/ad_manager/v1/operating_system_version_service/rest/service_stub.rb +203 -0
  51. data/lib/google/ads/ad_manager/v1/operating_system_version_service/rest.rb +52 -0
  52. data/lib/google/ads/ad_manager/v1/operating_system_version_service.rb +48 -0
  53. data/lib/google/ads/ad_manager/v1/order_service/credentials.rb +3 -0
  54. data/lib/google/ads/ad_manager/v1/placement_service/credentials.rb +3 -0
  55. data/lib/google/ads/ad_manager/v1/private_auction_deal_service/credentials.rb +47 -0
  56. data/lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb +217 -0
  57. data/lib/google/ads/ad_manager/v1/private_auction_deal_service/rest/client.rb +719 -0
  58. data/lib/google/ads/ad_manager/v1/private_auction_deal_service/rest/service_stub.rb +327 -0
  59. data/lib/google/ads/ad_manager/v1/private_auction_deal_service/rest.rb +52 -0
  60. data/lib/google/ads/ad_manager/v1/private_auction_deal_service.rb +48 -0
  61. data/lib/google/ads/ad_manager/v1/private_auction_service/credentials.rb +47 -0
  62. data/lib/google/ads/ad_manager/v1/private_auction_service/paths.rb +81 -0
  63. data/lib/google/ads/ad_manager/v1/private_auction_service/rest/client.rb +718 -0
  64. data/lib/google/ads/ad_manager/v1/private_auction_service/rest/service_stub.rb +327 -0
  65. data/lib/google/ads/ad_manager/v1/private_auction_service/rest.rb +52 -0
  66. data/lib/google/ads/ad_manager/v1/private_auction_service.rb +48 -0
  67. data/lib/google/ads/ad_manager/v1/programmatic_buyer_service/credentials.rb +47 -0
  68. data/lib/google/ads/ad_manager/v1/programmatic_buyer_service/paths.rb +64 -0
  69. data/lib/google/ads/ad_manager/v1/programmatic_buyer_service/rest/client.rb +539 -0
  70. data/lib/google/ads/ad_manager/v1/programmatic_buyer_service/rest/service_stub.rb +203 -0
  71. data/lib/google/ads/ad_manager/v1/programmatic_buyer_service/rest.rb +52 -0
  72. data/lib/google/ads/ad_manager/v1/programmatic_buyer_service.rb +48 -0
  73. data/lib/google/ads/ad_manager/v1/report_service/credentials.rb +3 -0
  74. data/lib/google/ads/ad_manager/v1/report_service/rest/operations.rb +0 -7
  75. data/lib/google/ads/ad_manager/v1/rest.rb +10 -1
  76. data/lib/google/ads/ad_manager/v1/role_service/credentials.rb +3 -0
  77. data/lib/google/ads/ad_manager/v1/taxonomy_category_service/credentials.rb +3 -0
  78. data/lib/google/ads/ad_manager/v1/user_service/credentials.rb +3 -0
  79. data/lib/google/ads/ad_manager/v1/version.rb +1 -1
  80. data/lib/google/ads/ad_manager/v1.rb +10 -1
  81. data/lib/google/ads/admanager/v1/ad_break_messages_pb.rb +50 -0
  82. data/lib/google/ads/admanager/v1/ad_break_service_pb.rb +57 -0
  83. data/lib/google/ads/admanager/v1/ad_break_service_services_pb.rb +93 -0
  84. data/lib/google/ads/admanager/v1/ad_unit_messages_pb.rb +1 -1
  85. data/lib/google/ads/admanager/v1/ad_unit_service_pb.rb +1 -1
  86. data/lib/google/ads/admanager/v1/bandwidth_group_messages_pb.rb +45 -0
  87. data/lib/google/ads/admanager/v1/bandwidth_group_service_pb.rb +51 -0
  88. data/lib/google/ads/admanager/v1/bandwidth_group_service_services_pb.rb +47 -0
  89. data/lib/google/ads/admanager/v1/{company_credit_status_enum_pb.rb → company_enums_pb.rb} +4 -2
  90. data/lib/google/ads/admanager/v1/company_messages_pb.rb +2 -3
  91. data/lib/google/ads/admanager/v1/company_service_pb.rb +1 -1
  92. data/lib/google/ads/admanager/v1/contact_messages_pb.rb +1 -1
  93. data/lib/google/ads/admanager/v1/custom_field_messages_pb.rb +1 -1
  94. data/lib/google/ads/admanager/v1/custom_field_service_pb.rb +1 -1
  95. data/lib/google/ads/admanager/v1/custom_targeting_key_service_pb.rb +1 -1
  96. data/lib/google/ads/admanager/v1/custom_targeting_value_messages_pb.rb +1 -1
  97. data/lib/google/ads/admanager/v1/custom_targeting_value_service_pb.rb +1 -1
  98. data/lib/google/ads/admanager/v1/deal_buyer_permission_type_enum_pb.rb +43 -0
  99. data/lib/google/ads/admanager/v1/device_category_messages_pb.rb +45 -0
  100. data/lib/google/ads/admanager/v1/device_category_service_pb.rb +51 -0
  101. data/lib/google/ads/admanager/v1/device_category_service_services_pb.rb +47 -0
  102. data/lib/google/ads/admanager/v1/early_ad_break_notification_enums_pb.rb +43 -0
  103. data/lib/google/ads/admanager/v1/entity_signals_mapping_messages_pb.rb +1 -1
  104. data/lib/google/ads/admanager/v1/entity_signals_mapping_service_pb.rb +1 -1
  105. data/lib/google/ads/admanager/v1/geo_target_messages_pb.rb +45 -0
  106. data/lib/google/ads/admanager/v1/geo_target_service_pb.rb +51 -0
  107. data/lib/google/ads/admanager/v1/geo_target_service_services_pb.rb +47 -0
  108. data/lib/google/ads/admanager/v1/{company_type_enum_pb.rb → live_stream_event_messages_pb.rb} +6 -4
  109. data/lib/google/ads/admanager/v1/network_service_pb.rb +1 -1
  110. data/lib/google/ads/admanager/v1/network_service_services_pb.rb +1 -1
  111. data/lib/google/ads/admanager/v1/operating_system_messages_pb.rb +45 -0
  112. data/lib/google/ads/admanager/v1/operating_system_service_pb.rb +51 -0
  113. data/lib/google/ads/admanager/v1/operating_system_service_services_pb.rb +47 -0
  114. data/lib/google/ads/admanager/v1/operating_system_version_messages_pb.rb +45 -0
  115. data/lib/google/ads/admanager/v1/operating_system_version_service_pb.rb +51 -0
  116. data/lib/google/ads/admanager/v1/operating_system_version_service_services_pb.rb +47 -0
  117. data/lib/google/ads/admanager/v1/order_messages_pb.rb +1 -1
  118. data/lib/google/ads/admanager/v1/order_service_pb.rb +1 -1
  119. data/lib/google/ads/admanager/v1/placement_messages_pb.rb +1 -1
  120. data/lib/google/ads/admanager/v1/placement_service_pb.rb +1 -1
  121. data/lib/google/ads/admanager/v1/private_auction_deal_messages_pb.rb +56 -0
  122. data/lib/google/ads/admanager/v1/private_auction_deal_service_pb.rb +55 -0
  123. data/lib/google/ads/admanager/v1/private_auction_deal_service_services_pb.rb +51 -0
  124. data/lib/google/ads/admanager/v1/private_auction_messages_pb.rb +47 -0
  125. data/lib/google/ads/admanager/v1/private_auction_service_pb.rb +55 -0
  126. data/lib/google/ads/admanager/v1/private_auction_service_services_pb.rb +51 -0
  127. data/lib/google/ads/admanager/v1/private_marketplace_enums_pb.rb +43 -0
  128. data/lib/google/ads/admanager/v1/programmatic_buyer_messages_pb.rb +45 -0
  129. data/lib/google/ads/admanager/v1/programmatic_buyer_service_pb.rb +51 -0
  130. data/lib/google/ads/admanager/v1/programmatic_buyer_service_services_pb.rb +47 -0
  131. data/lib/google/ads/admanager/v1/report_messages_pb.rb +83 -0
  132. data/lib/google/ads/admanager/v1/report_service_pb.rb +4 -38
  133. data/lib/google/ads/admanager/v1/request_platform_enum_pb.rb +43 -0
  134. data/lib/google/ads/admanager/v1/role_messages_pb.rb +1 -1
  135. data/lib/google/ads/admanager/v1/role_service_pb.rb +1 -1
  136. data/lib/google/ads/admanager/v1/targeted_video_bumper_type_enum_pb.rb +43 -0
  137. data/lib/google/ads/admanager/v1/targeting_pb.rb +63 -0
  138. data/lib/google/ads/admanager/v1/taxonomy_category_messages_pb.rb +1 -1
  139. data/lib/google/ads/admanager/v1/taxonomy_category_service_pb.rb +1 -1
  140. data/lib/google/ads/admanager/v1/team_messages_pb.rb +1 -1
  141. data/lib/google/ads/admanager/v1/user_messages_pb.rb +1 -1
  142. data/lib/google/ads/admanager/v1/user_service_pb.rb +1 -1
  143. data/lib/google/ads/admanager/v1/video_position_enum_pb.rb +43 -0
  144. data/proto_docs/google/ads/admanager/v1/ad_break_messages.rb +112 -0
  145. data/proto_docs/google/ads/admanager/v1/ad_break_service.rb +150 -0
  146. data/proto_docs/google/ads/admanager/v1/ad_unit_messages.rb +10 -9
  147. data/proto_docs/google/ads/admanager/v1/bandwidth_group_messages.rb +40 -0
  148. data/proto_docs/google/ads/admanager/v1/bandwidth_group_service.rb +99 -0
  149. data/proto_docs/google/ads/admanager/v1/{company_credit_status_enum.rb → company_enums.rb} +30 -1
  150. data/proto_docs/google/ads/admanager/v1/company_messages.rb +3 -3
  151. data/proto_docs/google/ads/admanager/v1/contact_messages.rb +3 -4
  152. data/proto_docs/google/ads/admanager/v1/custom_field_messages.rb +3 -3
  153. data/proto_docs/google/ads/admanager/v1/custom_field_value.rb +0 -1
  154. data/proto_docs/google/ads/admanager/v1/custom_targeting_value_messages.rb +6 -1
  155. data/proto_docs/google/ads/admanager/v1/custom_targeting_value_service.rb +2 -2
  156. data/proto_docs/google/ads/admanager/v1/deal_buyer_permission_type_enum.rb +45 -0
  157. data/proto_docs/google/ads/admanager/v1/device_category_messages.rb +39 -0
  158. data/proto_docs/google/ads/admanager/v1/device_category_service.rb +99 -0
  159. data/proto_docs/google/ads/admanager/v1/early_ad_break_notification_enums.rb +51 -0
  160. data/proto_docs/google/ads/admanager/v1/entity_signals_mapping_messages.rb +1 -1
  161. data/proto_docs/google/ads/admanager/v1/geo_target_messages.rb +59 -0
  162. data/proto_docs/google/ads/admanager/v1/geo_target_service.rb +99 -0
  163. data/proto_docs/google/ads/admanager/v1/live_stream_event_messages.rb +41 -0
  164. data/proto_docs/google/ads/admanager/v1/network_messages.rb +1 -1
  165. data/proto_docs/google/ads/admanager/v1/operating_system_messages.rb +39 -0
  166. data/proto_docs/google/ads/admanager/v1/operating_system_service.rb +99 -0
  167. data/proto_docs/google/ads/admanager/v1/operating_system_version_messages.rb +46 -0
  168. data/proto_docs/google/ads/admanager/v1/operating_system_version_service.rb +102 -0
  169. data/proto_docs/google/ads/admanager/v1/placement_messages.rb +7 -8
  170. data/proto_docs/google/ads/admanager/v1/private_auction_deal_messages.rb +98 -0
  171. data/proto_docs/google/ads/admanager/v1/private_auction_deal_service.rb +130 -0
  172. data/proto_docs/google/ads/admanager/v1/private_auction_messages.rb +61 -0
  173. data/proto_docs/google/ads/admanager/v1/private_auction_service.rb +129 -0
  174. data/proto_docs/google/ads/admanager/v1/{company_type_enum.rb → private_marketplace_enums.rb} +17 -18
  175. data/proto_docs/google/ads/admanager/v1/programmatic_buyer_messages.rb +61 -0
  176. data/proto_docs/google/ads/admanager/v1/programmatic_buyer_service.rb +100 -0
  177. data/proto_docs/google/ads/admanager/v1/report_messages.rb +3587 -0
  178. data/proto_docs/google/ads/admanager/v1/report_service.rb +0 -3300
  179. data/proto_docs/google/ads/admanager/v1/request_platform_enum.rb +53 -0
  180. data/proto_docs/google/ads/admanager/v1/size.rb +6 -10
  181. data/proto_docs/google/ads/admanager/v1/targeted_video_bumper_type_enum.rb +48 -0
  182. data/proto_docs/google/ads/admanager/v1/targeting.rb +279 -0
  183. data/proto_docs/google/ads/admanager/v1/team_messages.rb +0 -4
  184. data/proto_docs/google/ads/admanager/v1/video_position_enum.rb +51 -0
  185. data/proto_docs/google/type/money.rb +43 -0
  186. metadata +122 -6
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module AdManager
23
+ module V1
24
+ # Represents a specific version of an operating system.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The resource name of the `OperatingSystemVersion`.
28
+ # Format:
29
+ # `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}`
30
+ # @!attribute [r] major_version
31
+ # @return [::Integer]
32
+ # Output only. The major version of the operating system.
33
+ # @!attribute [r] minor_version
34
+ # @return [::Integer]
35
+ # Output only. The minor version of the operating system.
36
+ # @!attribute [r] micro_version
37
+ # @return [::Integer]
38
+ # Output only. The micro version of the operating system.
39
+ class OperatingSystemVersion
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,102 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module AdManager
23
+ module V1
24
+ # Request object for `GetOperatingSystemVersion` method.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The resource name of the OperatingSystemVersion.
28
+ # Format:
29
+ # `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}`
30
+ class GetOperatingSystemVersionRequest
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # Request object for `ListOperatingSystemVersions` method.
36
+ # @!attribute [rw] parent
37
+ # @return [::String]
38
+ # Required. The parent, which owns this collection of
39
+ # OperatingSystemVersions. Format: `networks/{network_code}`
40
+ # @!attribute [rw] page_size
41
+ # @return [::Integer]
42
+ # Optional. The maximum number of `OperatingSystemVersions` to return. The
43
+ # service may return fewer than this value. If unspecified, at most 50
44
+ # `OperatingSystemVersions` will be returned. The maximum value is 1000;
45
+ # values above 1000 will be coerced to 1000.
46
+ # @!attribute [rw] page_token
47
+ # @return [::String]
48
+ # Optional. A page token, received from a previous
49
+ # `ListOperatingSystemVersions` call. Provide this to retrieve the subsequent
50
+ # page.
51
+ #
52
+ # When paginating, all other parameters provided to
53
+ # `ListOperatingSystemVersions` must match the call that provided the page
54
+ # token.
55
+ # @!attribute [rw] filter
56
+ # @return [::String]
57
+ # Optional. Expression to filter the response.
58
+ # See syntax details at
59
+ # https://developers.google.com/ad-manager/api/beta/filters
60
+ # @!attribute [rw] order_by
61
+ # @return [::String]
62
+ # Optional. Expression to specify sorting order.
63
+ # See syntax details at
64
+ # https://developers.google.com/ad-manager/api/beta/filters#order
65
+ # @!attribute [rw] skip
66
+ # @return [::Integer]
67
+ # Optional. Number of individual resources to skip while paginating.
68
+ class ListOperatingSystemVersionsRequest
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+
73
+ # Response object for `ListOperatingSystemVersionsRequest` containing matching
74
+ # `OperatingSystemVersion` objects.
75
+ # @!attribute [rw] operating_system_versions
76
+ # @return [::Array<::Google::Ads::AdManager::V1::OperatingSystemVersion>]
77
+ # The `OperatingSystemVersion` objects from the specified network.
78
+ # @!attribute [rw] next_page_token
79
+ # @return [::String]
80
+ # A token, which can be sent as `page_token` to retrieve the next page.
81
+ # If this field is omitted, there are no subsequent pages.
82
+ # @!attribute [rw] total_size
83
+ # @return [::Integer]
84
+ # Total number of `OperatingSystemVersion` objects.
85
+ # If a filter was included in the request, this reflects the total number
86
+ # after the filtering is applied.
87
+ #
88
+ # `total_size` will not be calculated in the response unless it has been
89
+ # included in a response field mask. The response field mask can be provided
90
+ # to the method by using the URL parameter `$fields` or `fields`, or by using
91
+ # the HTTP/gRPC header `X-Goog-FieldMask`.
92
+ #
93
+ # For more information, see
94
+ # https://developers.google.com/ad-manager/api/beta/field-masks
95
+ class ListOperatingSystemVersionsResponse
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
@@ -31,24 +31,23 @@ module Google
31
31
  # Output only. `Placement` ID.
32
32
  # @!attribute [rw] display_name
33
33
  # @return [::String]
34
- # Required. The display name of the placement. Its maximum length is 255
35
- # characters.
34
+ # Required. The display name of the placement. This attribute has a maximum
35
+ # length of 255 characters.
36
36
  # @!attribute [rw] description
37
37
  # @return [::String]
38
- # Optional. A description of the Placement. This value is optional and its
39
- # maximum length is 65,535 characters.
38
+ # Optional. A description of the Placement. This attribute has a maximum
39
+ # length of 65,535 characters.
40
40
  # @!attribute [r] placement_code
41
41
  # @return [::String]
42
42
  # Output only. A string used to uniquely identify the Placement for purposes
43
- # of serving the ad. This attribute is read-only and is assigned by Google
44
- # when a placement is created.
43
+ # of serving the ad. This attribute is assigned by Google.
45
44
  # @!attribute [r] status
46
45
  # @return [::Google::Ads::AdManager::V1::PlacementStatusEnum::PlacementStatus]
47
- # Output only. The status of the Placement. This attribute is read-only.
46
+ # Output only. The status of the Placement.
48
47
  # @!attribute [rw] targeted_ad_units
49
48
  # @return [::Array<::String>]
50
49
  # Optional. The resource names of AdUnits that constitute the Placement.
51
- # Format: "networks/\\{network_code}/adUnits/\\{ad_unit_id}"
50
+ # Format: "networks/\\{network_code}/adUnits/\\{ad_unit}"
52
51
  # @!attribute [r] update_time
53
52
  # @return [::Google::Protobuf::Timestamp]
54
53
  # Output only. The instant this Placement was last modified.
@@ -0,0 +1,98 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module AdManager
23
+ module V1
24
+ # The `PrivateAuctionDeal` resource.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The resource name of the `PrivateAuctionDeal`.
28
+ # Format:
29
+ # `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}`
30
+ # @!attribute [r] private_auction_deal_id
31
+ # @return [::Integer]
32
+ # Output only. `PrivateAuctionDeal` ID.
33
+ # @!attribute [rw] private_auction_id
34
+ # @return [::Integer]
35
+ # Immutable. The ID of the
36
+ # [PrivateAuction](google.ads.admanager.v1.PrivateAuction).
37
+ # @!attribute [r] private_auction_display_name
38
+ # @return [::String]
39
+ # Output only. The display name of the
40
+ # [PrivateAuction](google.ads.admanager.v1.PrivateAuction).
41
+ # @!attribute [rw] buyer_account_id
42
+ # @return [::Integer]
43
+ # Immutable. The account ID of the buyer of the `PrivateAuctionDeal`.
44
+ # @!attribute [r] external_deal_id
45
+ # @return [::Integer]
46
+ # Output only. The external ID of the `PrivateAuctionDeal`.
47
+ # @!attribute [rw] targeting
48
+ # @return [::Google::Ads::AdManager::V1::Targeting]
49
+ # Optional. The targeting of the `PrivateAuctionDeal`.
50
+ # @!attribute [rw] end_time
51
+ # @return [::Google::Protobuf::Timestamp]
52
+ # Optional. The end time of the `PrivateAuctionDeal`.
53
+ # @!attribute [rw] floor_price
54
+ # @return [::Google::Type::Money]
55
+ # Required. The floor price of the `PrivateAuctionDeal`.
56
+ # @!attribute [rw] creative_sizes
57
+ # @return [::Array<::Google::Ads::AdManager::V1::Size>]
58
+ # Optional. The expected creative sizes of the `PrivateAuctionDeal`.
59
+ # @!attribute [r] status
60
+ # @return [::Google::Ads::AdManager::V1::PrivateMarketplaceDealStatusEnum::PrivateMarketplaceDealStatus]
61
+ # Output only. The status of the `PrivateAuctionDeal`.
62
+ # @!attribute [rw] auction_priority_enabled
63
+ # @return [::Boolean]
64
+ # Optional. Whether the deal is enabled with priority over open auction.
65
+ # @!attribute [rw] block_override_enabled
66
+ # @return [::Boolean]
67
+ # Optional. Whether the deal has block override enabled.
68
+ # @!attribute [rw] buyer_permission_type
69
+ # @return [::Google::Ads::AdManager::V1::DealBuyerPermissionTypeEnum::DealBuyerPermissionType]
70
+ # Optional. The buyer permission model defining how the deal would transact
71
+ # among all buyers under the same bidder.
72
+ # @!attribute [rw] buyer_data
73
+ # @return [::Google::Ads::AdManager::V1::PrivateAuctionDeal::BuyerData]
74
+ # Optional. The buyer data required by the Marketplace API.
75
+ # @!attribute [r] create_time
76
+ # @return [::Google::Protobuf::Timestamp]
77
+ # Output only. The instant at which the `PrivateAuctionDeal` was created.
78
+ # @!attribute [r] update_time
79
+ # @return [::Google::Protobuf::Timestamp]
80
+ # Output only. The instant at which the `PrivateAuctionDeal` was last
81
+ # updated.
82
+ class PrivateAuctionDeal
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+
86
+ # Contains buyer data. This data is required by the Marketplace API.
87
+ # @!attribute [rw] buyer_emails
88
+ # @return [::Array<::String>]
89
+ # Optional. The email contacts of the buyer of the `PrivateAuctionDeal`.
90
+ class BuyerData
91
+ include ::Google::Protobuf::MessageExts
92
+ extend ::Google::Protobuf::MessageExts::ClassMethods
93
+ end
94
+ end
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,130 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module AdManager
23
+ module V1
24
+ # Request object for `GetPrivateAuctionDeal` method.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The resource name of the PrivateAuctionDeal.
28
+ # Format:
29
+ # `networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}`
30
+ class GetPrivateAuctionDealRequest
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # Request object for `ListPrivateAuctionDeals` method.
36
+ # @!attribute [rw] parent
37
+ # @return [::String]
38
+ # Required. The parent, which owns this collection of PrivateAuctionDeals.
39
+ # Format:
40
+ # `networks/{network_code}`
41
+ # @!attribute [rw] page_size
42
+ # @return [::Integer]
43
+ # Optional. The maximum number of `PrivateAuctionDeals` to return. The
44
+ # service may return fewer than this value. If unspecified, at most 50
45
+ # `PrivateAuctionDeals` will be returned. The maximum value is 1000;
46
+ # values above 1000 will be coerced to 1000.
47
+ # @!attribute [rw] page_token
48
+ # @return [::String]
49
+ # Optional. A page token, received from a previous `ListPrivateAuctionDeals`
50
+ # call. Provide this to retrieve the subsequent page.
51
+ #
52
+ # When paginating, all other parameters provided to
53
+ # `ListPrivateAuctionDeals` must match the call that provided the page
54
+ # token.
55
+ # @!attribute [rw] filter
56
+ # @return [::String]
57
+ # Optional. Expression to filter the response.
58
+ # See syntax details at
59
+ # https://developers.google.com/ad-manager/api/beta/filters
60
+ # @!attribute [rw] order_by
61
+ # @return [::String]
62
+ # Optional. Expression to specify sorting order.
63
+ # See syntax details at
64
+ # https://developers.google.com/ad-manager/api/beta/filters#order
65
+ # @!attribute [rw] skip
66
+ # @return [::Integer]
67
+ # Optional. Number of individual resources to skip while paginating.
68
+ class ListPrivateAuctionDealsRequest
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+
73
+ # Response object for `ListPrivateAuctionDealsRequest` containing matching
74
+ # `PrivateAuctionDeal` objects.
75
+ # @!attribute [rw] private_auction_deals
76
+ # @return [::Array<::Google::Ads::AdManager::V1::PrivateAuctionDeal>]
77
+ # The `PrivateAuctionDeal` objects from the specified network.
78
+ # @!attribute [rw] next_page_token
79
+ # @return [::String]
80
+ # A token, which can be sent as `page_token` to retrieve the next page.
81
+ # If this field is omitted, there are no subsequent pages.
82
+ # @!attribute [rw] total_size
83
+ # @return [::Integer]
84
+ # Total number of `PrivateAuctionDeal` objects.
85
+ # If a filter was included in the request, this reflects the total number
86
+ # after the filtering is applied.
87
+ #
88
+ # `total_size` will not be calculated in the response unless it has been
89
+ # included in a response field mask. The response field mask can be provided
90
+ # to the method by using the URL parameter `$fields` or `fields`, or by using
91
+ # the HTTP/gRPC header `X-Goog-FieldMask`.
92
+ #
93
+ # For more information, see
94
+ # https://developers.google.com/ad-manager/api/beta/field-masks
95
+ class ListPrivateAuctionDealsResponse
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+ end
99
+
100
+ # Request object for `CreatePrivateAuctionDeal` method.
101
+ # @!attribute [rw] parent
102
+ # @return [::String]
103
+ # Required. The parent resource where this `PrivateAuctionDeal` will be
104
+ # created. Format: `networks/{network_code}`
105
+ # @!attribute [rw] private_auction_deal
106
+ # @return [::Google::Ads::AdManager::V1::PrivateAuctionDeal]
107
+ # Required. The `PrivateAuctionDeal` to create.
108
+ class CreatePrivateAuctionDealRequest
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+ end
112
+
113
+ # Request object for `UpdatePrivateAuctionDeal` method.
114
+ # @!attribute [rw] private_auction_deal
115
+ # @return [::Google::Ads::AdManager::V1::PrivateAuctionDeal]
116
+ # Required. The `PrivateAuctionDeal` to update.
117
+ #
118
+ # The `PrivateAuctionDeal`'s `name` is used to identify the
119
+ # `PrivateAuctionDeal` to update.
120
+ # @!attribute [rw] update_mask
121
+ # @return [::Google::Protobuf::FieldMask]
122
+ # Required. The list of fields to update.
123
+ class UpdatePrivateAuctionDealRequest
124
+ include ::Google::Protobuf::MessageExts
125
+ extend ::Google::Protobuf::MessageExts::ClassMethods
126
+ end
127
+ end
128
+ end
129
+ end
130
+ end
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module AdManager
23
+ module V1
24
+ # The `PrivateAuction` resource.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The resource name of the `PrivateAuction`.
28
+ # Format:
29
+ # `networks/{network_code}/privateAuctions/{private_auction_id}`
30
+ # @!attribute [r] private_auction_id
31
+ # @return [::Integer]
32
+ # Output only. `PrivateAuction` ID.
33
+ # @!attribute [rw] display_name
34
+ # @return [::String]
35
+ # Required. Display name of the `PrivateAuction`. This attribute has a
36
+ # maximum length of 255 bytes.
37
+ # @!attribute [rw] description
38
+ # @return [::String]
39
+ # Optional. Description of the `PrivateAuction`. This attribute has a
40
+ # maximum length of 4096 bytes.
41
+ # @!attribute [rw] seller_contact_users
42
+ # @return [::Array<::String>]
43
+ # Optional. The resource names of the seller contact users associated with
44
+ # this `PrivateAuction`. Format: `networks/{network_code}/users/{user_id}`
45
+ # @!attribute [r] archived
46
+ # @return [::Boolean]
47
+ # Output only. Whether the `PrivateAuction` is archived.
48
+ # @!attribute [r] create_time
49
+ # @return [::Google::Protobuf::Timestamp]
50
+ # Output only. The instant at which the PrivateAuction was created.
51
+ # @!attribute [r] update_time
52
+ # @return [::Google::Protobuf::Timestamp]
53
+ # Output only. The instant at which the PrivateAuction was last updated.
54
+ class PrivateAuction
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,129 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module AdManager
23
+ module V1
24
+ # Request object for `GetPrivateAuction` method.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The resource name of the PrivateAuction.
28
+ # Format:
29
+ # `networks/{network_code}/privateAuctions/{private_auction_id}`
30
+ class GetPrivateAuctionRequest
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # Request object for `ListPrivateAuctions` method.
36
+ # @!attribute [rw] parent
37
+ # @return [::String]
38
+ # Required. The parent, which owns this collection of PrivateAuctions.
39
+ # Format: `networks/{network_code}`
40
+ # @!attribute [rw] page_size
41
+ # @return [::Integer]
42
+ # Optional. The maximum number of `PrivateAuctions` to return. The service
43
+ # may return fewer than this value. If unspecified, at most 50
44
+ # `PrivateAuctions` will be returned. The maximum value is 1000;
45
+ # values above 1000 will be coerced to 1000.
46
+ # @!attribute [rw] page_token
47
+ # @return [::String]
48
+ # Optional. A page token, received from a previous `ListPrivateAuctions`
49
+ # call. Provide this to retrieve the subsequent page.
50
+ #
51
+ # When paginating, all other parameters provided to
52
+ # `ListPrivateAuctions` must match the call that provided the
53
+ # page token.
54
+ # @!attribute [rw] filter
55
+ # @return [::String]
56
+ # Optional. Expression to filter the response.
57
+ # See syntax details at
58
+ # https://developers.google.com/ad-manager/api/beta/filters
59
+ # @!attribute [rw] order_by
60
+ # @return [::String]
61
+ # Optional. Expression to specify sorting order.
62
+ # See syntax details at
63
+ # https://developers.google.com/ad-manager/api/beta/filters#order
64
+ # @!attribute [rw] skip
65
+ # @return [::Integer]
66
+ # Optional. Number of individual resources to skip while paginating.
67
+ class ListPrivateAuctionsRequest
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
71
+
72
+ # Response object for `ListPrivateAuctionsRequest` containing
73
+ # matching `PrivateAuction` objects.
74
+ # @!attribute [rw] private_auctions
75
+ # @return [::Array<::Google::Ads::AdManager::V1::PrivateAuction>]
76
+ # The `PrivateAuction` objects from the specified network.
77
+ # @!attribute [rw] next_page_token
78
+ # @return [::String]
79
+ # A token, which can be sent as `page_token` to retrieve the next page.
80
+ # If this field is omitted, there are no subsequent pages.
81
+ # @!attribute [rw] total_size
82
+ # @return [::Integer]
83
+ # Total number of `PrivateAuction` objects.
84
+ # If a filter was included in the request, this reflects the total number
85
+ # after the filtering is applied.
86
+ #
87
+ # `total_size` will not be calculated in the response unless it has been
88
+ # included in a response field mask. The response field mask can be provided
89
+ # to the method by using the URL parameter `$fields` or `fields`, or by using
90
+ # the HTTP/gRPC header `X-Goog-FieldMask`.
91
+ #
92
+ # For more information, see
93
+ # https://developers.google.com/ad-manager/api/beta/field-masks
94
+ class ListPrivateAuctionsResponse
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+
99
+ # Request object for `CreatePrivateAuction` method.
100
+ # @!attribute [rw] parent
101
+ # @return [::String]
102
+ # Required. The parent resource where this `PrivateAuction` will be
103
+ # created. Format: `networks/{network_code}`
104
+ # @!attribute [rw] private_auction
105
+ # @return [::Google::Ads::AdManager::V1::PrivateAuction]
106
+ # Required. The `PrivateAuction` to create.
107
+ class CreatePrivateAuctionRequest
108
+ include ::Google::Protobuf::MessageExts
109
+ extend ::Google::Protobuf::MessageExts::ClassMethods
110
+ end
111
+
112
+ # Request object for `UpdatePrivateAuction` method.
113
+ # @!attribute [rw] private_auction
114
+ # @return [::Google::Ads::AdManager::V1::PrivateAuction]
115
+ # Required. The `PrivateAuction` to update.
116
+ #
117
+ # The `PrivateAuction`'s `name` is used to identify the
118
+ # `PrivateAuction` to update.
119
+ # @!attribute [rw] update_mask
120
+ # @return [::Google::Protobuf::FieldMask]
121
+ # Required. The list of fields to update.
122
+ class UpdatePrivateAuctionRequest
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
+ end
126
+ end
127
+ end
128
+ end
129
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -22,31 +22,30 @@ module Google
22
22
  module AdManager
23
23
  module V1
24
24
  # Wrapper message for
25
- # {::Google::Ads::AdManager::V1::CompanyTypeEnum::CompanyType CompanyType}
26
- class CompanyTypeEnum
25
+ # {::Google::Ads::AdManager::V1::PrivateMarketplaceDealStatusEnum::PrivateMarketplaceDealStatus PrivateMarketplaceDealStatus}.
26
+ class PrivateMarketplaceDealStatusEnum
27
27
  include ::Google::Protobuf::MessageExts
28
28
  extend ::Google::Protobuf::MessageExts::ClassMethods
29
29
 
30
- # The type of a company.
31
- module CompanyType
32
- # No value specified
33
- COMPANY_TYPE_UNSPECIFIED = 0
30
+ # Describes the status of a private marketplace deal.
31
+ module PrivateMarketplaceDealStatus
32
+ # No value specified.
33
+ PRIVATE_MARKETPLACE_DEAL_STATUS_UNSPECIFIED = 0
34
34
 
35
- # A business entity that purchases ad inventory.
36
- ADVERTISER = 1
35
+ # The deal is pending.
36
+ PENDING = 1
37
37
 
38
- # A company representing the publisher's own advertiser for house ads.
39
- HOUSE_ADVERTISER = 2
38
+ # The deal is active.
39
+ ACTIVE = 2
40
40
 
41
- # An organization that manages ad accounts and offers services, such as ad
42
- # creation, placement, and management to advertisers.
43
- AGENCY = 3
41
+ # The deal is canceled.
42
+ CANCELED = 3
44
43
 
45
- # A company representing the publisher's own agency.
46
- HOUSE_AGENCY = 4
44
+ # The deal is paused by the seller.
45
+ SELLER_PAUSED = 4
47
46
 
48
- # A company representing multiple advertisers and agencies.
49
- AD_NETWORK = 5
47
+ # The deal is paused by the buyer.
48
+ BUYER_PAUSED = 5
50
49
  end
51
50
  end
52
51
  end