@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
@@ -97,11 +97,19 @@ class ReportServiceClient {
97
97
  constructor(opts, gaxInstance) {
98
98
  // Ensure that options include all the required fields.
99
99
  const staticMembers = this.constructor;
100
- if (opts?.universe_domain && opts?.universeDomain && opts?.universe_domain !== opts?.universeDomain) {
100
+ if (opts?.universe_domain &&
101
+ opts?.universeDomain &&
102
+ opts?.universe_domain !== opts?.universeDomain) {
101
103
  throw new Error('Please set either universe_domain or universeDomain, but not both.');
102
104
  }
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';
105
+ const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
106
+ ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
107
+ : undefined;
108
+ this._universeDomain =
109
+ opts?.universeDomain ??
110
+ opts?.universe_domain ??
111
+ universeDomainEnvVar ??
112
+ 'googleapis.com';
105
113
  this._servicePath = 'admanager.' + this._universeDomain;
106
114
  const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;
107
115
  this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint);
@@ -114,7 +122,8 @@ class ReportServiceClient {
114
122
  else {
115
123
  opts.fallback = opts.fallback ?? true;
116
124
  }
117
- const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function');
125
+ const fallback = opts?.fallback ??
126
+ (typeof window !== 'undefined' && typeof window?.fetch === 'function');
118
127
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
119
128
  // Request numeric enum values if REST transport is used.
120
129
  opts.numericEnums = true;
@@ -143,10 +152,7 @@ class ReportServiceClient {
143
152
  this.auth.defaultScopes = staticMembers.scopes;
144
153
  }
145
154
  // Determine the client header string.
146
- const clientHeader = [
147
- `gax/${this._gaxModule.version}`,
148
- `gapic/${version}`,
149
- ];
155
+ const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
150
156
  if (typeof process === 'object' && 'versions' in process) {
151
157
  clientHeader.push(`gl-node/${process.versions.node}`);
152
158
  }
@@ -176,6 +182,7 @@ class ReportServiceClient {
176
182
  bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
177
183
  browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
178
184
  browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
185
+ childPublisherPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/childPublishers/{child_publisher}'),
179
186
  cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
180
187
  cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
181
188
  companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
@@ -194,6 +201,7 @@ class ReportServiceClient {
194
201
  geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
195
202
  labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
196
203
  lineItemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/lineItems/{line_item}'),
204
+ linkedDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/linkedDevices/{linked_device}'),
197
205
  liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
198
206
  mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
199
207
  mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
@@ -207,6 +215,7 @@ class ReportServiceClient {
207
215
  privateAuctionDealPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/privateAuctionDeals/{private_auction_deal}'),
208
216
  programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
209
217
  reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
218
+ richMediaAdsCompanyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/richMediaAdsCompanies/{rich_media_ads_company}'),
210
219
  rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
211
220
  sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
212
221
  taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
@@ -219,7 +228,7 @@ class ReportServiceClient {
219
228
  // pages). Denote the keys used for pagination and results.
220
229
  this.descriptors.page = {
221
230
  listReports: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'reports'),
222
- fetchReportResultRows: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'rows')
231
+ fetchReportResultRows: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'rows'),
223
232
  };
224
233
  const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
225
234
  // This API contains "long-running operations", which return a
@@ -227,17 +236,28 @@ class ReportServiceClient {
227
236
  // rather than holding a request open.
228
237
  const lroOptions = {
229
238
  auth: this.auth,
230
- grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined
239
+ grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined,
231
240
  };
232
241
  if (opts.fallback) {
233
242
  lroOptions.protoJson = protoFilesRoot;
234
- 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
+ ];
235
253
  }
236
- this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts);
254
+ this.operationsClient = this._gaxModule
255
+ .lro(lroOptions)
256
+ .operationsClient(opts);
237
257
  const runReportResponse = protoFilesRoot.lookup('.google.ads.admanager.v1.RunReportResponse');
238
258
  const runReportMetadata = protoFilesRoot.lookup('.google.ads.admanager.v1.RunReportMetadata');
239
259
  this.descriptors.longrunning = {
240
- runReport: new this._gaxModule.LongrunningDescriptor(this.operationsClient, runReportResponse.decode.bind(runReportResponse), runReportMetadata.decode.bind(runReportMetadata))
260
+ runReport: new this._gaxModule.LongrunningDescriptor(this.operationsClient, runReportResponse.decode.bind(runReportResponse), runReportMetadata.decode.bind(runReportMetadata)),
241
261
  };
242
262
  // Put together the default options sent with requests.
243
263
  this._defaults = this._gaxGrpc.constructSettings('google.ads.admanager.v1.ReportService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
@@ -266,15 +286,22 @@ class ReportServiceClient {
266
286
  }
267
287
  // Put together the "service stub" for
268
288
  // google.ads.admanager.v1.ReportService.
269
- this.reportServiceStub = this._gaxGrpc.createStub(this._opts.fallback ?
270
- this._protos.lookupService('google.ads.admanager.v1.ReportService') :
271
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
272
- this._protos.google.ads.admanager.v1.ReportService, this._opts, this._providedCustomServicePath);
289
+ this.reportServiceStub = this._gaxGrpc.createStub(this._opts.fallback
290
+ ? this._protos.lookupService('google.ads.admanager.v1.ReportService')
291
+ : // eslint-disable-next-line @typescript-eslint/no-explicit-any
292
+ this._protos.google.ads.admanager.v1.ReportService, this._opts, this._providedCustomServicePath);
273
293
  // Iterate over each of the methods that the service provides
274
294
  // and create an API call method for each.
275
- const reportServiceStubMethods = ['getReport', 'listReports', 'createReport', 'updateReport', 'runReport', 'fetchReportResultRows'];
295
+ const reportServiceStubMethods = [
296
+ 'getReport',
297
+ 'listReports',
298
+ 'createReport',
299
+ 'updateReport',
300
+ 'runReport',
301
+ 'fetchReportResultRows',
302
+ ];
276
303
  for (const methodName of reportServiceStubMethods) {
277
- const callPromise = this.reportServiceStub.then(stub => (...args) => {
304
+ const callPromise = this.reportServiceStub.then((stub) => (...args) => {
278
305
  if (this._terminated) {
279
306
  return Promise.reject('The client has already been closed.');
280
307
  }
@@ -297,7 +324,8 @@ class ReportServiceClient {
297
324
  * @returns {string} The DNS address for this service.
298
325
  */
299
326
  static get servicePath() {
300
- if (typeof process === 'object' && typeof process.emitWarning === 'function') {
327
+ if (typeof process === 'object' &&
328
+ typeof process.emitWarning === 'function') {
301
329
  process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
302
330
  }
303
331
  return 'admanager.googleapis.com';
@@ -308,7 +336,8 @@ class ReportServiceClient {
308
336
  * @returns {string} The DNS address for this service.
309
337
  */
310
338
  static get apiEndpoint() {
311
- if (typeof process === 'object' && typeof process.emitWarning === 'function') {
339
+ if (typeof process === 'object' &&
340
+ typeof process.emitWarning === 'function') {
312
341
  process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
313
342
  }
314
343
  return 'admanager.googleapis.com';
@@ -337,7 +366,8 @@ class ReportServiceClient {
337
366
  */
338
367
  static get scopes() {
339
368
  return [
340
- 'https://www.googleapis.com/auth/admanager'
369
+ 'https://www.googleapis.com/auth/admanager',
370
+ 'https://www.googleapis.com/auth/admanager.readonly',
341
371
  ];
342
372
  }
343
373
  /**
@@ -364,10 +394,13 @@ class ReportServiceClient {
364
394
  options = options || {};
365
395
  options.otherArgs = options.otherArgs || {};
366
396
  options.otherArgs.headers = options.otherArgs.headers || {};
367
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
368
- 'name': request.name ?? '',
397
+ options.otherArgs.headers['x-goog-request-params'] =
398
+ this._gaxModule.routingHeader.fromParams({
399
+ name: request.name ?? '',
400
+ });
401
+ this.initialize().catch((err) => {
402
+ throw err;
369
403
  });
370
- this.initialize().catch(err => { throw err; });
371
404
  this._log.info('getReport request %j', request);
372
405
  const wrappedCallback = callback
373
406
  ? (error, response, options, rawResponse) => {
@@ -375,12 +408,16 @@ class ReportServiceClient {
375
408
  callback(error, response, options, rawResponse); // We verified callback above.
376
409
  }
377
410
  : undefined;
378
- return this.innerApiCalls.getReport(request, options, wrappedCallback)
411
+ return this.innerApiCalls
412
+ .getReport(request, options, wrappedCallback)
379
413
  ?.then(([response, options, rawResponse]) => {
380
414
  this._log.info('getReport response %j', response);
381
415
  return [response, options, rawResponse];
382
- }).catch((error) => {
383
- if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
416
+ })
417
+ .catch((error) => {
418
+ if (error &&
419
+ 'statusDetails' in error &&
420
+ error.statusDetails instanceof Array) {
384
421
  const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
385
422
  error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
386
423
  }
@@ -400,10 +437,13 @@ class ReportServiceClient {
400
437
  options = options || {};
401
438
  options.otherArgs = options.otherArgs || {};
402
439
  options.otherArgs.headers = options.otherArgs.headers || {};
403
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
404
- 'parent': request.parent ?? '',
440
+ options.otherArgs.headers['x-goog-request-params'] =
441
+ this._gaxModule.routingHeader.fromParams({
442
+ parent: request.parent ?? '',
443
+ });
444
+ this.initialize().catch((err) => {
445
+ throw err;
405
446
  });
406
- this.initialize().catch(err => { throw err; });
407
447
  this._log.info('createReport request %j', request);
408
448
  const wrappedCallback = callback
409
449
  ? (error, response, options, rawResponse) => {
@@ -411,12 +451,16 @@ class ReportServiceClient {
411
451
  callback(error, response, options, rawResponse); // We verified callback above.
412
452
  }
413
453
  : undefined;
414
- return this.innerApiCalls.createReport(request, options, wrappedCallback)
454
+ return this.innerApiCalls
455
+ .createReport(request, options, wrappedCallback)
415
456
  ?.then(([response, options, rawResponse]) => {
416
457
  this._log.info('createReport response %j', response);
417
458
  return [response, options, rawResponse];
418
- }).catch((error) => {
419
- if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
459
+ })
460
+ .catch((error) => {
461
+ if (error &&
462
+ 'statusDetails' in error &&
463
+ error.statusDetails instanceof Array) {
420
464
  const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
421
465
  error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
422
466
  }
@@ -436,10 +480,13 @@ class ReportServiceClient {
436
480
  options = options || {};
437
481
  options.otherArgs = options.otherArgs || {};
438
482
  options.otherArgs.headers = options.otherArgs.headers || {};
439
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
440
- 'report.name': request.report.name ?? '',
483
+ options.otherArgs.headers['x-goog-request-params'] =
484
+ this._gaxModule.routingHeader.fromParams({
485
+ 'report.name': request.report.name ?? '',
486
+ });
487
+ this.initialize().catch((err) => {
488
+ throw err;
441
489
  });
442
- this.initialize().catch(err => { throw err; });
443
490
  this._log.info('updateReport request %j', request);
444
491
  const wrappedCallback = callback
445
492
  ? (error, response, options, rawResponse) => {
@@ -447,12 +494,16 @@ class ReportServiceClient {
447
494
  callback(error, response, options, rawResponse); // We verified callback above.
448
495
  }
449
496
  : undefined;
450
- return this.innerApiCalls.updateReport(request, options, wrappedCallback)
497
+ return this.innerApiCalls
498
+ .updateReport(request, options, wrappedCallback)
451
499
  ?.then(([response, options, rawResponse]) => {
452
500
  this._log.info('updateReport response %j', response);
453
501
  return [response, options, rawResponse];
454
- }).catch((error) => {
455
- if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
502
+ })
503
+ .catch((error) => {
504
+ if (error &&
505
+ 'statusDetails' in error &&
506
+ error.statusDetails instanceof Array) {
456
507
  const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
457
508
  error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
458
509
  }
@@ -472,10 +523,13 @@ class ReportServiceClient {
472
523
  options = options || {};
473
524
  options.otherArgs = options.otherArgs || {};
474
525
  options.otherArgs.headers = options.otherArgs.headers || {};
475
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
476
- 'name': request.name ?? '',
526
+ options.otherArgs.headers['x-goog-request-params'] =
527
+ this._gaxModule.routingHeader.fromParams({
528
+ name: request.name ?? '',
529
+ });
530
+ this.initialize().catch((err) => {
531
+ throw err;
477
532
  });
478
- this.initialize().catch(err => { throw err; });
479
533
  const wrappedCallback = callback
480
534
  ? (error, response, rawResponse, _) => {
481
535
  this._log.info('runReport response %j', rawResponse);
@@ -483,7 +537,8 @@ class ReportServiceClient {
483
537
  }
484
538
  : undefined;
485
539
  this._log.info('runReport request %j', request);
486
- return this.innerApiCalls.runReport(request, options, wrappedCallback)
540
+ return this.innerApiCalls
541
+ .runReport(request, options, wrappedCallback)
487
542
  ?.then(([response, rawResponse, _]) => {
488
543
  this._log.info('runReport response %j', rawResponse);
489
544
  return [response, rawResponse, _];
@@ -520,10 +575,13 @@ class ReportServiceClient {
520
575
  options = options || {};
521
576
  options.otherArgs = options.otherArgs || {};
522
577
  options.otherArgs.headers = options.otherArgs.headers || {};
523
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
524
- 'parent': request.parent ?? '',
578
+ options.otherArgs.headers['x-goog-request-params'] =
579
+ this._gaxModule.routingHeader.fromParams({
580
+ parent: request.parent ?? '',
581
+ });
582
+ this.initialize().catch((err) => {
583
+ throw err;
525
584
  });
526
- this.initialize().catch(err => { throw err; });
527
585
  const wrappedCallback = callback
528
586
  ? (error, values, nextPageRequest, rawResponse) => {
529
587
  this._log.info('listReports values %j', values);
@@ -582,12 +640,15 @@ class ReportServiceClient {
582
640
  options = options || {};
583
641
  options.otherArgs = options.otherArgs || {};
584
642
  options.otherArgs.headers = options.otherArgs.headers || {};
585
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
586
- 'parent': request.parent ?? '',
587
- });
643
+ options.otherArgs.headers['x-goog-request-params'] =
644
+ this._gaxModule.routingHeader.fromParams({
645
+ parent: request.parent ?? '',
646
+ });
588
647
  const defaultCallSettings = this._defaults['listReports'];
589
648
  const callSettings = defaultCallSettings.merge(options);
590
- this.initialize().catch(err => { throw err; });
649
+ this.initialize().catch((err) => {
650
+ throw err;
651
+ });
591
652
  this._log.info('listReports stream %j', request);
592
653
  return this.descriptors.page.listReports.createStream(this.innerApiCalls.listReports, request, callSettings);
593
654
  }
@@ -638,12 +699,15 @@ class ReportServiceClient {
638
699
  options = options || {};
639
700
  options.otherArgs = options.otherArgs || {};
640
701
  options.otherArgs.headers = options.otherArgs.headers || {};
641
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
642
- 'parent': request.parent ?? '',
643
- });
702
+ options.otherArgs.headers['x-goog-request-params'] =
703
+ this._gaxModule.routingHeader.fromParams({
704
+ parent: request.parent ?? '',
705
+ });
644
706
  const defaultCallSettings = this._defaults['listReports'];
645
707
  const callSettings = defaultCallSettings.merge(options);
646
- this.initialize().catch(err => { throw err; });
708
+ this.initialize().catch((err) => {
709
+ throw err;
710
+ });
647
711
  this._log.info('listReports iterate %j', request);
648
712
  return this.descriptors.page.listReports.asyncIterate(this.innerApiCalls['listReports'], request, callSettings);
649
713
  }
@@ -660,10 +724,13 @@ class ReportServiceClient {
660
724
  options = options || {};
661
725
  options.otherArgs = options.otherArgs || {};
662
726
  options.otherArgs.headers = options.otherArgs.headers || {};
663
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
664
- 'name': request.name ?? '',
727
+ options.otherArgs.headers['x-goog-request-params'] =
728
+ this._gaxModule.routingHeader.fromParams({
729
+ name: request.name ?? '',
730
+ });
731
+ this.initialize().catch((err) => {
732
+ throw err;
665
733
  });
666
- this.initialize().catch(err => { throw err; });
667
734
  const wrappedCallback = callback
668
735
  ? (error, values, nextPageRequest, rawResponse) => {
669
736
  this._log.info('fetchReportResultRows values %j', values);
@@ -710,12 +777,15 @@ class ReportServiceClient {
710
777
  options = options || {};
711
778
  options.otherArgs = options.otherArgs || {};
712
779
  options.otherArgs.headers = options.otherArgs.headers || {};
713
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
714
- 'name': request.name ?? '',
715
- });
780
+ options.otherArgs.headers['x-goog-request-params'] =
781
+ this._gaxModule.routingHeader.fromParams({
782
+ name: request.name ?? '',
783
+ });
716
784
  const defaultCallSettings = this._defaults['fetchReportResultRows'];
717
785
  const callSettings = defaultCallSettings.merge(options);
718
- this.initialize().catch(err => { throw err; });
786
+ this.initialize().catch((err) => {
787
+ throw err;
788
+ });
719
789
  this._log.info('fetchReportResultRows stream %j', request);
720
790
  return this.descriptors.page.fetchReportResultRows.createStream(this.innerApiCalls.fetchReportResultRows, request, callSettings);
721
791
  }
@@ -754,45 +824,48 @@ class ReportServiceClient {
754
824
  options = options || {};
755
825
  options.otherArgs = options.otherArgs || {};
756
826
  options.otherArgs.headers = options.otherArgs.headers || {};
757
- options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
758
- 'name': request.name ?? '',
759
- });
827
+ options.otherArgs.headers['x-goog-request-params'] =
828
+ this._gaxModule.routingHeader.fromParams({
829
+ name: request.name ?? '',
830
+ });
760
831
  const defaultCallSettings = this._defaults['fetchReportResultRows'];
761
832
  const callSettings = defaultCallSettings.merge(options);
762
- this.initialize().catch(err => { throw err; });
833
+ this.initialize().catch((err) => {
834
+ throw err;
835
+ });
763
836
  this._log.info('fetchReportResultRows iterate %j', request);
764
837
  return this.descriptors.page.fetchReportResultRows.asyncIterate(this.innerApiCalls['fetchReportResultRows'], request, callSettings);
765
838
  }
766
839
  /**
767
- * Gets the latest state of a long-running operation. Clients can use this
768
- * method to poll the operation result at intervals as recommended by the API
769
- * service.
770
- *
771
- * @param {Object} request - The request object that will be sent.
772
- * @param {string} request.name - The name of the operation resource.
773
- * @param {Object=} options
774
- * Optional parameters. You can override the default settings for this call,
775
- * e.g, timeout, retries, paginations, etc. See {@link
776
- * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
777
- * for the details.
778
- * @param {function(?Error, ?Object)=} callback
779
- * The function which will be called with the result of the API call.
780
- *
781
- * The second parameter to the callback is an object representing
782
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
783
- * @return {Promise} - The promise which resolves to an array.
784
- * The first element of the array is an object representing
785
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
786
- * The promise has a method named "cancel" which cancels the ongoing API call.
787
- *
788
- * @example
789
- * ```
790
- * const client = longrunning.operationsClient();
791
- * const name = '';
792
- * const [response] = await client.getOperation({name});
793
- * // doThingsWith(response)
794
- * ```
795
- */
840
+ * Gets the latest state of a long-running operation. Clients can use this
841
+ * method to poll the operation result at intervals as recommended by the API
842
+ * service.
843
+ *
844
+ * @param {Object} request - The request object that will be sent.
845
+ * @param {string} request.name - The name of the operation resource.
846
+ * @param {Object=} options
847
+ * Optional parameters. You can override the default settings for this call,
848
+ * e.g, timeout, retries, paginations, etc. See {@link
849
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
850
+ * for the details.
851
+ * @param {function(?Error, ?Object)=} callback
852
+ * The function which will be called with the result of the API call.
853
+ *
854
+ * The second parameter to the callback is an object representing
855
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
856
+ * @return {Promise} - The promise which resolves to an array.
857
+ * The first element of the array is an object representing
858
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
859
+ * The promise has a method named "cancel" which cancels the ongoing API call.
860
+ *
861
+ * @example
862
+ * ```
863
+ * const client = longrunning.operationsClient();
864
+ * const name = '';
865
+ * const [response] = await client.getOperation({name});
866
+ * // doThingsWith(response)
867
+ * ```
868
+ */
796
869
  getOperation(request, optionsOrCallback, callback) {
797
870
  let options;
798
871
  if (typeof optionsOrCallback === 'function' && callback === undefined) {
@@ -969,7 +1042,8 @@ class ReportServiceClient {
969
1042
  * @returns {string} A string representing the network_code.
970
1043
  */
971
1044
  matchNetworkCodeFromAdBreakName(adBreakName) {
972
- return this.pathTemplates.adBreakPathTemplate.match(adBreakName).network_code;
1045
+ return this.pathTemplates.adBreakPathTemplate.match(adBreakName)
1046
+ .network_code;
973
1047
  }
974
1048
  /**
975
1049
  * Parse the asset_key from AdBreak resource.
@@ -1090,7 +1164,8 @@ class ReportServiceClient {
1090
1164
  * @returns {string} A string representing the network_code.
1091
1165
  */
1092
1166
  matchNetworkCodeFromApplicationName(applicationName) {
1093
- return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
1167
+ return this.pathTemplates.applicationPathTemplate.match(applicationName)
1168
+ .network_code;
1094
1169
  }
1095
1170
  /**
1096
1171
  * Parse the application from Application resource.
@@ -1100,7 +1175,8 @@ class ReportServiceClient {
1100
1175
  * @returns {string} A string representing the application.
1101
1176
  */
1102
1177
  matchApplicationFromApplicationName(applicationName) {
1103
- return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
1178
+ return this.pathTemplates.applicationPathTemplate.match(applicationName)
1179
+ .application;
1104
1180
  }
1105
1181
  /**
1106
1182
  * Return a fully-qualified audienceSegment resource name string.
@@ -1189,7 +1265,8 @@ class ReportServiceClient {
1189
1265
  * @returns {string} A string representing the network_code.
1190
1266
  */
1191
1267
  matchNetworkCodeFromBrowserName(browserName) {
1192
- return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
1268
+ return this.pathTemplates.browserPathTemplate.match(browserName)
1269
+ .network_code;
1193
1270
  }
1194
1271
  /**
1195
1272
  * Parse the browser from Browser resource.
@@ -1234,6 +1311,39 @@ class ReportServiceClient {
1234
1311
  matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
1235
1312
  return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
1236
1313
  }
1314
+ /**
1315
+ * Return a fully-qualified childPublisher resource name string.
1316
+ *
1317
+ * @param {string} network_code
1318
+ * @param {string} child_publisher
1319
+ * @returns {string} Resource name string.
1320
+ */
1321
+ childPublisherPath(networkCode, childPublisher) {
1322
+ return this.pathTemplates.childPublisherPathTemplate.render({
1323
+ network_code: networkCode,
1324
+ child_publisher: childPublisher,
1325
+ });
1326
+ }
1327
+ /**
1328
+ * Parse the network_code from ChildPublisher resource.
1329
+ *
1330
+ * @param {string} childPublisherName
1331
+ * A fully-qualified path representing ChildPublisher resource.
1332
+ * @returns {string} A string representing the network_code.
1333
+ */
1334
+ matchNetworkCodeFromChildPublisherName(childPublisherName) {
1335
+ return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).network_code;
1336
+ }
1337
+ /**
1338
+ * Parse the child_publisher from ChildPublisher resource.
1339
+ *
1340
+ * @param {string} childPublisherName
1341
+ * A fully-qualified path representing ChildPublisher resource.
1342
+ * @returns {string} A string representing the child_publisher.
1343
+ */
1344
+ matchChildPublisherFromChildPublisherName(childPublisherName) {
1345
+ return this.pathTemplates.childPublisherPathTemplate.match(childPublisherName).child_publisher;
1346
+ }
1237
1347
  /**
1238
1348
  * Return a fully-qualified cmsMetadataKey resource name string.
1239
1349
  *
@@ -1321,7 +1431,8 @@ class ReportServiceClient {
1321
1431
  * @returns {string} A string representing the network_code.
1322
1432
  */
1323
1433
  matchNetworkCodeFromCompanyName(companyName) {
1324
- return this.pathTemplates.companyPathTemplate.match(companyName).network_code;
1434
+ return this.pathTemplates.companyPathTemplate.match(companyName)
1435
+ .network_code;
1325
1436
  }
1326
1437
  /**
1327
1438
  * Parse the company from Company resource.
@@ -1354,7 +1465,8 @@ class ReportServiceClient {
1354
1465
  * @returns {string} A string representing the network_code.
1355
1466
  */
1356
1467
  matchNetworkCodeFromContactName(contactName) {
1357
- return this.pathTemplates.contactPathTemplate.match(contactName).network_code;
1468
+ return this.pathTemplates.contactPathTemplate.match(contactName)
1469
+ .network_code;
1358
1470
  }
1359
1471
  /**
1360
1472
  * Parse the contact from Contact resource.
@@ -1387,7 +1499,8 @@ class ReportServiceClient {
1387
1499
  * @returns {string} A string representing the network_code.
1388
1500
  */
1389
1501
  matchNetworkCodeFromContentName(contentName) {
1390
- return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
1502
+ return this.pathTemplates.contentPathTemplate.match(contentName)
1503
+ .network_code;
1391
1504
  }
1392
1505
  /**
1393
1506
  * Parse the content from Content resource.
@@ -1420,7 +1533,8 @@ class ReportServiceClient {
1420
1533
  * @returns {string} A string representing the network_code.
1421
1534
  */
1422
1535
  matchNetworkCodeFromContentBundleName(contentBundleName) {
1423
- return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
1536
+ return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
1537
+ .network_code;
1424
1538
  }
1425
1539
  /**
1426
1540
  * Parse the content_bundle from ContentBundle resource.
@@ -1430,7 +1544,8 @@ class ReportServiceClient {
1430
1544
  * @returns {string} A string representing the content_bundle.
1431
1545
  */
1432
1546
  matchContentBundleFromContentBundleName(contentBundleName) {
1433
- return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
1547
+ return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName)
1548
+ .content_bundle;
1434
1549
  }
1435
1550
  /**
1436
1551
  * Return a fully-qualified contentLabel resource name string.
@@ -1453,7 +1568,8 @@ class ReportServiceClient {
1453
1568
  * @returns {string} A string representing the network_code.
1454
1569
  */
1455
1570
  matchNetworkCodeFromContentLabelName(contentLabelName) {
1456
- return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
1571
+ return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
1572
+ .network_code;
1457
1573
  }
1458
1574
  /**
1459
1575
  * Parse the content_label from ContentLabel resource.
@@ -1463,7 +1579,8 @@ class ReportServiceClient {
1463
1579
  * @returns {string} A string representing the content_label.
1464
1580
  */
1465
1581
  matchContentLabelFromContentLabelName(contentLabelName) {
1466
- return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
1582
+ return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName)
1583
+ .content_label;
1467
1584
  }
1468
1585
  /**
1469
1586
  * Return a fully-qualified creativeTemplate resource name string.
@@ -1519,7 +1636,8 @@ class ReportServiceClient {
1519
1636
  * @returns {string} A string representing the network_code.
1520
1637
  */
1521
1638
  matchNetworkCodeFromCustomFieldName(customFieldName) {
1522
- return this.pathTemplates.customFieldPathTemplate.match(customFieldName).network_code;
1639
+ return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
1640
+ .network_code;
1523
1641
  }
1524
1642
  /**
1525
1643
  * Parse the custom_field from CustomField resource.
@@ -1529,7 +1647,8 @@ class ReportServiceClient {
1529
1647
  * @returns {string} A string representing the custom_field.
1530
1648
  */
1531
1649
  matchCustomFieldFromCustomFieldName(customFieldName) {
1532
- return this.pathTemplates.customFieldPathTemplate.match(customFieldName).custom_field;
1650
+ return this.pathTemplates.customFieldPathTemplate.match(customFieldName)
1651
+ .custom_field;
1533
1652
  }
1534
1653
  /**
1535
1654
  * Return a fully-qualified customTargetingKey resource name string.
@@ -1750,7 +1869,8 @@ class ReportServiceClient {
1750
1869
  * @returns {string} A string representing the network_code.
1751
1870
  */
1752
1871
  matchNetworkCodeFromGeoTargetName(geoTargetName) {
1753
- return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName).network_code;
1872
+ return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
1873
+ .network_code;
1754
1874
  }
1755
1875
  /**
1756
1876
  * Parse the geo_target from GeoTarget resource.
@@ -1760,7 +1880,8 @@ class ReportServiceClient {
1760
1880
  * @returns {string} A string representing the geo_target.
1761
1881
  */
1762
1882
  matchGeoTargetFromGeoTargetName(geoTargetName) {
1763
- return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName).geo_target;
1883
+ return this.pathTemplates.geoTargetPathTemplate.match(geoTargetName)
1884
+ .geo_target;
1764
1885
  }
1765
1886
  /**
1766
1887
  * Return a fully-qualified label resource name string.
@@ -1816,7 +1937,8 @@ class ReportServiceClient {
1816
1937
  * @returns {string} A string representing the network_code.
1817
1938
  */
1818
1939
  matchNetworkCodeFromLineItemName(lineItemName) {
1819
- return this.pathTemplates.lineItemPathTemplate.match(lineItemName).network_code;
1940
+ return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
1941
+ .network_code;
1820
1942
  }
1821
1943
  /**
1822
1944
  * Parse the line_item from LineItem resource.
@@ -1826,7 +1948,43 @@ class ReportServiceClient {
1826
1948
  * @returns {string} A string representing the line_item.
1827
1949
  */
1828
1950
  matchLineItemFromLineItemName(lineItemName) {
1829
- return this.pathTemplates.lineItemPathTemplate.match(lineItemName).line_item;
1951
+ return this.pathTemplates.lineItemPathTemplate.match(lineItemName)
1952
+ .line_item;
1953
+ }
1954
+ /**
1955
+ * Return a fully-qualified linkedDevice resource name string.
1956
+ *
1957
+ * @param {string} network_code
1958
+ * @param {string} linked_device
1959
+ * @returns {string} Resource name string.
1960
+ */
1961
+ linkedDevicePath(networkCode, linkedDevice) {
1962
+ return this.pathTemplates.linkedDevicePathTemplate.render({
1963
+ network_code: networkCode,
1964
+ linked_device: linkedDevice,
1965
+ });
1966
+ }
1967
+ /**
1968
+ * Parse the network_code from LinkedDevice resource.
1969
+ *
1970
+ * @param {string} linkedDeviceName
1971
+ * A fully-qualified path representing LinkedDevice resource.
1972
+ * @returns {string} A string representing the network_code.
1973
+ */
1974
+ matchNetworkCodeFromLinkedDeviceName(linkedDeviceName) {
1975
+ return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
1976
+ .network_code;
1977
+ }
1978
+ /**
1979
+ * Parse the linked_device from LinkedDevice resource.
1980
+ *
1981
+ * @param {string} linkedDeviceName
1982
+ * A fully-qualified path representing LinkedDevice resource.
1983
+ * @returns {string} A string representing the linked_device.
1984
+ */
1985
+ matchLinkedDeviceFromLinkedDeviceName(linkedDeviceName) {
1986
+ return this.pathTemplates.linkedDevicePathTemplate.match(linkedDeviceName)
1987
+ .linked_device;
1830
1988
  }
1831
1989
  /**
1832
1990
  * Return a fully-qualified liveStreamEvent resource name string.
@@ -1882,7 +2040,8 @@ class ReportServiceClient {
1882
2040
  * @returns {string} A string representing the network_code.
1883
2041
  */
1884
2042
  matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
1885
- return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
2043
+ return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
2044
+ .network_code;
1886
2045
  }
1887
2046
  /**
1888
2047
  * Parse the mobile_carrier from MobileCarrier resource.
@@ -1892,7 +2051,8 @@ class ReportServiceClient {
1892
2051
  * @returns {string} A string representing the mobile_carrier.
1893
2052
  */
1894
2053
  matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
1895
- return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
2054
+ return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName)
2055
+ .mobile_carrier;
1896
2056
  }
1897
2057
  /**
1898
2058
  * Return a fully-qualified mobileDevice resource name string.
@@ -1915,7 +2075,8 @@ class ReportServiceClient {
1915
2075
  * @returns {string} A string representing the network_code.
1916
2076
  */
1917
2077
  matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
1918
- return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
2078
+ return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
2079
+ .network_code;
1919
2080
  }
1920
2081
  /**
1921
2082
  * Parse the mobile_device from MobileDevice resource.
@@ -1925,7 +2086,8 @@ class ReportServiceClient {
1925
2086
  * @returns {string} A string representing the mobile_device.
1926
2087
  */
1927
2088
  matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
1928
- return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
2089
+ return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName)
2090
+ .mobile_device;
1929
2091
  }
1930
2092
  /**
1931
2093
  * Return a fully-qualified mobileDeviceSubmodel resource name string.
@@ -1979,7 +2141,8 @@ class ReportServiceClient {
1979
2141
  * @returns {string} A string representing the network_code.
1980
2142
  */
1981
2143
  matchNetworkCodeFromNetworkName(networkName) {
1982
- return this.pathTemplates.networkPathTemplate.match(networkName).network_code;
2144
+ return this.pathTemplates.networkPathTemplate.match(networkName)
2145
+ .network_code;
1983
2146
  }
1984
2147
  /**
1985
2148
  * Return a fully-qualified operatingSystem resource name string.
@@ -2101,7 +2264,8 @@ class ReportServiceClient {
2101
2264
  * @returns {string} A string representing the network_code.
2102
2265
  */
2103
2266
  matchNetworkCodeFromPlacementName(placementName) {
2104
- return this.pathTemplates.placementPathTemplate.match(placementName).network_code;
2267
+ return this.pathTemplates.placementPathTemplate.match(placementName)
2268
+ .network_code;
2105
2269
  }
2106
2270
  /**
2107
2271
  * Parse the placement from Placement resource.
@@ -2111,7 +2275,8 @@ class ReportServiceClient {
2111
2275
  * @returns {string} A string representing the placement.
2112
2276
  */
2113
2277
  matchPlacementFromPlacementName(placementName) {
2114
- return this.pathTemplates.placementPathTemplate.match(placementName).placement;
2278
+ return this.pathTemplates.placementPathTemplate.match(placementName)
2279
+ .placement;
2115
2280
  }
2116
2281
  /**
2117
2282
  * Return a fully-qualified privateAuction resource name string.
@@ -2245,6 +2410,39 @@ class ReportServiceClient {
2245
2410
  matchReportFromReportName(reportName) {
2246
2411
  return this.pathTemplates.reportPathTemplate.match(reportName).report;
2247
2412
  }
2413
+ /**
2414
+ * Return a fully-qualified richMediaAdsCompany resource name string.
2415
+ *
2416
+ * @param {string} network_code
2417
+ * @param {string} rich_media_ads_company
2418
+ * @returns {string} Resource name string.
2419
+ */
2420
+ richMediaAdsCompanyPath(networkCode, richMediaAdsCompany) {
2421
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.render({
2422
+ network_code: networkCode,
2423
+ rich_media_ads_company: richMediaAdsCompany,
2424
+ });
2425
+ }
2426
+ /**
2427
+ * Parse the network_code from RichMediaAdsCompany resource.
2428
+ *
2429
+ * @param {string} richMediaAdsCompanyName
2430
+ * A fully-qualified path representing RichMediaAdsCompany resource.
2431
+ * @returns {string} A string representing the network_code.
2432
+ */
2433
+ matchNetworkCodeFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
2434
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).network_code;
2435
+ }
2436
+ /**
2437
+ * Parse the rich_media_ads_company from RichMediaAdsCompany resource.
2438
+ *
2439
+ * @param {string} richMediaAdsCompanyName
2440
+ * A fully-qualified path representing RichMediaAdsCompany resource.
2441
+ * @returns {string} A string representing the rich_media_ads_company.
2442
+ */
2443
+ matchRichMediaAdsCompanyFromRichMediaAdsCompanyName(richMediaAdsCompanyName) {
2444
+ return this.pathTemplates.richMediaAdsCompanyPathTemplate.match(richMediaAdsCompanyName).rich_media_ads_company;
2445
+ }
2248
2446
  /**
2249
2447
  * Return a fully-qualified role resource name string.
2250
2448
  *
@@ -2431,7 +2629,8 @@ class ReportServiceClient {
2431
2629
  * @returns {string} A string representing the network_code.
2432
2630
  */
2433
2631
  matchNetworkCodeFromWebPropertyName(webPropertyName) {
2434
- return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
2632
+ return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
2633
+ .network_code;
2435
2634
  }
2436
2635
  /**
2437
2636
  * Parse the web_property from WebProperty resource.
@@ -2441,7 +2640,8 @@ class ReportServiceClient {
2441
2640
  * @returns {string} A string representing the web_property.
2442
2641
  */
2443
2642
  matchWebPropertyFromWebPropertyName(webPropertyName) {
2444
- return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
2643
+ return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName)
2644
+ .web_property;
2445
2645
  }
2446
2646
  /**
2447
2647
  * Terminate the gRPC channel and close the client.
@@ -2451,7 +2651,7 @@ class ReportServiceClient {
2451
2651
  */
2452
2652
  close() {
2453
2653
  if (this.reportServiceStub && !this._terminated) {
2454
- return this.reportServiceStub.then(stub => {
2654
+ return this.reportServiceStub.then((stub) => {
2455
2655
  this._log.info('ending gRPC channel');
2456
2656
  this._terminated = true;
2457
2657
  stub.close();