@google-ads/admanager 0.5.0 → 0.6.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 (344) hide show
  1. package/README.md +40 -2
  2. package/build/protos/google/ads/admanager/v1/ad_break_messages.proto +1 -1
  3. package/build/protos/google/ads/admanager/v1/ad_break_service.proto +5 -4
  4. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +26 -1
  5. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +9 -1
  6. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +22 -9
  7. package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +1 -1
  8. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +4 -3
  9. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +237 -4
  10. package/build/protos/google/ads/admanager/v1/application_enums.proto +156 -0
  11. package/build/protos/google/ads/admanager/v1/application_messages.proto +51 -4
  12. package/build/protos/google/ads/admanager/v1/application_service.proto +198 -4
  13. package/build/protos/google/ads/admanager/v1/applied_label.proto +1 -1
  14. package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +1 -1
  15. package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +10 -4
  16. package/build/protos/google/ads/admanager/v1/bandwidth_group_messages.proto +1 -1
  17. package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +11 -4
  18. package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +1 -1
  19. package/build/protos/google/ads/admanager/v1/browser_language_service.proto +11 -4
  20. package/build/protos/google/ads/admanager/v1/browser_messages.proto +1 -1
  21. package/build/protos/google/ads/admanager/v1/browser_service.proto +13 -4
  22. package/build/protos/google/ads/admanager/v1/child_publisher_messages.proto +43 -0
  23. package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +1 -1
  24. package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +1 -1
  25. package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +81 -4
  26. package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +1 -1
  27. package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +1 -1
  28. package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +85 -6
  29. package/build/protos/google/ads/admanager/v1/company_enums.proto +1 -1
  30. package/build/protos/google/ads/admanager/v1/company_messages.proto +36 -23
  31. package/build/protos/google/ads/admanager/v1/company_service.proto +22 -4
  32. package/build/protos/google/ads/admanager/v1/contact_enums.proto +1 -1
  33. package/build/protos/google/ads/admanager/v1/contact_messages.proto +1 -1
  34. package/build/protos/google/ads/admanager/v1/contact_service.proto +22 -6
  35. package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +1 -1
  36. package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +11 -4
  37. package/build/protos/google/ads/admanager/v1/content_label_messages.proto +1 -1
  38. package/build/protos/google/ads/admanager/v1/content_label_service.proto +11 -4
  39. package/build/protos/google/ads/admanager/v1/content_messages.proto +2 -2
  40. package/build/protos/google/ads/admanager/v1/content_service.proto +11 -4
  41. package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +1 -1
  42. package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +1 -1
  43. package/build/protos/google/ads/admanager/v1/creative_template_service.proto +18 -4
  44. package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +1 -1
  45. package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +1 -1
  46. package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +3 -4
  47. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +20 -6
  48. package/build/protos/google/ads/admanager/v1/custom_field_value.proto +1 -1
  49. package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +1 -1
  50. package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +3 -3
  51. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +205 -4
  52. package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +1 -1
  53. package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +1 -1
  54. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +15 -4
  55. package/build/protos/google/ads/admanager/v1/deal_buyer_permission_type_enum.proto +1 -1
  56. package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +1 -1
  57. package/build/protos/google/ads/admanager/v1/device_capability_service.proto +11 -4
  58. package/build/protos/google/ads/admanager/v1/device_category_messages.proto +1 -1
  59. package/build/protos/google/ads/admanager/v1/device_category_service.proto +11 -4
  60. package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +1 -1
  61. package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +11 -4
  62. package/build/protos/google/ads/admanager/v1/early_ad_break_notification_enums.proto +1 -1
  63. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +3 -3
  64. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +5 -4
  65. package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +1 -1
  66. package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +1 -1
  67. package/build/protos/google/ads/admanager/v1/frequency_cap.proto +1 -1
  68. package/build/protos/google/ads/admanager/v1/geo_target_messages.proto +1 -1
  69. package/build/protos/google/ads/admanager/v1/geo_target_service.proto +14 -4
  70. package/build/protos/google/ads/admanager/v1/goal.proto +57 -0
  71. package/build/protos/google/ads/admanager/v1/goal_enums.proto +138 -0
  72. package/build/protos/google/ads/admanager/v1/label_enums.proto +56 -0
  73. package/build/protos/google/ads/admanager/v1/label_messages.proto +19 -1
  74. package/build/protos/google/ads/admanager/v1/label_service.proto +313 -0
  75. package/build/protos/google/ads/admanager/v1/line_item_enums.proto +86 -0
  76. package/build/protos/google/ads/admanager/v1/line_item_messages.proto +94 -0
  77. package/build/protos/google/ads/admanager/v1/line_item_service.proto +140 -0
  78. package/build/protos/google/ads/admanager/v1/{company_type_enum.proto → linked_device_enums.proto} +15 -24
  79. package/build/protos/google/ads/admanager/v1/linked_device_messages.proto +58 -0
  80. package/build/protos/google/ads/admanager/v1/linked_device_service.proto +138 -0
  81. package/build/protos/google/ads/admanager/v1/live_stream_event_messages.proto +1 -1
  82. package/build/protos/google/ads/admanager/v1/mcm_earnings_messages.proto +124 -0
  83. package/build/protos/google/ads/admanager/v1/mcm_earnings_service.proto +115 -0
  84. package/build/protos/google/ads/admanager/v1/mcm_enums.proto +97 -0
  85. package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +1 -1
  86. package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +12 -4
  87. package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +1 -1
  88. package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +12 -4
  89. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +1 -1
  90. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +12 -4
  91. package/build/protos/google/ads/admanager/v1/network_messages.proto +9 -9
  92. package/build/protos/google/ads/admanager/v1/network_service.proto +35 -3
  93. package/build/protos/google/ads/admanager/v1/operating_system_messages.proto +1 -1
  94. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +11 -4
  95. package/build/protos/google/ads/admanager/v1/operating_system_version_messages.proto +1 -1
  96. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +13 -4
  97. package/build/protos/google/ads/admanager/v1/order_enums.proto +1 -1
  98. package/build/protos/google/ads/admanager/v1/order_messages.proto +9 -7
  99. package/build/protos/google/ads/admanager/v1/order_service.proto +28 -4
  100. package/build/protos/google/ads/admanager/v1/placement_enums.proto +1 -1
  101. package/build/protos/google/ads/admanager/v1/placement_messages.proto +4 -3
  102. package/build/protos/google/ads/admanager/v1/placement_service.proto +18 -6
  103. package/build/protos/google/ads/admanager/v1/private_auction_deal_messages.proto +3 -3
  104. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +24 -6
  105. package/build/protos/google/ads/admanager/v1/private_auction_messages.proto +3 -3
  106. package/build/protos/google/ads/admanager/v1/private_auction_service.proto +5 -4
  107. package/build/protos/google/ads/admanager/v1/private_marketplace_enums.proto +4 -1
  108. package/build/protos/google/ads/admanager/v1/programmatic_buyer_messages.proto +1 -1
  109. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +17 -4
  110. package/build/protos/google/ads/admanager/v1/report_definition.proto +2898 -1001
  111. package/build/protos/google/ads/admanager/v1/report_messages.proto +10 -3
  112. package/build/protos/google/ads/admanager/v1/report_service.proto +5 -4
  113. package/build/protos/google/ads/admanager/v1/report_value.proto +1 -1
  114. package/build/protos/google/ads/admanager/v1/request_platform_enum.proto +1 -1
  115. package/build/protos/google/ads/admanager/v1/rich_media_ads_company_enums.proto +53 -0
  116. package/build/protos/google/ads/admanager/v1/rich_media_ads_company_messages.proto +57 -0
  117. package/build/protos/google/ads/admanager/v1/rich_media_ads_company_service.proto +143 -0
  118. package/build/protos/google/ads/admanager/v1/role_enums.proto +1 -1
  119. package/build/protos/google/ads/admanager/v1/role_messages.proto +4 -3
  120. package/build/protos/google/ads/admanager/v1/role_service.proto +14 -4
  121. package/build/protos/google/ads/admanager/v1/site_enums.proto +1 -1
  122. package/build/protos/google/ads/admanager/v1/site_messages.proto +1 -1
  123. package/build/protos/google/ads/admanager/v1/site_service.proto +16 -6
  124. package/build/protos/google/ads/admanager/v1/size.proto +1 -1
  125. package/build/protos/google/ads/admanager/v1/size_type_enum.proto +1 -1
  126. package/build/protos/google/ads/admanager/v1/targeted_video_bumper_type_enum.proto +1 -1
  127. package/build/protos/google/ads/admanager/v1/targeting.proto +4 -4
  128. package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +3 -3
  129. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +3 -2
  130. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +1 -1
  131. package/build/protos/google/ads/admanager/v1/team_enums.proto +1 -1
  132. package/build/protos/google/ads/admanager/v1/team_messages.proto +1 -1
  133. package/build/protos/google/ads/admanager/v1/team_service.proto +18 -6
  134. package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +1 -1
  135. package/build/protos/google/ads/admanager/v1/user_messages.proto +4 -3
  136. package/build/protos/google/ads/admanager/v1/user_service.proto +3 -2
  137. package/build/protos/google/ads/admanager/v1/video_position_enum.proto +1 -1
  138. package/build/protos/google/ads/admanager/v1/web_property.proto +1 -1
  139. package/build/protos/protos.d.ts +18344 -7945
  140. package/build/protos/protos.js +50285 -23131
  141. package/build/protos/protos.json +6302 -3054
  142. package/build/src/index.d.ts +16 -1
  143. package/build/src/index.js +13 -3
  144. package/build/src/index.js.map +1 -1
  145. package/build/src/v1/ad_break_service_client.d.ts +145 -49
  146. package/build/src/v1/ad_break_service_client.js +296 -81
  147. package/build/src/v1/ad_break_service_client.js.map +1 -1
  148. package/build/src/v1/ad_break_service_proto_list.json +18 -1
  149. package/build/src/v1/ad_review_center_ad_service_client.d.ts +213 -96
  150. package/build/src/v1/ad_review_center_ad_service_client.js +327 -107
  151. package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -1
  152. package/build/src/v1/ad_review_center_ad_service_proto_list.json +18 -1
  153. package/build/src/v1/ad_unit_service_client.d.ts +418 -84
  154. package/build/src/v1/ad_unit_service_client.js +619 -78
  155. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  156. package/build/src/v1/ad_unit_service_client_config.json +28 -0
  157. package/build/src/v1/ad_unit_service_proto_list.json +18 -1
  158. package/build/src/v1/application_service_client.d.ts +340 -44
  159. package/build/src/v1/application_service_client.js +548 -67
  160. package/build/src/v1/application_service_client.js.map +1 -1
  161. package/build/src/v1/application_service_client_config.json +24 -0
  162. package/build/src/v1/application_service_proto_list.json +18 -1
  163. package/build/src/v1/audience_segment_service_client.d.ts +155 -44
  164. package/build/src/v1/audience_segment_service_client.js +270 -68
  165. package/build/src/v1/audience_segment_service_client.js.map +1 -1
  166. package/build/src/v1/audience_segment_service_proto_list.json +18 -1
  167. package/build/src/v1/bandwidth_group_service_client.d.ts +158 -44
  168. package/build/src/v1/bandwidth_group_service_client.js +272 -68
  169. package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
  170. package/build/src/v1/bandwidth_group_service_proto_list.json +18 -1
  171. package/build/src/v1/browser_language_service_client.d.ts +158 -44
  172. package/build/src/v1/browser_language_service_client.js +272 -68
  173. package/build/src/v1/browser_language_service_client.js.map +1 -1
  174. package/build/src/v1/browser_language_service_proto_list.json +18 -1
  175. package/build/src/v1/browser_service_client.d.ts +164 -44
  176. package/build/src/v1/browser_service_client.js +270 -66
  177. package/build/src/v1/browser_service_client.js.map +1 -1
  178. package/build/src/v1/browser_service_proto_list.json +18 -1
  179. package/build/src/v1/cms_metadata_key_service_client.d.ts +216 -44
  180. package/build/src/v1/cms_metadata_key_service_client.js +362 -68
  181. package/build/src/v1/cms_metadata_key_service_client.js.map +1 -1
  182. package/build/src/v1/cms_metadata_key_service_client_config.json +8 -0
  183. package/build/src/v1/cms_metadata_key_service_proto_list.json +18 -1
  184. package/build/src/v1/cms_metadata_value_service_client.d.ts +222 -46
  185. package/build/src/v1/cms_metadata_value_service_client.js +364 -68
  186. package/build/src/v1/cms_metadata_value_service_client.js.map +1 -1
  187. package/build/src/v1/cms_metadata_value_service_client_config.json +8 -0
  188. package/build/src/v1/cms_metadata_value_service_proto_list.json +18 -1
  189. package/build/src/v1/company_service_client.d.ts +191 -44
  190. package/build/src/v1/company_service_client.js +288 -66
  191. package/build/src/v1/company_service_client.js.map +1 -1
  192. package/build/src/v1/company_service_proto_list.json +18 -1
  193. package/build/src/v1/contact_service_client.d.ts +187 -46
  194. package/build/src/v1/contact_service_client.js +344 -91
  195. package/build/src/v1/contact_service_client.js.map +1 -1
  196. package/build/src/v1/contact_service_proto_list.json +18 -1
  197. package/build/src/v1/content_bundle_service_client.d.ts +158 -44
  198. package/build/src/v1/content_bundle_service_client.js +270 -67
  199. package/build/src/v1/content_bundle_service_client.js.map +1 -1
  200. package/build/src/v1/content_bundle_service_proto_list.json +18 -1
  201. package/build/src/v1/content_label_service_client.d.ts +158 -44
  202. package/build/src/v1/content_label_service_client.js +270 -67
  203. package/build/src/v1/content_label_service_client.js.map +1 -1
  204. package/build/src/v1/content_label_service_proto_list.json +18 -1
  205. package/build/src/v1/content_service_client.d.ts +158 -44
  206. package/build/src/v1/content_service_client.js +266 -66
  207. package/build/src/v1/content_service_client.js.map +1 -1
  208. package/build/src/v1/content_service_proto_list.json +18 -1
  209. package/build/src/v1/creative_template_service_client.d.ts +179 -44
  210. package/build/src/v1/creative_template_service_client.js +286 -68
  211. package/build/src/v1/creative_template_service_client.js.map +1 -1
  212. package/build/src/v1/creative_template_service_proto_list.json +18 -1
  213. package/build/src/v1/custom_field_service_client.d.ts +185 -50
  214. package/build/src/v1/custom_field_service_client.js +368 -103
  215. package/build/src/v1/custom_field_service_client.js.map +1 -1
  216. package/build/src/v1/custom_field_service_proto_list.json +18 -1
  217. package/build/src/v1/custom_targeting_key_service_client.d.ts +336 -44
  218. package/build/src/v1/custom_targeting_key_service_client.js +545 -68
  219. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  220. package/build/src/v1/custom_targeting_key_service_client_config.json +24 -0
  221. package/build/src/v1/custom_targeting_key_service_proto_list.json +18 -1
  222. package/build/src/v1/custom_targeting_value_service_client.d.ts +174 -48
  223. package/build/src/v1/custom_targeting_value_service_client.js +281 -68
  224. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  225. package/build/src/v1/custom_targeting_value_service_proto_list.json +18 -1
  226. package/build/src/v1/device_capability_service_client.d.ts +158 -44
  227. package/build/src/v1/device_capability_service_client.js +272 -68
  228. package/build/src/v1/device_capability_service_client.js.map +1 -1
  229. package/build/src/v1/device_capability_service_proto_list.json +18 -1
  230. package/build/src/v1/device_category_service_client.d.ts +158 -44
  231. package/build/src/v1/device_category_service_client.js +272 -68
  232. package/build/src/v1/device_category_service_client.js.map +1 -1
  233. package/build/src/v1/device_category_service_proto_list.json +18 -1
  234. package/build/src/v1/device_manufacturer_service_client.d.ts +158 -44
  235. package/build/src/v1/device_manufacturer_service_client.js +273 -68
  236. package/build/src/v1/device_manufacturer_service_client.js.map +1 -1
  237. package/build/src/v1/device_manufacturer_service_proto_list.json +18 -1
  238. package/build/src/v1/entity_signals_mapping_service_client.d.ts +145 -49
  239. package/build/src/v1/entity_signals_mapping_service_client.js +313 -88
  240. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  241. package/build/src/v1/entity_signals_mapping_service_proto_list.json +18 -1
  242. package/build/src/v1/gapic_metadata.json +476 -2
  243. package/build/src/v1/geo_target_service_client.d.ts +167 -44
  244. package/build/src/v1/geo_target_service_client.js +272 -66
  245. package/build/src/v1/geo_target_service_client.js.map +1 -1
  246. package/build/src/v1/geo_target_service_proto_list.json +18 -1
  247. package/build/src/v1/index.d.ts +5 -0
  248. package/build/src/v1/index.js +12 -2
  249. package/build/src/v1/index.js.map +1 -1
  250. package/build/src/v1/label_service_client.d.ts +1631 -0
  251. package/build/src/v1/label_service_client.js +2466 -0
  252. package/build/src/v1/label_service_client.js.map +1 -0
  253. package/build/src/v1/label_service_client_config.json +58 -0
  254. package/build/src/v1/label_service_proto_list.json +139 -0
  255. package/build/src/v1/line_item_service_client.d.ts +1474 -0
  256. package/build/src/v1/line_item_service_client.js +2203 -0
  257. package/build/src/v1/line_item_service_client.js.map +1 -0
  258. package/build/src/v1/line_item_service_client_config.json +34 -0
  259. package/build/src/v1/line_item_service_proto_list.json +139 -0
  260. package/build/src/v1/linked_device_service_client.d.ts +1465 -0
  261. package/build/src/v1/linked_device_service_client.js +2200 -0
  262. package/build/src/v1/linked_device_service_client.js.map +1 -0
  263. package/build/src/v1/linked_device_service_client_config.json +34 -0
  264. package/build/src/v1/linked_device_service_proto_list.json +139 -0
  265. package/build/src/v1/mcm_earnings_service_client.d.ts +1426 -0
  266. package/build/src/v1/mcm_earnings_service_client.js +2144 -0
  267. package/build/src/v1/mcm_earnings_service_client.js.map +1 -0
  268. package/build/src/v1/mcm_earnings_service_client_config.json +30 -0
  269. package/build/src/v1/mcm_earnings_service_proto_list.json +139 -0
  270. package/build/src/v1/mobile_carrier_service_client.d.ts +161 -44
  271. package/build/src/v1/mobile_carrier_service_client.js +272 -67
  272. package/build/src/v1/mobile_carrier_service_client.js.map +1 -1
  273. package/build/src/v1/mobile_carrier_service_proto_list.json +18 -1
  274. package/build/src/v1/mobile_device_service_client.d.ts +161 -44
  275. package/build/src/v1/mobile_device_service_client.js +272 -67
  276. package/build/src/v1/mobile_device_service_client.js.map +1 -1
  277. package/build/src/v1/mobile_device_service_proto_list.json +18 -1
  278. package/build/src/v1/mobile_device_submodel_service_client.d.ts +164 -47
  279. package/build/src/v1/mobile_device_submodel_service_client.js +275 -68
  280. package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -1
  281. package/build/src/v1/mobile_device_submodel_service_proto_list.json +18 -1
  282. package/build/src/v1/network_service_client.d.ts +184 -10
  283. package/build/src/v1/network_service_client.js +332 -64
  284. package/build/src/v1/network_service_client.js.map +1 -1
  285. package/build/src/v1/network_service_proto_list.json +18 -1
  286. package/build/src/v1/operating_system_service_client.d.ts +158 -44
  287. package/build/src/v1/operating_system_service_client.js +272 -68
  288. package/build/src/v1/operating_system_service_client.js.map +1 -1
  289. package/build/src/v1/operating_system_service_proto_list.json +18 -1
  290. package/build/src/v1/operating_system_version_service_client.d.ts +167 -47
  291. package/build/src/v1/operating_system_version_service_client.js +277 -68
  292. package/build/src/v1/operating_system_version_service_client.js.map +1 -1
  293. package/build/src/v1/operating_system_version_service_proto_list.json +18 -1
  294. package/build/src/v1/order_service_client.d.ts +214 -49
  295. package/build/src/v1/order_service_client.js +300 -66
  296. package/build/src/v1/order_service_client.js.map +1 -1
  297. package/build/src/v1/order_service_proto_list.json +18 -1
  298. package/build/src/v1/placement_service_client.d.ts +177 -48
  299. package/build/src/v1/placement_service_client.js +378 -109
  300. package/build/src/v1/placement_service_client.js.map +1 -1
  301. package/build/src/v1/placement_service_proto_list.json +18 -1
  302. package/build/src/v1/private_auction_deal_service_client.d.ts +197 -50
  303. package/build/src/v1/private_auction_deal_service_client.js +323 -80
  304. package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
  305. package/build/src/v1/private_auction_deal_service_proto_list.json +18 -1
  306. package/build/src/v1/private_auction_service_client.d.ts +139 -43
  307. package/build/src/v1/private_auction_service_client.js +284 -76
  308. package/build/src/v1/private_auction_service_client.js.map +1 -1
  309. package/build/src/v1/private_auction_service_proto_list.json +18 -1
  310. package/build/src/v1/programmatic_buyer_service_client.d.ts +176 -44
  311. package/build/src/v1/programmatic_buyer_service_client.js +285 -68
  312. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
  313. package/build/src/v1/programmatic_buyer_service_proto_list.json +18 -1
  314. package/build/src/v1/report_service_client.d.ts +198 -102
  315. package/build/src/v1/report_service_client.js +355 -121
  316. package/build/src/v1/report_service_client.js.map +1 -1
  317. package/build/src/v1/report_service_proto_list.json +18 -1
  318. package/build/src/v1/rich_media_ads_company_service_client.d.ts +1475 -0
  319. package/build/src/v1/rich_media_ads_company_service_client.js +2208 -0
  320. package/build/src/v1/rich_media_ads_company_service_client.js.map +1 -0
  321. package/build/src/v1/rich_media_ads_company_service_client_config.json +34 -0
  322. package/build/src/v1/rich_media_ads_company_service_proto_list.json +139 -0
  323. package/build/src/v1/role_service_client.d.ts +167 -44
  324. package/build/src/v1/role_service_client.js +272 -66
  325. package/build/src/v1/role_service_client.js.map +1 -1
  326. package/build/src/v1/role_service_proto_list.json +18 -1
  327. package/build/src/v1/site_service_client.d.ts +170 -47
  328. package/build/src/v1/site_service_client.js +360 -103
  329. package/build/src/v1/site_service_client.js.map +1 -1
  330. package/build/src/v1/site_service_proto_list.json +18 -1
  331. package/build/src/v1/taxonomy_category_service_client.d.ts +136 -40
  332. package/build/src/v1/taxonomy_category_service_client.js +256 -64
  333. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  334. package/build/src/v1/taxonomy_category_service_proto_list.json +18 -1
  335. package/build/src/v1/team_service_client.d.ts +175 -46
  336. package/build/src/v1/team_service_client.js +364 -103
  337. package/build/src/v1/team_service_client.js.map +1 -1
  338. package/build/src/v1/team_service_proto_list.json +18 -1
  339. package/build/src/v1/user_service_client.d.ts +96 -0
  340. package/build/src/v1/user_service_client.js +228 -48
  341. package/build/src/v1/user_service_client.js.map +1 -1
  342. package/build/src/v1/user_service_proto_list.json +18 -1
  343. package/package.json +10 -2
  344. package/build/protos/google/ads/admanager/v1/company_credit_status_enum.proto +0 -97
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -34,7 +34,8 @@ option ruby_package = "Google::Ads::AdManager::V1";
34
34
  service GeoTargetService {
35
35
  option (google.api.default_host) = "admanager.googleapis.com";
36
36
  option (google.api.oauth_scopes) =
37
- "https://www.googleapis.com/auth/admanager";
37
+ "https://www.googleapis.com/auth/admanager,"
38
+ "https://www.googleapis.com/auth/admanager.readonly";
38
39
 
39
40
  // API to retrieve a `GeoTarget` object.
40
41
  rpc GetGeoTarget(GetGeoTargetRequest) returns (GeoTarget) {
@@ -90,8 +91,17 @@ message ListGeoTargetsRequest {
90
91
  string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
91
92
 
92
93
  // Optional. Expression to filter the response.
93
- // See syntax details at
94
- // https://developers.google.com/ad-manager/api/beta/filters
94
+ // See syntax details at
95
+ // https://developers.google.com/ad-manager/api/beta/filters
96
+ //
97
+ // <b>Filterable fields:</b>
98
+ // <ul style="list-style-type:none">
99
+ // <li><code>canonicalParent</code></li>
100
+ // <li><code>displayName</code></li>
101
+ // <li><code>name</code></li>
102
+ // <li><code>regionCode</code></li>
103
+ // <li><code>type</code></li>
104
+ // </ul>
95
105
  string filter = 4 [(google.api.field_behavior) = OPTIONAL];
96
106
 
97
107
  // Optional. Expression to specify sorting order.
@@ -0,0 +1,57 @@
1
+ // Copyright 2026 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/goal_enums.proto";
20
+
21
+ option csharp_namespace = "Google.Ads.AdManager.V1";
22
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
23
+ option java_multiple_files = true;
24
+ option java_outer_classname = "GoalProto";
25
+ option java_package = "com.google.ads.admanager.v1";
26
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
27
+ option ruby_package = "Google::Ads::AdManager::V1";
28
+
29
+ // Defines the criteria a [LineItem][google.ads.admanager.v1.LineItem] needs to
30
+ // satisfy to meet its delivery goal.
31
+ message Goal {
32
+ // The type of the goal for the LineItem. It defines the period over which the
33
+ // goal should be reached.
34
+ optional GoalTypeEnum.GoalType goal_type = 1;
35
+
36
+ // The type of the goal unit for the LineItem.
37
+ optional UnitTypeEnum.UnitType unit_type = 2;
38
+
39
+ // If this is a primary goal, it represents the number or percentage of
40
+ // impressions or clicks that will be reserved. If the line item is of type
41
+ // [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP],
42
+ // it represents the percentage of available impressions reserved. If the line
43
+ // item is of type
44
+ // [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK]
45
+ // or
46
+ // [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY],
47
+ // it represents the number of remaining impressions reserved. If the line
48
+ // item is of type
49
+ // [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK]
50
+ // or
51
+ // [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE],
52
+ // it represents the percentage of remaining impressions reserved. <p>If this
53
+ // is an impression cap goal, it represents the number of impressions or
54
+ // conversions that the line item will stop serving at if reached. For valid
55
+ // line item types, see [LineItem.impressions_cap][].
56
+ optional int64 units = 3;
57
+ }
@@ -0,0 +1,138 @@
1
+ // Copyright 2026 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ option csharp_namespace = "Google.Ads.AdManager.V1";
20
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
21
+ option java_multiple_files = true;
22
+ option java_outer_classname = "GoalEnumsProto";
23
+ option java_package = "com.google.ads.admanager.v1";
24
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
25
+ option ruby_package = "Google::Ads::AdManager::V1";
26
+
27
+ // Wrapper message for
28
+ // [GoalType][google.ads.admanager.v1.GoalTypeEnum.GoalType].
29
+ message GoalTypeEnum {
30
+ // Specifies the type of the goal for a LineItem.
31
+ enum GoalType {
32
+ // Default value. This value is unused.
33
+ GOAL_TYPE_UNSPECIFIED = 0;
34
+
35
+ // No goal is specified for the number of ads delivered.
36
+ // The line item [type][google.ads.admanager.v1.LineItem.line_item_type]
37
+ // must be one of:
38
+ //
39
+ // * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY]
40
+ // * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE]
41
+ // * [LineItemTypeEnum.LineItemType.CLICK_TRACKING][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.CLICK_TRACKING]
42
+ NONE = 1;
43
+
44
+ // There is a goal on the number of ads delivered for this line item during
45
+ // its entire lifetime.
46
+ // The line item [type][google.ads.admanager.v1.LineItem.line_item_type]
47
+ // must be one of:
48
+ //
49
+ // * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD]
50
+ // * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK]
51
+ // * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY]
52
+ // * [LineItemTypeEnum.LineItemType.ADSENSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.ADSENSE]
53
+ // * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE]
54
+ // * [LineItemTypeEnum.LineItemType.ADMOB][]
55
+ // * [LineItemTypeEnum.LineItemType.CLICK_TRACKING][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.CLICK_TRACKING]
56
+ LIFETIME = 2;
57
+
58
+ // There is a daily goal on the number of ads delivered for this line item.
59
+ // The line item [type][google.ads.admanager.v1.LineItem.line_item_type]
60
+ // must be one of:
61
+ //
62
+ // * [LineItemTypeEnum.LineItemType.SPONSORSHIP][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.SPONSORSHIP]
63
+ // * [LineItemTypeEnum.LineItemType.NETWORK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.NETWORK]
64
+ // * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY]
65
+ // * [LineItemTypeEnum.LineItemType.HOUSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.HOUSE]
66
+ // * [LineItemTypeEnum.LineItemType.ADSENSE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.ADSENSE]
67
+ // * [LineItemTypeEnum.LineItemType.AD_EXCHANGE][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.AD_EXCHANGE]
68
+ // * [LineItemTypeEnum.LineItemType.ADMOB][]
69
+ // * [LineItemTypeEnum.LineItemType.BUMPER][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BUMPER]
70
+ DAILY = 3;
71
+ }
72
+ }
73
+
74
+ // Wrapper message for
75
+ // [UnitType][google.ads.admanager.v1.UnitTypeEnum.UnitType].
76
+ message UnitTypeEnum {
77
+ // Indicates the type of unit used for defining a reservation. The
78
+ // [LineItem.cost_type][] can differ from the UnitType - an
79
+ // ad can have an impression goal, but be billed by its click. Usually
80
+ // CostType and UnitType will refer to the same unit.
81
+ enum UnitType {
82
+ // Default value. This value is unused.
83
+ UNIT_TYPE_UNSPECIFIED = 0;
84
+
85
+ // The number of impressions served by creatives associated with the line
86
+ // item.
87
+ IMPRESSIONS = 1;
88
+
89
+ // The number of clicks reported by creatives associated with the line item.
90
+ // The line item [type][google.ads.admanager.v1.LineItem.line_item_type]
91
+ // must be one of:
92
+ //
93
+ // * [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD]
94
+ // * [LineItemTypeEnum.LineItemType.BULK][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.BULK]
95
+ // * [LineItemTypeEnum.LineItemType.PRICE_PRIORITY][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.PRICE_PRIORITY]
96
+ CLICKS = 2;
97
+
98
+ // The number of click-through Cost-Per-Action (CPA) conversions from
99
+ // creatives associated with the line item. This is only supported as
100
+ // secondary goal and the [LineItem.cost_type][] must be
101
+ // [CostTypeEnum.CostType.CPA][].
102
+ CLICK_THROUGH_CPA_CONVERSIONS = 3;
103
+
104
+ // The number of view-through Cost-Per-Action (CPA) conversions from
105
+ // creatives associated with the line item. This is only supported as
106
+ // secondary goal and the [LineItem.cost_type][] must be
107
+ // [CostTypeEnum.CostType.CPA}.
108
+ VIEW_THROUGH_CPA_CONVERSIONS = 4;
109
+
110
+ // The number of total Cost-Per-Action (CPA) conversions from creatives
111
+ // associated with the line item. This is only supported as secondary goal
112
+ // and the [LineItem.cost_type} must be [CostTypeEnum.CostType.CPA}.
113
+ TOTAL_CPA_CONVERSIONS = 5;
114
+
115
+ // The number of viewable impressions reported by creatives associated with
116
+ // the line item. The
117
+ // [LineItem.line_item_type][google.ads.admanager.v1.LineItem.line_item_type]
118
+ // must be
119
+ // [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD].
120
+ VIEWABLE_IMPRESSIONS = 6;
121
+
122
+ // The number of in-target impressions reported by third party measurements.
123
+ // The
124
+ // [LineItem.line_item_type][google.ads.admanager.v1.LineItem.line_item_type]
125
+ // must be
126
+ // [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD].
127
+ IN_TARGET_IMPRESSIONS = 7;
128
+
129
+ // The number of completed views reported by creatives associated with the
130
+ // line item. A completed view is defined as having watched the entirety of
131
+ // the in-stream video ad and is only supported for standard reservation
132
+ // video line items. The
133
+ // [LineItem.line_item_type][google.ads.admanager.v1.LineItem.line_item_type]
134
+ // must be
135
+ // [LineItemTypeEnum.LineItemType.STANDARD][google.ads.admanager.v1.LineItemTypeEnum.LineItemType.STANDARD].
136
+ COMPLETED_VIEWS = 8;
137
+ }
138
+ }
@@ -0,0 +1,56 @@
1
+ // Copyright 2026 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ option csharp_namespace = "Google.Ads.AdManager.V1";
20
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
21
+ option java_multiple_files = true;
22
+ option java_outer_classname = "LabelEnumsProto";
23
+ option java_package = "com.google.ads.admanager.v1";
24
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
25
+ option ruby_package = "Google::Ads::AdManager::V1";
26
+
27
+ // Wrapper message for
28
+ // [LabelType][google.ads.admanager.v1.LabelTypeEnum.LabelType]
29
+ message LabelTypeEnum {
30
+ // Represents the types of labels supported.
31
+ enum LabelType {
32
+ // Default value. This value is unused.
33
+ LABEL_TYPE_UNSPECIFIED = 0;
34
+
35
+ // Allows for the creation of labels to exclude ads from showing against a
36
+ // tag that specifies the label as an exclusion.
37
+ AD_EXCLUSION = 1;
38
+
39
+ // Allows for the creation of limits on the frequency that a user sees a
40
+ // particular type of creative over a portion of the inventory.
41
+ AD_UNIT_FREQUENCY_CAP = 2;
42
+
43
+ // Allows for the creation of labels mapped to a Google canonical ad
44
+ // category, which can be used for competitive exclusions and blocking
45
+ // across Google systems.
46
+ CANONICAL_CATEGORY = 3;
47
+
48
+ // Allows for the creation of labels to exclude competing ads from showing
49
+ // on the same page.
50
+ COMPETITIVE_EXCLUSION = 4;
51
+
52
+ // Allows for the creation of labels that can be used to force the wrapping
53
+ // of a delivering creative with header/footer creatives.
54
+ CREATIVE_WRAPPER = 5;
55
+ }
56
+ }
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@ syntax = "proto3";
16
16
 
17
17
  package google.ads.admanager.v1;
18
18
 
19
+ import "google/ads/admanager/v1/label_enums.proto";
19
20
  import "google/api/field_behavior.proto";
20
21
  import "google/api/resource.proto";
21
22
 
@@ -39,4 +40,21 @@ message Label {
39
40
  // Identifier. The resource name of the `Label`.
40
41
  // Format: `networks/{network_code}/labels/{label_id}`
41
42
  string name = 1 [(google.api.field_behavior) = IDENTIFIER];
43
+
44
+ // Required. Display name of the Label. This attribute has a maximum length of
45
+ // 127 characters.
46
+ optional string display_name = 3 [(google.api.field_behavior) = REQUIRED];
47
+
48
+ // Optional. A description of the label. This attribute has a maximum length
49
+ // of 255 characters.
50
+ optional string description = 4 [(google.api.field_behavior) = OPTIONAL];
51
+
52
+ // Output only. Specifies whether or not the label is active.
53
+ optional bool active = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
54
+
55
+ // Required. Unordered list. The types of the Label.
56
+ repeated LabelTypeEnum.LabelType types = 7 [
57
+ (google.api.field_behavior) = REQUIRED,
58
+ (google.api.field_behavior) = UNORDERED_LIST
59
+ ];
42
60
  }
@@ -0,0 +1,313 @@
1
+ // Copyright 2026 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/label_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
+ import "google/protobuf/field_mask.proto";
25
+
26
+ option csharp_namespace = "Google.Ads.AdManager.V1";
27
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
28
+ option java_multiple_files = true;
29
+ option java_outer_classname = "LabelServiceProto";
30
+ option java_package = "com.google.ads.admanager.v1";
31
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
32
+ option ruby_package = "Google::Ads::AdManager::V1";
33
+
34
+ // Provides methods for handling `Label` objects.
35
+ service LabelService {
36
+ option (google.api.default_host) = "admanager.googleapis.com";
37
+ option (google.api.oauth_scopes) =
38
+ "https://www.googleapis.com/auth/admanager,"
39
+ "https://www.googleapis.com/auth/admanager.readonly";
40
+
41
+ // API to retrieve a `Label` object.
42
+ rpc GetLabel(GetLabelRequest) returns (Label) {
43
+ option (google.api.http) = {
44
+ get: "/v1/{name=networks/*/labels/*}"
45
+ };
46
+ option (google.api.method_signature) = "name";
47
+ }
48
+
49
+ // API to retrieve a list of `Label` objects.
50
+ rpc ListLabels(ListLabelsRequest) returns (ListLabelsResponse) {
51
+ option (google.api.http) = {
52
+ get: "/v1/{parent=networks/*}/labels"
53
+ };
54
+ option (google.api.method_signature) = "parent";
55
+ }
56
+
57
+ // API to create a `Label` object.
58
+ rpc CreateLabel(CreateLabelRequest) returns (Label) {
59
+ option (google.api.http) = {
60
+ post: "/v1/{parent=networks/*}/labels"
61
+ body: "label"
62
+ };
63
+ option (google.api.method_signature) = "parent,label";
64
+ }
65
+
66
+ // API to batch create `Label` objects.
67
+ rpc BatchCreateLabels(BatchCreateLabelsRequest)
68
+ returns (BatchCreateLabelsResponse) {
69
+ option (google.api.http) = {
70
+ post: "/v1/{parent=networks/*}/labels:batchCreate"
71
+ body: "*"
72
+ };
73
+ option (google.api.method_signature) = "parent,requests";
74
+ }
75
+
76
+ // API to update a `Label` object.
77
+ rpc UpdateLabel(UpdateLabelRequest) returns (Label) {
78
+ option (google.api.http) = {
79
+ patch: "/v1/{label.name=networks/*/labels/*}"
80
+ body: "label"
81
+ };
82
+ option (google.api.method_signature) = "label,update_mask";
83
+ }
84
+
85
+ // API to batch update `Label` objects.
86
+ rpc BatchUpdateLabels(BatchUpdateLabelsRequest)
87
+ returns (BatchUpdateLabelsResponse) {
88
+ option (google.api.http) = {
89
+ post: "/v1/{parent=networks/*}/labels:batchUpdate"
90
+ body: "*"
91
+ };
92
+ option (google.api.method_signature) = "parent,requests";
93
+ }
94
+
95
+ // API to activate `Label` objects.
96
+ rpc BatchActivateLabels(BatchActivateLabelsRequest)
97
+ returns (BatchActivateLabelsResponse) {
98
+ option (google.api.http) = {
99
+ post: "/v1/{parent=networks/*}/labels:batchActivate"
100
+ body: "*"
101
+ };
102
+ option (google.api.method_signature) = "parent,names";
103
+ }
104
+
105
+ // API to deactivate `Label` objects.
106
+ rpc BatchDeactivateLabels(BatchDeactivateLabelsRequest)
107
+ returns (BatchDeactivateLabelsResponse) {
108
+ option (google.api.http) = {
109
+ post: "/v1/{parent=networks/*}/labels:batchDeactivate"
110
+ body: "*"
111
+ };
112
+ option (google.api.method_signature) = "parent,names";
113
+ }
114
+ }
115
+
116
+ // Request object for `GetLabel` method.
117
+ message GetLabelRequest {
118
+ // Required. The resource name of the Label.
119
+ // Format: `networks/{network_code}/labels/{label_id}`
120
+ string name = 1 [
121
+ (google.api.field_behavior) = REQUIRED,
122
+ (google.api.resource_reference) = { type: "admanager.googleapis.com/Label" }
123
+ ];
124
+ }
125
+
126
+ // Request object for `ListLabels` method.
127
+ message ListLabelsRequest {
128
+ // Required. The parent, which owns this collection of Labels.
129
+ // Format: `networks/{network_code}`
130
+ string parent = 1 [
131
+ (google.api.field_behavior) = REQUIRED,
132
+ (google.api.resource_reference) = {
133
+ type: "admanager.googleapis.com/Network"
134
+ }
135
+ ];
136
+
137
+ // Optional. The maximum number of `Labels` to return. The service may return
138
+ // fewer than this value. If unspecified, at most 50 `Labels` will be
139
+ // returned. The maximum value is 1000; values greater than 1000 will be
140
+ // coerced to 1000.
141
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
142
+
143
+ // Optional. A page token, received from a previous `ListLabels` call.
144
+ // Provide this to retrieve the subsequent page.
145
+ //
146
+ // When paginating, all other parameters provided to `ListLabels` must match
147
+ // the call that provided the page token.
148
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
149
+
150
+ // Optional. Expression to filter the response.
151
+ // See syntax details at
152
+ // https://developers.google.com/ad-manager/api/beta/filters
153
+ //
154
+ // <b>Filterable fields:</b>
155
+ // <ul style="list-style-type:none">
156
+ // <li><code>active</code></li>
157
+ // <li><code>description</code></li>
158
+ // <li><code>displayName</code></li>
159
+ // <li><code>name</code></li>
160
+ // <li><code>types</code></li>
161
+ // </ul>
162
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
163
+
164
+ // Optional. Expression to specify sorting order.
165
+ // See syntax details at
166
+ // https://developers.google.com/ad-manager/api/beta/filters#order
167
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
168
+
169
+ // Optional. Number of individual resources to skip while paginating.
170
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
171
+ }
172
+
173
+ // Response object for `ListLabelsRequest` containing matching `Label` objects.
174
+ message ListLabelsResponse {
175
+ // The `Label` objects from the specified network.
176
+ repeated Label labels = 1;
177
+
178
+ // A token, which can be sent as `page_token` to retrieve the next page.
179
+ // If this field is omitted, there are no subsequent pages.
180
+ string next_page_token = 2;
181
+
182
+ // Total number of `Label` objects.
183
+ // If a filter was included in the request, this reflects the total number
184
+ // after the filtering is applied.
185
+ //
186
+ // `total_size` won't be calculated in the response unless it has been
187
+ // included in a response field mask. The response field mask can be provided
188
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
189
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
190
+ //
191
+ // For more information, see
192
+ // https://developers.google.com/ad-manager/api/beta/field-masks
193
+ int32 total_size = 3;
194
+ }
195
+
196
+ // Request object for `CreateLabel` method.
197
+ message CreateLabelRequest {
198
+ // Required. The parent resource where this `Label` will be created.
199
+ // Format: `networks/{network_code}`
200
+ string parent = 1 [
201
+ (google.api.field_behavior) = REQUIRED,
202
+ (google.api.resource_reference) = {
203
+ type: "admanager.googleapis.com/Network"
204
+ }
205
+ ];
206
+
207
+ // Required. The `Label` to create.
208
+ Label label = 2 [(google.api.field_behavior) = REQUIRED];
209
+ }
210
+
211
+ // Request object for `BatchCreateLabels` method.
212
+ message BatchCreateLabelsRequest {
213
+ // Required. The parent resource where `Labels` will be created.
214
+ // Format: `networks/{network_code}`
215
+ // The parent field in the CreateLabelRequest 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 `Label` objects to create.
225
+ // A maximum of 100 objects can be created in a batch.
226
+ repeated CreateLabelRequest requests = 2
227
+ [(google.api.field_behavior) = REQUIRED];
228
+ }
229
+
230
+ // Response object for `BatchCreateLabels` method.
231
+ message BatchCreateLabelsResponse {
232
+ // The `Label` objects created.
233
+ repeated Label labels = 1;
234
+ }
235
+
236
+ // Request object for `UpdateLabel` method.
237
+ message UpdateLabelRequest {
238
+ // Required. The `Label` to update.
239
+ //
240
+ // The `Label`'s `name` is used to identify the `Label` to update.
241
+ Label label = 1 [(google.api.field_behavior) = REQUIRED];
242
+
243
+ // Optional. The list of fields to update.
244
+ google.protobuf.FieldMask update_mask = 2
245
+ [(google.api.field_behavior) = OPTIONAL];
246
+ }
247
+
248
+ // Request object for `BatchUpdateLabels` method.
249
+ message BatchUpdateLabelsRequest {
250
+ // Required. The parent resource where `Labels` will be updated.
251
+ // Format: `networks/{network_code}`
252
+ // The parent field in the UpdateLabelRequest must match this
253
+ // field.
254
+ string parent = 1 [
255
+ (google.api.field_behavior) = REQUIRED,
256
+ (google.api.resource_reference) = {
257
+ type: "admanager.googleapis.com/Network"
258
+ }
259
+ ];
260
+
261
+ // Required. The `Label` objects to update.
262
+ // A maximum of 100 objects can be updated in a batch.
263
+ repeated UpdateLabelRequest requests = 2
264
+ [(google.api.field_behavior) = REQUIRED];
265
+ }
266
+
267
+ // Response object for `BatchUpdateLabels` method.
268
+ message BatchUpdateLabelsResponse {
269
+ // The `Label` objects updated.
270
+ repeated Label labels = 1;
271
+ }
272
+
273
+ // Request message for `BatchActivateLabels` method.
274
+ message BatchActivateLabelsRequest {
275
+ // Required. Format: `networks/{network_code}`
276
+ string parent = 1 [
277
+ (google.api.field_behavior) = REQUIRED,
278
+ (google.api.resource_reference) = {
279
+ type: "admanager.googleapis.com/Network"
280
+ }
281
+ ];
282
+
283
+ // Required. Resource names for the Label.
284
+ // Format: `networks/{network_code}/labels/{label_id}`
285
+ repeated string names = 2 [
286
+ (google.api.field_behavior) = REQUIRED,
287
+ (google.api.resource_reference) = { type: "admanager.googleapis.com/Label" }
288
+ ];
289
+ }
290
+
291
+ // Response message for `BatchActivateLabels` method.
292
+ message BatchActivateLabelsResponse {}
293
+
294
+ // Request message for `BatchDeactivateLabels` method.
295
+ message BatchDeactivateLabelsRequest {
296
+ // Required. Format: `networks/{network_code}`
297
+ string parent = 1 [
298
+ (google.api.field_behavior) = REQUIRED,
299
+ (google.api.resource_reference) = {
300
+ type: "admanager.googleapis.com/Network"
301
+ }
302
+ ];
303
+
304
+ // Required. Resource names for the Label.
305
+ // Format: `networks/{network_code}/labels/{label_id}`
306
+ repeated string names = 2 [
307
+ (google.api.field_behavior) = REQUIRED,
308
+ (google.api.resource_reference) = { type: "admanager.googleapis.com/Label" }
309
+ ];
310
+ }
311
+
312
+ // Response message for `BatchDeactivateLabels` method.
313
+ message BatchDeactivateLabelsResponse {}