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,53 @@
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 [RequestPlatform].
25
+ #
26
+ # Describes the platform from which a request is made and on which the ad is
27
+ # rendered. In the event of multiple platforms, the platform that ultimately
28
+ # renders the ad is the targeted platform. For example, a video player on a
29
+ # website would have a request platform of `VIDEO_PLAYER`.
30
+ class RequestPlatformEnum
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+
34
+ # The different environments in which an ad can be shown.
35
+ module RequestPlatform
36
+ # No value specified
37
+ REQUEST_PLATFORM_UNSPECIFIED = 0
38
+
39
+ # Represents a request made from a web browser (incl. desktop browsers,
40
+ # mobile browsers, webviews, etc.).
41
+ BROWSER = 1
42
+
43
+ # Represents a request made from a Mobile Application.
44
+ MOBILE_APP = 2
45
+
46
+ # Represents a request made from a video player.
47
+ VIDEO_PLAYER = 3
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -24,20 +24,16 @@ module Google
24
24
  # Represents the dimensions of an AdUnit, LineItem, or Creative.
25
25
  # @!attribute [rw] width
26
26
  # @return [::Integer]
27
- # Required. The width of the [Creative](google.ads.admanager.v1.Creative),
28
- # [AdUnit](google.ads.admanager.v1.AdUnit), or
29
- # [LineItem](google.ads.admanager.v1.LineItem).
27
+ # Required. The width of the Creative,
28
+ # {::Google::Ads::AdManager::V1::AdUnit AdUnit}, or LineItem.
30
29
  # @!attribute [rw] height
31
30
  # @return [::Integer]
32
- # Required. The height of the [Creative](google.ads.admanager.v1.Creative),
33
- # [AdUnit](google.ads.admanager.v1.AdUnit), or
34
- # [LineItem](google.ads.admanager.v1.LineItem).
31
+ # Required. The height of the Creative,
32
+ # {::Google::Ads::AdManager::V1::AdUnit AdUnit}, or LineItem.
35
33
  # @!attribute [rw] size_type
36
34
  # @return [::Google::Ads::AdManager::V1::SizeTypeEnum::SizeType]
37
- # Required. The SizeType of the
38
- # [Creative](google.ads.admanager.v1.Creative),
39
- # [AdUnit](google.ads.admanager.v1.AdUnit), or
40
- # [LineItem](google.ads.admanager.v1.LineItem).
35
+ # Required. The SizeType of the Creative,
36
+ # {::Google::Ads::AdManager::V1::AdUnit AdUnit}, or LineItem.
41
37
  class Size
42
38
  include ::Google::Protobuf::MessageExts
43
39
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -0,0 +1,48 @@
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::TargetedVideoBumperTypeEnum::TargetedVideoBumperType TargetedVideoBumperType}
26
+ class TargetedVideoBumperTypeEnum
27
+ include ::Google::Protobuf::MessageExts
28
+ extend ::Google::Protobuf::MessageExts::ClassMethods
29
+
30
+ # Represents the options for targetable bumper positions, surrounding an ad
31
+ # pod, within a video stream. This includes before and after the supported ad
32
+ # pod positions, `VideoPositionType.PREROLL`, `VideoPositionType.MIDROLL`,
33
+ # and `VideoPositionType.POSTROLL`.
34
+ module TargetedVideoBumperType
35
+ # Default value. This value is unused.
36
+ TARGETED_VIDEO_BUMPER_TYPE_UNSPECIFIED = 0
37
+
38
+ # Represents the bumper position after the ad pod.
39
+ AFTER = 1
40
+
41
+ # Represents the bumper position before the ad pod.
42
+ BEFORE = 2
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,279 @@
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
+ # Targeting expression.
25
+ # @!attribute [rw] geo_targeting
26
+ # @return [::Google::Ads::AdManager::V1::GeoTargeting]
27
+ # Optional. Used to target/exclude various geo targets.
28
+ # @!attribute [rw] technology_targeting
29
+ # @return [::Google::Ads::AdManager::V1::TechnologyTargeting]
30
+ # Optional. Used to target various technology targeting dimensions.
31
+ # @!attribute [rw] inventory_targeting
32
+ # @return [::Google::Ads::AdManager::V1::InventoryTargeting]
33
+ # Optional. Used to target/exclude various ad units and/or placements.
34
+ # @!attribute [rw] request_platform_targeting
35
+ # @return [::Google::Ads::AdManager::V1::RequestPlatformTargeting]
36
+ # Optional. Used to target specific request platforms.
37
+ # @!attribute [rw] custom_targeting
38
+ # @return [::Google::Ads::AdManager::V1::CustomTargeting]
39
+ # Optional. Used to target key/values, audience segments, and/or CMS
40
+ # metadata.
41
+ # @!attribute [rw] user_domain_targeting
42
+ # @return [::Google::Ads::AdManager::V1::UserDomainTargeting]
43
+ # Optional. Used to target user domains.
44
+ # @!attribute [rw] video_position_targeting
45
+ # @return [::Google::Ads::AdManager::V1::VideoPositionTargeting]
46
+ # Optional. Used to target video positions.
47
+ # @!attribute [rw] data_segment_targeting
48
+ # @return [::Google::Ads::AdManager::V1::DataSegmentTargeting]
49
+ # Optional. Used to target data segments.
50
+ class Targeting
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+
55
+ # Represents a list of targeted and excluded geos.
56
+ # @!attribute [rw] targeted_geos
57
+ # @return [::Array<::String>]
58
+ # Optional. A list of geo resource names that should be targeted/included.
59
+ # @!attribute [rw] excluded_geos
60
+ # @return [::Array<::String>]
61
+ # Optional. A list of geo resource names that should be excluded.
62
+ class GeoTargeting
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # Various types of technology targeting expressed by child messages are
68
+ # applied with logical AND.
69
+ # @!attribute [rw] bandwidth_targeting
70
+ # @return [::Google::Ads::AdManager::V1::BandwidthTargeting]
71
+ # Optional. Bandwidth targeting dimension.
72
+ # @!attribute [rw] device_category_targeting
73
+ # @return [::Google::Ads::AdManager::V1::DeviceCategoryTargeting]
74
+ # Optional. Device category targeting dimension.
75
+ # @!attribute [rw] operating_system_targeting
76
+ # @return [::Google::Ads::AdManager::V1::OperatingSystemTargeting]
77
+ # Optional. Operating system targeting dimension.
78
+ class TechnologyTargeting
79
+ include ::Google::Protobuf::MessageExts
80
+ extend ::Google::Protobuf::MessageExts::ClassMethods
81
+ end
82
+
83
+ # Bandwidth Targeting.
84
+ #
85
+ # Reach users accessing the internet via various means of connection, such as
86
+ # cable, DSL, or dial-up. Can be useful to target campaigns using
87
+ # low-resolution creatives or text ads for users with low bandwidth.
88
+ # @!attribute [rw] targeted_bandwidth_groups
89
+ # @return [::Array<::String>]
90
+ # Optional. A list of resource names of the bandwidth groups that should be
91
+ # targeted/included.
92
+ # @!attribute [rw] excluded_bandwidth_groups
93
+ # @return [::Array<::String>]
94
+ # Optional. A list of resource names of the bandwidth groups that should be
95
+ # excluded.
96
+ class BandwidthTargeting
97
+ include ::Google::Protobuf::MessageExts
98
+ extend ::Google::Protobuf::MessageExts::ClassMethods
99
+ end
100
+
101
+ # Represents a list of targeted and excluded device categories.
102
+ # @!attribute [rw] targeted_categories
103
+ # @return [::Array<::String>]
104
+ # Optional. A list of device category resource names that should be
105
+ # targeted/included.
106
+ # @!attribute [rw] excluded_categories
107
+ # @return [::Array<::String>]
108
+ # Optional. A list of device category resource names that should be excluded.
109
+ class DeviceCategoryTargeting
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
114
+ # Operating System Targeting
115
+ # @!attribute [rw] targeted_operating_systems
116
+ # @return [::Array<::String>]
117
+ # Optional. A list of operating system resource names that should be
118
+ # targeted/included.
119
+ # @!attribute [rw] excluded_operating_systems
120
+ # @return [::Array<::String>]
121
+ # Optional. A list of operating system resource names that should be
122
+ # excluded.
123
+ # @!attribute [rw] targeted_operating_system_versions
124
+ # @return [::Array<::String>]
125
+ # Optional. A list of operating system version resource names that should be
126
+ # targeted/included.
127
+ # @!attribute [rw] excluded_operating_system_versions
128
+ # @return [::Array<::String>]
129
+ # Optional. A list of operating system version resource names that should be
130
+ # excluded.
131
+ class OperatingSystemTargeting
132
+ include ::Google::Protobuf::MessageExts
133
+ extend ::Google::Protobuf::MessageExts::ClassMethods
134
+ end
135
+
136
+ # Targeted ad units and AU placements are applied with
137
+ # logical OR. Example:
138
+ #
139
+ # (au:1 OR au:2 OR au_placement:5) AND (NOT (au:3))
140
+ # @!attribute [rw] targeted_ad_units
141
+ # @return [::Array<::Google::Ads::AdManager::V1::AdUnitTargeting>]
142
+ # Optional. A list of ad units that should be targeted/included.
143
+ # @!attribute [rw] excluded_ad_units
144
+ # @return [::Array<::Google::Ads::AdManager::V1::AdUnitTargeting>]
145
+ # Optional. A list of ad units that should be excluded.
146
+ #
147
+ # Excluded AUs take precedence over targeted AUs. In fact an AU can be
148
+ # excluded only if one of its ancestors is targeted. Subsequently child
149
+ # AUs of an excluded AU can not be targeted (except via a placement).
150
+ # @!attribute [rw] targeted_placements
151
+ # @return [::Array<::String>]
152
+ # Optional. The resource names of the placements that should be
153
+ # targeted/included.
154
+ class InventoryTargeting
155
+ include ::Google::Protobuf::MessageExts
156
+ extend ::Google::Protobuf::MessageExts::ClassMethods
157
+ end
158
+
159
+ # Specifies an ad unit and (optionally) its descendants.
160
+ # @!attribute [rw] include_descendants
161
+ # @return [::Boolean]
162
+ # Whether this ad unit's children should be targeted/excluded as well.
163
+ # @!attribute [rw] ad_unit
164
+ # @return [::String]
165
+ # Optional. The resource name of this ad unit.
166
+ class AdUnitTargeting
167
+ include ::Google::Protobuf::MessageExts
168
+ extend ::Google::Protobuf::MessageExts::ClassMethods
169
+ end
170
+
171
+ # Represents a list of targeted request platforms.
172
+ # @!attribute [rw] request_platforms
173
+ # @return [::Array<::Google::Ads::AdManager::V1::RequestPlatformEnum::RequestPlatform>]
174
+ # Optional. The list of request platforms that should be targeted.
175
+ class RequestPlatformTargeting
176
+ include ::Google::Protobuf::MessageExts
177
+ extend ::Google::Protobuf::MessageExts::ClassMethods
178
+ end
179
+
180
+ # Represents the top level targeting expression for custom key/values,
181
+ # audience segments, and/or CMS metadata.
182
+ # @!attribute [rw] custom_targeting_clauses
183
+ # @return [::Array<::Google::Ads::AdManager::V1::CustomTargetingClause>]
184
+ # Optional. These clauses are all ORed together.
185
+ class CustomTargeting
186
+ include ::Google::Protobuf::MessageExts
187
+ extend ::Google::Protobuf::MessageExts::ClassMethods
188
+ end
189
+
190
+ # Represents a logical AND of individual custom targeting expressions.
191
+ # @!attribute [rw] custom_targeting_literals
192
+ # @return [::Array<::Google::Ads::AdManager::V1::CustomTargetingLiteral>]
193
+ # Optional. Leaf targeting expressions for custom key/values.
194
+ class CustomTargetingClause
195
+ include ::Google::Protobuf::MessageExts
196
+ extend ::Google::Protobuf::MessageExts::ClassMethods
197
+ end
198
+
199
+ # Represents targeting for custom key/values. The values are ORed together.
200
+ # @!attribute [rw] negative
201
+ # @return [::Boolean]
202
+ # Whether this expression is negatively targeted, meaning it matches
203
+ # ad requests that exclude the below values.
204
+ # @!attribute [rw] custom_targeting_key
205
+ # @return [::String]
206
+ # Optional. The resource name of the targeted CustomKey.
207
+ # @!attribute [rw] custom_targeting_values
208
+ # @return [::Array<::String>]
209
+ # Optional. The resource names of the targeted CustomValues.
210
+ class CustomTargetingLiteral
211
+ include ::Google::Protobuf::MessageExts
212
+ extend ::Google::Protobuf::MessageExts::ClassMethods
213
+ end
214
+
215
+ # User Domain Targeting
216
+ # @!attribute [rw] targeted_user_domains
217
+ # @return [::Array<::String>]
218
+ # Optional. A list of user domains that should be targeted/included.
219
+ # @!attribute [rw] excluded_user_domains
220
+ # @return [::Array<::String>]
221
+ # Optional. A list of user domains that should be excluded.
222
+ class UserDomainTargeting
223
+ include ::Google::Protobuf::MessageExts
224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
225
+ end
226
+
227
+ # Video Position Targeting
228
+ # @!attribute [rw] video_positions
229
+ # @return [::Array<::Google::Ads::AdManager::V1::VideoPosition>]
230
+ # Optional. A list of video position targeting criterion (applied with a
231
+ # logical AND).
232
+ class VideoPositionTargeting
233
+ include ::Google::Protobuf::MessageExts
234
+ extend ::Google::Protobuf::MessageExts::ClassMethods
235
+ end
236
+
237
+ # Video Position Targeting Criterion
238
+ # @!attribute [rw] midroll_index
239
+ # @return [::Integer]
240
+ # Optional. The index of the mid-roll to target. This field is ignored when
241
+ # targeting any video position (e.g. position_type) other than MIDROLL.
242
+ # @!attribute [rw] reverse_midroll_index
243
+ # @return [::Integer]
244
+ # Optional. The index from the back of the pod of the mid-roll to target.
245
+ # This field is ignored when targeting any video position (e.g.
246
+ # position_type) other than MIDROLL or if targeting a specific midroll index
247
+ # (e.g. midroll_index != 0).
248
+ # @!attribute [rw] pod_position
249
+ # @return [::Integer]
250
+ # Optional. The video position within a pod to target. This field must be
251
+ # unset in order to target a specific video position (e.g. position_type),
252
+ # bumper type (e.g. bumper_type), or custom ad spot (e.g. custom_spot_id).
253
+ # @!attribute [rw] position_type
254
+ # @return [::Google::Ads::AdManager::V1::VideoPositionEnum::VideoPosition]
255
+ # Optional. The position within a video to target. A video ad can target a
256
+ # position (pre-roll, all mid-rolls, or post-roll) or a specific mid-roll
257
+ # index.
258
+ # @!attribute [rw] bumper_type
259
+ # @return [::Google::Ads::AdManager::V1::TargetedVideoBumperTypeEnum::TargetedVideoBumperType]
260
+ # Optional. The video bumper type to target. This field must be unset in
261
+ # order to target a specific video position (e.g. position_type), pod
262
+ # position (e.g. pod_position), or custom ad spot (e.g. custom_spot_id).
263
+ class VideoPosition
264
+ include ::Google::Protobuf::MessageExts
265
+ extend ::Google::Protobuf::MessageExts::ClassMethods
266
+ end
267
+
268
+ # Data Segment Targeting
269
+ # @!attribute [r] has_data_segment_targeting
270
+ # @return [::Boolean]
271
+ # Output only. Whether any data segments are currently targeted.
272
+ class DataSegmentTargeting
273
+ include ::Google::Protobuf::MessageExts
274
+ extend ::Google::Protobuf::MessageExts::ClassMethods
275
+ end
276
+ end
277
+ end
278
+ end
279
+ end
@@ -26,10 +26,6 @@ module Google
26
26
  # @return [::String]
27
27
  # Identifier. The resource name of the `Team`.
28
28
  # Format: `networks/{network_code}/teams/{team_id}`
29
- # @!attribute [r] team_id
30
- # @return [::Integer]
31
- # Output only. The unique ID of the Team. This value is assigned by Google.
32
- # Teams that are created by Google will have negative IDs.
33
29
  class Team
34
30
  include ::Google::Protobuf::MessageExts
35
31
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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::VideoPositionEnum::VideoPosition VideoPosition}
26
+ class VideoPositionEnum
27
+ include ::Google::Protobuf::MessageExts
28
+ extend ::Google::Protobuf::MessageExts::ClassMethods
29
+
30
+ # Represents a targetable position within a video.
31
+ module VideoPosition
32
+ # Default value. This value is unused.
33
+ VIDEO_POSITION_UNSPECIFIED = 0
34
+
35
+ # Allow ad placement at any position within the video.
36
+ ALL = 1
37
+
38
+ # Target ad placement during the video.
39
+ MIDROLL = 2
40
+
41
+ # Target ad placement after the video ends.
42
+ POSTROLL = 3
43
+
44
+ # Target ad placement before the video starts.
45
+ PREROLL = 4
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,43 @@
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 Type
22
+ # Represents an amount of money with its currency type.
23
+ # @!attribute [rw] currency_code
24
+ # @return [::String]
25
+ # The three-letter currency code defined in ISO 4217.
26
+ # @!attribute [rw] units
27
+ # @return [::Integer]
28
+ # The whole units of the amount.
29
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
30
+ # @!attribute [rw] nanos
31
+ # @return [::Integer]
32
+ # Number of nano (10^-9) units of the amount.
33
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
34
+ # If `units` is positive, `nanos` must be positive or zero.
35
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
36
+ # If `units` is negative, `nanos` must be negative or zero.
37
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
38
+ class Money
39
+ include ::Google::Protobuf::MessageExts
40
+ extend ::Google::Protobuf::MessageExts::ClassMethods
41
+ end
42
+ end
43
+ end