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
@@ -25,11 +25,11 @@ module Google
25
25
  # @!attribute [rw] name
26
26
  # @return [::String]
27
27
  # Identifier. The resource name of the `CustomField`.
28
- # Format: `networks/{network_code}/customFields/{custom_field_id}`
28
+ # Format: `networks/{network_code}/customFields/{custom_field}`
29
29
  # @!attribute [r] custom_field_id
30
30
  # @return [::Integer]
31
- # Output only. Unique ID of the CustomField. This value is readonly and is
32
- # assigned by Google.
31
+ # Output only. Unique ID of the CustomField. This attribute is assigned by
32
+ # Google.
33
33
  # @!attribute [rw] display_name
34
34
  # @return [::String]
35
35
  # Required. Name of the CustomField. The max length is 127 characters.
@@ -34,7 +34,6 @@ module Google
34
34
  extend ::Google::Protobuf::MessageExts::ClassMethods
35
35
 
36
36
  # Represent custom field value type.
37
- # Next Id: 5
38
37
  # @!attribute [rw] dropdown_value
39
38
  # @return [::Integer]
40
39
  # The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.
@@ -26,7 +26,12 @@ module Google
26
26
  # @return [::String]
27
27
  # Identifier. The resource name of the `CustomTargetingValue`.
28
28
  # Format:
29
- # `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}/customTargetingValues/{custom_targeting_value_id}`
29
+ # `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}`
30
+ # @!attribute [rw] custom_targeting_key
31
+ # @return [::String]
32
+ # Required. Immutable. The resource name of the `CustomTargetingKey`.
33
+ # Format:
34
+ # `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
30
35
  # @!attribute [rw] ad_tag_name
31
36
  # @return [::String]
32
37
  # Immutable. Name of the `CustomTargetingValue`. Values can contain up to 40
@@ -26,7 +26,7 @@ module Google
26
26
  # @return [::String]
27
27
  # Required. The resource name of the CustomTargetingValue.
28
28
  # Format:
29
- # `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}/customTargetingValues/{custom_targeting_value_id}`
29
+ # `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}`
30
30
  class GetCustomTargetingValueRequest
31
31
  include ::Google::Protobuf::MessageExts
32
32
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -37,7 +37,7 @@ module Google
37
37
  # @return [::String]
38
38
  # Required. The parent, which owns this collection of CustomTargetingValues.
39
39
  # Format:
40
- # `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
40
+ # `networks/{network_code}`
41
41
  # @!attribute [rw] page_size
42
42
  # @return [::Integer]
43
43
  # Optional. The maximum number of `CustomTargetingValues` to return. The
@@ -0,0 +1,45 @@
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
+ # Wrapper message for
25
+ # {::Google::Ads::AdManager::V1::DealBuyerPermissionTypeEnum::DealBuyerPermissionType DealBuyerPermissionType}.
26
+ class DealBuyerPermissionTypeEnum
27
+ include ::Google::Protobuf::MessageExts
28
+ extend ::Google::Protobuf::MessageExts::ClassMethods
29
+
30
+ # Defines how a deal would transact among all buyers under the same bidder.
31
+ module DealBuyerPermissionType
32
+ # No value specified.
33
+ DEAL_BUYER_PERMISSION_TYPE_UNSPECIFIED = 0
34
+
35
+ # The deal only transacts with the buyer specified.
36
+ NEGOTIATOR_ONLY = 1
37
+
38
+ # The deal transacts with all buyers under the same bidder.
39
+ BIDDER = 2
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,39 @@
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 the category of a device. For example, "smartphone" or "desktop".
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The resource name of the `DeviceCategory`.
28
+ # Format: `networks/{network_code}/deviceCategories/{device_category}`
29
+ # @!attribute [r] display_name
30
+ # @return [::String]
31
+ # Output only. The display name of the device category.
32
+ class DeviceCategory
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,99 @@
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 `GetDeviceCategory` method.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The resource name of the DeviceCategory.
28
+ # Format: `networks/{network_code}/deviceCategories/{device_category_id}`
29
+ class GetDeviceCategoryRequest
30
+ include ::Google::Protobuf::MessageExts
31
+ extend ::Google::Protobuf::MessageExts::ClassMethods
32
+ end
33
+
34
+ # Request object for `ListDeviceCategories` method.
35
+ # @!attribute [rw] parent
36
+ # @return [::String]
37
+ # Required. The parent, which owns this collection of DeviceCategories.
38
+ # Format: `networks/{network_code}`
39
+ # @!attribute [rw] page_size
40
+ # @return [::Integer]
41
+ # Optional. The maximum number of `DeviceCategories` to return. The service
42
+ # may return fewer than this value. If unspecified, at most 50
43
+ # `DeviceCategories` will be returned. The maximum value is 1000; values
44
+ # above 1000 will be coerced to 1000.
45
+ # @!attribute [rw] page_token
46
+ # @return [::String]
47
+ # Optional. A page token, received from a previous `ListDeviceCategories`
48
+ # call. Provide this to retrieve the subsequent page.
49
+ #
50
+ # When paginating, all other parameters provided to `ListDeviceCategories`
51
+ # must match the call that provided the page token.
52
+ # @!attribute [rw] filter
53
+ # @return [::String]
54
+ # Optional. Expression to filter the response.
55
+ # See syntax details at
56
+ # https://developers.google.com/ad-manager/api/beta/filters
57
+ # @!attribute [rw] order_by
58
+ # @return [::String]
59
+ # Optional. Expression to specify sorting order.
60
+ # See syntax details at
61
+ # https://developers.google.com/ad-manager/api/beta/filters#order
62
+ # @!attribute [rw] skip
63
+ # @return [::Integer]
64
+ # Optional. Number of individual resources to skip while paginating.
65
+ class ListDeviceCategoriesRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Response object for `ListDeviceCategoriesRequest` containing matching
71
+ # `DeviceCategory` objects.
72
+ # @!attribute [rw] device_categories
73
+ # @return [::Array<::Google::Ads::AdManager::V1::DeviceCategory>]
74
+ # The `DeviceCategory` objects from the specified network.
75
+ # @!attribute [rw] next_page_token
76
+ # @return [::String]
77
+ # A token, which can be sent as `page_token` to retrieve the next page.
78
+ # If this field is omitted, there are no subsequent pages.
79
+ # @!attribute [rw] total_size
80
+ # @return [::Integer]
81
+ # Total number of `DeviceCategory` objects.
82
+ # If a filter was included in the request, this reflects the total number
83
+ # after the filtering is applied.
84
+ #
85
+ # `total_size` will not be calculated in the response unless it has been
86
+ # included in a response field mask. The response field mask can be provided
87
+ # to the method by using the URL parameter `$fields` or `fields`, or by using
88
+ # the HTTP/gRPC header `X-Goog-FieldMask`.
89
+ #
90
+ # For more information, see
91
+ # https://developers.google.com/ad-manager/api/beta/field-masks
92
+ class ListDeviceCategoriesResponse
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,51 @@
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
+ # Wrapper message for
25
+ # {::Google::Ads::AdManager::V1::AdBreakStateEnum::AdBreakState AdBreakState}
26
+ class AdBreakStateEnum
27
+ include ::Google::Protobuf::MessageExts
28
+ extend ::Google::Protobuf::MessageExts::ClassMethods
29
+
30
+ # Represents the state of an ad break
31
+ module AdBreakState
32
+ # Default value. This value is unused.
33
+ AD_BREAK_STATE_UNSPECIFIED = 0
34
+
35
+ # The ad break's decisioning has finished. You can delete, but not update
36
+ # the ad break.
37
+ DECISIONED = 1
38
+
39
+ # The ad break has started serving to users. You cannot delete or update
40
+ # the ad break.
41
+ COMPLETE = 2
42
+
43
+ # The ad break is scheduled and decisioning will start later. You can
44
+ # delete or update the ad break.
45
+ SCHEDULED = 3
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -47,7 +47,7 @@ module Google
47
47
  # Output only. `EntitySignalsMapping` ID.
48
48
  # @!attribute [rw] taxonomy_category_ids
49
49
  # @return [::Array<::Integer>]
50
- # Required. The IDs of the categories that are associated with the
50
+ # Optional. The IDs of the categories that are associated with the
51
51
  # referencing entity.
52
52
  class EntitySignalsMapping
53
53
  include ::Google::Protobuf::MessageExts
@@ -0,0 +1,59 @@
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 location in the world, for targeting.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The resource name of the `GeoTarget`.
28
+ # Format: `networks/{network_code}/geoTargets/{geo_target_id}`
29
+ # @!attribute [r] display_name
30
+ # @return [::String]
31
+ # Output only. The display name of the GeoTarget.
32
+ # @!attribute [r] canonical_parent
33
+ # @return [::String]
34
+ # Output only. The name of the direct parent that defines the canonical name
35
+ # of the geo target. For example, if the current geo target is "San
36
+ # Francisco", its canonical name would be "San Francisco, California, United
37
+ # States" thus the canonical_parent would be the name of California and the
38
+ # canonical_parent of California would be the name of United states Format:
39
+ # `networks/{network_code}/geoTargets/{geo_target}`
40
+ # @!attribute [r] parent_names
41
+ # @return [::Array<::String>]
42
+ # Output only. All parents of the geo target ordered by ascending size.
43
+ # @!attribute [r] region_code
44
+ # @return [::String]
45
+ # Output only. The Unicode CLDR region code of the geo target.
46
+ # @!attribute [r] type
47
+ # @return [::String]
48
+ # Output only. The location type (unlocalized) for this geographical entity.
49
+ # @!attribute [r] targetable
50
+ # @return [::Boolean]
51
+ # Output only. Whether the geo target is targetable.
52
+ class GeoTarget
53
+ include ::Google::Protobuf::MessageExts
54
+ extend ::Google::Protobuf::MessageExts::ClassMethods
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,99 @@
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 `GetGeoTarget` method.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The resource name of the GeoTarget.
28
+ # Format: `networks/{network_code}/geoTargets/{geo_target_id}`
29
+ class GetGeoTargetRequest
30
+ include ::Google::Protobuf::MessageExts
31
+ extend ::Google::Protobuf::MessageExts::ClassMethods
32
+ end
33
+
34
+ # Request object for `ListGeoTargets` method.
35
+ # @!attribute [rw] parent
36
+ # @return [::String]
37
+ # Required. The parent, which owns this collection of GeoTargets.
38
+ # Format: `networks/{network_code}`
39
+ # @!attribute [rw] page_size
40
+ # @return [::Integer]
41
+ # Optional. The maximum number of `GeoTargets` to return. The service may
42
+ # return fewer than this value. If unspecified, at most 50 `GeoTargets` will
43
+ # be returned. The maximum value is 1000; values above 1000 will be coerced
44
+ # to 1000.
45
+ # @!attribute [rw] page_token
46
+ # @return [::String]
47
+ # Optional. A page token, received from a previous `ListGeoTargets` call.
48
+ # Provide this to retrieve the subsequent page.
49
+ #
50
+ # When paginating, all other parameters provided to `ListGeoTargets` must
51
+ # match the call that provided the page token.
52
+ # @!attribute [rw] filter
53
+ # @return [::String]
54
+ # Optional. Expression to filter the response.
55
+ # See syntax details at
56
+ # https://developers.google.com/ad-manager/api/beta/filters
57
+ # @!attribute [rw] order_by
58
+ # @return [::String]
59
+ # Optional. Expression to specify sorting order.
60
+ # See syntax details at
61
+ # https://developers.google.com/ad-manager/api/beta/filters#order
62
+ # @!attribute [rw] skip
63
+ # @return [::Integer]
64
+ # Optional. Number of individual resources to skip while paginating.
65
+ class ListGeoTargetsRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Response object for `ListGeoTargetsRequest` containing matching `GeoTarget`
71
+ # objects.
72
+ # @!attribute [rw] geo_targets
73
+ # @return [::Array<::Google::Ads::AdManager::V1::GeoTarget>]
74
+ # The `GeoTarget` objects from the specified network.
75
+ # @!attribute [rw] next_page_token
76
+ # @return [::String]
77
+ # A token, which can be sent as `page_token` to retrieve the next page.
78
+ # If this field is omitted, there are no subsequent pages.
79
+ # @!attribute [rw] total_size
80
+ # @return [::Integer]
81
+ # Total number of `GeoTarget` objects.
82
+ # If a filter was included in the request, this reflects the total number
83
+ # after the filtering is applied.
84
+ #
85
+ # `total_size` will not be calculated in the response unless it has been
86
+ # included in a response field mask. The response field mask can be provided
87
+ # to the method by using the URL parameter `$fields` or `fields`, or by using
88
+ # the HTTP/gRPC header `X-Goog-FieldMask`.
89
+ #
90
+ # For more information, see
91
+ # https://developers.google.com/ad-manager/api/beta/field-masks
92
+ class ListGeoTargetsResponse
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,41 @@
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
+ # A `LiveStreamEvent` encapsulates all the information necessary to enable DAI
25
+ # (Dynamic Ad Insertion) into a live video stream.
26
+ # This includes information such as the start and expected end time of the
27
+ # `LiveStreamEvent`, the URL of the actual content for Ad Manager to pull and
28
+ # insert ads into, as well as the metadata necessary to generate ad requests
29
+ # during the live stream.
30
+ # @!attribute [rw] name
31
+ # @return [::String]
32
+ # Identifier. The resource name of the `LiveStreamEvent`.
33
+ # Format: `networks/{network_code}/liveStreamEvents/{live_stream_event_id}`
34
+ class LiveStreamEvent
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -50,7 +50,7 @@ module Google
50
50
  # @return [::String]
51
51
  # Output only. Top most [Ad Unit](google.ads.admanager.v1.AdUnit) to which
52
52
  # descendant Ad Units can be added.
53
- # Format: networks/\\{network_code}/adUnit/\\{ad_unit_id}
53
+ # Format: networks/\\{network_code}/adUnits/\\{ad_unit}
54
54
  # @!attribute [r] test_network
55
55
  # @return [::Boolean]
56
56
  # Output only. Whether this is a test network.
@@ -0,0 +1,39 @@
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 device's operating system.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The resource name of the `OperatingSystem`.
28
+ # Format: `networks/{network_code}/operatingSystems/{operating_system_id}`
29
+ # @!attribute [r] display_name
30
+ # @return [::String]
31
+ # Output only. The name of the operating system.
32
+ class OperatingSystem
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,99 @@
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 `GetOperatingSystem` method.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The resource name of the OperatingSystem.
28
+ # Format: `networks/{network_code}/operatingSystems/{operating_system_id}`
29
+ class GetOperatingSystemRequest
30
+ include ::Google::Protobuf::MessageExts
31
+ extend ::Google::Protobuf::MessageExts::ClassMethods
32
+ end
33
+
34
+ # Request object for `ListOperatingSystems` method.
35
+ # @!attribute [rw] parent
36
+ # @return [::String]
37
+ # Required. The parent, which owns this collection of OperatingSystems.
38
+ # Format: `networks/{network_code}`
39
+ # @!attribute [rw] page_size
40
+ # @return [::Integer]
41
+ # Optional. The maximum number of `OperatingSystems` to return. The service
42
+ # may return fewer than this value. If unspecified, at most 50
43
+ # `OperatingSystems` will be returned. The maximum value is 1000; values
44
+ # above 1000 will be coerced to 1000.
45
+ # @!attribute [rw] page_token
46
+ # @return [::String]
47
+ # Optional. A page token, received from a previous `ListOperatingSystems`
48
+ # call. Provide this to retrieve the subsequent page.
49
+ #
50
+ # When paginating, all other parameters provided to `ListOperatingSystems`
51
+ # must match the call that provided the page token.
52
+ # @!attribute [rw] filter
53
+ # @return [::String]
54
+ # Optional. Expression to filter the response.
55
+ # See syntax details at
56
+ # https://developers.google.com/ad-manager/api/beta/filters
57
+ # @!attribute [rw] order_by
58
+ # @return [::String]
59
+ # Optional. Expression to specify sorting order.
60
+ # See syntax details at
61
+ # https://developers.google.com/ad-manager/api/beta/filters#order
62
+ # @!attribute [rw] skip
63
+ # @return [::Integer]
64
+ # Optional. Number of individual resources to skip while paginating.
65
+ class ListOperatingSystemsRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Response object for `ListOperatingSystemsRequest` containing matching
71
+ # `OperatingSystem` objects.
72
+ # @!attribute [rw] operating_systems
73
+ # @return [::Array<::Google::Ads::AdManager::V1::OperatingSystem>]
74
+ # The `OperatingSystem` objects from the specified network.
75
+ # @!attribute [rw] next_page_token
76
+ # @return [::String]
77
+ # A token, which can be sent as `page_token` to retrieve the next page.
78
+ # If this field is omitted, there are no subsequent pages.
79
+ # @!attribute [rw] total_size
80
+ # @return [::Integer]
81
+ # Total number of `OperatingSystem` objects.
82
+ # If a filter was included in the request, this reflects the total number
83
+ # after the filtering is applied.
84
+ #
85
+ # `total_size` will not be calculated in the response unless it has been
86
+ # included in a response field mask. The response field mask can be provided
87
+ # to the method by using the URL parameter `$fields` or `fields`, or by using
88
+ # the HTTP/gRPC header `X-Goog-FieldMask`.
89
+ #
90
+ # For more information, see
91
+ # https://developers.google.com/ad-manager/api/beta/field-masks
92
+ class ListOperatingSystemsResponse
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end