@google-ads/admanager 0.4.1 → 0.5.1

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 (291) hide show
  1. package/README.md +83 -0
  2. package/build/protos/google/ads/admanager/v1/ad_break_service.proto +1 -1
  3. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +44 -0
  4. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +62 -0
  5. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +238 -0
  6. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -7
  7. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +222 -6
  8. package/build/protos/google/ads/admanager/v1/application_messages.proto +47 -0
  9. package/build/protos/google/ads/admanager/v1/application_service.proto +129 -0
  10. package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +49 -0
  11. package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +129 -0
  12. package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +3 -3
  13. package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +45 -0
  14. package/build/protos/google/ads/admanager/v1/browser_language_service.proto +129 -0
  15. package/build/protos/google/ads/admanager/v1/browser_messages.proto +51 -0
  16. package/build/protos/google/ads/admanager/v1/browser_service.proto +128 -0
  17. package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +41 -0
  18. package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +50 -0
  19. package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +129 -0
  20. package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +44 -0
  21. package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +61 -0
  22. package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +130 -0
  23. package/build/protos/google/ads/admanager/v1/company_messages.proto +14 -12
  24. package/build/protos/google/ads/admanager/v1/company_service.proto +3 -3
  25. package/build/protos/google/ads/admanager/v1/contact_enums.proto +57 -0
  26. package/build/protos/google/ads/admanager/v1/contact_messages.proto +45 -2
  27. package/build/protos/google/ads/admanager/v1/contact_service.proto +244 -0
  28. package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +53 -0
  29. package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +129 -0
  30. package/build/protos/google/ads/admanager/v1/content_label_messages.proto +45 -0
  31. package/build/protos/google/ads/admanager/v1/content_label_service.proto +129 -0
  32. package/build/protos/google/ads/admanager/v1/content_messages.proto +45 -0
  33. package/build/protos/google/ads/admanager/v1/content_service.proto +128 -0
  34. package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +63 -0
  35. package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +253 -0
  36. package/build/protos/google/ads/admanager/v1/creative_template_service.proto +130 -0
  37. package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +47 -0
  38. package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +5 -2
  39. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +185 -3
  40. package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +7 -6
  41. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +191 -1
  42. package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +9 -9
  43. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +1 -1
  44. package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +45 -0
  45. package/build/protos/google/ads/admanager/v1/device_capability_service.proto +130 -0
  46. package/build/protos/google/ads/admanager/v1/device_category_service.proto +2 -2
  47. package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +46 -0
  48. package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +131 -0
  49. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +1 -1
  50. package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +47 -0
  51. package/build/protos/google/ads/admanager/v1/geo_target_service.proto +3 -3
  52. package/build/protos/google/ads/admanager/v1/goal.proto +57 -0
  53. package/build/protos/google/ads/admanager/v1/goal_enums.proto +129 -0
  54. package/build/protos/google/ads/admanager/v1/line_item_enums.proto +86 -0
  55. package/build/protos/google/ads/admanager/v1/line_item_messages.proto +93 -0
  56. package/build/protos/google/ads/admanager/v1/line_item_service.proto +128 -0
  57. package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +48 -0
  58. package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
  59. package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
  60. package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
  61. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
  62. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
  63. package/build/protos/google/ads/admanager/v1/network_messages.proto +8 -8
  64. package/build/protos/google/ads/admanager/v1/network_service.proto +32 -1
  65. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
  66. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
  67. package/build/protos/google/ads/admanager/v1/order_messages.proto +11 -10
  68. package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
  69. package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
  70. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
  71. package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
  72. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
  73. package/build/protos/google/ads/admanager/v1/report_definition.proto +13347 -0
  74. package/build/protos/google/ads/admanager/v1/report_messages.proto +124 -3411
  75. package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
  76. package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
  77. package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
  78. package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
  79. package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
  80. package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
  81. package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
  82. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
  83. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
  84. package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
  85. package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
  86. package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
  87. package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
  88. package/build/protos/protos.d.ts +34075 -11179
  89. package/build/protos/protos.js +102857 -43311
  90. package/build/protos/protos.json +11142 -3881
  91. package/build/src/index.d.ts +61 -1
  92. package/build/src/index.js +43 -3
  93. package/build/src/index.js.map +1 -1
  94. package/build/src/v1/ad_break_service_client.d.ts +465 -0
  95. package/build/src/v1/ad_break_service_client.js +659 -1
  96. package/build/src/v1/ad_break_service_client.js.map +1 -1
  97. package/build/src/v1/ad_break_service_proto_list.json +54 -1
  98. package/build/src/v1/ad_review_center_ad_service_client.d.ts +1634 -0
  99. package/build/src/v1/ad_review_center_ad_service_client.js +2327 -0
  100. package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
  101. package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
  102. package/build/src/v1/ad_review_center_ad_service_proto_list.json +127 -0
  103. package/build/src/v1/ad_unit_service_client.d.ts +667 -12
  104. package/build/src/v1/ad_unit_service_client.js +966 -56
  105. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  106. package/build/src/v1/ad_unit_service_client_config.json +28 -0
  107. package/build/src/v1/ad_unit_service_proto_list.json +54 -1
  108. package/build/src/v1/application_service_client.d.ts +1369 -0
  109. package/build/src/v1/application_service_client.js +2027 -0
  110. package/build/src/v1/application_service_client.js.map +1 -0
  111. package/build/src/v1/application_service_client_config.json +34 -0
  112. package/build/src/v1/application_service_proto_list.json +127 -0
  113. package/build/src/v1/audience_segment_service_client.d.ts +1369 -0
  114. package/build/src/v1/audience_segment_service_client.js +2027 -0
  115. package/build/src/v1/audience_segment_service_client.js.map +1 -0
  116. package/build/src/v1/audience_segment_service_client_config.json +34 -0
  117. package/build/src/v1/audience_segment_service_proto_list.json +127 -0
  118. package/build/src/v1/bandwidth_group_service_client.d.ts +471 -6
  119. package/build/src/v1/bandwidth_group_service_client.js +663 -5
  120. package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
  121. package/build/src/v1/bandwidth_group_service_proto_list.json +54 -1
  122. package/build/src/v1/browser_language_service_client.d.ts +1369 -0
  123. package/build/src/v1/browser_language_service_client.js +2027 -0
  124. package/build/src/v1/browser_language_service_client.js.map +1 -0
  125. package/build/src/v1/browser_language_service_client_config.json +34 -0
  126. package/build/src/v1/browser_language_service_proto_list.json +127 -0
  127. package/build/src/v1/browser_service_client.d.ts +1369 -0
  128. package/build/src/v1/browser_service_client.js +2027 -0
  129. package/build/src/v1/browser_service_client.js.map +1 -0
  130. package/build/src/v1/browser_service_client_config.json +34 -0
  131. package/build/src/v1/browser_service_proto_list.json +127 -0
  132. package/build/src/v1/cms_metadata_key_service_client.d.ts +1369 -0
  133. package/build/src/v1/cms_metadata_key_service_client.js +2027 -0
  134. package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
  135. package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
  136. package/build/src/v1/cms_metadata_key_service_proto_list.json +127 -0
  137. package/build/src/v1/cms_metadata_value_service_client.d.ts +1369 -0
  138. package/build/src/v1/cms_metadata_value_service_client.js +2027 -0
  139. package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
  140. package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
  141. package/build/src/v1/cms_metadata_value_service_proto_list.json +127 -0
  142. package/build/src/v1/company_service_client.d.ts +471 -6
  143. package/build/src/v1/company_service_client.js +663 -5
  144. package/build/src/v1/company_service_client.js.map +1 -1
  145. package/build/src/v1/company_service_proto_list.json +54 -1
  146. package/build/src/v1/contact_service_client.d.ts +1480 -0
  147. package/build/src/v1/contact_service_client.js +2171 -0
  148. package/build/src/v1/contact_service_client.js.map +1 -0
  149. package/build/src/v1/contact_service_client_config.json +50 -0
  150. package/build/src/v1/contact_service_proto_list.json +127 -0
  151. package/build/src/v1/content_bundle_service_client.d.ts +1369 -0
  152. package/build/src/v1/content_bundle_service_client.js +2027 -0
  153. package/build/src/v1/content_bundle_service_client.js.map +1 -0
  154. package/build/src/v1/content_bundle_service_client_config.json +34 -0
  155. package/build/src/v1/content_bundle_service_proto_list.json +127 -0
  156. package/build/src/v1/content_label_service_client.d.ts +1369 -0
  157. package/build/src/v1/content_label_service_client.js +2027 -0
  158. package/build/src/v1/content_label_service_client.js.map +1 -0
  159. package/build/src/v1/content_label_service_client_config.json +34 -0
  160. package/build/src/v1/content_label_service_proto_list.json +127 -0
  161. package/build/src/v1/content_service_client.d.ts +1369 -0
  162. package/build/src/v1/content_service_client.js +2027 -0
  163. package/build/src/v1/content_service_client.js.map +1 -0
  164. package/build/src/v1/content_service_client_config.json +34 -0
  165. package/build/src/v1/content_service_proto_list.json +127 -0
  166. package/build/src/v1/creative_template_service_client.d.ts +1369 -0
  167. package/build/src/v1/creative_template_service_client.js +2027 -0
  168. package/build/src/v1/creative_template_service_client.js.map +1 -0
  169. package/build/src/v1/creative_template_service_client_config.json +34 -0
  170. package/build/src/v1/creative_template_service_proto_list.json +127 -0
  171. package/build/src/v1/custom_field_service_client.d.ts +634 -6
  172. package/build/src/v1/custom_field_service_client.js +880 -6
  173. package/build/src/v1/custom_field_service_client.js.map +1 -1
  174. package/build/src/v1/custom_field_service_client_config.json +24 -0
  175. package/build/src/v1/custom_field_service_proto_list.json +54 -1
  176. package/build/src/v1/custom_targeting_key_service_client.d.ts +631 -0
  177. package/build/src/v1/custom_targeting_key_service_client.js +876 -2
  178. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  179. package/build/src/v1/custom_targeting_key_service_client_config.json +24 -0
  180. package/build/src/v1/custom_targeting_key_service_proto_list.json +54 -1
  181. package/build/src/v1/custom_targeting_value_service_client.d.ts +465 -0
  182. package/build/src/v1/custom_targeting_value_service_client.js +659 -1
  183. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  184. package/build/src/v1/custom_targeting_value_service_proto_list.json +54 -1
  185. package/build/src/v1/device_capability_service_client.d.ts +1369 -0
  186. package/build/src/v1/device_capability_service_client.js +2027 -0
  187. package/build/src/v1/device_capability_service_client.js.map +1 -0
  188. package/build/src/v1/device_capability_service_client_config.json +34 -0
  189. package/build/src/v1/device_capability_service_proto_list.json +127 -0
  190. package/build/src/v1/device_category_service_client.d.ts +468 -3
  191. package/build/src/v1/device_category_service_client.js +661 -3
  192. package/build/src/v1/device_category_service_client.js.map +1 -1
  193. package/build/src/v1/device_category_service_proto_list.json +54 -1
  194. package/build/src/v1/device_manufacturer_service_client.d.ts +1370 -0
  195. package/build/src/v1/device_manufacturer_service_client.js +2027 -0
  196. package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
  197. package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
  198. package/build/src/v1/device_manufacturer_service_proto_list.json +127 -0
  199. package/build/src/v1/entity_signals_mapping_service_client.d.ts +465 -0
  200. package/build/src/v1/entity_signals_mapping_service_client.js +659 -1
  201. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  202. package/build/src/v1/entity_signals_mapping_service_proto_list.json +54 -1
  203. package/build/src/v1/gapic_metadata.json +1200 -6
  204. package/build/src/v1/geo_target_service_client.d.ts +471 -6
  205. package/build/src/v1/geo_target_service_client.js +663 -5
  206. package/build/src/v1/geo_target_service_client.js.map +1 -1
  207. package/build/src/v1/geo_target_service_proto_list.json +54 -1
  208. package/build/src/v1/index.d.ts +20 -0
  209. package/build/src/v1/index.js +42 -2
  210. package/build/src/v1/index.js.map +1 -1
  211. package/build/src/v1/line_item_service_client.d.ts +1369 -0
  212. package/build/src/v1/line_item_service_client.js +2027 -0
  213. package/build/src/v1/line_item_service_client.js.map +1 -0
  214. package/build/src/v1/line_item_service_client_config.json +34 -0
  215. package/build/src/v1/line_item_service_proto_list.json +127 -0
  216. package/build/src/v1/mobile_carrier_service_client.d.ts +1369 -0
  217. package/build/src/v1/mobile_carrier_service_client.js +2027 -0
  218. package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
  219. package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
  220. package/build/src/v1/mobile_carrier_service_proto_list.json +127 -0
  221. package/build/src/v1/mobile_device_service_client.d.ts +1369 -0
  222. package/build/src/v1/mobile_device_service_client.js +2027 -0
  223. package/build/src/v1/mobile_device_service_client.js.map +1 -0
  224. package/build/src/v1/mobile_device_service_client_config.json +34 -0
  225. package/build/src/v1/mobile_device_service_proto_list.json +127 -0
  226. package/build/src/v1/mobile_device_submodel_service_client.d.ts +1376 -0
  227. package/build/src/v1/mobile_device_submodel_service_client.js +2031 -0
  228. package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
  229. package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
  230. package/build/src/v1/mobile_device_submodel_service_proto_list.json +127 -0
  231. package/build/src/v1/network_service_client.d.ts +555 -12
  232. package/build/src/v1/network_service_client.js +757 -16
  233. package/build/src/v1/network_service_client.js.map +1 -1
  234. package/build/src/v1/network_service_proto_list.json +54 -1
  235. package/build/src/v1/operating_system_service_client.d.ts +468 -3
  236. package/build/src/v1/operating_system_service_client.js +661 -3
  237. package/build/src/v1/operating_system_service_client.js.map +1 -1
  238. package/build/src/v1/operating_system_service_proto_list.json +54 -1
  239. package/build/src/v1/operating_system_version_service_client.d.ts +468 -3
  240. package/build/src/v1/operating_system_version_service_client.js +661 -3
  241. package/build/src/v1/operating_system_version_service_client.js.map +1 -1
  242. package/build/src/v1/operating_system_version_service_proto_list.json +54 -1
  243. package/build/src/v1/order_service_client.d.ts +471 -6
  244. package/build/src/v1/order_service_client.js +663 -5
  245. package/build/src/v1/order_service_client.js.map +1 -1
  246. package/build/src/v1/order_service_proto_list.json +54 -1
  247. package/build/src/v1/placement_service_client.d.ts +662 -6
  248. package/build/src/v1/placement_service_client.js +962 -52
  249. package/build/src/v1/placement_service_client.js.map +1 -1
  250. package/build/src/v1/placement_service_client_config.json +28 -0
  251. package/build/src/v1/placement_service_proto_list.json +54 -1
  252. package/build/src/v1/private_auction_deal_service_client.d.ts +468 -3
  253. package/build/src/v1/private_auction_deal_service_client.js +661 -3
  254. package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
  255. package/build/src/v1/private_auction_deal_service_proto_list.json +54 -1
  256. package/build/src/v1/private_auction_service_client.d.ts +468 -3
  257. package/build/src/v1/private_auction_service_client.js +661 -3
  258. package/build/src/v1/private_auction_service_client.js.map +1 -1
  259. package/build/src/v1/private_auction_service_proto_list.json +54 -1
  260. package/build/src/v1/programmatic_buyer_service_client.d.ts +465 -0
  261. package/build/src/v1/programmatic_buyer_service_client.js +659 -1
  262. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
  263. package/build/src/v1/programmatic_buyer_service_proto_list.json +54 -1
  264. package/build/src/v1/report_service_client.d.ts +485 -17
  265. package/build/src/v1/report_service_client.js +669 -9
  266. package/build/src/v1/report_service_client.js.map +1 -1
  267. package/build/src/v1/report_service_proto_list.json +54 -1
  268. package/build/src/v1/role_service_client.d.ts +471 -3
  269. package/build/src/v1/role_service_client.js +663 -3
  270. package/build/src/v1/role_service_client.js.map +1 -1
  271. package/build/src/v1/role_service_proto_list.json +54 -1
  272. package/build/src/v1/site_service_client.d.ts +1530 -0
  273. package/build/src/v1/site_service_client.js +2243 -0
  274. package/build/src/v1/site_service_client.js.map +1 -0
  275. package/build/src/v1/site_service_client_config.json +58 -0
  276. package/build/src/v1/site_service_proto_list.json +127 -0
  277. package/build/src/v1/taxonomy_category_service_client.d.ts +465 -0
  278. package/build/src/v1/taxonomy_category_service_client.js +659 -1
  279. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  280. package/build/src/v1/taxonomy_category_service_proto_list.json +54 -1
  281. package/build/src/v1/team_service_client.d.ts +1532 -0
  282. package/build/src/v1/team_service_client.js +2243 -0
  283. package/build/src/v1/team_service_client.js.map +1 -0
  284. package/build/src/v1/team_service_client_config.json +58 -0
  285. package/build/src/v1/team_service_proto_list.json +127 -0
  286. package/build/src/v1/user_service_client.d.ts +465 -0
  287. package/build/src/v1/user_service_client.js +659 -1
  288. package/build/src/v1/user_service_client.js.map +1 -1
  289. package/build/src/v1/user_service_proto_list.json +54 -1
  290. package/package.json +10 -2
  291. package/LICENSE +0 -202
@@ -43,27 +43,28 @@ message CustomTargetingKey {
43
43
  string name = 1 [(google.api.field_behavior) = IDENTIFIER];
44
44
 
45
45
  // Output only. `CustomTargetingKey` ID.
46
- int64 custom_targeting_key_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
46
+ optional int64 custom_targeting_key_id = 2
47
+ [(google.api.field_behavior) = OUTPUT_ONLY];
47
48
 
48
49
  // Immutable. Name of the key. Keys can contain up to 10 characters each. You
49
50
  // can use alphanumeric characters and symbols other than the following:
50
51
  // ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character.
51
- string ad_tag_name = 3 [(google.api.field_behavior) = IMMUTABLE];
52
+ optional string ad_tag_name = 3 [(google.api.field_behavior) = IMMUTABLE];
52
53
 
53
54
  // Optional. Descriptive name for the `CustomTargetingKey`.
54
- string display_name = 4 [(google.api.field_behavior) = OPTIONAL];
55
+ optional string display_name = 4 [(google.api.field_behavior) = OPTIONAL];
55
56
 
56
57
  // Required. Indicates whether users will select from predefined values or
57
58
  // create new targeting values, while specifying targeting criteria for a line
58
59
  // item.
59
- CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5
60
+ optional CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5
60
61
  [(google.api.field_behavior) = REQUIRED];
61
62
 
62
63
  // Output only. Status of the `CustomTargetingKey`.
63
- CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6
64
+ optional CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6
64
65
  [(google.api.field_behavior) = OUTPUT_ONLY];
65
66
 
66
67
  // Required. Reportable state of the `CustomTargetingKey`.
67
- CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType
68
+ optional CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType
68
69
  reportable_type = 7 [(google.api.field_behavior) = REQUIRED];
69
70
  }
@@ -21,6 +21,7 @@ import "google/api/annotations.proto";
21
21
  import "google/api/client.proto";
22
22
  import "google/api/field_behavior.proto";
23
23
  import "google/api/resource.proto";
24
+ import "google/protobuf/field_mask.proto";
24
25
 
25
26
  option csharp_namespace = "Google.Ads.AdManager.V1";
26
27
  option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
@@ -53,6 +54,67 @@ service CustomTargetingKeyService {
53
54
  };
54
55
  option (google.api.method_signature) = "parent";
55
56
  }
57
+
58
+ // API to create a `CustomTargetingKey` object.
59
+ rpc CreateCustomTargetingKey(CreateCustomTargetingKeyRequest)
60
+ returns (CustomTargetingKey) {
61
+ option (google.api.http) = {
62
+ post: "/v1/{parent=networks/*}/customTargetingKeys"
63
+ body: "custom_targeting_key"
64
+ };
65
+ option (google.api.method_signature) = "parent,custom_targeting_key";
66
+ }
67
+
68
+ // API to batch create `CustomTargetingKey` objects.
69
+ rpc BatchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest)
70
+ returns (BatchCreateCustomTargetingKeysResponse) {
71
+ option (google.api.http) = {
72
+ post: "/v1/{parent=networks/*}/customTargetingKeys:batchCreate"
73
+ body: "*"
74
+ };
75
+ option (google.api.method_signature) = "parent,requests";
76
+ }
77
+
78
+ // API to update a `CustomTargetingKey` object.
79
+ rpc UpdateCustomTargetingKey(UpdateCustomTargetingKeyRequest)
80
+ returns (CustomTargetingKey) {
81
+ option (google.api.http) = {
82
+ patch: "/v1/{custom_targeting_key.name=networks/*/customTargetingKeys/*}"
83
+ body: "custom_targeting_key"
84
+ };
85
+ option (google.api.method_signature) = "custom_targeting_key,update_mask";
86
+ }
87
+
88
+ // API to batch update `CustomTargetingKey` objects.
89
+ rpc BatchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest)
90
+ returns (BatchUpdateCustomTargetingKeysResponse) {
91
+ option (google.api.http) = {
92
+ post: "/v1/{parent=networks/*}/customTargetingKeys:batchUpdate"
93
+ body: "*"
94
+ };
95
+ option (google.api.method_signature) = "parent,requests";
96
+ }
97
+
98
+ // API to batch activate `CustomTargetingKey` objects.
99
+ rpc BatchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest)
100
+ returns (BatchActivateCustomTargetingKeysResponse) {
101
+ option (google.api.http) = {
102
+ post: "/v1/{parent=networks/*}/customTargetingKeys:batchActivate"
103
+ body: "*"
104
+ };
105
+ option (google.api.method_signature) = "parent,names";
106
+ }
107
+
108
+ // Deactivates a list of `CustomTargetingKey` objects.
109
+ rpc BatchDeactivateCustomTargetingKeys(
110
+ BatchDeactivateCustomTargetingKeysRequest)
111
+ returns (BatchDeactivateCustomTargetingKeysResponse) {
112
+ option (google.api.http) = {
113
+ post: "/v1/{parent=networks/*}/customTargetingKeys:batchDeactivate"
114
+ body: "*"
115
+ };
116
+ option (google.api.method_signature) = "parent,names";
117
+ }
56
118
  }
57
119
 
58
120
  // Request object for `GetCustomTargetingKey` method.
@@ -120,7 +182,7 @@ message ListCustomTargetingKeysResponse {
120
182
  // If a filter was included in the request, this reflects the total number
121
183
  // after the filtering is applied.
122
184
  //
123
- // `total_size` will not be calculated in the response unless it has been
185
+ // `total_size` won't be calculated in the response unless it has been
124
186
  // included in a response field mask. The response field mask can be provided
125
187
  // to the method by using the URL parameter `$fields` or `fields`, or by using
126
188
  // the HTTP/gRPC header `X-Goog-FieldMask`.
@@ -129,3 +191,131 @@ message ListCustomTargetingKeysResponse {
129
191
  // https://developers.google.com/ad-manager/api/beta/field-masks
130
192
  int32 total_size = 3;
131
193
  }
194
+
195
+ // Request object for `CreateCustomTargetingKey` method.
196
+ message CreateCustomTargetingKeyRequest {
197
+ // Required. The parent resource where this `CustomTargetingKey` will be
198
+ // created. Format: `networks/{network_code}`
199
+ string parent = 1 [
200
+ (google.api.field_behavior) = REQUIRED,
201
+ (google.api.resource_reference) = {
202
+ type: "admanager.googleapis.com/Network"
203
+ }
204
+ ];
205
+
206
+ // Required. The `CustomTargetingKey` to create.
207
+ CustomTargetingKey custom_targeting_key = 2
208
+ [(google.api.field_behavior) = REQUIRED];
209
+ }
210
+
211
+ // Request object for `BatchCreateCustomTargetingKeys` method.
212
+ message BatchCreateCustomTargetingKeysRequest {
213
+ // Required. The parent resource where `CustomTargetingKeys` will be created.
214
+ // Format: `networks/{network_code}`
215
+ // The parent field in the CreateCustomTargetingKeyRequest must match this
216
+ // field.
217
+ string parent = 1 [
218
+ (google.api.field_behavior) = REQUIRED,
219
+ (google.api.resource_reference) = {
220
+ type: "admanager.googleapis.com/Network"
221
+ }
222
+ ];
223
+
224
+ // Required. The `CustomTargetingKey` objects to create.
225
+ // A maximum of 100 objects can be created in a batch.
226
+ repeated CreateCustomTargetingKeyRequest requests = 2
227
+ [(google.api.field_behavior) = REQUIRED];
228
+ }
229
+
230
+ // Response object for `BatchCreateCustomTargetingKeys` method.
231
+ message BatchCreateCustomTargetingKeysResponse {
232
+ // The `CustomTargetingKey` objects created.
233
+ repeated CustomTargetingKey custom_targeting_keys = 1;
234
+ }
235
+
236
+ // Request object for `UpdateCustomTargetingKey` method.
237
+ message UpdateCustomTargetingKeyRequest {
238
+ // Required. The `CustomTargetingKey` to update.
239
+ //
240
+ // The `CustomTargetingKey`'s `name` is used to identify the
241
+ // `CustomTargetingKey` to update.
242
+ CustomTargetingKey custom_targeting_key = 1
243
+ [(google.api.field_behavior) = REQUIRED];
244
+
245
+ // Required. The list of fields to update.
246
+ google.protobuf.FieldMask update_mask = 2
247
+ [(google.api.field_behavior) = REQUIRED];
248
+ }
249
+
250
+ // Request object for `BatchUpdateCustomTargetingKeys` method.
251
+ message BatchUpdateCustomTargetingKeysRequest {
252
+ // Required. The parent resource where `CustomTargetingKeys` will be updated.
253
+ // Format: `networks/{network_code}`
254
+ // The parent field in the UpdateCustomTargetingKeyRequest must match this
255
+ // field.
256
+ string parent = 1 [
257
+ (google.api.field_behavior) = REQUIRED,
258
+ (google.api.resource_reference) = {
259
+ type: "admanager.googleapis.com/Network"
260
+ }
261
+ ];
262
+
263
+ // Required. The `CustomTargetingKey` objects to update.
264
+ // A maximum of 100 objects can be updated in a batch.
265
+ repeated UpdateCustomTargetingKeyRequest requests = 2
266
+ [(google.api.field_behavior) = REQUIRED];
267
+ }
268
+
269
+ // Response object for `BatchUpdateCustomTargetingKeys` method.
270
+ message BatchUpdateCustomTargetingKeysResponse {
271
+ // The `CustomTargetingKey` objects updated.
272
+ repeated CustomTargetingKey custom_targeting_keys = 1;
273
+ }
274
+
275
+ // Request object for `BatchActivateCustomTargetingKeys` method.
276
+ message BatchActivateCustomTargetingKeysRequest {
277
+ // Required. Format: `networks/{network_code}`
278
+ string parent = 1 [
279
+ (google.api.field_behavior) = REQUIRED,
280
+ (google.api.resource_reference) = {
281
+ type: "admanager.googleapis.com/Network"
282
+ }
283
+ ];
284
+
285
+ // Required. The resource names of the `CustomTargetingKey`s to activate.
286
+ // Format:
287
+ // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
288
+ repeated string names = 2 [
289
+ (google.api.field_behavior) = REQUIRED,
290
+ (google.api.resource_reference) = {
291
+ type: "admanager.googleapis.com/CustomTargetingKey"
292
+ }
293
+ ];
294
+ }
295
+
296
+ // Response object for `BatchActivateCustomTargetingKeys` method.
297
+ message BatchActivateCustomTargetingKeysResponse {}
298
+
299
+ // Request message for `BatchDeactivateCustomTargetingKeys` method.
300
+ message BatchDeactivateCustomTargetingKeysRequest {
301
+ // Required. Format: `networks/{network_code}`
302
+ string parent = 1 [
303
+ (google.api.field_behavior) = REQUIRED,
304
+ (google.api.resource_reference) = {
305
+ type: "admanager.googleapis.com/Network"
306
+ }
307
+ ];
308
+
309
+ // Required. The resource names of the `CustomTargetingKey`s to deactivate.
310
+ // Format:
311
+ // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
312
+ repeated string names = 2 [
313
+ (google.api.field_behavior) = REQUIRED,
314
+ (google.api.resource_reference) = {
315
+ type: "admanager.googleapis.com/CustomTargetingKey"
316
+ }
317
+ ];
318
+ }
319
+
320
+ // Response object for `BatchDeactivateCustomTargetingKeys` method.
321
+ message BatchDeactivateCustomTargetingKeysResponse {}
@@ -45,7 +45,7 @@ message CustomTargetingValue {
45
45
  // Required. Immutable. The resource name of the `CustomTargetingKey`.
46
46
  // Format:
47
47
  // `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
48
- string custom_targeting_key = 8 [
48
+ optional string custom_targeting_key = 8 [
49
49
  (google.api.field_behavior) = REQUIRED,
50
50
  (google.api.field_behavior) = IMMUTABLE,
51
51
  (google.api.resource_reference) = {
@@ -58,20 +58,20 @@ message CustomTargetingValue {
58
58
  // the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are
59
59
  // not data-specific; all values are treated as strings. For example, instead
60
60
  // of using "age>=18 AND <=34", try "18-34"
61
- string ad_tag_name = 4 [(google.api.field_behavior) = IMMUTABLE];
61
+ optional string ad_tag_name = 4 [(google.api.field_behavior) = IMMUTABLE];
62
62
 
63
63
  // Optional. Descriptive name for the `CustomTargetingValue`.
64
- string display_name = 5 [(google.api.field_behavior) = OPTIONAL];
64
+ optional string display_name = 5 [(google.api.field_behavior) = OPTIONAL];
65
65
 
66
66
  // Required. Immutable. The way in which the CustomTargetingValue.name strings
67
67
  // will be matched.
68
- CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType match_type = 6
69
- [
70
- (google.api.field_behavior) = IMMUTABLE,
71
- (google.api.field_behavior) = REQUIRED
72
- ];
68
+ optional CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType
69
+ match_type = 6 [
70
+ (google.api.field_behavior) = IMMUTABLE,
71
+ (google.api.field_behavior) = REQUIRED
72
+ ];
73
73
 
74
74
  // Output only. Status of the `CustomTargetingValue`.
75
- CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7
75
+ optional CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7
76
76
  [(google.api.field_behavior) = OUTPUT_ONLY];
77
77
  }
@@ -129,7 +129,7 @@ message ListCustomTargetingValuesResponse {
129
129
  // If a filter was included in the request, this reflects the total number
130
130
  // after the filtering is applied.
131
131
  //
132
- // `total_size` will not be calculated in the response unless it has been
132
+ // `total_size` won't be calculated in the response unless it has been
133
133
  // included in a response field mask. The response field mask can be provided
134
134
  // to the method by using the URL parameter `$fields` or `fields`, or by using
135
135
  // the HTTP/gRPC header `X-Goog-FieldMask`.
@@ -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 = "DeviceCapabilityMessagesProto";
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 capability.
31
+ message DeviceCapability {
32
+ option (google.api.resource) = {
33
+ type: "admanager.googleapis.com/DeviceCapability"
34
+ pattern: "networks/{network_code}/deviceCapabilities/{device_capability}"
35
+ plural: "deviceCapabilities"
36
+ singular: "deviceCapability"
37
+ };
38
+
39
+ // Identifier. The resource name of the `DeviceCapability`.
40
+ // Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}`
41
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
42
+
43
+ // Output only. The localized name of the device capability.
44
+ optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
45
+ }
@@ -0,0 +1,130 @@
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_capability_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 = "DeviceCapabilityServiceProto";
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 `DeviceCapability` objects.
34
+ service DeviceCapabilityService {
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 `DeviceCapability` object.
40
+ rpc GetDeviceCapability(GetDeviceCapabilityRequest)
41
+ returns (DeviceCapability) {
42
+ option (google.api.http) = {
43
+ get: "/v1/{name=networks/*/deviceCapabilities/*}"
44
+ };
45
+ option (google.api.method_signature) = "name";
46
+ }
47
+
48
+ // API to retrieve a list of `DeviceCapability` objects.
49
+ rpc ListDeviceCapabilities(ListDeviceCapabilitiesRequest)
50
+ returns (ListDeviceCapabilitiesResponse) {
51
+ option (google.api.http) = {
52
+ get: "/v1/{parent=networks/*}/deviceCapabilities"
53
+ };
54
+ option (google.api.method_signature) = "parent";
55
+ }
56
+ }
57
+
58
+ // Request object for `GetDeviceCapability` method.
59
+ message GetDeviceCapabilityRequest {
60
+ // Required. The resource name of the DeviceCapability.
61
+ // Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}`
62
+ string name = 1 [
63
+ (google.api.field_behavior) = REQUIRED,
64
+ (google.api.resource_reference) = {
65
+ type: "admanager.googleapis.com/DeviceCapability"
66
+ }
67
+ ];
68
+ }
69
+
70
+ // Request object for `ListDeviceCapabilities` method.
71
+ message ListDeviceCapabilitiesRequest {
72
+ // Required. The parent, which owns this collection of DeviceCapabilities.
73
+ // Format: `networks/{network_code}`
74
+ string parent = 1 [
75
+ (google.api.field_behavior) = REQUIRED,
76
+ (google.api.resource_reference) = {
77
+ type: "admanager.googleapis.com/Network"
78
+ }
79
+ ];
80
+
81
+ // Optional. The maximum number of `DeviceCapabilities` to return. The service
82
+ // may return fewer than this value. If unspecified, at most 50
83
+ // `DeviceCapabilities` will be returned. The maximum value is 1000; values
84
+ // above 1000 will be coerced to 1000.
85
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
86
+
87
+ // Optional. A page token, received from a previous `ListDeviceCapabilities`
88
+ // call. Provide this to retrieve the subsequent page.
89
+ //
90
+ // When paginating, all other parameters provided to `ListDeviceCapabilities`
91
+ // must match the call that provided the page token.
92
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
93
+
94
+ // Optional. Expression to filter the response.
95
+ // See syntax details at
96
+ // https://developers.google.com/ad-manager/api/beta/filters
97
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
98
+
99
+ // Optional. Expression to specify sorting order.
100
+ // See syntax details at
101
+ // https://developers.google.com/ad-manager/api/beta/filters#order
102
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
103
+
104
+ // Optional. Number of individual resources to skip while paginating.
105
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
106
+ }
107
+
108
+ // Response object for `ListDeviceCapabilitiesRequest` containing matching
109
+ // `DeviceCapability` objects.
110
+ message ListDeviceCapabilitiesResponse {
111
+ // The `DeviceCapability` objects from the specified network.
112
+ repeated DeviceCapability device_capabilities = 1;
113
+
114
+ // A token, which can be sent as `page_token` to retrieve the next page.
115
+ // If this field is omitted, there are no subsequent pages.
116
+ string next_page_token = 2;
117
+
118
+ // Total number of `DeviceCapability` objects.
119
+ // If a filter was included in the request, this reflects the total number
120
+ // after the filtering is applied.
121
+ //
122
+ // `total_size` won't be calculated in the response unless it has been
123
+ // included in a response field mask. The response field mask can be provided
124
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
125
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
126
+ //
127
+ // For more information, see
128
+ // https://developers.google.com/ad-manager/api/beta/field-masks
129
+ int32 total_size = 3;
130
+ }
@@ -80,7 +80,7 @@ message ListDeviceCategoriesRequest {
80
80
  // Optional. The maximum number of `DeviceCategories` to return. The service
81
81
  // may return fewer than this value. If unspecified, at most 50
82
82
  // `DeviceCategories` will be returned. The maximum value is 1000; values
83
- // above 1000 will be coerced to 1000.
83
+ // greater than 1000 will be coerced to 1000.
84
84
  int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
85
85
 
86
86
  // Optional. A page token, received from a previous `ListDeviceCategories`
@@ -118,7 +118,7 @@ message ListDeviceCategoriesResponse {
118
118
  // If a filter was included in the request, this reflects the total number
119
119
  // after the filtering is applied.
120
120
  //
121
- // `total_size` will not be calculated in the response unless it has been
121
+ // `total_size` won't be calculated in the response unless it has been
122
122
  // included in a response field mask. The response field mask can be provided
123
123
  // to the method by using the URL parameter `$fields` or `fields`, or by using
124
124
  // the HTTP/gRPC header `X-Goog-FieldMask`.
@@ -0,0 +1,46 @@
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 = "DeviceManufacturerMessagesProto";
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 manufacturer.
31
+ message DeviceManufacturer {
32
+ option (google.api.resource) = {
33
+ type: "admanager.googleapis.com/DeviceManufacturer"
34
+ pattern: "networks/{network_code}/deviceManufacturers/{device_manufacturer}"
35
+ plural: "deviceManufacturers"
36
+ singular: "deviceManufacturer"
37
+ };
38
+
39
+ // Identifier. The resource name of the `DeviceManufacturer`.
40
+ // Format:
41
+ // `networks/{network_code}/deviceManufacturers/{device_manufacturer}`
42
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
43
+
44
+ // Output only. The localized name of the device manufacturer.
45
+ optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
46
+ }
@@ -0,0 +1,131 @@
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_manufacturer_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 = "DeviceManufacturerServiceProto";
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 `DeviceManufacturer` objects.
34
+ service DeviceManufacturerService {
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 `DeviceManufacturer` object.
40
+ rpc GetDeviceManufacturer(GetDeviceManufacturerRequest)
41
+ returns (DeviceManufacturer) {
42
+ option (google.api.http) = {
43
+ get: "/v1/{name=networks/*/deviceManufacturers/*}"
44
+ };
45
+ option (google.api.method_signature) = "name";
46
+ }
47
+
48
+ // API to retrieve a list of `DeviceManufacturer` objects.
49
+ rpc ListDeviceManufacturers(ListDeviceManufacturersRequest)
50
+ returns (ListDeviceManufacturersResponse) {
51
+ option (google.api.http) = {
52
+ get: "/v1/{parent=networks/*}/deviceManufacturers"
53
+ };
54
+ option (google.api.method_signature) = "parent";
55
+ }
56
+ }
57
+
58
+ // Request object for `GetDeviceManufacturer` method.
59
+ message GetDeviceManufacturerRequest {
60
+ // Required. The resource name of the DeviceManufacturer.
61
+ // Format:
62
+ // `networks/{network_code}/deviceManufacturers/{device_manufacturer_id}`
63
+ string name = 1 [
64
+ (google.api.field_behavior) = REQUIRED,
65
+ (google.api.resource_reference) = {
66
+ type: "admanager.googleapis.com/DeviceManufacturer"
67
+ }
68
+ ];
69
+ }
70
+
71
+ // Request object for `ListDeviceManufacturers` method.
72
+ message ListDeviceManufacturersRequest {
73
+ // Required. The parent, which owns this collection of DeviceManufacturers.
74
+ // 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 `DeviceManufacturers` to return. The
83
+ // service may return fewer than this value. If unspecified, at most 50
84
+ // `DeviceManufacturers` will be returned. The maximum value is 1000; values
85
+ // 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 `ListDeviceManufacturers`
89
+ // call. Provide this to retrieve the subsequent page.
90
+ //
91
+ // When paginating, all other parameters provided to `ListDeviceManufacturers`
92
+ // must match the call that provided the page token.
93
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
94
+
95
+ // Optional. Expression to filter the response.
96
+ // See syntax details at
97
+ // https://developers.google.com/ad-manager/api/beta/filters
98
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
99
+
100
+ // Optional. Expression to specify sorting order.
101
+ // See syntax details at
102
+ // https://developers.google.com/ad-manager/api/beta/filters#order
103
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
104
+
105
+ // Optional. Number of individual resources to skip while paginating.
106
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
107
+ }
108
+
109
+ // Response object for `ListDeviceManufacturersRequest` containing matching
110
+ // `DeviceManufacturer` objects.
111
+ message ListDeviceManufacturersResponse {
112
+ // The `DeviceManufacturer` objects from the specified network.
113
+ repeated DeviceManufacturer device_manufacturers = 1;
114
+
115
+ // A token, which can be sent as `page_token` to retrieve the next page.
116
+ // If this field is omitted, there are no subsequent pages.
117
+ string next_page_token = 2;
118
+
119
+ // Total number of `DeviceManufacturer` objects.
120
+ // If a filter was included in the request, this reflects the total number
121
+ // after the filtering is applied.
122
+ //
123
+ // `total_size` won't be calculated in the response unless it has been
124
+ // included in a response field mask. The response field mask can be provided
125
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
126
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
127
+ //
128
+ // For more information, see
129
+ // https://developers.google.com/ad-manager/api/beta/field-masks
130
+ int32 total_size = 3;
131
+ }