@google-ads/admanager 0.5.1 → 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 (342) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +25 -2
  3. package/build/protos/google/ads/admanager/v1/ad_break_messages.proto +1 -1
  4. package/build/protos/google/ads/admanager/v1/ad_break_service.proto +5 -4
  5. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +26 -1
  6. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +9 -1
  7. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +20 -8
  8. package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +1 -1
  9. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +4 -3
  10. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +23 -6
  11. package/build/protos/google/ads/admanager/v1/application_enums.proto +156 -0
  12. package/build/protos/google/ads/admanager/v1/application_messages.proto +51 -4
  13. package/build/protos/google/ads/admanager/v1/application_service.proto +198 -4
  14. package/build/protos/google/ads/admanager/v1/applied_label.proto +1 -1
  15. package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +1 -1
  16. package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +10 -4
  17. package/build/protos/google/ads/admanager/v1/bandwidth_group_messages.proto +1 -1
  18. package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +11 -4
  19. package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +1 -1
  20. package/build/protos/google/ads/admanager/v1/browser_language_service.proto +11 -4
  21. package/build/protos/google/ads/admanager/v1/browser_messages.proto +1 -1
  22. package/build/protos/google/ads/admanager/v1/browser_service.proto +13 -4
  23. package/build/protos/google/ads/admanager/v1/child_publisher_messages.proto +43 -0
  24. package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +1 -1
  25. package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +1 -1
  26. package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +81 -4
  27. package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +1 -1
  28. package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +1 -1
  29. package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +83 -4
  30. package/build/protos/google/ads/admanager/v1/company_enums.proto +1 -1
  31. package/build/protos/google/ads/admanager/v1/company_messages.proto +36 -23
  32. package/build/protos/google/ads/admanager/v1/company_service.proto +22 -4
  33. package/build/protos/google/ads/admanager/v1/contact_enums.proto +1 -1
  34. package/build/protos/google/ads/admanager/v1/contact_messages.proto +1 -1
  35. package/build/protos/google/ads/admanager/v1/contact_service.proto +22 -6
  36. package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +1 -1
  37. package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +11 -4
  38. package/build/protos/google/ads/admanager/v1/content_label_messages.proto +1 -1
  39. package/build/protos/google/ads/admanager/v1/content_label_service.proto +11 -4
  40. package/build/protos/google/ads/admanager/v1/content_messages.proto +2 -2
  41. package/build/protos/google/ads/admanager/v1/content_service.proto +11 -4
  42. package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +1 -1
  43. package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +1 -1
  44. package/build/protos/google/ads/admanager/v1/creative_template_service.proto +18 -4
  45. package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +1 -1
  46. package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +1 -1
  47. package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +3 -4
  48. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +20 -6
  49. package/build/protos/google/ads/admanager/v1/custom_field_value.proto +1 -1
  50. package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +1 -1
  51. package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +3 -3
  52. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +17 -6
  53. package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +1 -1
  54. package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +1 -1
  55. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +15 -4
  56. package/build/protos/google/ads/admanager/v1/deal_buyer_permission_type_enum.proto +1 -1
  57. package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +1 -1
  58. package/build/protos/google/ads/admanager/v1/device_capability_service.proto +11 -4
  59. package/build/protos/google/ads/admanager/v1/device_category_messages.proto +1 -1
  60. package/build/protos/google/ads/admanager/v1/device_category_service.proto +11 -4
  61. package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +1 -1
  62. package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +11 -4
  63. package/build/protos/google/ads/admanager/v1/early_ad_break_notification_enums.proto +1 -1
  64. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +3 -3
  65. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +5 -4
  66. package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +1 -1
  67. package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +1 -1
  68. package/build/protos/google/ads/admanager/v1/frequency_cap.proto +1 -1
  69. package/build/protos/google/ads/admanager/v1/geo_target_messages.proto +1 -1
  70. package/build/protos/google/ads/admanager/v1/geo_target_service.proto +14 -4
  71. package/build/protos/google/ads/admanager/v1/goal.proto +1 -1
  72. package/build/protos/google/ads/admanager/v1/goal_enums.proto +10 -1
  73. package/build/protos/google/ads/admanager/v1/label_enums.proto +56 -0
  74. package/build/protos/google/ads/admanager/v1/label_messages.proto +19 -1
  75. package/build/protos/google/ads/admanager/v1/label_service.proto +313 -0
  76. package/build/protos/google/ads/admanager/v1/line_item_enums.proto +1 -1
  77. package/build/protos/google/ads/admanager/v1/line_item_messages.proto +5 -4
  78. package/build/protos/google/ads/admanager/v1/line_item_service.proto +16 -4
  79. package/build/protos/google/ads/admanager/v1/{company_type_enum.proto → linked_device_enums.proto} +15 -24
  80. package/build/protos/google/ads/admanager/v1/linked_device_messages.proto +58 -0
  81. package/build/protos/google/ads/admanager/v1/linked_device_service.proto +138 -0
  82. package/build/protos/google/ads/admanager/v1/live_stream_event_messages.proto +1 -1
  83. package/build/protos/google/ads/admanager/v1/mcm_earnings_messages.proto +124 -0
  84. package/build/protos/google/ads/admanager/v1/mcm_earnings_service.proto +115 -0
  85. package/build/protos/google/ads/admanager/v1/mcm_enums.proto +97 -0
  86. package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +1 -1
  87. package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +12 -4
  88. package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +1 -1
  89. package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +12 -4
  90. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +1 -1
  91. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +12 -4
  92. package/build/protos/google/ads/admanager/v1/network_messages.proto +1 -1
  93. package/build/protos/google/ads/admanager/v1/network_service.proto +3 -2
  94. package/build/protos/google/ads/admanager/v1/operating_system_messages.proto +1 -1
  95. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +11 -4
  96. package/build/protos/google/ads/admanager/v1/operating_system_version_messages.proto +1 -1
  97. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +13 -4
  98. package/build/protos/google/ads/admanager/v1/order_enums.proto +1 -1
  99. package/build/protos/google/ads/admanager/v1/order_messages.proto +5 -5
  100. package/build/protos/google/ads/admanager/v1/order_service.proto +28 -4
  101. package/build/protos/google/ads/admanager/v1/placement_enums.proto +1 -1
  102. package/build/protos/google/ads/admanager/v1/placement_messages.proto +4 -3
  103. package/build/protos/google/ads/admanager/v1/placement_service.proto +18 -6
  104. package/build/protos/google/ads/admanager/v1/private_auction_deal_messages.proto +3 -3
  105. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +24 -6
  106. package/build/protos/google/ads/admanager/v1/private_auction_messages.proto +3 -3
  107. package/build/protos/google/ads/admanager/v1/private_auction_service.proto +5 -4
  108. package/build/protos/google/ads/admanager/v1/private_marketplace_enums.proto +4 -1
  109. package/build/protos/google/ads/admanager/v1/programmatic_buyer_messages.proto +1 -1
  110. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +17 -4
  111. package/build/protos/google/ads/admanager/v1/report_definition.proto +1944 -916
  112. package/build/protos/google/ads/admanager/v1/report_messages.proto +7 -5
  113. package/build/protos/google/ads/admanager/v1/report_service.proto +5 -4
  114. package/build/protos/google/ads/admanager/v1/report_value.proto +1 -1
  115. package/build/protos/google/ads/admanager/v1/request_platform_enum.proto +1 -1
  116. package/build/protos/google/ads/admanager/v1/rich_media_ads_company_enums.proto +53 -0
  117. package/build/protos/google/ads/admanager/v1/rich_media_ads_company_messages.proto +57 -0
  118. package/build/protos/google/ads/admanager/v1/rich_media_ads_company_service.proto +143 -0
  119. package/build/protos/google/ads/admanager/v1/role_enums.proto +1 -1
  120. package/build/protos/google/ads/admanager/v1/role_messages.proto +4 -3
  121. package/build/protos/google/ads/admanager/v1/role_service.proto +14 -4
  122. package/build/protos/google/ads/admanager/v1/site_enums.proto +1 -1
  123. package/build/protos/google/ads/admanager/v1/site_messages.proto +1 -1
  124. package/build/protos/google/ads/admanager/v1/site_service.proto +16 -6
  125. package/build/protos/google/ads/admanager/v1/size.proto +1 -1
  126. package/build/protos/google/ads/admanager/v1/size_type_enum.proto +1 -1
  127. package/build/protos/google/ads/admanager/v1/targeted_video_bumper_type_enum.proto +1 -1
  128. package/build/protos/google/ads/admanager/v1/targeting.proto +4 -4
  129. package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +3 -3
  130. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +3 -2
  131. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +1 -1
  132. package/build/protos/google/ads/admanager/v1/team_enums.proto +1 -1
  133. package/build/protos/google/ads/admanager/v1/team_messages.proto +1 -1
  134. package/build/protos/google/ads/admanager/v1/team_service.proto +18 -6
  135. package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +1 -1
  136. package/build/protos/google/ads/admanager/v1/user_messages.proto +4 -3
  137. package/build/protos/google/ads/admanager/v1/user_service.proto +3 -2
  138. package/build/protos/google/ads/admanager/v1/video_position_enum.proto +1 -1
  139. package/build/protos/google/ads/admanager/v1/web_property.proto +1 -1
  140. package/build/protos/protos.d.ts +15212 -8355
  141. package/build/protos/protos.js +42222 -24288
  142. package/build/protos/protos.json +5571 -3409
  143. package/build/src/index.d.ts +13 -1
  144. package/build/src/index.js +10 -2
  145. package/build/src/index.js.map +1 -1
  146. package/build/src/v1/ad_break_service_client.d.ts +121 -49
  147. package/build/src/v1/ad_break_service_client.js +263 -82
  148. package/build/src/v1/ad_break_service_client.js.map +1 -1
  149. package/build/src/v1/ad_break_service_proto_list.json +13 -1
  150. package/build/src/v1/ad_review_center_ad_service_client.d.ts +185 -95
  151. package/build/src/v1/ad_review_center_ad_service_client.js +290 -106
  152. package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -1
  153. package/build/src/v1/ad_review_center_ad_service_proto_list.json +13 -1
  154. package/build/src/v1/ad_unit_service_client.d.ts +206 -86
  155. package/build/src/v1/ad_unit_service_client.js +376 -121
  156. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  157. package/build/src/v1/ad_unit_service_proto_list.json +13 -1
  158. package/build/src/v1/application_service_client.d.ts +316 -44
  159. package/build/src/v1/application_service_client.js +515 -68
  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 +13 -1
  163. package/build/src/v1/audience_segment_service_client.d.ts +131 -44
  164. package/build/src/v1/audience_segment_service_client.js +237 -69
  165. package/build/src/v1/audience_segment_service_client.js.map +1 -1
  166. package/build/src/v1/audience_segment_service_proto_list.json +13 -1
  167. package/build/src/v1/bandwidth_group_service_client.d.ts +134 -44
  168. package/build/src/v1/bandwidth_group_service_client.js +239 -69
  169. package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
  170. package/build/src/v1/bandwidth_group_service_proto_list.json +13 -1
  171. package/build/src/v1/browser_language_service_client.d.ts +134 -44
  172. package/build/src/v1/browser_language_service_client.js +239 -69
  173. package/build/src/v1/browser_language_service_client.js.map +1 -1
  174. package/build/src/v1/browser_language_service_proto_list.json +13 -1
  175. package/build/src/v1/browser_service_client.d.ts +140 -44
  176. package/build/src/v1/browser_service_client.js +237 -67
  177. package/build/src/v1/browser_service_client.js.map +1 -1
  178. package/build/src/v1/browser_service_proto_list.json +13 -1
  179. package/build/src/v1/cms_metadata_key_service_client.d.ts +192 -44
  180. package/build/src/v1/cms_metadata_key_service_client.js +329 -69
  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 +13 -1
  184. package/build/src/v1/cms_metadata_value_service_client.d.ts +196 -44
  185. package/build/src/v1/cms_metadata_value_service_client.js +331 -69
  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 +13 -1
  189. package/build/src/v1/company_service_client.d.ts +167 -44
  190. package/build/src/v1/company_service_client.js +255 -67
  191. package/build/src/v1/company_service_client.js.map +1 -1
  192. package/build/src/v1/company_service_proto_list.json +13 -1
  193. package/build/src/v1/contact_service_client.d.ts +163 -46
  194. package/build/src/v1/contact_service_client.js +311 -92
  195. package/build/src/v1/contact_service_client.js.map +1 -1
  196. package/build/src/v1/contact_service_proto_list.json +13 -1
  197. package/build/src/v1/content_bundle_service_client.d.ts +134 -44
  198. package/build/src/v1/content_bundle_service_client.js +237 -68
  199. package/build/src/v1/content_bundle_service_client.js.map +1 -1
  200. package/build/src/v1/content_bundle_service_proto_list.json +13 -1
  201. package/build/src/v1/content_label_service_client.d.ts +134 -44
  202. package/build/src/v1/content_label_service_client.js +237 -68
  203. package/build/src/v1/content_label_service_client.js.map +1 -1
  204. package/build/src/v1/content_label_service_proto_list.json +13 -1
  205. package/build/src/v1/content_service_client.d.ts +134 -44
  206. package/build/src/v1/content_service_client.js +233 -67
  207. package/build/src/v1/content_service_client.js.map +1 -1
  208. package/build/src/v1/content_service_proto_list.json +13 -1
  209. package/build/src/v1/creative_template_service_client.d.ts +155 -44
  210. package/build/src/v1/creative_template_service_client.js +253 -69
  211. package/build/src/v1/creative_template_service_client.js.map +1 -1
  212. package/build/src/v1/creative_template_service_proto_list.json +13 -1
  213. package/build/src/v1/custom_field_service_client.d.ts +161 -50
  214. package/build/src/v1/custom_field_service_client.js +335 -104
  215. package/build/src/v1/custom_field_service_client.js.map +1 -1
  216. package/build/src/v1/custom_field_service_proto_list.json +13 -1
  217. package/build/src/v1/custom_targeting_key_service_client.d.ts +154 -52
  218. package/build/src/v1/custom_targeting_key_service_client.js +332 -105
  219. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  220. package/build/src/v1/custom_targeting_key_service_proto_list.json +13 -1
  221. package/build/src/v1/custom_targeting_value_service_client.d.ts +150 -48
  222. package/build/src/v1/custom_targeting_value_service_client.js +248 -69
  223. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  224. package/build/src/v1/custom_targeting_value_service_proto_list.json +13 -1
  225. package/build/src/v1/device_capability_service_client.d.ts +134 -44
  226. package/build/src/v1/device_capability_service_client.js +239 -69
  227. package/build/src/v1/device_capability_service_client.js.map +1 -1
  228. package/build/src/v1/device_capability_service_proto_list.json +13 -1
  229. package/build/src/v1/device_category_service_client.d.ts +134 -44
  230. package/build/src/v1/device_category_service_client.js +239 -69
  231. package/build/src/v1/device_category_service_client.js.map +1 -1
  232. package/build/src/v1/device_category_service_proto_list.json +13 -1
  233. package/build/src/v1/device_manufacturer_service_client.d.ts +134 -44
  234. package/build/src/v1/device_manufacturer_service_client.js +240 -69
  235. package/build/src/v1/device_manufacturer_service_client.js.map +1 -1
  236. package/build/src/v1/device_manufacturer_service_proto_list.json +13 -1
  237. package/build/src/v1/entity_signals_mapping_service_client.d.ts +121 -49
  238. package/build/src/v1/entity_signals_mapping_service_client.js +280 -89
  239. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  240. package/build/src/v1/entity_signals_mapping_service_proto_list.json +13 -1
  241. package/build/src/v1/gapic_metadata.json +302 -0
  242. package/build/src/v1/geo_target_service_client.d.ts +143 -44
  243. package/build/src/v1/geo_target_service_client.js +239 -67
  244. package/build/src/v1/geo_target_service_client.js.map +1 -1
  245. package/build/src/v1/geo_target_service_proto_list.json +13 -1
  246. package/build/src/v1/index.d.ts +4 -0
  247. package/build/src/v1/index.js +9 -1
  248. package/build/src/v1/index.js.map +1 -1
  249. package/build/src/v1/label_service_client.d.ts +1631 -0
  250. package/build/src/v1/label_service_client.js +2466 -0
  251. package/build/src/v1/label_service_client.js.map +1 -0
  252. package/build/src/v1/label_service_client_config.json +58 -0
  253. package/build/src/v1/label_service_proto_list.json +139 -0
  254. package/build/src/v1/line_item_service_client.d.ts +149 -44
  255. package/build/src/v1/line_item_service_client.js +243 -67
  256. package/build/src/v1/line_item_service_client.js.map +1 -1
  257. package/build/src/v1/line_item_service_proto_list.json +13 -1
  258. package/build/src/v1/linked_device_service_client.d.ts +1465 -0
  259. package/build/src/v1/linked_device_service_client.js +2200 -0
  260. package/build/src/v1/linked_device_service_client.js.map +1 -0
  261. package/build/src/v1/linked_device_service_client_config.json +34 -0
  262. package/build/src/v1/linked_device_service_proto_list.json +139 -0
  263. package/build/src/v1/mcm_earnings_service_client.d.ts +1426 -0
  264. package/build/src/v1/mcm_earnings_service_client.js +2144 -0
  265. package/build/src/v1/mcm_earnings_service_client.js.map +1 -0
  266. package/build/src/v1/mcm_earnings_service_client_config.json +30 -0
  267. package/build/src/v1/mcm_earnings_service_proto_list.json +139 -0
  268. package/build/src/v1/mobile_carrier_service_client.d.ts +137 -44
  269. package/build/src/v1/mobile_carrier_service_client.js +239 -68
  270. package/build/src/v1/mobile_carrier_service_client.js.map +1 -1
  271. package/build/src/v1/mobile_carrier_service_proto_list.json +13 -1
  272. package/build/src/v1/mobile_device_service_client.d.ts +137 -44
  273. package/build/src/v1/mobile_device_service_client.js +239 -68
  274. package/build/src/v1/mobile_device_service_client.js.map +1 -1
  275. package/build/src/v1/mobile_device_service_proto_list.json +13 -1
  276. package/build/src/v1/mobile_device_submodel_service_client.d.ts +140 -47
  277. package/build/src/v1/mobile_device_submodel_service_client.js +242 -69
  278. package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -1
  279. package/build/src/v1/mobile_device_submodel_service_proto_list.json +13 -1
  280. package/build/src/v1/network_service_client.d.ts +101 -29
  281. package/build/src/v1/network_service_client.js +206 -55
  282. package/build/src/v1/network_service_client.js.map +1 -1
  283. package/build/src/v1/network_service_proto_list.json +13 -1
  284. package/build/src/v1/operating_system_service_client.d.ts +134 -44
  285. package/build/src/v1/operating_system_service_client.js +239 -69
  286. package/build/src/v1/operating_system_service_client.js.map +1 -1
  287. package/build/src/v1/operating_system_service_proto_list.json +13 -1
  288. package/build/src/v1/operating_system_version_service_client.d.ts +143 -47
  289. package/build/src/v1/operating_system_version_service_client.js +244 -69
  290. package/build/src/v1/operating_system_version_service_client.js.map +1 -1
  291. package/build/src/v1/operating_system_version_service_proto_list.json +13 -1
  292. package/build/src/v1/order_service_client.d.ts +190 -49
  293. package/build/src/v1/order_service_client.js +267 -67
  294. package/build/src/v1/order_service_client.js.map +1 -1
  295. package/build/src/v1/order_service_proto_list.json +13 -1
  296. package/build/src/v1/placement_service_client.d.ts +153 -48
  297. package/build/src/v1/placement_service_client.js +345 -110
  298. package/build/src/v1/placement_service_client.js.map +1 -1
  299. package/build/src/v1/placement_service_proto_list.json +13 -1
  300. package/build/src/v1/private_auction_deal_service_client.d.ts +173 -50
  301. package/build/src/v1/private_auction_deal_service_client.js +290 -81
  302. package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
  303. package/build/src/v1/private_auction_deal_service_proto_list.json +13 -1
  304. package/build/src/v1/private_auction_service_client.d.ts +115 -43
  305. package/build/src/v1/private_auction_service_client.js +251 -77
  306. package/build/src/v1/private_auction_service_client.js.map +1 -1
  307. package/build/src/v1/private_auction_service_proto_list.json +13 -1
  308. package/build/src/v1/programmatic_buyer_service_client.d.ts +152 -44
  309. package/build/src/v1/programmatic_buyer_service_client.js +252 -69
  310. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
  311. package/build/src/v1/programmatic_buyer_service_proto_list.json +13 -1
  312. package/build/src/v1/report_service_client.d.ts +174 -102
  313. package/build/src/v1/report_service_client.js +322 -122
  314. package/build/src/v1/report_service_client.js.map +1 -1
  315. package/build/src/v1/report_service_proto_list.json +13 -1
  316. package/build/src/v1/rich_media_ads_company_service_client.d.ts +1475 -0
  317. package/build/src/v1/rich_media_ads_company_service_client.js +2208 -0
  318. package/build/src/v1/rich_media_ads_company_service_client.js.map +1 -0
  319. package/build/src/v1/rich_media_ads_company_service_client_config.json +34 -0
  320. package/build/src/v1/rich_media_ads_company_service_proto_list.json +139 -0
  321. package/build/src/v1/role_service_client.d.ts +143 -44
  322. package/build/src/v1/role_service_client.js +239 -67
  323. package/build/src/v1/role_service_client.js.map +1 -1
  324. package/build/src/v1/role_service_proto_list.json +13 -1
  325. package/build/src/v1/site_service_client.d.ts +146 -47
  326. package/build/src/v1/site_service_client.js +327 -104
  327. package/build/src/v1/site_service_client.js.map +1 -1
  328. package/build/src/v1/site_service_proto_list.json +13 -1
  329. package/build/src/v1/taxonomy_category_service_client.d.ts +112 -40
  330. package/build/src/v1/taxonomy_category_service_client.js +223 -65
  331. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  332. package/build/src/v1/taxonomy_category_service_proto_list.json +13 -1
  333. package/build/src/v1/team_service_client.d.ts +151 -46
  334. package/build/src/v1/team_service_client.js +331 -104
  335. package/build/src/v1/team_service_client.js.map +1 -1
  336. package/build/src/v1/team_service_proto_list.json +13 -1
  337. package/build/src/v1/user_service_client.d.ts +72 -0
  338. package/build/src/v1/user_service_client.js +195 -49
  339. package/build/src/v1/user_service_client.js.map +1 -1
  340. package/build/src/v1/user_service_proto_list.json +13 -1
  341. package/package.json +1 -1
  342. package/build/protos/google/ads/admanager/v1/company_credit_status_enum.proto +0 -97
@@ -96,12 +96,21 @@ class AdReviewCenterAdServiceClient {
96
96
  */
97
97
  constructor(opts, gaxInstance) {
98
98
  // Ensure that options include all the required fields.
99
- const staticMembers = this.constructor;
100
- if (opts?.universe_domain && opts?.universeDomain && opts?.universe_domain !== opts?.universeDomain) {
99
+ const staticMembers = this
100
+ .constructor;
101
+ if (opts?.universe_domain &&
102
+ opts?.universeDomain &&
103
+ opts?.universe_domain !== opts?.universeDomain) {
101
104
  throw new Error('Please set either universe_domain or universeDomain, but not both.');
102
105
  }
103
- const universeDomainEnvVar = (typeof process === 'object' && typeof process.env === 'object') ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] : undefined;
104
- this._universeDomain = opts?.universeDomain ?? opts?.universe_domain ?? universeDomainEnvVar ?? 'googleapis.com';
106
+ const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
107
+ ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
108
+ : undefined;
109
+ this._universeDomain =
110
+ opts?.universeDomain ??
111
+ opts?.universe_domain ??
112
+ universeDomainEnvVar ??
113
+ 'googleapis.com';
105
114
  this._servicePath = 'admanager.' + this._universeDomain;
106
115
  const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;
107
116
  this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint);
@@ -114,7 +123,8 @@ class AdReviewCenterAdServiceClient {
114
123
  else {
115
124
  opts.fallback = opts.fallback ?? true;
116
125
  }
117
- const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function');
126
+ const fallback = opts?.fallback ??
127
+ (typeof window !== 'undefined' && typeof window?.fetch === 'function');
118
128
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
119
129
  // Request numeric enum values if REST transport is used.
120
130
  opts.numericEnums = true;
@@ -143,10 +153,7 @@ class AdReviewCenterAdServiceClient {
143
153
  this.auth.defaultScopes = staticMembers.scopes;
144
154
  }
145
155
  // Determine the client header string.
146
- const clientHeader = [
147
- `gax/${this._gaxModule.version}`,
148
- `gapic/${version}`,
149
- ];
156
+ const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
150
157
  if (typeof process === 'object' && 'versions' in process) {
151
158
  clientHeader.push(`gl-node/${process.versions.node}`);
152
159
  }
@@ -176,6 +183,7 @@ class AdReviewCenterAdServiceClient {
176
183
  bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
177
184
  browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
178
185
  browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
186
+ childPublisherPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/childPublishers/{child_publisher}'),
179
187
  cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
180
188
  cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
181
189
  companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
@@ -194,6 +202,7 @@ class AdReviewCenterAdServiceClient {
194
202
  geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
195
203
  labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
196
204
  lineItemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/lineItems/{line_item}'),
205
+ linkedDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/linkedDevices/{linked_device}'),
197
206
  liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
198
207
  mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
199
208
  mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
@@ -207,6 +216,7 @@ class AdReviewCenterAdServiceClient {
207
216
  privateAuctionDealPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/privateAuctionDeals/{private_auction_deal}'),
208
217
  programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
209
218
  reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
219
+ richMediaAdsCompanyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company}'),
210
220
  rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
211
221
  sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
212
222
  taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
@@ -218,7 +228,7 @@ class AdReviewCenterAdServiceClient {
218
228
  // (e.g. 50 results at a time, with tokens to get subsequent
219
229
  // pages). Denote the keys used for pagination and results.
220
230
  this.descriptors.page = {
221
- searchAdReviewCenterAds: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'adReviewCenterAds')
231
+ searchAdReviewCenterAds: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'adReviewCenterAds'),
222
232
  };
223
233
  const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
224
234
  // This API contains "long-running operations", which return a
@@ -226,20 +236,31 @@ class AdReviewCenterAdServiceClient {
226
236
  // rather than holding a request open.
227
237
  const lroOptions = {
228
238
  auth: this.auth,
229
- grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined
239
+ grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined,
230
240
  };
231
241
  if (opts.fallback) {
232
242
  lroOptions.protoJson = protoFilesRoot;
233
- lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=networks/*/operations/reports/runs/*}', }];
243
+ lroOptions.httpRules = [
244
+ {
245
+ selector: 'google.longrunning.Operations.CancelOperation',
246
+ post: '/v1/{name=networks/*/operations/reports/runs/*}:cancel',
247
+ },
248
+ {
249
+ selector: 'google.longrunning.Operations.GetOperation',
250
+ get: '/v1/{name=networks/*/operations/reports/runs/*}',
251
+ },
252
+ ];
234
253
  }
235
- this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts);
254
+ this.operationsClient = this._gaxModule
255
+ .lro(lroOptions)
256
+ .operationsClient(opts);
236
257
  const batchAllowAdReviewCenterAdsResponse = protoFilesRoot.lookup('.google.ads.admanager.v1.BatchAllowAdReviewCenterAdsResponse');
237
258
  const batchAllowAdReviewCenterAdsMetadata = protoFilesRoot.lookup('.google.ads.admanager.v1.BatchAdReviewCenterAdsOperationMetadata');
238
259
  const batchBlockAdReviewCenterAdsResponse = protoFilesRoot.lookup('.google.ads.admanager.v1.BatchBlockAdReviewCenterAdsResponse');
239
260
  const batchBlockAdReviewCenterAdsMetadata = protoFilesRoot.lookup('.google.ads.admanager.v1.BatchAdReviewCenterAdsOperationMetadata');
240
261
  this.descriptors.longrunning = {
241
262
  batchAllowAdReviewCenterAds: new this._gaxModule.LongrunningDescriptor(this.operationsClient, batchAllowAdReviewCenterAdsResponse.decode.bind(batchAllowAdReviewCenterAdsResponse), batchAllowAdReviewCenterAdsMetadata.decode.bind(batchAllowAdReviewCenterAdsMetadata)),
242
- batchBlockAdReviewCenterAds: new this._gaxModule.LongrunningDescriptor(this.operationsClient, batchBlockAdReviewCenterAdsResponse.decode.bind(batchBlockAdReviewCenterAdsResponse), batchBlockAdReviewCenterAdsMetadata.decode.bind(batchBlockAdReviewCenterAdsMetadata))
263
+ batchBlockAdReviewCenterAds: new this._gaxModule.LongrunningDescriptor(this.operationsClient, batchBlockAdReviewCenterAdsResponse.decode.bind(batchBlockAdReviewCenterAdsResponse), batchBlockAdReviewCenterAdsMetadata.decode.bind(batchBlockAdReviewCenterAdsMetadata)),
243
264
  };
244
265
  // Put together the default options sent with requests.
245
266
  this._defaults = this._gaxGrpc.constructSettings('google.ads.admanager.v1.AdReviewCenterAdService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
@@ -268,15 +289,19 @@ class AdReviewCenterAdServiceClient {
268
289
  }
269
290
  // Put together the "service stub" for
270
291
  // google.ads.admanager.v1.AdReviewCenterAdService.
271
- this.adReviewCenterAdServiceStub = this._gaxGrpc.createStub(this._opts.fallback ?
272
- this._protos.lookupService('google.ads.admanager.v1.AdReviewCenterAdService') :
273
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
274
- this._protos.google.ads.admanager.v1.AdReviewCenterAdService, this._opts, this._providedCustomServicePath);
292
+ this.adReviewCenterAdServiceStub = this._gaxGrpc.createStub(this._opts.fallback
293
+ ? this._protos.lookupService('google.ads.admanager.v1.AdReviewCenterAdService')
294
+ : // eslint-disable-next-line @typescript-eslint/no-explicit-any
295
+ this._protos.google.ads.admanager.v1.AdReviewCenterAdService, this._opts, this._providedCustomServicePath);
275
296
  // Iterate over each of the methods that the service provides
276
297
  // and create an API call method for each.
277
- const adReviewCenterAdServiceStubMethods = ['searchAdReviewCenterAds', 'batchAllowAdReviewCenterAds', 'batchBlockAdReviewCenterAds'];
298
+ const adReviewCenterAdServiceStubMethods = [
299
+ 'searchAdReviewCenterAds',
300
+ 'batchAllowAdReviewCenterAds',
301
+ 'batchBlockAdReviewCenterAds',
302
+ ];
278
303
  for (const methodName of adReviewCenterAdServiceStubMethods) {
279
- const callPromise = this.adReviewCenterAdServiceStub.then(stub => (...args) => {
304
+ const callPromise = this.adReviewCenterAdServiceStub.then((stub) => (...args) => {
280
305
  if (this._terminated) {
281
306
  return Promise.reject('The client has already been closed.');
282
307
  }
@@ -299,7 +324,8 @@ class AdReviewCenterAdServiceClient {
299
324
  * @returns {string} The DNS address for this service.
300
325
  */
301
326
  static get servicePath() {
302
- if (typeof process === 'object' && typeof process.emitWarning === 'function') {
327
+ if (typeof process === 'object' &&
328
+ typeof process.emitWarning === 'function') {
303
329
  process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
304
330
  }
305
331
  return 'admanager.googleapis.com';
@@ -310,7 +336,8 @@ class AdReviewCenterAdServiceClient {
310
336
  * @returns {string} The DNS address for this service.
311
337
  */
312
338
  static get apiEndpoint() {
313
- if (typeof process === 'object' && typeof process.emitWarning === 'function') {
339
+ if (typeof process === 'object' &&
340
+ typeof process.emitWarning === 'function') {
314
341
  process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
315
342
  }
316
343
  return 'admanager.googleapis.com';
@@ -339,7 +366,8 @@ class AdReviewCenterAdServiceClient {
339
366
  */
340
367
  static get scopes() {
341
368
  return [
342
- 'https://www.googleapis.com/auth/admanager'
369
+ 'https://www.googleapis.com/auth/admanager',
370
+ 'https://www.googleapis.com/auth/admanager.readonly',
343
371
  ];
344
372
  }
345
373
  /**
@@ -366,10 +394,13 @@ class AdReviewCenterAdServiceClient {
366
394
  options = options || {};
367
395
  options.otherArgs = options.otherArgs || {};
368
396
  options.otherArgs.headers = options.otherArgs.headers || {};
369
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
370
- 'parent': request.parent ?? '',
397
+ options.otherArgs.headers['x-goog-request-params'] =
398
+ this._gaxModule.routingHeader.fromParams({
399
+ parent: request.parent ?? '',
400
+ });
401
+ this.initialize().catch((err) => {
402
+ throw err;
371
403
  });
372
- this.initialize().catch(err => { throw err; });
373
404
  const wrappedCallback = callback
374
405
  ? (error, response, rawResponse, _) => {
375
406
  this._log.info('batchAllowAdReviewCenterAds response %j', rawResponse);
@@ -377,7 +408,8 @@ class AdReviewCenterAdServiceClient {
377
408
  }
378
409
  : undefined;
379
410
  this._log.info('batchAllowAdReviewCenterAds request %j', request);
380
- return this.innerApiCalls.batchAllowAdReviewCenterAds(request, options, wrappedCallback)
411
+ return this.innerApiCalls
412
+ .batchAllowAdReviewCenterAds(request, options, wrappedCallback)
381
413
  ?.then(([response, rawResponse, _]) => {
382
414
  this._log.info('batchAllowAdReviewCenterAds response %j', rawResponse);
383
415
  return [response, rawResponse, _];
@@ -414,10 +446,13 @@ class AdReviewCenterAdServiceClient {
414
446
  options = options || {};
415
447
  options.otherArgs = options.otherArgs || {};
416
448
  options.otherArgs.headers = options.otherArgs.headers || {};
417
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
418
- 'parent': request.parent ?? '',
449
+ options.otherArgs.headers['x-goog-request-params'] =
450
+ this._gaxModule.routingHeader.fromParams({
451
+ parent: request.parent ?? '',
452
+ });
453
+ this.initialize().catch((err) => {
454
+ throw err;
419
455
  });
420
- this.initialize().catch(err => { throw err; });
421
456
  const wrappedCallback = callback
422
457
  ? (error, response, rawResponse, _) => {
423
458
  this._log.info('batchBlockAdReviewCenterAds response %j', rawResponse);
@@ -425,7 +460,8 @@ class AdReviewCenterAdServiceClient {
425
460
  }
426
461
  : undefined;
427
462
  this._log.info('batchBlockAdReviewCenterAds request %j', request);
428
- return this.innerApiCalls.batchBlockAdReviewCenterAds(request, options, wrappedCallback)
463
+ return this.innerApiCalls
464
+ .batchBlockAdReviewCenterAds(request, options, wrappedCallback)
429
465
  ?.then(([response, rawResponse, _]) => {
430
466
  this._log.info('batchBlockAdReviewCenterAds response %j', rawResponse);
431
467
  return [response, rawResponse, _];
@@ -462,10 +498,13 @@ class AdReviewCenterAdServiceClient {
462
498
  options = options || {};
463
499
  options.otherArgs = options.otherArgs || {};
464
500
  options.otherArgs.headers = options.otherArgs.headers || {};
465
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
466
- 'parent': request.parent ?? '',
501
+ options.otherArgs.headers['x-goog-request-params'] =
502
+ this._gaxModule.routingHeader.fromParams({
503
+ parent: request.parent ?? '',
504
+ });
505
+ this.initialize().catch((err) => {
506
+ throw err;
467
507
  });
468
- this.initialize().catch(err => { throw err; });
469
508
  const wrappedCallback = callback
470
509
  ? (error, values, nextPageRequest, rawResponse) => {
471
510
  this._log.info('searchAdReviewCenterAds values %j', values);
@@ -484,6 +523,13 @@ class AdReviewCenterAdServiceClient {
484
523
  * Equivalent to `searchAdReviewCenterAds`, but returns a NodeJS Stream object.
485
524
  * @param {Object} request
486
525
  * The request object that will be sent.
526
+ * @param {google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus} [request.status]
527
+ * Optional. Only return ads with the given status.
528
+ * @param {google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus} [request.manualReviewStatus]
529
+ * Optional. Only return ads with the given manual review status. Only
530
+ * available for networks with Manual Creative Review enabled. For more
531
+ * information, see
532
+ * https://support.google.com/admanager/answer/2586531#manual-creative-review.
487
533
  * @param {string} request.parent
488
534
  * Required. The parent, which owns this collection of AdReviewCenterAds.
489
535
  * Format: networks/{network_code}/webProperties/{web_property_code}
@@ -507,15 +553,14 @@ class AdReviewCenterAdServiceClient {
507
553
  * @param {string} [request.pageToken]
508
554
  * Optional. The page token to fetch the next page of AdReviewCenterAds. This
509
555
  * is the value returned from a previous Search request, or empty.
510
- * @param {google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus} [request.status]
511
- * Optional. Only return ads with the given status.
512
556
  * @param {string[]} [request.adReviewCenterAdId]
513
557
  * Optional. Only return ads with the given AdReviewCenterAd IDs. If provided,
514
558
  * no other filter can be set (other than page size and page token).
515
559
  * @param {google.type.Interval} [request.dateTimeRange]
516
560
  * Optional. If provided, only return ads that served within the given date
517
561
  * range (inclusive). The date range must be within the last 30 days. If not
518
- * provided, the date range will be the last 30 days.
562
+ * provided, the date range will be the last 30 days. This filter does not
563
+ * apply to the PENDING manual review status.
519
564
  * @param {string[]} [request.searchText]
520
565
  * Optional. If provided, restrict the search to AdReviewCenterAds associated
521
566
  * with the text (including any text on the ad or in the destination URL). If
@@ -525,7 +570,7 @@ class AdReviewCenterAdServiceClient {
525
570
  * @param {number[]} [request.buyerAccountId]
526
571
  * Optional. If provided, restrict the search to creatives belonging to one of
527
572
  * the given Adx buyer account IDs. Only applicable to RTB creatives. Adx
528
- * buyer account IDs can be found via the ProgrammaticBuyerService.
573
+ * buyer account IDs can be found using the `ProgrammaticBuyerService`.
529
574
  * @param {object} [options]
530
575
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
531
576
  * @returns {Stream}
@@ -542,12 +587,15 @@ class AdReviewCenterAdServiceClient {
542
587
  options = options || {};
543
588
  options.otherArgs = options.otherArgs || {};
544
589
  options.otherArgs.headers = options.otherArgs.headers || {};
545
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
546
- 'parent': request.parent ?? '',
547
- });
590
+ options.otherArgs.headers['x-goog-request-params'] =
591
+ this._gaxModule.routingHeader.fromParams({
592
+ parent: request.parent ?? '',
593
+ });
548
594
  const defaultCallSettings = this._defaults['searchAdReviewCenterAds'];
549
595
  const callSettings = defaultCallSettings.merge(options);
550
- this.initialize().catch(err => { throw err; });
596
+ this.initialize().catch((err) => {
597
+ throw err;
598
+ });
551
599
  this._log.info('searchAdReviewCenterAds stream %j', request);
552
600
  return this.descriptors.page.searchAdReviewCenterAds.createStream(this.innerApiCalls.searchAdReviewCenterAds, request, callSettings);
553
601
  }
@@ -557,6 +605,13 @@ class AdReviewCenterAdServiceClient {
557
605
  * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
558
606
  * @param {Object} request
559
607
  * The request object that will be sent.
608
+ * @param {google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus} [request.status]
609
+ * Optional. Only return ads with the given status.
610
+ * @param {google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus} [request.manualReviewStatus]
611
+ * Optional. Only return ads with the given manual review status. Only
612
+ * available for networks with Manual Creative Review enabled. For more
613
+ * information, see
614
+ * https://support.google.com/admanager/answer/2586531#manual-creative-review.
560
615
  * @param {string} request.parent
561
616
  * Required. The parent, which owns this collection of AdReviewCenterAds.
562
617
  * Format: networks/{network_code}/webProperties/{web_property_code}
@@ -580,15 +635,14 @@ class AdReviewCenterAdServiceClient {
580
635
  * @param {string} [request.pageToken]
581
636
  * Optional. The page token to fetch the next page of AdReviewCenterAds. This
582
637
  * is the value returned from a previous Search request, or empty.
583
- * @param {google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus} [request.status]
584
- * Optional. Only return ads with the given status.
585
638
  * @param {string[]} [request.adReviewCenterAdId]
586
639
  * Optional. Only return ads with the given AdReviewCenterAd IDs. If provided,
587
640
  * no other filter can be set (other than page size and page token).
588
641
  * @param {google.type.Interval} [request.dateTimeRange]
589
642
  * Optional. If provided, only return ads that served within the given date
590
643
  * range (inclusive). The date range must be within the last 30 days. If not
591
- * provided, the date range will be the last 30 days.
644
+ * provided, the date range will be the last 30 days. This filter does not
645
+ * apply to the PENDING manual review status.
592
646
  * @param {string[]} [request.searchText]
593
647
  * Optional. If provided, restrict the search to AdReviewCenterAds associated
594
648
  * with the text (including any text on the ad or in the destination URL). If
@@ -598,7 +652,7 @@ class AdReviewCenterAdServiceClient {
598
652
  * @param {number[]} [request.buyerAccountId]
599
653
  * Optional. If provided, restrict the search to creatives belonging to one of
600
654
  * the given Adx buyer account IDs. Only applicable to RTB creatives. Adx
601
- * buyer account IDs can be found via the ProgrammaticBuyerService.
655
+ * buyer account IDs can be found using the `ProgrammaticBuyerService`.
602
656
  * @param {object} [options]
603
657
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
604
658
  * @returns {Object}
@@ -616,45 +670,48 @@ class AdReviewCenterAdServiceClient {
616
670
  options = options || {};
617
671
  options.otherArgs = options.otherArgs || {};
618
672
  options.otherArgs.headers = options.otherArgs.headers || {};
619
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
620
- 'parent': request.parent ?? '',
621
- });
673
+ options.otherArgs.headers['x-goog-request-params'] =
674
+ this._gaxModule.routingHeader.fromParams({
675
+ parent: request.parent ?? '',
676
+ });
622
677
  const defaultCallSettings = this._defaults['searchAdReviewCenterAds'];
623
678
  const callSettings = defaultCallSettings.merge(options);
624
- this.initialize().catch(err => { throw err; });
679
+ this.initialize().catch((err) => {
680
+ throw err;
681
+ });
625
682
  this._log.info('searchAdReviewCenterAds iterate %j', request);
626
683
  return this.descriptors.page.searchAdReviewCenterAds.asyncIterate(this.innerApiCalls['searchAdReviewCenterAds'], request, callSettings);
627
684
  }
628
685
  /**
629
- * Gets the latest state of a long-running operation. Clients can use this
630
- * method to poll the operation result at intervals as recommended by the API
631
- * service.
632
- *
633
- * @param {Object} request - The request object that will be sent.
634
- * @param {string} request.name - The name of the operation resource.
635
- * @param {Object=} options
636
- * Optional parameters. You can override the default settings for this call,
637
- * e.g, timeout, retries, paginations, etc. See {@link
638
- * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
639
- * for the details.
640
- * @param {function(?Error, ?Object)=} callback
641
- * The function which will be called with the result of the API call.
642
- *
643
- * The second parameter to the callback is an object representing
644
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
645
- * @return {Promise} - The promise which resolves to an array.
646
- * The first element of the array is an object representing
647
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
648
- * The promise has a method named "cancel" which cancels the ongoing API call.
649
- *
650
- * @example
651
- * ```
652
- * const client = longrunning.operationsClient();
653
- * const name = '';
654
- * const [response] = await client.getOperation({name});
655
- * // doThingsWith(response)
656
- * ```
657
- */
686
+ * Gets the latest state of a long-running operation. Clients can use this
687
+ * method to poll the operation result at intervals as recommended by the API
688
+ * service.
689
+ *
690
+ * @param {Object} request - The request object that will be sent.
691
+ * @param {string} request.name - The name of the operation resource.
692
+ * @param {Object=} options
693
+ * Optional parameters. You can override the default settings for this call,
694
+ * e.g, timeout, retries, paginations, etc. See {@link
695
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
696
+ * for the details.
697
+ * @param {function(?Error, ?Object)=} callback
698
+ * The function which will be called with the result of the API call.
699
+ *
700
+ * The second parameter to the callback is an object representing
701
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
702
+ * @return {Promise} - The promise which resolves to an array.
703
+ * The first element of the array is an object representing
704
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
705
+ * The promise has a method named "cancel" which cancels the ongoing API call.
706
+ *
707
+ * @example
708
+ * ```
709
+ * const client = longrunning.operationsClient();
710
+ * const name = '';
711
+ * const [response] = await client.getOperation({name});
712
+ * // doThingsWith(response)
713
+ * ```
714
+ */
658
715
  getOperation(request, optionsOrCallback, callback) {
659
716
  let options;
660
717
  if (typeof optionsOrCallback === 'function' && callback === undefined) {
@@ -831,7 +888,8 @@ class AdReviewCenterAdServiceClient {
831
888
  * @returns {string} A string representing the network_code.
832
889
  */
833
890
  matchNetworkCodeFromAdBreakName(adBreakName) {
834
- return this.pathTemplates.adBreakPathTemplate.match(adBreakName).network_code;
891
+ return this.pathTemplates.adBreakPathTemplate.match(adBreakName)
892
+ .network_code;
835
893
  }
836
894
  /**
837
895
  * Parse the asset_key from AdBreak resource.
@@ -952,7 +1010,8 @@ class AdReviewCenterAdServiceClient {
952
1010
  * @returns {string} A string representing the network_code.
953
1011
  */
954
1012
  matchNetworkCodeFromApplicationName(applicationName) {
955
- return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
1013
+ return this.pathTemplates.applicationPathTemplate.match(applicationName)
1014
+ .network_code;
956
1015
  }
957
1016
  /**
958
1017
  * Parse the application from Application resource.
@@ -962,7 +1021,8 @@ class AdReviewCenterAdServiceClient {
962
1021
  * @returns {string} A string representing the application.
963
1022
  */
964
1023
  matchApplicationFromApplicationName(applicationName) {
965
- return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
1024
+ return this.pathTemplates.applicationPathTemplate.match(applicationName)
1025
+ .application;
966
1026
  }
967
1027
  /**
968
1028
  * Return a fully-qualified audienceSegment resource name string.
@@ -1051,7 +1111,8 @@ class AdReviewCenterAdServiceClient {
1051
1111
  * @returns {string} A string representing the network_code.
1052
1112
  */
1053
1113
  matchNetworkCodeFromBrowserName(browserName) {
1054
- return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
1114
+ return this.pathTemplates.browserPathTemplate.match(browserName)
1115
+ .network_code;
1055
1116
  }
1056
1117
  /**
1057
1118
  * Parse the browser from Browser resource.
@@ -1096,6 +1157,39 @@ class AdReviewCenterAdServiceClient {
1096
1157
  matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
1097
1158
  return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
1098
1159
  }
1160
+ /**
1161
+ * Return a fully-qualified childPublisher resource name string.
1162
+ *
1163
+ * @param {string} network_code
1164
+ * @param {string} child_publisher
1165
+ * @returns {string} Resource name string.
1166
+ */
1167
+ childPublisherPath(networkCode, childPublisher) {
1168
+ return this.pathTemplates.childPublisherPathTemplate.render({
1169
+ network_code: networkCode,
1170
+ child_publisher: childPublisher,
1171
+ });
1172
+ }
1173
+ /**
1174
+ * Parse the network_code from ChildPublisher resource.
1175
+ *
1176
+ * @param {string} childPublisherName
1177
+ * A fully-qualified path representing ChildPublisher resource.
1178
+ * @returns {string} A string representing the network_code.
1179
+ */
1180
+ matchNetworkCodeFromChildPublisherName(childPublisherName) {
1181
+ return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).network_code;
1182
+ }
1183
+ /**
1184
+ * Parse the child_publisher from ChildPublisher resource.
1185
+ *
1186
+ * @param {string} childPublisherName
1187
+ * A fully-qualified path representing ChildPublisher resource.
1188
+ * @returns {string} A string representing the child_publisher.
1189
+ */
1190
+ matchChildPublisherFromChildPublisherName(childPublisherName) {
1191
+ return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).child_publisher;
1192
+ }
1099
1193
  /**
1100
1194
  * Return a fully-qualified cmsMetadataKey resource name string.
1101
1195
  *
@@ -1183,7 +1277,8 @@ class AdReviewCenterAdServiceClient {
1183
1277
  * @returns {string} A string representing the network_code.
1184
1278
  */
1185
1279
  matchNetworkCodeFromCompanyName(companyName) {
1186
- return this.pathTemplates.companyPathTemplate.match(companyName).network_code;
1280
+ return this.pathTemplates.companyPathTemplate.match(companyName)
1281
+ .network_code;
1187
1282
  }
1188
1283
  /**
1189
1284
  * Parse the company from Company resource.
@@ -1216,7 +1311,8 @@ class AdReviewCenterAdServiceClient {
1216
1311
  * @returns {string} A string representing the network_code.
1217
1312
  */
1218
1313
  matchNetworkCodeFromContactName(contactName) {
1219
- return this.pathTemplates.contactPathTemplate.match(contactName).network_code;
1314
+ return this.pathTemplates.contactPathTemplate.match(contactName)
1315
+ .network_code;
1220
1316
  }
1221
1317
  /**
1222
1318
  * Parse the contact from Contact resource.
@@ -1249,7 +1345,8 @@ class AdReviewCenterAdServiceClient {
1249
1345
  * @returns {string} A string representing the network_code.
1250
1346
  */
1251
1347
  matchNetworkCodeFromContentName(contentName) {
1252
- return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
1348
+ return this.pathTemplates.contentPathTemplate.match(contentName)
1349
+ .network_code;
1253
1350
  }
1254
1351
  /**
1255
1352
  * Parse the content from Content resource.
@@ -1282,7 +1379,8 @@ class AdReviewCenterAdServiceClient {
1282
1379
  * @returns {string} A string representing the network_code.
1283
1380
  */
1284
1381
  matchNetworkCodeFromContentBundleName(contentBundleName) {
1285
- return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
1382
+ return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
1383
+ .network_code;
1286
1384
  }
1287
1385
  /**
1288
1386
  * Parse the content_bundle from ContentBundle resource.
@@ -1292,7 +1390,8 @@ class AdReviewCenterAdServiceClient {
1292
1390
  * @returns {string} A string representing the content_bundle.
1293
1391
  */
1294
1392
  matchContentBundleFromContentBundleName(contentBundleName) {
1295
- return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
1393
+ return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
1394
+ .content_bundle;
1296
1395
  }
1297
1396
  /**
1298
1397
  * Return a fully-qualified contentLabel resource name string.
@@ -1315,7 +1414,8 @@ class AdReviewCenterAdServiceClient {
1315
1414
  * @returns {string} A string representing the network_code.
1316
1415
  */
1317
1416
  matchNetworkCodeFromContentLabelName(contentLabelName) {
1318
- return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
1417
+ return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
1418
+ .network_code;
1319
1419
  }
1320
1420
  /**
1321
1421
  * Parse the content_label from ContentLabel resource.
@@ -1325,7 +1425,8 @@ class AdReviewCenterAdServiceClient {
1325
1425
  * @returns {string} A string representing the content_label.
1326
1426
  */
1327
1427
  matchContentLabelFromContentLabelName(contentLabelName) {
1328
- return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
1428
+ return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
1429
+ .content_label;
1329
1430
  }
1330
1431
  /**
1331
1432
  * Return a fully-qualified creativeTemplate resource name string.
@@ -1381,7 +1482,8 @@ class AdReviewCenterAdServiceClient {
1381
1482
  * @returns {string} A string representing the network_code.
1382
1483
  */
1383
1484
  matchNetworkCodeFromCustomFieldName(customFieldName) {
1384
- return this.pathTemplates.customFieldPathTemplate.match(customFieldName).network_code;
1485
+ return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
1486
+ .network_code;
1385
1487
  }
1386
1488
  /**
1387
1489
  * Parse the custom_field from CustomField resource.
@@ -1391,7 +1493,8 @@ class AdReviewCenterAdServiceClient {
1391
1493
  * @returns {string} A string representing the custom_field.
1392
1494
  */
1393
1495
  matchCustomFieldFromCustomFieldName(customFieldName) {
1394
- return this.pathTemplates.customFieldPathTemplate.match(customFieldName).custom_field;
1496
+ return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
1497
+ .custom_field;
1395
1498
  }
1396
1499
  /**
1397
1500
  * Return a fully-qualified customTargetingKey resource name string.
@@ -1612,7 +1715,8 @@ class AdReviewCenterAdServiceClient {
1612
1715
  * @returns {string} A string representing the network_code.
1613
1716
  */
1614
1717
  matchNetworkCodeFromGeoTargetName(geoTargetName) {
1615
- return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName).network_code;
1718
+ return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
1719
+ .network_code;
1616
1720
  }
1617
1721
  /**
1618
1722
  * Parse the geo_target from GeoTarget resource.
@@ -1622,7 +1726,8 @@ class AdReviewCenterAdServiceClient {
1622
1726
  * @returns {string} A string representing the geo_target.
1623
1727
  */
1624
1728
  matchGeoTargetFromGeoTargetName(geoTargetName) {
1625
- return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName).geo_target;
1729
+ return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
1730
+ .geo_target;
1626
1731
  }
1627
1732
  /**
1628
1733
  * Return a fully-qualified label resource name string.
@@ -1678,7 +1783,8 @@ class AdReviewCenterAdServiceClient {
1678
1783
  * @returns {string} A string representing the network_code.
1679
1784
  */
1680
1785
  matchNetworkCodeFromLineItemName(lineItemName) {
1681
- return this.pathTemplates.lineItemPathTemplate.match(lineItemName).network_code;
1786
+ return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
1787
+ .network_code;
1682
1788
  }
1683
1789
  /**
1684
1790
  * Parse the line_item from LineItem resource.
@@ -1688,7 +1794,43 @@ class AdReviewCenterAdServiceClient {
1688
1794
  * @returns {string} A string representing the line_item.
1689
1795
  */
1690
1796
  matchLineItemFromLineItemName(lineItemName) {
1691
- return this.pathTemplates.lineItemPathTemplate.match(lineItemName).line_item;
1797
+ return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
1798
+ .line_item;
1799
+ }
1800
+ /**
1801
+ * Return a fully-qualified linkedDevice resource name string.
1802
+ *
1803
+ * @param {string} network_code
1804
+ * @param {string} linked_device
1805
+ * @returns {string} Resource name string.
1806
+ */
1807
+ linkedDevicePath(networkCode, linkedDevice) {
1808
+ return this.pathTemplates.linkedDevicePathTemplate.render({
1809
+ network_code: networkCode,
1810
+ linked_device: linkedDevice,
1811
+ });
1812
+ }
1813
+ /**
1814
+ * Parse the network_code from LinkedDevice resource.
1815
+ *
1816
+ * @param {string} linkedDeviceName
1817
+ * A fully-qualified path representing LinkedDevice resource.
1818
+ * @returns {string} A string representing the network_code.
1819
+ */
1820
+ matchNetworkCodeFromLinkedDeviceName(linkedDeviceName) {
1821
+ return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
1822
+ .network_code;
1823
+ }
1824
+ /**
1825
+ * Parse the linked_device from LinkedDevice resource.
1826
+ *
1827
+ * @param {string} linkedDeviceName
1828
+ * A fully-qualified path representing LinkedDevice resource.
1829
+ * @returns {string} A string representing the linked_device.
1830
+ */
1831
+ matchLinkedDeviceFromLinkedDeviceName(linkedDeviceName) {
1832
+ return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
1833
+ .linked_device;
1692
1834
  }
1693
1835
  /**
1694
1836
  * Return a fully-qualified liveStreamEvent resource name string.
@@ -1744,7 +1886,8 @@ class AdReviewCenterAdServiceClient {
1744
1886
  * @returns {string} A string representing the network_code.
1745
1887
  */
1746
1888
  matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
1747
- return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
1889
+ return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
1890
+ .network_code;
1748
1891
  }
1749
1892
  /**
1750
1893
  * Parse the mobile_carrier from MobileCarrier resource.
@@ -1754,7 +1897,8 @@ class AdReviewCenterAdServiceClient {
1754
1897
  * @returns {string} A string representing the mobile_carrier.
1755
1898
  */
1756
1899
  matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
1757
- return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
1900
+ return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
1901
+ .mobile_carrier;
1758
1902
  }
1759
1903
  /**
1760
1904
  * Return a fully-qualified mobileDevice resource name string.
@@ -1777,7 +1921,8 @@ class AdReviewCenterAdServiceClient {
1777
1921
  * @returns {string} A string representing the network_code.
1778
1922
  */
1779
1923
  matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
1780
- return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
1924
+ return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
1925
+ .network_code;
1781
1926
  }
1782
1927
  /**
1783
1928
  * Parse the mobile_device from MobileDevice resource.
@@ -1787,7 +1932,8 @@ class AdReviewCenterAdServiceClient {
1787
1932
  * @returns {string} A string representing the mobile_device.
1788
1933
  */
1789
1934
  matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
1790
- return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
1935
+ return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
1936
+ .mobile_device;
1791
1937
  }
1792
1938
  /**
1793
1939
  * Return a fully-qualified mobileDeviceSubmodel resource name string.
@@ -1841,7 +1987,8 @@ class AdReviewCenterAdServiceClient {
1841
1987
  * @returns {string} A string representing the network_code.
1842
1988
  */
1843
1989
  matchNetworkCodeFromNetworkName(networkName) {
1844
- return this.pathTemplates.networkPathTemplate.match(networkName).network_code;
1990
+ return this.pathTemplates.networkPathTemplate.match(networkName)
1991
+ .network_code;
1845
1992
  }
1846
1993
  /**
1847
1994
  * Return a fully-qualified operatingSystem resource name string.
@@ -1963,7 +2110,8 @@ class AdReviewCenterAdServiceClient {
1963
2110
  * @returns {string} A string representing the network_code.
1964
2111
  */
1965
2112
  matchNetworkCodeFromPlacementName(placementName) {
1966
- return this.pathTemplates.placementPathTemplate.match(placementName).network_code;
2113
+ return this.pathTemplates.placementPathTemplate.match(placementName)
2114
+ .network_code;
1967
2115
  }
1968
2116
  /**
1969
2117
  * Parse the placement from Placement resource.
@@ -1973,7 +2121,8 @@ class AdReviewCenterAdServiceClient {
1973
2121
  * @returns {string} A string representing the placement.
1974
2122
  */
1975
2123
  matchPlacementFromPlacementName(placementName) {
1976
- return this.pathTemplates.placementPathTemplate.match(placementName).placement;
2124
+ return this.pathTemplates.placementPathTemplate.match(placementName)
2125
+ .placement;
1977
2126
  }
1978
2127
  /**
1979
2128
  * Return a fully-qualified privateAuction resource name string.
@@ -2107,6 +2256,39 @@ class AdReviewCenterAdServiceClient {
2107
2256
  matchReportFromReportName(reportName) {
2108
2257
  return this.pathTemplates.reportPathTemplate.match(reportName).report;
2109
2258
  }
2259
+ /**
2260
+ * Return a fully-qualified richMediaAdsCompany resource name string.
2261
+ *
2262
+ * @param {string} network_code
2263
+ * @param {string} rich_media_ads_company
2264
+ * @returns {string} Resource name string.
2265
+ */
2266
+ richMediaAdsCompanyPath(networkCode, richMediaAdsCompany) {
2267
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.render({
2268
+ network_code: networkCode,
2269
+ rich_media_ads_company: richMediaAdsCompany,
2270
+ });
2271
+ }
2272
+ /**
2273
+ * Parse the network_code from RichMediaAdsCompany resource.
2274
+ *
2275
+ * @param {string} richMediaAdsCompanyName
2276
+ * A fully-qualified path representing RichMediaAdsCompany resource.
2277
+ * @returns {string} A string representing the network_code.
2278
+ */
2279
+ matchNetworkCodeFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
2280
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).network_code;
2281
+ }
2282
+ /**
2283
+ * Parse the rich_media_ads_company from RichMediaAdsCompany resource.
2284
+ *
2285
+ * @param {string} richMediaAdsCompanyName
2286
+ * A fully-qualified path representing RichMediaAdsCompany resource.
2287
+ * @returns {string} A string representing the rich_media_ads_company.
2288
+ */
2289
+ matchRichMediaAdsCompanyFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
2290
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).rich_media_ads_company;
2291
+ }
2110
2292
  /**
2111
2293
  * Return a fully-qualified role resource name string.
2112
2294
  *
@@ -2293,7 +2475,8 @@ class AdReviewCenterAdServiceClient {
2293
2475
  * @returns {string} A string representing the network_code.
2294
2476
  */
2295
2477
  matchNetworkCodeFromWebPropertyName(webPropertyName) {
2296
- return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
2478
+ return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
2479
+ .network_code;
2297
2480
  }
2298
2481
  /**
2299
2482
  * Parse the web_property from WebProperty resource.
@@ -2303,7 +2486,8 @@ class AdReviewCenterAdServiceClient {
2303
2486
  * @returns {string} A string representing the web_property.
2304
2487
  */
2305
2488
  matchWebPropertyFromWebPropertyName(webPropertyName) {
2306
- return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
2489
+ return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
2490
+ .web_property;
2307
2491
  }
2308
2492
  /**
2309
2493
  * Terminate the gRPC channel and close the client.
@@ -2313,7 +2497,7 @@ class AdReviewCenterAdServiceClient {
2313
2497
  */
2314
2498
  close() {
2315
2499
  if (this.adReviewCenterAdServiceStub && !this._terminated) {
2316
- return this.adReviewCenterAdServiceStub.then(stub => {
2500
+ return this.adReviewCenterAdServiceStub.then((stub) => {
2317
2501
  this._log.info('ending gRPC channel');
2318
2502
  this._terminated = true;
2319
2503
  stub.close();