@google-ads/admanager 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/README.md +27 -2
  2. package/build/protos/google/ads/admanager/v1/ad_break_messages.proto +134 -0
  3. package/build/protos/google/ads/admanager/v1/ad_break_service.proto +269 -0
  4. package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +1 -1
  5. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +32 -26
  6. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +3 -1
  7. package/build/protos/google/ads/admanager/v1/admanager_error.proto +1 -1
  8. package/build/protos/google/ads/admanager/v1/applied_label.proto +1 -1
  9. package/build/protos/google/ads/admanager/v1/bandwidth_group_messages.proto +46 -0
  10. package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +129 -0
  11. package/build/protos/google/ads/admanager/v1/company_enums.proto +123 -0
  12. package/build/protos/google/ads/admanager/v1/company_messages.proto +6 -7
  13. package/build/protos/google/ads/admanager/v1/company_service.proto +3 -1
  14. package/build/protos/google/ads/admanager/v1/contact_messages.proto +4 -4
  15. package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +1 -1
  16. package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +12 -11
  17. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +3 -1
  18. package/build/protos/google/ads/admanager/v1/custom_field_value.proto +1 -2
  19. package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +1 -1
  20. package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +1 -1
  21. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +3 -1
  22. package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +1 -1
  23. package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +14 -3
  24. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +14 -6
  25. package/build/protos/google/ads/admanager/v1/deal_buyer_permission_type_enum.proto +41 -0
  26. package/build/protos/google/ads/admanager/v1/device_category_messages.proto +45 -0
  27. package/build/protos/google/ads/admanager/v1/device_category_service.proto +129 -0
  28. package/build/protos/google/ads/admanager/v1/early_ad_break_notification_enums.proto +47 -0
  29. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +4 -4
  30. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +6 -4
  31. package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +1 -1
  32. package/build/protos/google/ads/admanager/v1/frequency_cap.proto +1 -1
  33. package/build/protos/google/ads/admanager/v1/geo_target_messages.proto +70 -0
  34. package/build/protos/google/ads/admanager/v1/geo_target_service.proto +128 -0
  35. package/build/protos/google/ads/admanager/v1/label_messages.proto +1 -1
  36. package/build/protos/google/ads/admanager/v1/live_stream_event_messages.proto +47 -0
  37. package/build/protos/google/ads/admanager/v1/network_messages.proto +2 -2
  38. package/build/protos/google/ads/admanager/v1/network_service.proto +4 -2
  39. package/build/protos/google/ads/admanager/v1/operating_system_messages.proto +45 -0
  40. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +129 -0
  41. package/build/protos/google/ads/admanager/v1/operating_system_version_messages.proto +52 -0
  42. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +133 -0
  43. package/build/protos/google/ads/admanager/v1/order_enums.proto +1 -1
  44. package/build/protos/google/ads/admanager/v1/order_messages.proto +24 -20
  45. package/build/protos/google/ads/admanager/v1/order_service.proto +3 -1
  46. package/build/protos/google/ads/admanager/v1/placement_enums.proto +1 -1
  47. package/build/protos/google/ads/admanager/v1/placement_messages.proto +14 -14
  48. package/build/protos/google/ads/admanager/v1/placement_service.proto +3 -1
  49. package/build/protos/google/ads/admanager/v1/private_auction_deal_messages.proto +119 -0
  50. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +184 -0
  51. package/build/protos/google/ads/admanager/v1/private_auction_messages.proto +74 -0
  52. package/build/protos/google/ads/admanager/v1/private_auction_service.proto +180 -0
  53. package/build/protos/google/ads/admanager/v1/private_marketplace_enums.proto +50 -0
  54. package/build/protos/google/ads/admanager/v1/programmatic_buyer_messages.proto +72 -0
  55. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +131 -0
  56. package/build/protos/google/ads/admanager/v1/report_messages.proto +3536 -0
  57. package/build/protos/google/ads/admanager/v1/report_service.proto +5 -3247
  58. package/build/protos/google/ads/admanager/v1/request_platform_enum.proto +49 -0
  59. package/build/protos/google/ads/admanager/v1/role_enums.proto +1 -1
  60. package/build/protos/google/ads/admanager/v1/role_messages.proto +6 -6
  61. package/build/protos/google/ads/admanager/v1/role_service.proto +3 -1
  62. package/build/protos/google/ads/admanager/v1/size.proto +7 -11
  63. package/build/protos/google/ads/admanager/v1/size_type_enum.proto +1 -1
  64. package/build/protos/google/ads/admanager/v1/targeted_video_bumper_type_enum.proto +44 -0
  65. package/build/protos/google/ads/admanager/v1/targeting.proto +328 -0
  66. package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +7 -6
  67. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +3 -1
  68. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +1 -1
  69. package/build/protos/google/ads/admanager/v1/team_messages.proto +1 -5
  70. package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +1 -1
  71. package/build/protos/google/ads/admanager/v1/user_messages.proto +10 -9
  72. package/build/protos/google/ads/admanager/v1/user_service.proto +3 -1
  73. package/build/protos/google/ads/admanager/v1/video_position_enum.proto +47 -0
  74. package/build/protos/protos.d.ts +15832 -7575
  75. package/build/protos/protos.js +57744 -36372
  76. package/build/protos/protos.json +5795 -2511
  77. package/build/src/index.d.ts +28 -1
  78. package/build/src/index.js +20 -17
  79. package/build/src/index.js.map +1 -1
  80. package/build/src/v1/ad_break_service_client.d.ts +1040 -0
  81. package/build/src/v1/ad_break_service_client.js +1483 -0
  82. package/build/src/v1/ad_break_service_client.js.map +1 -0
  83. package/build/src/v1/ad_break_service_client_config.json +46 -0
  84. package/build/src/v1/ad_break_service_proto_list.json +74 -0
  85. package/build/src/v1/ad_unit_service_client.d.ts +331 -91
  86. package/build/src/v1/ad_unit_service_client.js +414 -106
  87. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  88. package/build/src/v1/ad_unit_service_proto_list.json +29 -3
  89. package/build/src/v1/bandwidth_group_service_client.d.ts +904 -0
  90. package/build/src/v1/bandwidth_group_service_client.js +1369 -0
  91. package/build/src/v1/bandwidth_group_service_client.js.map +1 -0
  92. package/build/src/v1/bandwidth_group_service_client_config.json +34 -0
  93. package/build/src/v1/bandwidth_group_service_proto_list.json +74 -0
  94. package/build/src/v1/company_service_client.d.ts +291 -51
  95. package/build/src/v1/company_service_client.js +402 -81
  96. package/build/src/v1/company_service_client.js.map +1 -1
  97. package/build/src/v1/company_service_proto_list.json +29 -3
  98. package/build/src/v1/custom_field_service_client.d.ts +291 -51
  99. package/build/src/v1/custom_field_service_client.js +403 -85
  100. package/build/src/v1/custom_field_service_client.js.map +1 -1
  101. package/build/src/v1/custom_field_service_proto_list.json +29 -3
  102. package/build/src/v1/custom_targeting_key_service_client.d.ts +291 -51
  103. package/build/src/v1/custom_targeting_key_service_client.js +404 -88
  104. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  105. package/build/src/v1/custom_targeting_key_service_proto_list.json +29 -3
  106. package/build/src/v1/custom_targeting_value_service_client.d.ts +298 -58
  107. package/build/src/v1/custom_targeting_value_service_client.js +406 -90
  108. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  109. package/build/src/v1/custom_targeting_value_service_proto_list.json +29 -3
  110. package/build/src/v1/device_category_service_client.d.ts +904 -0
  111. package/build/src/v1/device_category_service_client.js +1369 -0
  112. package/build/src/v1/device_category_service_client.js.map +1 -0
  113. package/build/src/v1/device_category_service_client_config.json +34 -0
  114. package/build/src/v1/device_category_service_proto_list.json +74 -0
  115. package/build/src/v1/entity_signals_mapping_service_client.d.ts +298 -58
  116. package/build/src/v1/entity_signals_mapping_service_client.js +444 -124
  117. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  118. package/build/src/v1/entity_signals_mapping_service_proto_list.json +29 -3
  119. package/build/src/v1/gapic_metadata.json +412 -0
  120. package/build/src/v1/geo_target_service_client.d.ts +904 -0
  121. package/build/src/v1/geo_target_service_client.js +1369 -0
  122. package/build/src/v1/geo_target_service_client.js.map +1 -0
  123. package/build/src/v1/geo_target_service_client_config.json +34 -0
  124. package/build/src/v1/geo_target_service_proto_list.json +74 -0
  125. package/build/src/v1/index.d.ts +9 -0
  126. package/build/src/v1/index.js +19 -1
  127. package/build/src/v1/index.js.map +1 -1
  128. package/build/src/v1/network_service_client.d.ts +252 -12
  129. package/build/src/v1/network_service_client.js +397 -65
  130. package/build/src/v1/network_service_client.js.map +1 -1
  131. package/build/src/v1/network_service_proto_list.json +29 -3
  132. package/build/src/v1/operating_system_service_client.d.ts +904 -0
  133. package/build/src/v1/operating_system_service_client.js +1369 -0
  134. package/build/src/v1/operating_system_service_client.js.map +1 -0
  135. package/build/src/v1/operating_system_service_client_config.json +34 -0
  136. package/build/src/v1/operating_system_service_proto_list.json +74 -0
  137. package/build/src/v1/operating_system_version_service_client.d.ts +911 -0
  138. package/build/src/v1/operating_system_version_service_client.js +1373 -0
  139. package/build/src/v1/operating_system_version_service_client.js.map +1 -0
  140. package/build/src/v1/operating_system_version_service_client_config.json +34 -0
  141. package/build/src/v1/operating_system_version_service_proto_list.json +74 -0
  142. package/build/src/v1/order_service_client.d.ts +296 -56
  143. package/build/src/v1/order_service_client.js +402 -81
  144. package/build/src/v1/order_service_client.js.map +1 -1
  145. package/build/src/v1/order_service_proto_list.json +29 -3
  146. package/build/src/v1/placement_service_client.d.ts +291 -51
  147. package/build/src/v1/placement_service_client.js +402 -81
  148. package/build/src/v1/placement_service_client.js.map +1 -1
  149. package/build/src/v1/placement_service_proto_list.json +29 -3
  150. package/build/src/v1/private_auction_deal_service_client.d.ts +965 -0
  151. package/build/src/v1/private_auction_deal_service_client.js +1445 -0
  152. package/build/src/v1/private_auction_deal_service_client.js.map +1 -0
  153. package/build/src/v1/private_auction_deal_service_client_config.json +42 -0
  154. package/build/src/v1/private_auction_deal_service_proto_list.json +74 -0
  155. package/build/src/v1/private_auction_service_client.d.ts +962 -0
  156. package/build/src/v1/private_auction_service_client.js +1443 -0
  157. package/build/src/v1/private_auction_service_client.js.map +1 -0
  158. package/build/src/v1/private_auction_service_client_config.json +42 -0
  159. package/build/src/v1/private_auction_service_proto_list.json +74 -0
  160. package/build/src/v1/programmatic_buyer_service_client.d.ts +905 -0
  161. package/build/src/v1/programmatic_buyer_service_client.js +1369 -0
  162. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -0
  163. package/build/src/v1/programmatic_buyer_service_client_config.json +34 -0
  164. package/build/src/v1/programmatic_buyer_service_proto_list.json +74 -0
  165. package/build/src/v1/report_service_client.d.ts +350 -110
  166. package/build/src/v1/report_service_client.js +471 -177
  167. package/build/src/v1/report_service_client.js.map +1 -1
  168. package/build/src/v1/report_service_proto_list.json +29 -3
  169. package/build/src/v1/role_service_client.d.ts +290 -50
  170. package/build/src/v1/role_service_client.js +402 -81
  171. package/build/src/v1/role_service_client.js.map +1 -1
  172. package/build/src/v1/role_service_proto_list.json +29 -3
  173. package/build/src/v1/taxonomy_category_service_client.d.ts +291 -51
  174. package/build/src/v1/taxonomy_category_service_client.js +404 -87
  175. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  176. package/build/src/v1/taxonomy_category_service_proto_list.json +29 -3
  177. package/build/src/v1/user_service_client.d.ts +251 -11
  178. package/build/src/v1/user_service_client.js +388 -59
  179. package/build/src/v1/user_service_client.js.map +1 -1
  180. package/build/src/v1/user_service_proto_list.json +29 -3
  181. package/package.json +4 -4
  182. package/CHANGELOG.md +0 -40
@@ -0,0 +1,47 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/api/field_behavior.proto";
20
+ import "google/api/resource.proto";
21
+
22
+ option csharp_namespace = "Google.Ads.AdManager.V1";
23
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
24
+ option java_multiple_files = true;
25
+ option java_outer_classname = "LiveStreamEventMessagesProto";
26
+ option java_package = "com.google.ads.admanager.v1";
27
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
28
+ option ruby_package = "Google::Ads::AdManager::V1";
29
+
30
+ // A `LiveStreamEvent` encapsulates all the information necessary to enable DAI
31
+ // (Dynamic Ad Insertion) into a live video stream.
32
+ // This includes information such as the start and expected end time of the
33
+ // `LiveStreamEvent`, the URL of the actual content for Ad Manager to pull and
34
+ // insert ads into, as well as the metadata necessary to generate ad requests
35
+ // during the live stream.
36
+ message LiveStreamEvent {
37
+ option (google.api.resource) = {
38
+ type: "admanager.googleapis.com/LiveStreamEvent"
39
+ pattern: "networks/{network_code}/liveStreamEvents/{live_stream_event}"
40
+ plural: "liveStreamEvents"
41
+ singular: "liveStreamEvent"
42
+ };
43
+
44
+ // Identifier. The resource name of the `LiveStreamEvent`.
45
+ // Format: `networks/{network_code}/liveStreamEvents/{live_stream_event_id}`
46
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
47
+ }
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -63,7 +63,7 @@ message Network {
63
63
 
64
64
  // Output only. Top most [Ad Unit](google.ads.admanager.v1.AdUnit) to which
65
65
  // descendant Ad Units can be added.
66
- // Format: networks/{network_code}/adUnit/{ad_unit_id}
66
+ // Format: networks/{network_code}/adUnits/{ad_unit}
67
67
  string effective_root_ad_unit = 8 [
68
68
  (google.api.field_behavior) = OUTPUT_ONLY,
69
69
  (google.api.resource_reference) = {
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -30,9 +30,11 @@ option java_package = "com.google.ads.admanager.v1";
30
30
  option php_namespace = "Google\\Ads\\AdManager\\V1";
31
31
  option ruby_package = "Google::Ads::AdManager::V1";
32
32
 
33
- // Provides methods for handling Network objects.
33
+ // Provides methods for handling `Network` objects.
34
34
  service NetworkService {
35
35
  option (google.api.default_host) = "admanager.googleapis.com";
36
+ option (google.api.oauth_scopes) =
37
+ "https://www.googleapis.com/auth/admanager";
36
38
 
37
39
  // API to retrieve a Network object.
38
40
  rpc GetNetwork(GetNetworkRequest) returns (Network) {
@@ -0,0 +1,45 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/api/field_behavior.proto";
20
+ import "google/api/resource.proto";
21
+
22
+ option csharp_namespace = "Google.Ads.AdManager.V1";
23
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
24
+ option java_multiple_files = true;
25
+ option java_outer_classname = "OperatingSystemMessagesProto";
26
+ option java_package = "com.google.ads.admanager.v1";
27
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
28
+ option ruby_package = "Google::Ads::AdManager::V1";
29
+
30
+ // Represents a device's operating system.
31
+ message OperatingSystem {
32
+ option (google.api.resource) = {
33
+ type: "admanager.googleapis.com/OperatingSystem"
34
+ pattern: "networks/{network_code}/operatingSystems/{operating_system}"
35
+ plural: "operatingSystems"
36
+ singular: "operatingSystem"
37
+ };
38
+
39
+ // Identifier. The resource name of the `OperatingSystem`.
40
+ // Format: `networks/{network_code}/operatingSystems/{operating_system_id}`
41
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
42
+
43
+ // Output only. The name of the operating system.
44
+ optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
45
+ }
@@ -0,0 +1,129 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/ads/admanager/v1/operating_system_messages.proto";
20
+ import "google/api/annotations.proto";
21
+ import "google/api/client.proto";
22
+ import "google/api/field_behavior.proto";
23
+ import "google/api/resource.proto";
24
+
25
+ option csharp_namespace = "Google.Ads.AdManager.V1";
26
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
27
+ option java_multiple_files = true;
28
+ option java_outer_classname = "OperatingSystemServiceProto";
29
+ option java_package = "com.google.ads.admanager.v1";
30
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
31
+ option ruby_package = "Google::Ads::AdManager::V1";
32
+
33
+ // Provides methods for handling `OperatingSystem` objects.
34
+ service OperatingSystemService {
35
+ option (google.api.default_host) = "admanager.googleapis.com";
36
+ option (google.api.oauth_scopes) =
37
+ "https://www.googleapis.com/auth/admanager";
38
+
39
+ // API to retrieve a `OperatingSystem` object.
40
+ rpc GetOperatingSystem(GetOperatingSystemRequest) returns (OperatingSystem) {
41
+ option (google.api.http) = {
42
+ get: "/v1/{name=networks/*/operatingSystems/*}"
43
+ };
44
+ option (google.api.method_signature) = "name";
45
+ }
46
+
47
+ // API to retrieve a list of `OperatingSystem` objects.
48
+ rpc ListOperatingSystems(ListOperatingSystemsRequest)
49
+ returns (ListOperatingSystemsResponse) {
50
+ option (google.api.http) = {
51
+ get: "/v1/{parent=networks/*}/operatingSystems"
52
+ };
53
+ option (google.api.method_signature) = "parent";
54
+ }
55
+ }
56
+
57
+ // Request object for `GetOperatingSystem` method.
58
+ message GetOperatingSystemRequest {
59
+ // Required. The resource name of the OperatingSystem.
60
+ // Format: `networks/{network_code}/operatingSystems/{operating_system_id}`
61
+ string name = 1 [
62
+ (google.api.field_behavior) = REQUIRED,
63
+ (google.api.resource_reference) = {
64
+ type: "admanager.googleapis.com/OperatingSystem"
65
+ }
66
+ ];
67
+ }
68
+
69
+ // Request object for `ListOperatingSystems` method.
70
+ message ListOperatingSystemsRequest {
71
+ // Required. The parent, which owns this collection of OperatingSystems.
72
+ // Format: `networks/{network_code}`
73
+ string parent = 1 [
74
+ (google.api.field_behavior) = REQUIRED,
75
+ (google.api.resource_reference) = {
76
+ type: "admanager.googleapis.com/Network"
77
+ }
78
+ ];
79
+
80
+ // Optional. The maximum number of `OperatingSystems` to return. The service
81
+ // may return fewer than this value. If unspecified, at most 50
82
+ // `OperatingSystems` will be returned. The maximum value is 1000; values
83
+ // above 1000 will be coerced to 1000.
84
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
85
+
86
+ // Optional. A page token, received from a previous `ListOperatingSystems`
87
+ // call. Provide this to retrieve the subsequent page.
88
+ //
89
+ // When paginating, all other parameters provided to `ListOperatingSystems`
90
+ // must match the call that provided the page token.
91
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
92
+
93
+ // Optional. Expression to filter the response.
94
+ // See syntax details at
95
+ // https://developers.google.com/ad-manager/api/beta/filters
96
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
97
+
98
+ // Optional. Expression to specify sorting order.
99
+ // See syntax details at
100
+ // https://developers.google.com/ad-manager/api/beta/filters#order
101
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
102
+
103
+ // Optional. Number of individual resources to skip while paginating.
104
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
105
+ }
106
+
107
+ // Response object for `ListOperatingSystemsRequest` containing matching
108
+ // `OperatingSystem` objects.
109
+ message ListOperatingSystemsResponse {
110
+ // The `OperatingSystem` objects from the specified network.
111
+ repeated OperatingSystem operating_systems = 1;
112
+
113
+ // A token, which can be sent as `page_token` to retrieve the next page.
114
+ // If this field is omitted, there are no subsequent pages.
115
+ string next_page_token = 2;
116
+
117
+ // Total number of `OperatingSystem` objects.
118
+ // If a filter was included in the request, this reflects the total number
119
+ // after the filtering is applied.
120
+ //
121
+ // `total_size` will not be calculated in the response unless it has been
122
+ // included in a response field mask. The response field mask can be provided
123
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
124
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
125
+ //
126
+ // For more information, see
127
+ // https://developers.google.com/ad-manager/api/beta/field-masks
128
+ int32 total_size = 3;
129
+ }
@@ -0,0 +1,52 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/api/field_behavior.proto";
20
+ import "google/api/resource.proto";
21
+
22
+ option csharp_namespace = "Google.Ads.AdManager.V1";
23
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
24
+ option java_multiple_files = true;
25
+ option java_outer_classname = "OperatingSystemVersionMessagesProto";
26
+ option java_package = "com.google.ads.admanager.v1";
27
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
28
+ option ruby_package = "Google::Ads::AdManager::V1";
29
+
30
+ // Represents a specific version of an operating system.
31
+ message OperatingSystemVersion {
32
+ option (google.api.resource) = {
33
+ type: "admanager.googleapis.com/OperatingSystemVersion"
34
+ pattern: "networks/{network_code}/operatingSystemVersions/{operating_system_version}"
35
+ plural: "operatingSystemVersions"
36
+ singular: "operatingSystemVersion"
37
+ };
38
+
39
+ // Identifier. The resource name of the `OperatingSystemVersion`.
40
+ // Format:
41
+ // `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}`
42
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
43
+
44
+ // Output only. The major version of the operating system.
45
+ optional int32 major_version = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
46
+
47
+ // Output only. The minor version of the operating system.
48
+ optional int32 minor_version = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
49
+
50
+ // Output only. The micro version of the operating system.
51
+ optional int32 micro_version = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
52
+ }
@@ -0,0 +1,133 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/ads/admanager/v1/operating_system_version_messages.proto";
20
+ import "google/api/annotations.proto";
21
+ import "google/api/client.proto";
22
+ import "google/api/field_behavior.proto";
23
+ import "google/api/resource.proto";
24
+
25
+ option csharp_namespace = "Google.Ads.AdManager.V1";
26
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
27
+ option java_multiple_files = true;
28
+ option java_outer_classname = "OperatingSystemVersionServiceProto";
29
+ option java_package = "com.google.ads.admanager.v1";
30
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
31
+ option ruby_package = "Google::Ads::AdManager::V1";
32
+
33
+ // Provides methods for handling `OperatingSystemVersion` objects.
34
+ service OperatingSystemVersionService {
35
+ option (google.api.default_host) = "admanager.googleapis.com";
36
+ option (google.api.oauth_scopes) =
37
+ "https://www.googleapis.com/auth/admanager";
38
+
39
+ // API to retrieve a `OperatingSystemVersion` object.
40
+ rpc GetOperatingSystemVersion(GetOperatingSystemVersionRequest)
41
+ returns (OperatingSystemVersion) {
42
+ option (google.api.http) = {
43
+ get: "/v1/{name=networks/*/operatingSystemVersions/*}"
44
+ };
45
+ option (google.api.method_signature) = "name";
46
+ }
47
+
48
+ // API to retrieve a list of `OperatingSystemVersion` objects.
49
+ rpc ListOperatingSystemVersions(ListOperatingSystemVersionsRequest)
50
+ returns (ListOperatingSystemVersionsResponse) {
51
+ option (google.api.http) = {
52
+ get: "/v1/{parent=networks/*}/operatingSystemVersions"
53
+ };
54
+ option (google.api.method_signature) = "parent";
55
+ }
56
+ }
57
+
58
+ // Request object for `GetOperatingSystemVersion` method.
59
+ message GetOperatingSystemVersionRequest {
60
+ // Required. The resource name of the OperatingSystemVersion.
61
+ // Format:
62
+ // `networks/{network_code}/operatingSystemVersions/{operating_system_version_id}`
63
+ string name = 1 [
64
+ (google.api.field_behavior) = REQUIRED,
65
+ (google.api.resource_reference) = {
66
+ type: "admanager.googleapis.com/OperatingSystemVersion"
67
+ }
68
+ ];
69
+ }
70
+
71
+ // Request object for `ListOperatingSystemVersions` method.
72
+ message ListOperatingSystemVersionsRequest {
73
+ // Required. The parent, which owns this collection of
74
+ // OperatingSystemVersions. Format: `networks/{network_code}`
75
+ string parent = 1 [
76
+ (google.api.field_behavior) = REQUIRED,
77
+ (google.api.resource_reference) = {
78
+ type: "admanager.googleapis.com/Network"
79
+ }
80
+ ];
81
+
82
+ // Optional. The maximum number of `OperatingSystemVersions` to return. The
83
+ // service may return fewer than this value. If unspecified, at most 50
84
+ // `OperatingSystemVersions` will be returned. The maximum value is 1000;
85
+ // values above 1000 will be coerced to 1000.
86
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
87
+
88
+ // Optional. A page token, received from a previous
89
+ // `ListOperatingSystemVersions` call. Provide this to retrieve the subsequent
90
+ // page.
91
+ //
92
+ // When paginating, all other parameters provided to
93
+ // `ListOperatingSystemVersions` must match the call that provided the page
94
+ // token.
95
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
96
+
97
+ // Optional. Expression to filter the response.
98
+ // See syntax details at
99
+ // https://developers.google.com/ad-manager/api/beta/filters
100
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
101
+
102
+ // Optional. Expression to specify sorting order.
103
+ // See syntax details at
104
+ // https://developers.google.com/ad-manager/api/beta/filters#order
105
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
106
+
107
+ // Optional. Number of individual resources to skip while paginating.
108
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
109
+ }
110
+
111
+ // Response object for `ListOperatingSystemVersionsRequest` containing matching
112
+ // `OperatingSystemVersion` objects.
113
+ message ListOperatingSystemVersionsResponse {
114
+ // The `OperatingSystemVersion` objects from the specified network.
115
+ repeated OperatingSystemVersion operating_system_versions = 1;
116
+
117
+ // A token, which can be sent as `page_token` to retrieve the next page.
118
+ // If this field is omitted, there are no subsequent pages.
119
+ string next_page_token = 2;
120
+
121
+ // Total number of `OperatingSystemVersion` objects.
122
+ // If a filter was included in the request, this reflects the total number
123
+ // after the filtering is applied.
124
+ //
125
+ // `total_size` will not be calculated in the response unless it has been
126
+ // included in a response field mask. The response field mask can be provided
127
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
128
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
129
+ //
130
+ // For more information, see
131
+ // https://developers.google.com/ad-manager/api/beta/field-masks
132
+ int32 total_size = 3;
133
+ }
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -45,18 +45,18 @@ message Order {
45
45
  string name = 1 [(google.api.field_behavior) = IDENTIFIER];
46
46
 
47
47
  // Output only. Order ID.
48
- int64 order_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
48
+ optional int64 order_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
49
49
 
50
50
  // Required. The display name of the Order. This value has a maximum length
51
51
  // of 255 characters.
52
- string display_name = 2 [(google.api.field_behavior) = REQUIRED];
52
+ optional string display_name = 2 [(google.api.field_behavior) = REQUIRED];
53
53
 
54
54
  // Optional. Specifies whether or not the Order is a programmatic order.
55
- bool programmatic = 3 [(google.api.field_behavior) = OPTIONAL];
55
+ optional bool programmatic = 3 [(google.api.field_behavior) = OPTIONAL];
56
56
 
57
57
  // Required. The resource name of the User responsible for trafficking the
58
58
  // Order. Format: "networks/{network_code}/users/{user_id}"
59
- string trafficker = 23 [
59
+ optional string trafficker = 23 [
60
60
  (google.api.field_behavior) = REQUIRED,
61
61
  (google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
62
62
  ];
@@ -73,7 +73,7 @@ message Order {
73
73
  // Required. The resource name of the Company, which is of type
74
74
  // Company.Type.ADVERTISER, to which this order belongs. Format:
75
75
  // "networks/{network_code}/companies/{company_id}"
76
- string advertiser = 6 [
76
+ optional string advertiser = 6 [
77
77
  (google.api.field_behavior) = REQUIRED,
78
78
  (google.api.resource_reference) = {
79
79
  type: "admanager.googleapis.com/Company"
@@ -92,7 +92,7 @@ message Order {
92
92
  // Optional. The resource name of the Company, which is of type
93
93
  // Company.Type.AGENCY, with which this order is associated. Format:
94
94
  // "networks/{network_code}/companies/{company_id}"
95
- string agency = 8 [
95
+ optional string agency = 8 [
96
96
  (google.api.field_behavior) = OPTIONAL,
97
97
  (google.api.resource_reference) = {
98
98
  type: "admanager.googleapis.com/Company"
@@ -116,60 +116,64 @@ message Order {
116
116
  // Output only. The resource name of the User who created the Order on behalf
117
117
  // of the advertiser. This value is assigned by Google. Format:
118
118
  // "networks/{network_code}/users/{user_id}"
119
- string creator = 10 [
119
+ optional string creator = 10 [
120
120
  (google.api.field_behavior) = OUTPUT_ONLY,
121
121
  (google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
122
122
  ];
123
123
 
124
124
  // Output only. The ISO 4217 3-letter currency code for the currency used by
125
125
  // the Order. This value is the network's currency code.
126
- string currency_code = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
126
+ optional string currency_code = 11
127
+ [(google.api.field_behavior) = OUTPUT_ONLY];
127
128
 
128
129
  // Output only. The instant at which the Order and its associated line items
129
130
  // are eligible to begin serving. This attribute is derived from the line item
130
131
  // of the order that has the earliest LineItem.start_time.
131
- google.protobuf.Timestamp start_time = 19
132
+ optional google.protobuf.Timestamp start_time = 19
132
133
  [(google.api.field_behavior) = OUTPUT_ONLY];
133
134
 
134
135
  // Output only. The instant at which the Order and its associated line items
135
136
  // stop being served. This attribute is derived from the line item of the
136
137
  // order that has the latest LineItem.end_time.
137
- google.protobuf.Timestamp end_time = 12
138
+ optional google.protobuf.Timestamp end_time = 12
138
139
  [(google.api.field_behavior) = OUTPUT_ONLY];
139
140
 
140
141
  // Output only. Indicates whether or not this Order has an end time.
141
- bool unlimited_end_time = 45 [(google.api.field_behavior) = OUTPUT_ONLY];
142
+ optional bool unlimited_end_time = 45
143
+ [(google.api.field_behavior) = OUTPUT_ONLY];
142
144
 
143
145
  // Optional. An arbitrary ID to associate to the Order, which can be used as a
144
146
  // key to an external system.
145
- int64 external_order_id = 13 [(google.api.field_behavior) = OPTIONAL];
147
+ optional int32 external_order_id = 13
148
+ [(google.api.field_behavior) = OPTIONAL];
146
149
 
147
150
  // Output only. The archival status of the Order.
148
- bool archived = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
151
+ optional bool archived = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
149
152
 
150
153
  // Output only. The application which modified this order. This attribute is
151
154
  // assigned by Google.
152
- string last_modified_by_app = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
155
+ optional string last_modified_by_app = 15
156
+ [(google.api.field_behavior) = OUTPUT_ONLY];
153
157
 
154
158
  // Output only. The instant this Order was last modified.
155
- google.protobuf.Timestamp update_time = 16
159
+ optional google.protobuf.Timestamp update_time = 16
156
160
  [(google.api.field_behavior) = OUTPUT_ONLY];
157
161
 
158
162
  // Optional. Provides any additional notes that may annotate the Order. This
159
163
  // attribute has a maximum length of 65,535 characters.
160
- string notes = 17 [(google.api.field_behavior) = OPTIONAL];
164
+ optional string notes = 17 [(google.api.field_behavior) = OPTIONAL];
161
165
 
162
166
  // Optional. The purchase order number for the Order. This value has a maximum
163
167
  // length of 63 characters.
164
- string po_number = 18 [(google.api.field_behavior) = OPTIONAL];
168
+ optional string po_number = 18 [(google.api.field_behavior) = OPTIONAL];
165
169
 
166
170
  // Output only. The status of the Order.
167
- OrderStatusEnum.OrderStatus status = 20
171
+ optional OrderStatusEnum.OrderStatus status = 20
168
172
  [(google.api.field_behavior) = OUTPUT_ONLY];
169
173
 
170
174
  // Optional. The resource name of the User responsible for the sales of the
171
175
  // Order. Format: "networks/{network_code}/users/{user_id}"
172
- string salesperson = 21 [
176
+ optional string salesperson = 21 [
173
177
  (google.api.field_behavior) = OPTIONAL,
174
178
  (google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
175
179
  ];
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@ option ruby_package = "Google::Ads::AdManager::V1";
33
33
  // Provides methods for handling `Order` objects.
34
34
  service OrderService {
35
35
  option (google.api.default_host) = "admanager.googleapis.com";
36
+ option (google.api.oauth_scopes) =
37
+ "https://www.googleapis.com/auth/admanager";
36
38
 
37
39
  // API to retrieve an Order object.
38
40
  rpc GetOrder(GetOrderRequest) returns (Order) {
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -45,25 +45,25 @@ message Placement {
45
45
  // Output only. `Placement` ID.
46
46
  int64 placement_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
47
47
 
48
- // Required. The display name of the placement. Its maximum length is 255
49
- // characters.
50
- string display_name = 3 [(google.api.field_behavior) = REQUIRED];
48
+ // Required. The display name of the placement. This attribute has a maximum
49
+ // length of 255 characters.
50
+ optional string display_name = 3 [(google.api.field_behavior) = REQUIRED];
51
51
 
52
- // Optional. A description of the Placement. This value is optional and its
53
- // maximum length is 65,535 characters.
54
- string description = 4 [(google.api.field_behavior) = OPTIONAL];
52
+ // Optional. A description of the Placement. This attribute has a maximum
53
+ // length of 65,535 characters.
54
+ optional string description = 4 [(google.api.field_behavior) = OPTIONAL];
55
55
 
56
56
  // Output only. A string used to uniquely identify the Placement for purposes
57
- // of serving the ad. This attribute is read-only and is assigned by Google
58
- // when a placement is created.
59
- string placement_code = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
57
+ // of serving the ad. This attribute is assigned by Google.
58
+ optional string placement_code = 5
59
+ [(google.api.field_behavior) = OUTPUT_ONLY];
60
60
 
61
- // Output only. The status of the Placement. This attribute is read-only.
62
- PlacementStatusEnum.PlacementStatus status = 6
61
+ // Output only. The status of the Placement.
62
+ optional PlacementStatusEnum.PlacementStatus status = 6
63
63
  [(google.api.field_behavior) = OUTPUT_ONLY];
64
64
 
65
65
  // Optional. The resource names of AdUnits that constitute the Placement.
66
- // Format: "networks/{network_code}/adUnits/{ad_unit_id}"
66
+ // Format: "networks/{network_code}/adUnits/{ad_unit}"
67
67
  repeated string targeted_ad_units = 7 [
68
68
  (google.api.field_behavior) = OPTIONAL,
69
69
  (google.api.resource_reference) = {
@@ -72,6 +72,6 @@ message Placement {
72
72
  ];
73
73
 
74
74
  // Output only. The instant this Placement was last modified.
75
- google.protobuf.Timestamp update_time = 9
75
+ optional google.protobuf.Timestamp update_time = 9
76
76
  [(google.api.field_behavior) = OUTPUT_ONLY];
77
77
  }