@google-ads/admanager 0.4.0 → 0.5.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 (276) hide show
  1. package/README.md +152 -173
  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 +237 -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 +6 -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 +1 -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/mobile_carrier_messages.proto +48 -0
  53. package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
  54. package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
  55. package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
  56. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
  57. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
  58. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
  59. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
  60. package/build/protos/google/ads/admanager/v1/order_messages.proto +7 -8
  61. package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
  62. package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
  63. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
  64. package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
  65. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
  66. package/build/protos/google/ads/admanager/v1/report_definition.proto +12478 -0
  67. package/build/protos/google/ads/admanager/v1/report_messages.proto +118 -3410
  68. package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
  69. package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
  70. package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
  71. package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
  72. package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
  73. package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
  74. package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
  75. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
  76. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
  77. package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
  78. package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
  79. package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
  80. package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
  81. package/build/protos/protos.d.ts +30764 -11410
  82. package/build/protos/protos.js +93644 -43318
  83. package/build/protos/protos.json +9909 -3734
  84. package/build/src/index.d.ts +58 -1
  85. package/build/src/index.js +40 -2
  86. package/build/src/index.js.map +1 -1
  87. package/build/src/v1/ad_break_service_client.d.ts +441 -0
  88. package/build/src/v1/ad_break_service_client.js +624 -0
  89. package/build/src/v1/ad_break_service_client.js.map +1 -1
  90. package/build/src/v1/ad_break_service_proto_list.json +49 -1
  91. package/build/src/v1/ad_review_center_ad_service_client.d.ts +1607 -0
  92. package/build/src/v1/ad_review_center_ad_service_client.js +2291 -0
  93. package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
  94. package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
  95. package/build/src/v1/ad_review_center_ad_service_proto_list.json +122 -0
  96. package/build/src/v1/ad_unit_service_client.d.ts +453 -12
  97. package/build/src/v1/ad_unit_service_client.js +632 -8
  98. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  99. package/build/src/v1/ad_unit_service_proto_list.json +49 -1
  100. package/build/src/v1/application_service_client.d.ts +1345 -0
  101. package/build/src/v1/application_service_client.js +1993 -0
  102. package/build/src/v1/application_service_client.js.map +1 -0
  103. package/build/src/v1/application_service_client_config.json +34 -0
  104. package/build/src/v1/application_service_proto_list.json +122 -0
  105. package/build/src/v1/audience_segment_service_client.d.ts +1345 -0
  106. package/build/src/v1/audience_segment_service_client.js +1993 -0
  107. package/build/src/v1/audience_segment_service_client.js.map +1 -0
  108. package/build/src/v1/audience_segment_service_client_config.json +34 -0
  109. package/build/src/v1/audience_segment_service_proto_list.json +122 -0
  110. package/build/src/v1/bandwidth_group_service_client.d.ts +447 -6
  111. package/build/src/v1/bandwidth_group_service_client.js +628 -4
  112. package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
  113. package/build/src/v1/bandwidth_group_service_proto_list.json +49 -1
  114. package/build/src/v1/browser_language_service_client.d.ts +1345 -0
  115. package/build/src/v1/browser_language_service_client.js +1993 -0
  116. package/build/src/v1/browser_language_service_client.js.map +1 -0
  117. package/build/src/v1/browser_language_service_client_config.json +34 -0
  118. package/build/src/v1/browser_language_service_proto_list.json +122 -0
  119. package/build/src/v1/browser_service_client.d.ts +1345 -0
  120. package/build/src/v1/browser_service_client.js +1993 -0
  121. package/build/src/v1/browser_service_client.js.map +1 -0
  122. package/build/src/v1/browser_service_client_config.json +34 -0
  123. package/build/src/v1/browser_service_proto_list.json +122 -0
  124. package/build/src/v1/cms_metadata_key_service_client.d.ts +1345 -0
  125. package/build/src/v1/cms_metadata_key_service_client.js +1993 -0
  126. package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
  127. package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
  128. package/build/src/v1/cms_metadata_key_service_proto_list.json +122 -0
  129. package/build/src/v1/cms_metadata_value_service_client.d.ts +1345 -0
  130. package/build/src/v1/cms_metadata_value_service_client.js +1993 -0
  131. package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
  132. package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
  133. package/build/src/v1/cms_metadata_value_service_proto_list.json +122 -0
  134. package/build/src/v1/company_service_client.d.ts +447 -6
  135. package/build/src/v1/company_service_client.js +628 -4
  136. package/build/src/v1/company_service_client.js.map +1 -1
  137. package/build/src/v1/company_service_proto_list.json +49 -1
  138. package/build/src/v1/contact_service_client.d.ts +1456 -0
  139. package/build/src/v1/contact_service_client.js +2137 -0
  140. package/build/src/v1/contact_service_client.js.map +1 -0
  141. package/build/src/v1/contact_service_client_config.json +50 -0
  142. package/build/src/v1/contact_service_proto_list.json +122 -0
  143. package/build/src/v1/content_bundle_service_client.d.ts +1345 -0
  144. package/build/src/v1/content_bundle_service_client.js +1993 -0
  145. package/build/src/v1/content_bundle_service_client.js.map +1 -0
  146. package/build/src/v1/content_bundle_service_client_config.json +34 -0
  147. package/build/src/v1/content_bundle_service_proto_list.json +122 -0
  148. package/build/src/v1/content_label_service_client.d.ts +1345 -0
  149. package/build/src/v1/content_label_service_client.js +1993 -0
  150. package/build/src/v1/content_label_service_client.js.map +1 -0
  151. package/build/src/v1/content_label_service_client_config.json +34 -0
  152. package/build/src/v1/content_label_service_proto_list.json +122 -0
  153. package/build/src/v1/content_service_client.d.ts +1345 -0
  154. package/build/src/v1/content_service_client.js +1993 -0
  155. package/build/src/v1/content_service_client.js.map +1 -0
  156. package/build/src/v1/content_service_client_config.json +34 -0
  157. package/build/src/v1/content_service_proto_list.json +122 -0
  158. package/build/src/v1/creative_template_service_client.d.ts +1345 -0
  159. package/build/src/v1/creative_template_service_client.js +1993 -0
  160. package/build/src/v1/creative_template_service_client.js.map +1 -0
  161. package/build/src/v1/creative_template_service_client_config.json +34 -0
  162. package/build/src/v1/creative_template_service_proto_list.json +122 -0
  163. package/build/src/v1/custom_field_service_client.d.ts +610 -6
  164. package/build/src/v1/custom_field_service_client.js +845 -5
  165. package/build/src/v1/custom_field_service_client.js.map +1 -1
  166. package/build/src/v1/custom_field_service_client_config.json +24 -0
  167. package/build/src/v1/custom_field_service_proto_list.json +49 -1
  168. package/build/src/v1/custom_targeting_key_service_client.d.ts +441 -0
  169. package/build/src/v1/custom_targeting_key_service_client.js +624 -0
  170. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  171. package/build/src/v1/custom_targeting_key_service_proto_list.json +49 -1
  172. package/build/src/v1/custom_targeting_value_service_client.d.ts +441 -0
  173. package/build/src/v1/custom_targeting_value_service_client.js +624 -0
  174. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  175. package/build/src/v1/custom_targeting_value_service_proto_list.json +49 -1
  176. package/build/src/v1/device_capability_service_client.d.ts +1345 -0
  177. package/build/src/v1/device_capability_service_client.js +1993 -0
  178. package/build/src/v1/device_capability_service_client.js.map +1 -0
  179. package/build/src/v1/device_capability_service_client_config.json +34 -0
  180. package/build/src/v1/device_capability_service_proto_list.json +122 -0
  181. package/build/src/v1/device_category_service_client.d.ts +444 -3
  182. package/build/src/v1/device_category_service_client.js +626 -2
  183. package/build/src/v1/device_category_service_client.js.map +1 -1
  184. package/build/src/v1/device_category_service_proto_list.json +49 -1
  185. package/build/src/v1/device_manufacturer_service_client.d.ts +1346 -0
  186. package/build/src/v1/device_manufacturer_service_client.js +1993 -0
  187. package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
  188. package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
  189. package/build/src/v1/device_manufacturer_service_proto_list.json +122 -0
  190. package/build/src/v1/entity_signals_mapping_service_client.d.ts +441 -0
  191. package/build/src/v1/entity_signals_mapping_service_client.js +624 -0
  192. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  193. package/build/src/v1/entity_signals_mapping_service_proto_list.json +49 -1
  194. package/build/src/v1/gapic_metadata.json +1026 -4
  195. package/build/src/v1/geo_target_service_client.d.ts +447 -6
  196. package/build/src/v1/geo_target_service_client.js +628 -4
  197. package/build/src/v1/geo_target_service_client.js.map +1 -1
  198. package/build/src/v1/geo_target_service_proto_list.json +49 -1
  199. package/build/src/v1/index.d.ts +19 -0
  200. package/build/src/v1/index.js +39 -1
  201. package/build/src/v1/index.js.map +1 -1
  202. package/build/src/v1/mobile_carrier_service_client.d.ts +1345 -0
  203. package/build/src/v1/mobile_carrier_service_client.js +1993 -0
  204. package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
  205. package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
  206. package/build/src/v1/mobile_carrier_service_proto_list.json +122 -0
  207. package/build/src/v1/mobile_device_service_client.d.ts +1345 -0
  208. package/build/src/v1/mobile_device_service_client.js +1993 -0
  209. package/build/src/v1/mobile_device_service_client.js.map +1 -0
  210. package/build/src/v1/mobile_device_service_client_config.json +34 -0
  211. package/build/src/v1/mobile_device_service_proto_list.json +122 -0
  212. package/build/src/v1/mobile_device_submodel_service_client.d.ts +1352 -0
  213. package/build/src/v1/mobile_device_submodel_service_client.js +1997 -0
  214. package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
  215. package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
  216. package/build/src/v1/mobile_device_submodel_service_proto_list.json +122 -0
  217. package/build/src/v1/network_service_client.d.ts +441 -0
  218. package/build/src/v1/network_service_client.js +624 -0
  219. package/build/src/v1/network_service_client.js.map +1 -1
  220. package/build/src/v1/network_service_proto_list.json +49 -1
  221. package/build/src/v1/operating_system_service_client.d.ts +444 -3
  222. package/build/src/v1/operating_system_service_client.js +626 -2
  223. package/build/src/v1/operating_system_service_client.js.map +1 -1
  224. package/build/src/v1/operating_system_service_proto_list.json +49 -1
  225. package/build/src/v1/operating_system_version_service_client.d.ts +444 -3
  226. package/build/src/v1/operating_system_version_service_client.js +626 -2
  227. package/build/src/v1/operating_system_version_service_client.js.map +1 -1
  228. package/build/src/v1/operating_system_version_service_proto_list.json +49 -1
  229. package/build/src/v1/order_service_client.d.ts +447 -6
  230. package/build/src/v1/order_service_client.js +628 -4
  231. package/build/src/v1/order_service_client.js.map +1 -1
  232. package/build/src/v1/order_service_proto_list.json +49 -1
  233. package/build/src/v1/placement_service_client.d.ts +638 -6
  234. package/build/src/v1/placement_service_client.js +937 -61
  235. package/build/src/v1/placement_service_client.js.map +1 -1
  236. package/build/src/v1/placement_service_client_config.json +28 -0
  237. package/build/src/v1/placement_service_proto_list.json +49 -1
  238. package/build/src/v1/private_auction_deal_service_client.d.ts +444 -3
  239. package/build/src/v1/private_auction_deal_service_client.js +626 -2
  240. package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
  241. package/build/src/v1/private_auction_deal_service_proto_list.json +49 -1
  242. package/build/src/v1/private_auction_service_client.d.ts +444 -3
  243. package/build/src/v1/private_auction_service_client.js +626 -2
  244. package/build/src/v1/private_auction_service_client.js.map +1 -1
  245. package/build/src/v1/private_auction_service_proto_list.json +49 -1
  246. package/build/src/v1/programmatic_buyer_service_client.d.ts +441 -0
  247. package/build/src/v1/programmatic_buyer_service_client.js +624 -0
  248. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
  249. package/build/src/v1/programmatic_buyer_service_proto_list.json +49 -1
  250. package/build/src/v1/report_service_client.d.ts +461 -17
  251. package/build/src/v1/report_service_client.js +634 -8
  252. package/build/src/v1/report_service_client.js.map +1 -1
  253. package/build/src/v1/report_service_proto_list.json +49 -1
  254. package/build/src/v1/role_service_client.d.ts +447 -3
  255. package/build/src/v1/role_service_client.js +628 -2
  256. package/build/src/v1/role_service_client.js.map +1 -1
  257. package/build/src/v1/role_service_proto_list.json +49 -1
  258. package/build/src/v1/site_service_client.d.ts +1506 -0
  259. package/build/src/v1/site_service_client.js +2209 -0
  260. package/build/src/v1/site_service_client.js.map +1 -0
  261. package/build/src/v1/site_service_client_config.json +58 -0
  262. package/build/src/v1/site_service_proto_list.json +122 -0
  263. package/build/src/v1/taxonomy_category_service_client.d.ts +441 -0
  264. package/build/src/v1/taxonomy_category_service_client.js +624 -0
  265. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  266. package/build/src/v1/taxonomy_category_service_proto_list.json +49 -1
  267. package/build/src/v1/team_service_client.d.ts +1508 -0
  268. package/build/src/v1/team_service_client.js +2209 -0
  269. package/build/src/v1/team_service_client.js.map +1 -0
  270. package/build/src/v1/team_service_client_config.json +58 -0
  271. package/build/src/v1/team_service_proto_list.json +122 -0
  272. package/build/src/v1/user_service_client.d.ts +441 -0
  273. package/build/src/v1/user_service_client.js +624 -0
  274. package/build/src/v1/user_service_client.js.map +1 -1
  275. package/build/src/v1/user_service_proto_list.json +49 -1
  276. package/package.json +1 -1
@@ -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";
@@ -52,6 +53,64 @@ service CustomFieldService {
52
53
  };
53
54
  option (google.api.method_signature) = "parent";
54
55
  }
56
+
57
+ // API to create a `CustomField` object.
58
+ rpc CreateCustomField(CreateCustomFieldRequest) returns (CustomField) {
59
+ option (google.api.http) = {
60
+ post: "/v1/{parent=networks/*}/customFields"
61
+ body: "custom_field"
62
+ };
63
+ option (google.api.method_signature) = "parent,custom_field";
64
+ }
65
+
66
+ // API to batch create `CustomField` objects.
67
+ rpc BatchCreateCustomFields(BatchCreateCustomFieldsRequest)
68
+ returns (BatchCreateCustomFieldsResponse) {
69
+ option (google.api.http) = {
70
+ post: "/v1/{parent=networks/*}/customFields:batchCreate"
71
+ body: "*"
72
+ };
73
+ option (google.api.method_signature) = "parent,requests";
74
+ }
75
+
76
+ // API to update a `CustomField` object.
77
+ rpc UpdateCustomField(UpdateCustomFieldRequest) returns (CustomField) {
78
+ option (google.api.http) = {
79
+ patch: "/v1/{custom_field.name=networks/*/customFields/*}"
80
+ body: "custom_field"
81
+ };
82
+ option (google.api.method_signature) = "custom_field,update_mask";
83
+ }
84
+
85
+ // API to batch update `CustomField` objects.
86
+ rpc BatchUpdateCustomFields(BatchUpdateCustomFieldsRequest)
87
+ returns (BatchUpdateCustomFieldsResponse) {
88
+ option (google.api.http) = {
89
+ post: "/v1/{parent=networks/*}/customFields:batchUpdate"
90
+ body: "*"
91
+ };
92
+ option (google.api.method_signature) = "parent,requests";
93
+ }
94
+
95
+ // Activates a list of `CustomField` objects.
96
+ rpc BatchActivateCustomFields(BatchActivateCustomFieldsRequest)
97
+ returns (BatchActivateCustomFieldsResponse) {
98
+ option (google.api.http) = {
99
+ post: "/v1/{parent=networks/*}/customFields:batchActivate"
100
+ body: "*"
101
+ };
102
+ option (google.api.method_signature) = "parent,names";
103
+ }
104
+
105
+ // Deactivates a list of `CustomField` objects.
106
+ rpc BatchDeactivateCustomFields(BatchDeactivateCustomFieldsRequest)
107
+ returns (BatchDeactivateCustomFieldsResponse) {
108
+ option (google.api.http) = {
109
+ post: "/v1/{parent=networks/*}/customFields:batchDeactivate"
110
+ body: "*"
111
+ };
112
+ option (google.api.method_signature) = "parent,names";
113
+ }
55
114
  }
56
115
 
57
116
  // Request object for `GetCustomField` method.
@@ -79,8 +138,8 @@ message ListCustomFieldsRequest {
79
138
 
80
139
  // Optional. The maximum number of `CustomFields` to return. The service may
81
140
  // return fewer than this value. If unspecified, at most 50 `CustomFields`
82
- // will be returned. The maximum value is 1000; values above 1000 will be
83
- // coerced to 1000.
141
+ // will be returned. The maximum value is 1000; values greater than 1000 will
142
+ // be coerced to 1000.
84
143
  int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
85
144
 
86
145
  // Optional. A page token, received from a previous `ListCustomFields` call.
@@ -118,7 +177,7 @@ message ListCustomFieldsResponse {
118
177
  // If a filter was included in the request, this reflects the total number
119
178
  // after the filtering is applied.
120
179
  //
121
- // `total_size` will not be calculated in the response unless it has been
180
+ // `total_size` won't be calculated in the response unless it has been
122
181
  // included in a response field mask. The response field mask can be provided
123
182
  // to the method by using the URL parameter `$fields` or `fields`, or by using
124
183
  // the HTTP/gRPC header `X-Goog-FieldMask`.
@@ -127,3 +186,126 @@ message ListCustomFieldsResponse {
127
186
  // https://developers.google.com/ad-manager/api/beta/field-masks
128
187
  int32 total_size = 3;
129
188
  }
189
+
190
+ // Request object for `CreateCustomField` method.
191
+ message CreateCustomFieldRequest {
192
+ // Required. The parent resource where this `CustomField` will be created.
193
+ // Format: `networks/{network_code}`
194
+ string parent = 1 [
195
+ (google.api.field_behavior) = REQUIRED,
196
+ (google.api.resource_reference) = {
197
+ type: "admanager.googleapis.com/Network"
198
+ }
199
+ ];
200
+
201
+ // Required. The `CustomField` to create.
202
+ CustomField custom_field = 2 [(google.api.field_behavior) = REQUIRED];
203
+ }
204
+
205
+ // Request object for `BatchCreateCustomFields` method.
206
+ message BatchCreateCustomFieldsRequest {
207
+ // Required. The parent resource where `CustomFields` will be created.
208
+ // Format: `networks/{network_code}`
209
+ // The parent field in the CreateCustomFieldRequest must match this
210
+ // field.
211
+ string parent = 1 [
212
+ (google.api.field_behavior) = REQUIRED,
213
+ (google.api.resource_reference) = {
214
+ type: "admanager.googleapis.com/Network"
215
+ }
216
+ ];
217
+
218
+ // Required. The `CustomField` objects to create.
219
+ // A maximum of 100 objects can be created in a batch.
220
+ repeated CreateCustomFieldRequest requests = 2
221
+ [(google.api.field_behavior) = REQUIRED];
222
+ }
223
+
224
+ // Response object for `BatchCreateCustomFields` method.
225
+ message BatchCreateCustomFieldsResponse {
226
+ // The `CustomField` objects created.
227
+ repeated CustomField custom_fields = 1;
228
+ }
229
+
230
+ // Request object for `UpdateCustomField` method.
231
+ message UpdateCustomFieldRequest {
232
+ // Required. The `CustomField` to update.
233
+ //
234
+ // The `CustomField`'s `name` is used to identify the `CustomField` to update.
235
+ CustomField custom_field = 1 [(google.api.field_behavior) = REQUIRED];
236
+
237
+ // Required. The list of fields to update.
238
+ google.protobuf.FieldMask update_mask = 2
239
+ [(google.api.field_behavior) = REQUIRED];
240
+ }
241
+
242
+ // Request object for `BatchUpdateCustomFields` method.
243
+ message BatchUpdateCustomFieldsRequest {
244
+ // Required. The parent resource where `CustomFields` will be updated.
245
+ // Format: `networks/{network_code}`
246
+ // The parent field in the UpdateCustomFieldRequest must match this
247
+ // field.
248
+ string parent = 1 [
249
+ (google.api.field_behavior) = REQUIRED,
250
+ (google.api.resource_reference) = {
251
+ type: "admanager.googleapis.com/Network"
252
+ }
253
+ ];
254
+
255
+ // Required. The `CustomField` objects to update.
256
+ // A maximum of 100 objects can be updated in a batch.
257
+ repeated UpdateCustomFieldRequest requests = 2
258
+ [(google.api.field_behavior) = REQUIRED];
259
+ }
260
+
261
+ // Response object for `BatchUpdateCustomFields` method.
262
+ message BatchUpdateCustomFieldsResponse {
263
+ // The `CustomField` objects updated.
264
+ repeated CustomField custom_fields = 1;
265
+ }
266
+
267
+ // Request message for `BatchActivateCustomFields` method.
268
+ message BatchActivateCustomFieldsRequest {
269
+ // Required. Format: `networks/{network_code}`
270
+ string parent = 1 [
271
+ (google.api.field_behavior) = REQUIRED,
272
+ (google.api.resource_reference) = {
273
+ type: "admanager.googleapis.com/Network"
274
+ }
275
+ ];
276
+
277
+ // Required. The resource names of the `CustomField` objects to activate.
278
+ // Format: `networks/{network_code}/customFields/{custom_field_id}`
279
+ repeated string names = 3 [
280
+ (google.api.field_behavior) = REQUIRED,
281
+ (google.api.resource_reference) = {
282
+ type: "admanager.googleapis.com/CustomField"
283
+ }
284
+ ];
285
+ }
286
+
287
+ // Response object for `BatchActivateCustomFields` method.
288
+ message BatchActivateCustomFieldsResponse {}
289
+
290
+ // Request message for `BatchDeactivateCustomFields` method.
291
+ message BatchDeactivateCustomFieldsRequest {
292
+ // Required. Format: `networks/{network_code}`
293
+ string parent = 1 [
294
+ (google.api.field_behavior) = REQUIRED,
295
+ (google.api.resource_reference) = {
296
+ type: "admanager.googleapis.com/Network"
297
+ }
298
+ ];
299
+
300
+ // Required. The resource names of the `CustomField` objects to deactivate.
301
+ // Format: `networks/{network_code}/customFields/{custom_field_id}`
302
+ repeated string names = 3 [
303
+ (google.api.field_behavior) = REQUIRED,
304
+ (google.api.resource_reference) = {
305
+ type: "admanager.googleapis.com/CustomField"
306
+ }
307
+ ];
308
+ }
309
+
310
+ // Response object for `BatchDeactivateCustomFields` method.
311
+ message BatchDeactivateCustomFieldsResponse {}
@@ -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
  }
@@ -120,7 +120,7 @@ message ListCustomTargetingKeysResponse {
120
120
  // If a filter was included in the request, this reflects the total number
121
121
  // after the filtering is applied.
122
122
  //
123
- // `total_size` will not be calculated in the response unless it has been
123
+ // `total_size` won't be calculated in the response unless it has been
124
124
  // included in a response field mask. The response field mask can be provided
125
125
  // to the method by using the URL parameter `$fields` or `fields`, or by using
126
126
  // the HTTP/gRPC header `X-Goog-FieldMask`.
@@ -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
+ }