@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
@@ -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.
@@ -32,16 +32,27 @@ option ruby_package = "Google::Ads::AdManager::V1";
32
32
  message CustomTargetingValue {
33
33
  option (google.api.resource) = {
34
34
  type: "admanager.googleapis.com/CustomTargetingValue"
35
- pattern: "networks/{network_code}/customTargetingKeys/{custom_targeting_key}/customTargetingValues/{custom_targeting_value}"
35
+ pattern: "networks/{network_code}/customTargetingValues/{custom_targeting_value}"
36
36
  plural: "customTargetingValues"
37
37
  singular: "customTargetingValue"
38
38
  };
39
39
 
40
40
  // Identifier. The resource name of the `CustomTargetingValue`.
41
41
  // Format:
42
- // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}/customTargetingValues/{custom_targeting_value_id}`
42
+ // `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}`
43
43
  string name = 1 [(google.api.field_behavior) = IDENTIFIER];
44
44
 
45
+ // Required. Immutable. The resource name of the `CustomTargetingKey`.
46
+ // Format:
47
+ // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
48
+ string custom_targeting_key = 8 [
49
+ (google.api.field_behavior) = REQUIRED,
50
+ (google.api.field_behavior) = IMMUTABLE,
51
+ (google.api.resource_reference) = {
52
+ type: "admanager.googleapis.com/CustomTargetingKey"
53
+ }
54
+ ];
55
+
45
56
  // Immutable. Name of the `CustomTargetingValue`. Values can contain up to 40
46
57
  // characters each. You can use alphanumeric characters and symbols other than
47
58
  // the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are
@@ -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,12 +33,17 @@ option ruby_package = "Google::Ads::AdManager::V1";
33
33
  // Provides methods for handling `CustomTargetingValue` objects.
34
34
  service CustomTargetingValueService {
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 `CustomTargetingValue` object.
38
40
  rpc GetCustomTargetingValue(GetCustomTargetingValueRequest)
39
41
  returns (CustomTargetingValue) {
40
42
  option (google.api.http) = {
41
- get: "/v1/{name=networks/*/customTargetingKeys/*/customTargetingValues/*}"
43
+ get: "/v1/{name=networks/*/customTargetingValues/*}"
44
+ additional_bindings {
45
+ get: "/v1/{name=networks/*/customTargetingKeys/*/customTargetingValues/*}"
46
+ }
42
47
  };
43
48
  option (google.api.method_signature) = "name";
44
49
  }
@@ -47,7 +52,10 @@ service CustomTargetingValueService {
47
52
  rpc ListCustomTargetingValues(ListCustomTargetingValuesRequest)
48
53
  returns (ListCustomTargetingValuesResponse) {
49
54
  option (google.api.http) = {
50
- get: "/v1/{parent=networks/*/customTargetingKeys/*}/customTargetingValues"
55
+ get: "/v1/{parent=networks/*}/customTargetingValues"
56
+ additional_bindings {
57
+ get: "/v1/{parent=networks/*/customTargetingKeys/*}/customTargetingValues"
58
+ }
51
59
  };
52
60
  option (google.api.method_signature) = "parent";
53
61
  }
@@ -57,7 +65,7 @@ service CustomTargetingValueService {
57
65
  message GetCustomTargetingValueRequest {
58
66
  // Required. The resource name of the CustomTargetingValue.
59
67
  // Format:
60
- // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}/customTargetingValues/{custom_targeting_value_id}`
68
+ // `networks/{network_code}/customTargetingValues/{custom_targeting_value_id}`
61
69
  string name = 1 [
62
70
  (google.api.field_behavior) = REQUIRED,
63
71
  (google.api.resource_reference) = {
@@ -70,11 +78,11 @@ message GetCustomTargetingValueRequest {
70
78
  message ListCustomTargetingValuesRequest {
71
79
  // Required. The parent, which owns this collection of CustomTargetingValues.
72
80
  // Format:
73
- // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
81
+ // `networks/{network_code}`
74
82
  string parent = 1 [
75
83
  (google.api.field_behavior) = REQUIRED,
76
84
  (google.api.resource_reference) = {
77
- type: "admanager.googleapis.com/CustomTargetingKey"
85
+ type: "admanager.googleapis.com/Network"
78
86
  }
79
87
  ];
80
88
 
@@ -0,0 +1,41 @@
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
+ option csharp_namespace = "Google.Ads.AdManager.V1";
20
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
21
+ option java_multiple_files = true;
22
+ option java_outer_classname = "DealBuyerPermissionTypeEnumProto";
23
+ option java_package = "com.google.ads.admanager.v1";
24
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
25
+ option ruby_package = "Google::Ads::AdManager::V1";
26
+
27
+ // Wrapper message for
28
+ // [DealBuyerPermissionType][google.ads.admanager.v1.DealBuyerPermissionTypeEnum.DealBuyerPermissionType].
29
+ message DealBuyerPermissionTypeEnum {
30
+ // Defines how a deal would transact among all buyers under the same bidder.
31
+ enum 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
+ }
41
+ }
@@ -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 = "DeviceCategoryMessagesProto";
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 the category of a device. For example, "smartphone" or "desktop".
31
+ message DeviceCategory {
32
+ option (google.api.resource) = {
33
+ type: "admanager.googleapis.com/DeviceCategory"
34
+ pattern: "networks/{network_code}/deviceCategories/{device_category}"
35
+ plural: "deviceCategories"
36
+ singular: "deviceCategory"
37
+ };
38
+
39
+ // Identifier. The resource name of the `DeviceCategory`.
40
+ // Format: `networks/{network_code}/deviceCategories/{device_category}`
41
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
42
+
43
+ // Output only. The display name of the device category.
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/device_category_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 = "DeviceCategoryServiceProto";
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 `DeviceCategory` objects.
34
+ service DeviceCategoryService {
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 `DeviceCategory` object.
40
+ rpc GetDeviceCategory(GetDeviceCategoryRequest) returns (DeviceCategory) {
41
+ option (google.api.http) = {
42
+ get: "/v1/{name=networks/*/deviceCategories/*}"
43
+ };
44
+ option (google.api.method_signature) = "name";
45
+ }
46
+
47
+ // API to retrieve a list of `DeviceCategory` objects.
48
+ rpc ListDeviceCategories(ListDeviceCategoriesRequest)
49
+ returns (ListDeviceCategoriesResponse) {
50
+ option (google.api.http) = {
51
+ get: "/v1/{parent=networks/*}/deviceCategories"
52
+ };
53
+ option (google.api.method_signature) = "parent";
54
+ }
55
+ }
56
+
57
+ // Request object for `GetDeviceCategory` method.
58
+ message GetDeviceCategoryRequest {
59
+ // Required. The resource name of the DeviceCategory.
60
+ // Format: `networks/{network_code}/deviceCategories/{device_category_id}`
61
+ string name = 1 [
62
+ (google.api.field_behavior) = REQUIRED,
63
+ (google.api.resource_reference) = {
64
+ type: "admanager.googleapis.com/DeviceCategory"
65
+ }
66
+ ];
67
+ }
68
+
69
+ // Request object for `ListDeviceCategories` method.
70
+ message ListDeviceCategoriesRequest {
71
+ // Required. The parent, which owns this collection of DeviceCategories.
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 `DeviceCategories` to return. The service
81
+ // may return fewer than this value. If unspecified, at most 50
82
+ // `DeviceCategories` 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 `ListDeviceCategories`
87
+ // call. Provide this to retrieve the subsequent page.
88
+ //
89
+ // When paginating, all other parameters provided to `ListDeviceCategories`
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 `ListDeviceCategoriesRequest` containing matching
108
+ // `DeviceCategory` objects.
109
+ message ListDeviceCategoriesResponse {
110
+ // The `DeviceCategory` objects from the specified network.
111
+ repeated DeviceCategory device_categories = 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 `DeviceCategory` 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,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
+ option csharp_namespace = "Google.Ads.AdManager.V1";
20
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
21
+ option java_multiple_files = true;
22
+ option java_outer_classname = "EarlyAdBreakNotificationEnumsProto";
23
+ option java_package = "com.google.ads.admanager.v1";
24
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
25
+ option ruby_package = "Google::Ads::AdManager::V1";
26
+
27
+ // Wrapper message for
28
+ // [AdBreakState][google.ads.admanager.v1.AdBreakStateEnum.AdBreakState]
29
+ message AdBreakStateEnum {
30
+ // Represents the state of an ad break
31
+ enum 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
+ }
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.
@@ -54,11 +54,11 @@ message EntitySignalsMapping {
54
54
  string name = 1 [(google.api.field_behavior) = IDENTIFIER];
55
55
 
56
56
  // Output only. `EntitySignalsMapping` ID.
57
- int64 entity_signals_mapping_id = 2
57
+ optional int64 entity_signals_mapping_id = 2
58
58
  [(google.api.field_behavior) = OUTPUT_ONLY];
59
59
 
60
- // Required. The IDs of the categories that are associated with the
60
+ // Optional. The IDs of the categories that are associated with the
61
61
  // referencing entity.
62
62
  repeated int64 taxonomy_category_ids = 6
63
- [(google.api.field_behavior) = REQUIRED];
63
+ [(google.api.field_behavior) = OPTIONAL];
64
64
  }
@@ -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.
@@ -34,6 +34,8 @@ option ruby_package = "Google::Ads::AdManager::V1";
34
34
  // Provides methods for handling `EntitySignalsMapping` objects.
35
35
  service EntitySignalsMappingService {
36
36
  option (google.api.default_host) = "admanager.googleapis.com";
37
+ option (google.api.oauth_scopes) =
38
+ "https://www.googleapis.com/auth/admanager";
37
39
 
38
40
  // API to retrieve a `EntitySignalsMapping` object.
39
41
  rpc GetEntitySignalsMapping(GetEntitySignalsMappingRequest)
@@ -154,7 +156,7 @@ message CreateEntitySignalsMappingRequest {
154
156
  string parent = 1 [
155
157
  (google.api.field_behavior) = REQUIRED,
156
158
  (google.api.resource_reference) = {
157
- child_type: "admanager.googleapis.com/EntitySignalsMapping"
159
+ type: "admanager.googleapis.com/Network"
158
160
  }
159
161
  ];
160
162
 
@@ -211,7 +213,7 @@ message BatchCreateEntitySignalsMappingsRequest {
211
213
  string parent = 1 [
212
214
  (google.api.field_behavior) = REQUIRED,
213
215
  (google.api.resource_reference) = {
214
- child_type: "admanager.googleapis.com/EntitySignalsMapping"
216
+ type: "admanager.googleapis.com/Network"
215
217
  }
216
218
  ];
217
219
 
@@ -235,7 +237,7 @@ message BatchUpdateEntitySignalsMappingsRequest {
235
237
  string parent = 1 [
236
238
  (google.api.field_behavior) = REQUIRED,
237
239
  (google.api.resource_reference) = {
238
- child_type: "admanager.googleapis.com/EntitySignalsMapping"
240
+ type: "admanager.googleapis.com/Network"
239
241
  }
240
242
  ];
241
243
 
@@ -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.
@@ -0,0 +1,70 @@
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 = "GeoTargetMessagesProto";
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 location in the world, for targeting.
31
+ message GeoTarget {
32
+ option (google.api.resource) = {
33
+ type: "admanager.googleapis.com/GeoTarget"
34
+ pattern: "networks/{network_code}/geoTargets/{geo_target}"
35
+ plural: "geoTargets"
36
+ singular: "geoTarget"
37
+ };
38
+
39
+ // Identifier. The resource name of the `GeoTarget`.
40
+ // Format: `networks/{network_code}/geoTargets/{geo_target_id}`
41
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
42
+
43
+ // Output only. The display name of the GeoTarget.
44
+ optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
45
+
46
+ // Output only. The name of the direct parent that defines the canonical name
47
+ // of the geo target. For example, if the current geo target is "San
48
+ // Francisco", its canonical name would be "San Francisco, California, United
49
+ // States" thus the canonical_parent would be the name of California and the
50
+ // canonical_parent of California would be the name of United states Format:
51
+ // `networks/{network_code}/geoTargets/{geo_target}`
52
+ optional string canonical_parent = 3 [
53
+ (google.api.field_behavior) = OUTPUT_ONLY,
54
+ (google.api.resource_reference) = {
55
+ type: "admanager.googleapis.com/GeoTarget"
56
+ }
57
+ ];
58
+
59
+ // Output only. All parents of the geo target ordered by ascending size.
60
+ repeated string parent_names = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
61
+
62
+ // Output only. The Unicode CLDR region code of the geo target.
63
+ optional string region_code = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
64
+
65
+ // Output only. The location type (unlocalized) for this geographical entity.
66
+ optional string type = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
67
+
68
+ // Output only. Whether the geo target is targetable.
69
+ optional bool targetable = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
70
+ }
@@ -0,0 +1,128 @@
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/geo_target_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 = "GeoTargetServiceProto";
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 `GeoTarget` objects.
34
+ service GeoTargetService {
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 `GeoTarget` object.
40
+ rpc GetGeoTarget(GetGeoTargetRequest) returns (GeoTarget) {
41
+ option (google.api.http) = {
42
+ get: "/v1/{name=networks/*/geoTargets/*}"
43
+ };
44
+ option (google.api.method_signature) = "name";
45
+ }
46
+
47
+ // API to retrieve a list of `GeoTarget` objects.
48
+ rpc ListGeoTargets(ListGeoTargetsRequest) returns (ListGeoTargetsResponse) {
49
+ option (google.api.http) = {
50
+ get: "/v1/{parent=networks/*}/geoTargets"
51
+ };
52
+ option (google.api.method_signature) = "parent";
53
+ }
54
+ }
55
+
56
+ // Request object for `GetGeoTarget` method.
57
+ message GetGeoTargetRequest {
58
+ // Required. The resource name of the GeoTarget.
59
+ // Format: `networks/{network_code}/geoTargets/{geo_target_id}`
60
+ string name = 1 [
61
+ (google.api.field_behavior) = REQUIRED,
62
+ (google.api.resource_reference) = {
63
+ type: "admanager.googleapis.com/GeoTarget"
64
+ }
65
+ ];
66
+ }
67
+
68
+ // Request object for `ListGeoTargets` method.
69
+ message ListGeoTargetsRequest {
70
+ // Required. The parent, which owns this collection of GeoTargets.
71
+ // Format: `networks/{network_code}`
72
+ string parent = 1 [
73
+ (google.api.field_behavior) = REQUIRED,
74
+ (google.api.resource_reference) = {
75
+ type: "admanager.googleapis.com/Network"
76
+ }
77
+ ];
78
+
79
+ // Optional. The maximum number of `GeoTargets` to return. The service may
80
+ // return fewer than this value. If unspecified, at most 50 `GeoTargets` will
81
+ // be returned. The maximum value is 1000; values above 1000 will be coerced
82
+ // to 1000.
83
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
84
+
85
+ // Optional. A page token, received from a previous `ListGeoTargets` call.
86
+ // Provide this to retrieve the subsequent page.
87
+ //
88
+ // When paginating, all other parameters provided to `ListGeoTargets` must
89
+ // match the call that provided the page token.
90
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
91
+
92
+ // Optional. Expression to filter the response.
93
+ // See syntax details at
94
+ // https://developers.google.com/ad-manager/api/beta/filters
95
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
96
+
97
+ // Optional. Expression to specify sorting order.
98
+ // See syntax details at
99
+ // https://developers.google.com/ad-manager/api/beta/filters#order
100
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
101
+
102
+ // Optional. Number of individual resources to skip while paginating.
103
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
104
+ }
105
+
106
+ // Response object for `ListGeoTargetsRequest` containing matching `GeoTarget`
107
+ // objects.
108
+ message ListGeoTargetsResponse {
109
+ // The `GeoTarget` objects from the specified network.
110
+ repeated GeoTarget geo_targets = 1;
111
+
112
+ // A token, which can be sent as `page_token` to retrieve the next page.
113
+ // If this field is omitted, there are no subsequent pages.
114
+ string next_page_token = 2;
115
+
116
+ // Total number of `GeoTarget` objects.
117
+ // If a filter was included in the request, this reflects the total number
118
+ // after the filtering is applied.
119
+ //
120
+ // `total_size` will not be calculated in the response unless it has been
121
+ // included in a response field mask. The response field mask can be provided
122
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
123
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
124
+ //
125
+ // For more information, see
126
+ // https://developers.google.com/ad-manager/api/beta/field-masks
127
+ int32 total_size = 3;
128
+ }
@@ -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.