@google-ads/admanager 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/README.md +152 -173
  2. package/build/protos/google/ads/admanager/v1/ad_break_service.proto +1 -1
  3. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +44 -0
  4. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +62 -0
  5. package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +237 -0
  6. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -7
  7. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +6 -6
  8. package/build/protos/google/ads/admanager/v1/application_messages.proto +47 -0
  9. package/build/protos/google/ads/admanager/v1/application_service.proto +129 -0
  10. package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +49 -0
  11. package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +129 -0
  12. package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +3 -3
  13. package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +45 -0
  14. package/build/protos/google/ads/admanager/v1/browser_language_service.proto +129 -0
  15. package/build/protos/google/ads/admanager/v1/browser_messages.proto +51 -0
  16. package/build/protos/google/ads/admanager/v1/browser_service.proto +128 -0
  17. package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +41 -0
  18. package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +50 -0
  19. package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +129 -0
  20. package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +44 -0
  21. package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +61 -0
  22. package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +130 -0
  23. package/build/protos/google/ads/admanager/v1/company_messages.proto +14 -12
  24. package/build/protos/google/ads/admanager/v1/company_service.proto +3 -3
  25. package/build/protos/google/ads/admanager/v1/contact_enums.proto +57 -0
  26. package/build/protos/google/ads/admanager/v1/contact_messages.proto +45 -2
  27. package/build/protos/google/ads/admanager/v1/contact_service.proto +244 -0
  28. package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +53 -0
  29. package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +129 -0
  30. package/build/protos/google/ads/admanager/v1/content_label_messages.proto +45 -0
  31. package/build/protos/google/ads/admanager/v1/content_label_service.proto +129 -0
  32. package/build/protos/google/ads/admanager/v1/content_messages.proto +45 -0
  33. package/build/protos/google/ads/admanager/v1/content_service.proto +128 -0
  34. package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +63 -0
  35. package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +253 -0
  36. package/build/protos/google/ads/admanager/v1/creative_template_service.proto +130 -0
  37. package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +47 -0
  38. package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +5 -2
  39. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +185 -3
  40. package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +7 -6
  41. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +1 -1
  42. package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +9 -9
  43. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +1 -1
  44. package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +45 -0
  45. package/build/protos/google/ads/admanager/v1/device_capability_service.proto +130 -0
  46. package/build/protos/google/ads/admanager/v1/device_category_service.proto +2 -2
  47. package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +46 -0
  48. package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +131 -0
  49. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +1 -1
  50. package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +47 -0
  51. package/build/protos/google/ads/admanager/v1/geo_target_service.proto +3 -3
  52. package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +48 -0
  53. package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
  54. package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
  55. package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
  56. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
  57. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
  58. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
  59. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
  60. package/build/protos/google/ads/admanager/v1/order_messages.proto +7 -8
  61. package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
  62. package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
  63. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
  64. package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
  65. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
  66. package/build/protos/google/ads/admanager/v1/report_definition.proto +12478 -0
  67. package/build/protos/google/ads/admanager/v1/report_messages.proto +118 -3410
  68. package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
  69. package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
  70. package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
  71. package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
  72. package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
  73. package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
  74. package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
  75. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
  76. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
  77. package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
  78. package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
  79. package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
  80. package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
  81. package/build/protos/protos.d.ts +30764 -11410
  82. package/build/protos/protos.js +93644 -43318
  83. package/build/protos/protos.json +9909 -3734
  84. package/build/src/index.d.ts +58 -1
  85. package/build/src/index.js +40 -2
  86. package/build/src/index.js.map +1 -1
  87. package/build/src/v1/ad_break_service_client.d.ts +441 -0
  88. package/build/src/v1/ad_break_service_client.js +624 -0
  89. package/build/src/v1/ad_break_service_client.js.map +1 -1
  90. package/build/src/v1/ad_break_service_proto_list.json +49 -1
  91. package/build/src/v1/ad_review_center_ad_service_client.d.ts +1607 -0
  92. package/build/src/v1/ad_review_center_ad_service_client.js +2291 -0
  93. package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
  94. package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
  95. package/build/src/v1/ad_review_center_ad_service_proto_list.json +122 -0
  96. package/build/src/v1/ad_unit_service_client.d.ts +453 -12
  97. package/build/src/v1/ad_unit_service_client.js +632 -8
  98. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  99. package/build/src/v1/ad_unit_service_proto_list.json +49 -1
  100. package/build/src/v1/application_service_client.d.ts +1345 -0
  101. package/build/src/v1/application_service_client.js +1993 -0
  102. package/build/src/v1/application_service_client.js.map +1 -0
  103. package/build/src/v1/application_service_client_config.json +34 -0
  104. package/build/src/v1/application_service_proto_list.json +122 -0
  105. package/build/src/v1/audience_segment_service_client.d.ts +1345 -0
  106. package/build/src/v1/audience_segment_service_client.js +1993 -0
  107. package/build/src/v1/audience_segment_service_client.js.map +1 -0
  108. package/build/src/v1/audience_segment_service_client_config.json +34 -0
  109. package/build/src/v1/audience_segment_service_proto_list.json +122 -0
  110. package/build/src/v1/bandwidth_group_service_client.d.ts +447 -6
  111. package/build/src/v1/bandwidth_group_service_client.js +628 -4
  112. package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
  113. package/build/src/v1/bandwidth_group_service_proto_list.json +49 -1
  114. package/build/src/v1/browser_language_service_client.d.ts +1345 -0
  115. package/build/src/v1/browser_language_service_client.js +1993 -0
  116. package/build/src/v1/browser_language_service_client.js.map +1 -0
  117. package/build/src/v1/browser_language_service_client_config.json +34 -0
  118. package/build/src/v1/browser_language_service_proto_list.json +122 -0
  119. package/build/src/v1/browser_service_client.d.ts +1345 -0
  120. package/build/src/v1/browser_service_client.js +1993 -0
  121. package/build/src/v1/browser_service_client.js.map +1 -0
  122. package/build/src/v1/browser_service_client_config.json +34 -0
  123. package/build/src/v1/browser_service_proto_list.json +122 -0
  124. package/build/src/v1/cms_metadata_key_service_client.d.ts +1345 -0
  125. package/build/src/v1/cms_metadata_key_service_client.js +1993 -0
  126. package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
  127. package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
  128. package/build/src/v1/cms_metadata_key_service_proto_list.json +122 -0
  129. package/build/src/v1/cms_metadata_value_service_client.d.ts +1345 -0
  130. package/build/src/v1/cms_metadata_value_service_client.js +1993 -0
  131. package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
  132. package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
  133. package/build/src/v1/cms_metadata_value_service_proto_list.json +122 -0
  134. package/build/src/v1/company_service_client.d.ts +447 -6
  135. package/build/src/v1/company_service_client.js +628 -4
  136. package/build/src/v1/company_service_client.js.map +1 -1
  137. package/build/src/v1/company_service_proto_list.json +49 -1
  138. package/build/src/v1/contact_service_client.d.ts +1456 -0
  139. package/build/src/v1/contact_service_client.js +2137 -0
  140. package/build/src/v1/contact_service_client.js.map +1 -0
  141. package/build/src/v1/contact_service_client_config.json +50 -0
  142. package/build/src/v1/contact_service_proto_list.json +122 -0
  143. package/build/src/v1/content_bundle_service_client.d.ts +1345 -0
  144. package/build/src/v1/content_bundle_service_client.js +1993 -0
  145. package/build/src/v1/content_bundle_service_client.js.map +1 -0
  146. package/build/src/v1/content_bundle_service_client_config.json +34 -0
  147. package/build/src/v1/content_bundle_service_proto_list.json +122 -0
  148. package/build/src/v1/content_label_service_client.d.ts +1345 -0
  149. package/build/src/v1/content_label_service_client.js +1993 -0
  150. package/build/src/v1/content_label_service_client.js.map +1 -0
  151. package/build/src/v1/content_label_service_client_config.json +34 -0
  152. package/build/src/v1/content_label_service_proto_list.json +122 -0
  153. package/build/src/v1/content_service_client.d.ts +1345 -0
  154. package/build/src/v1/content_service_client.js +1993 -0
  155. package/build/src/v1/content_service_client.js.map +1 -0
  156. package/build/src/v1/content_service_client_config.json +34 -0
  157. package/build/src/v1/content_service_proto_list.json +122 -0
  158. package/build/src/v1/creative_template_service_client.d.ts +1345 -0
  159. package/build/src/v1/creative_template_service_client.js +1993 -0
  160. package/build/src/v1/creative_template_service_client.js.map +1 -0
  161. package/build/src/v1/creative_template_service_client_config.json +34 -0
  162. package/build/src/v1/creative_template_service_proto_list.json +122 -0
  163. package/build/src/v1/custom_field_service_client.d.ts +610 -6
  164. package/build/src/v1/custom_field_service_client.js +845 -5
  165. package/build/src/v1/custom_field_service_client.js.map +1 -1
  166. package/build/src/v1/custom_field_service_client_config.json +24 -0
  167. package/build/src/v1/custom_field_service_proto_list.json +49 -1
  168. package/build/src/v1/custom_targeting_key_service_client.d.ts +441 -0
  169. package/build/src/v1/custom_targeting_key_service_client.js +624 -0
  170. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  171. package/build/src/v1/custom_targeting_key_service_proto_list.json +49 -1
  172. package/build/src/v1/custom_targeting_value_service_client.d.ts +441 -0
  173. package/build/src/v1/custom_targeting_value_service_client.js +624 -0
  174. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  175. package/build/src/v1/custom_targeting_value_service_proto_list.json +49 -1
  176. package/build/src/v1/device_capability_service_client.d.ts +1345 -0
  177. package/build/src/v1/device_capability_service_client.js +1993 -0
  178. package/build/src/v1/device_capability_service_client.js.map +1 -0
  179. package/build/src/v1/device_capability_service_client_config.json +34 -0
  180. package/build/src/v1/device_capability_service_proto_list.json +122 -0
  181. package/build/src/v1/device_category_service_client.d.ts +444 -3
  182. package/build/src/v1/device_category_service_client.js +626 -2
  183. package/build/src/v1/device_category_service_client.js.map +1 -1
  184. package/build/src/v1/device_category_service_proto_list.json +49 -1
  185. package/build/src/v1/device_manufacturer_service_client.d.ts +1346 -0
  186. package/build/src/v1/device_manufacturer_service_client.js +1993 -0
  187. package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
  188. package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
  189. package/build/src/v1/device_manufacturer_service_proto_list.json +122 -0
  190. package/build/src/v1/entity_signals_mapping_service_client.d.ts +441 -0
  191. package/build/src/v1/entity_signals_mapping_service_client.js +624 -0
  192. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  193. package/build/src/v1/entity_signals_mapping_service_proto_list.json +49 -1
  194. package/build/src/v1/gapic_metadata.json +1026 -4
  195. package/build/src/v1/geo_target_service_client.d.ts +447 -6
  196. package/build/src/v1/geo_target_service_client.js +628 -4
  197. package/build/src/v1/geo_target_service_client.js.map +1 -1
  198. package/build/src/v1/geo_target_service_proto_list.json +49 -1
  199. package/build/src/v1/index.d.ts +19 -0
  200. package/build/src/v1/index.js +39 -1
  201. package/build/src/v1/index.js.map +1 -1
  202. package/build/src/v1/mobile_carrier_service_client.d.ts +1345 -0
  203. package/build/src/v1/mobile_carrier_service_client.js +1993 -0
  204. package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
  205. package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
  206. package/build/src/v1/mobile_carrier_service_proto_list.json +122 -0
  207. package/build/src/v1/mobile_device_service_client.d.ts +1345 -0
  208. package/build/src/v1/mobile_device_service_client.js +1993 -0
  209. package/build/src/v1/mobile_device_service_client.js.map +1 -0
  210. package/build/src/v1/mobile_device_service_client_config.json +34 -0
  211. package/build/src/v1/mobile_device_service_proto_list.json +122 -0
  212. package/build/src/v1/mobile_device_submodel_service_client.d.ts +1352 -0
  213. package/build/src/v1/mobile_device_submodel_service_client.js +1997 -0
  214. package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
  215. package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
  216. package/build/src/v1/mobile_device_submodel_service_proto_list.json +122 -0
  217. package/build/src/v1/network_service_client.d.ts +441 -0
  218. package/build/src/v1/network_service_client.js +624 -0
  219. package/build/src/v1/network_service_client.js.map +1 -1
  220. package/build/src/v1/network_service_proto_list.json +49 -1
  221. package/build/src/v1/operating_system_service_client.d.ts +444 -3
  222. package/build/src/v1/operating_system_service_client.js +626 -2
  223. package/build/src/v1/operating_system_service_client.js.map +1 -1
  224. package/build/src/v1/operating_system_service_proto_list.json +49 -1
  225. package/build/src/v1/operating_system_version_service_client.d.ts +444 -3
  226. package/build/src/v1/operating_system_version_service_client.js +626 -2
  227. package/build/src/v1/operating_system_version_service_client.js.map +1 -1
  228. package/build/src/v1/operating_system_version_service_proto_list.json +49 -1
  229. package/build/src/v1/order_service_client.d.ts +447 -6
  230. package/build/src/v1/order_service_client.js +628 -4
  231. package/build/src/v1/order_service_client.js.map +1 -1
  232. package/build/src/v1/order_service_proto_list.json +49 -1
  233. package/build/src/v1/placement_service_client.d.ts +638 -6
  234. package/build/src/v1/placement_service_client.js +937 -61
  235. package/build/src/v1/placement_service_client.js.map +1 -1
  236. package/build/src/v1/placement_service_client_config.json +28 -0
  237. package/build/src/v1/placement_service_proto_list.json +49 -1
  238. package/build/src/v1/private_auction_deal_service_client.d.ts +444 -3
  239. package/build/src/v1/private_auction_deal_service_client.js +626 -2
  240. package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
  241. package/build/src/v1/private_auction_deal_service_proto_list.json +49 -1
  242. package/build/src/v1/private_auction_service_client.d.ts +444 -3
  243. package/build/src/v1/private_auction_service_client.js +626 -2
  244. package/build/src/v1/private_auction_service_client.js.map +1 -1
  245. package/build/src/v1/private_auction_service_proto_list.json +49 -1
  246. package/build/src/v1/programmatic_buyer_service_client.d.ts +441 -0
  247. package/build/src/v1/programmatic_buyer_service_client.js +624 -0
  248. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
  249. package/build/src/v1/programmatic_buyer_service_proto_list.json +49 -1
  250. package/build/src/v1/report_service_client.d.ts +461 -17
  251. package/build/src/v1/report_service_client.js +634 -8
  252. package/build/src/v1/report_service_client.js.map +1 -1
  253. package/build/src/v1/report_service_proto_list.json +49 -1
  254. package/build/src/v1/role_service_client.d.ts +447 -3
  255. package/build/src/v1/role_service_client.js +628 -2
  256. package/build/src/v1/role_service_client.js.map +1 -1
  257. package/build/src/v1/role_service_proto_list.json +49 -1
  258. package/build/src/v1/site_service_client.d.ts +1506 -0
  259. package/build/src/v1/site_service_client.js +2209 -0
  260. package/build/src/v1/site_service_client.js.map +1 -0
  261. package/build/src/v1/site_service_client_config.json +58 -0
  262. package/build/src/v1/site_service_proto_list.json +122 -0
  263. package/build/src/v1/taxonomy_category_service_client.d.ts +441 -0
  264. package/build/src/v1/taxonomy_category_service_client.js +624 -0
  265. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  266. package/build/src/v1/taxonomy_category_service_proto_list.json +49 -1
  267. package/build/src/v1/team_service_client.d.ts +1508 -0
  268. package/build/src/v1/team_service_client.js +2209 -0
  269. package/build/src/v1/team_service_client.js.map +1 -0
  270. package/build/src/v1/team_service_client_config.json +58 -0
  271. package/build/src/v1/team_service_proto_list.json +122 -0
  272. package/build/src/v1/user_service_client.d.ts +441 -0
  273. package/build/src/v1/user_service_client.js +624 -0
  274. package/build/src/v1/user_service_client.js.map +1 -1
  275. package/build/src/v1/user_service_proto_list.json +49 -1
  276. package/package.json +1 -1
@@ -0,0 +1,1506 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
3
+ import { Transform } from 'stream';
4
+ import * as protos from '../../protos/protos';
5
+ /**
6
+ * Provides methods for handling `Site` objects.
7
+ * @class
8
+ * @memberof v1
9
+ */
10
+ export declare class SiteServiceClient {
11
+ private _terminated;
12
+ private _opts;
13
+ private _providedCustomServicePath;
14
+ private _gaxModule;
15
+ private _gaxGrpc;
16
+ private _protos;
17
+ private _defaults;
18
+ private _universeDomain;
19
+ private _servicePath;
20
+ private _log;
21
+ auth: gax.GoogleAuth;
22
+ descriptors: Descriptors;
23
+ warn: (code: string, message: string, warnType?: string) => void;
24
+ innerApiCalls: {
25
+ [name: string]: Function;
26
+ };
27
+ pathTemplates: {
28
+ [name: string]: gax.PathTemplate;
29
+ };
30
+ siteServiceStub?: Promise<{
31
+ [name: string]: Function;
32
+ }>;
33
+ /**
34
+ * Construct an instance of SiteServiceClient.
35
+ *
36
+ * @param {object} [options] - The configuration object.
37
+ * The options accepted by the constructor are described in detail
38
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
39
+ * The common options are:
40
+ * @param {object} [options.credentials] - Credentials object.
41
+ * @param {string} [options.credentials.client_email]
42
+ * @param {string} [options.credentials.private_key]
43
+ * @param {string} [options.email] - Account email address. Required when
44
+ * using a .pem or .p12 keyFilename.
45
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
46
+ * .p12 key downloaded from the Google Developers Console. If you provide
47
+ * a path to a JSON file, the projectId option below is not necessary.
48
+ * NOTE: .pem and .p12 require you to specify options.email as well.
49
+ * @param {number} [options.port] - The port on which to connect to
50
+ * the remote host.
51
+ * @param {string} [options.projectId] - The project ID from the Google
52
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
53
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
54
+ * app is running in an environment which supports
55
+ * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
56
+ * your project ID will be detected automatically.
57
+ * @param {string} [options.apiEndpoint] - The domain name of the
58
+ * API remote host.
59
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
60
+ * Follows the structure of {@link gapicConfig}.
61
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
62
+ * For more information, please check the
63
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
64
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
65
+ * need to avoid loading the default gRPC version and want to use the fallback
66
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
67
+ * ```
68
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
69
+ * const client = new SiteServiceClient({fallback: true}, gax);
70
+ * ```
71
+ */
72
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
73
+ /**
74
+ * Initialize the client.
75
+ * Performs asynchronous operations (such as authentication) and prepares the client.
76
+ * This function will be called automatically when any class method is called for the
77
+ * first time, but if you need to initialize it before calling an actual method,
78
+ * feel free to call initialize() directly.
79
+ *
80
+ * You can await on this method if you want to make sure the client is initialized.
81
+ *
82
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
83
+ */
84
+ initialize(): Promise<{
85
+ [name: string]: Function;
86
+ }>;
87
+ /**
88
+ * The DNS address for this API service.
89
+ * @deprecated Use the apiEndpoint method of the client instance.
90
+ * @returns {string} The DNS address for this service.
91
+ */
92
+ static get servicePath(): string;
93
+ /**
94
+ * The DNS address for this API service - same as servicePath.
95
+ * @deprecated Use the apiEndpoint method of the client instance.
96
+ * @returns {string} The DNS address for this service.
97
+ */
98
+ static get apiEndpoint(): string;
99
+ /**
100
+ * The DNS address for this API service.
101
+ * @returns {string} The DNS address for this service.
102
+ */
103
+ get apiEndpoint(): string;
104
+ get universeDomain(): string;
105
+ /**
106
+ * The port for this API service.
107
+ * @returns {number} The default port for this service.
108
+ */
109
+ static get port(): number;
110
+ /**
111
+ * The scopes needed to make gRPC calls for every method defined
112
+ * in this service.
113
+ * @returns {string[]} List of default scopes.
114
+ */
115
+ static get scopes(): string[];
116
+ getProjectId(): Promise<string>;
117
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
118
+ /**
119
+ * API to retrieve a `Site` object.
120
+ *
121
+ * @param {Object} request
122
+ * The request object that will be sent.
123
+ * @param {string} request.name
124
+ * Required. The resource name of the Site.
125
+ * Format: `networks/{network_code}/sites/{site_id}`
126
+ * @param {object} [options]
127
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
128
+ * @returns {Promise} - The promise which resolves to an array.
129
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.Site|Site}.
130
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
131
+ * for more details and examples.
132
+ * @example <caption>include:samples/generated/v1/site_service.get_site.js</caption>
133
+ * region_tag:admanager_v1_generated_SiteService_GetSite_async
134
+ */
135
+ getSite(request?: protos.google.ads.admanager.v1.IGetSiteRequest, options?: CallOptions): Promise<[
136
+ protos.google.ads.admanager.v1.ISite,
137
+ protos.google.ads.admanager.v1.IGetSiteRequest | undefined,
138
+ {} | undefined
139
+ ]>;
140
+ getSite(request: protos.google.ads.admanager.v1.IGetSiteRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.ISite, protos.google.ads.admanager.v1.IGetSiteRequest | null | undefined, {} | null | undefined>): void;
141
+ getSite(request: protos.google.ads.admanager.v1.IGetSiteRequest, callback: Callback<protos.google.ads.admanager.v1.ISite, protos.google.ads.admanager.v1.IGetSiteRequest | null | undefined, {} | null | undefined>): void;
142
+ /**
143
+ * API to create a `Site` object.
144
+ *
145
+ * @param {Object} request
146
+ * The request object that will be sent.
147
+ * @param {string} request.parent
148
+ * Required. The parent resource where this `Site` will be created.
149
+ * Format: `networks/{network_code}`
150
+ * @param {google.ads.admanager.v1.Site} request.site
151
+ * Required. The `Site` to create.
152
+ * @param {object} [options]
153
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
154
+ * @returns {Promise} - The promise which resolves to an array.
155
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.Site|Site}.
156
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
157
+ * for more details and examples.
158
+ * @example <caption>include:samples/generated/v1/site_service.create_site.js</caption>
159
+ * region_tag:admanager_v1_generated_SiteService_CreateSite_async
160
+ */
161
+ createSite(request?: protos.google.ads.admanager.v1.ICreateSiteRequest, options?: CallOptions): Promise<[
162
+ protos.google.ads.admanager.v1.ISite,
163
+ protos.google.ads.admanager.v1.ICreateSiteRequest | undefined,
164
+ {} | undefined
165
+ ]>;
166
+ createSite(request: protos.google.ads.admanager.v1.ICreateSiteRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.ISite, protos.google.ads.admanager.v1.ICreateSiteRequest | null | undefined, {} | null | undefined>): void;
167
+ createSite(request: protos.google.ads.admanager.v1.ICreateSiteRequest, callback: Callback<protos.google.ads.admanager.v1.ISite, protos.google.ads.admanager.v1.ICreateSiteRequest | null | undefined, {} | null | undefined>): void;
168
+ /**
169
+ * API to batch create `Site` objects.
170
+ *
171
+ * @param {Object} request
172
+ * The request object that will be sent.
173
+ * @param {string} request.parent
174
+ * Required. The parent resource where `Sites` will be created.
175
+ * Format: `networks/{network_code}`
176
+ * The parent field in the CreateSiteRequest must match this
177
+ * field.
178
+ * @param {number[]} request.requests
179
+ * Required. The `Site` objects to create.
180
+ * A maximum of 100 objects can be created in a batch.
181
+ * @param {object} [options]
182
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
183
+ * @returns {Promise} - The promise which resolves to an array.
184
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchCreateSitesResponse|BatchCreateSitesResponse}.
185
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
186
+ * for more details and examples.
187
+ * @example <caption>include:samples/generated/v1/site_service.batch_create_sites.js</caption>
188
+ * region_tag:admanager_v1_generated_SiteService_BatchCreateSites_async
189
+ */
190
+ batchCreateSites(request?: protos.google.ads.admanager.v1.IBatchCreateSitesRequest, options?: CallOptions): Promise<[
191
+ protos.google.ads.admanager.v1.IBatchCreateSitesResponse,
192
+ protos.google.ads.admanager.v1.IBatchCreateSitesRequest | undefined,
193
+ {} | undefined
194
+ ]>;
195
+ batchCreateSites(request: protos.google.ads.admanager.v1.IBatchCreateSitesRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchCreateSitesResponse, protos.google.ads.admanager.v1.IBatchCreateSitesRequest | null | undefined, {} | null | undefined>): void;
196
+ batchCreateSites(request: protos.google.ads.admanager.v1.IBatchCreateSitesRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchCreateSitesResponse, protos.google.ads.admanager.v1.IBatchCreateSitesRequest | null | undefined, {} | null | undefined>): void;
197
+ /**
198
+ * API to update a `Site` object.
199
+ *
200
+ * @param {Object} request
201
+ * The request object that will be sent.
202
+ * @param {google.ads.admanager.v1.Site} request.site
203
+ * Required. The `Site` to update.
204
+ *
205
+ * The `Site`'s `name` is used to identify the `Site` to update.
206
+ * @param {google.protobuf.FieldMask} request.updateMask
207
+ * Required. The list of fields to update.
208
+ * @param {object} [options]
209
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
210
+ * @returns {Promise} - The promise which resolves to an array.
211
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.Site|Site}.
212
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
213
+ * for more details and examples.
214
+ * @example <caption>include:samples/generated/v1/site_service.update_site.js</caption>
215
+ * region_tag:admanager_v1_generated_SiteService_UpdateSite_async
216
+ */
217
+ updateSite(request?: protos.google.ads.admanager.v1.IUpdateSiteRequest, options?: CallOptions): Promise<[
218
+ protos.google.ads.admanager.v1.ISite,
219
+ protos.google.ads.admanager.v1.IUpdateSiteRequest | undefined,
220
+ {} | undefined
221
+ ]>;
222
+ updateSite(request: protos.google.ads.admanager.v1.IUpdateSiteRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.ISite, protos.google.ads.admanager.v1.IUpdateSiteRequest | null | undefined, {} | null | undefined>): void;
223
+ updateSite(request: protos.google.ads.admanager.v1.IUpdateSiteRequest, callback: Callback<protos.google.ads.admanager.v1.ISite, protos.google.ads.admanager.v1.IUpdateSiteRequest | null | undefined, {} | null | undefined>): void;
224
+ /**
225
+ * API to batch update `Site` objects.
226
+ *
227
+ * @param {Object} request
228
+ * The request object that will be sent.
229
+ * @param {string} request.parent
230
+ * Required. The parent resource where `Sites` will be updated.
231
+ * Format: `networks/{network_code}`
232
+ * The parent field in the UpdateSiteRequest must match this
233
+ * field.
234
+ * @param {number[]} request.requests
235
+ * Required. The `Site` objects to update.
236
+ * A maximum of 100 objects can be updated in a batch.
237
+ * @param {object} [options]
238
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
239
+ * @returns {Promise} - The promise which resolves to an array.
240
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchUpdateSitesResponse|BatchUpdateSitesResponse}.
241
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
242
+ * for more details and examples.
243
+ * @example <caption>include:samples/generated/v1/site_service.batch_update_sites.js</caption>
244
+ * region_tag:admanager_v1_generated_SiteService_BatchUpdateSites_async
245
+ */
246
+ batchUpdateSites(request?: protos.google.ads.admanager.v1.IBatchUpdateSitesRequest, options?: CallOptions): Promise<[
247
+ protos.google.ads.admanager.v1.IBatchUpdateSitesResponse,
248
+ protos.google.ads.admanager.v1.IBatchUpdateSitesRequest | undefined,
249
+ {} | undefined
250
+ ]>;
251
+ batchUpdateSites(request: protos.google.ads.admanager.v1.IBatchUpdateSitesRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchUpdateSitesResponse, protos.google.ads.admanager.v1.IBatchUpdateSitesRequest | null | undefined, {} | null | undefined>): void;
252
+ batchUpdateSites(request: protos.google.ads.admanager.v1.IBatchUpdateSitesRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchUpdateSitesResponse, protos.google.ads.admanager.v1.IBatchUpdateSitesRequest | null | undefined, {} | null | undefined>): void;
253
+ /**
254
+ * Deactivates a list of `Site` objects.
255
+ *
256
+ * @param {Object} request
257
+ * The request object that will be sent.
258
+ * @param {string} request.parent
259
+ * Required. Format: `networks/{network_code}`
260
+ * @param {string[]} request.names
261
+ * Required. The resource names of the `Site` objects to deactivate.
262
+ * @param {object} [options]
263
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
264
+ * @returns {Promise} - The promise which resolves to an array.
265
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchDeactivateSitesResponse|BatchDeactivateSitesResponse}.
266
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
267
+ * for more details and examples.
268
+ * @example <caption>include:samples/generated/v1/site_service.batch_deactivate_sites.js</caption>
269
+ * region_tag:admanager_v1_generated_SiteService_BatchDeactivateSites_async
270
+ */
271
+ batchDeactivateSites(request?: protos.google.ads.admanager.v1.IBatchDeactivateSitesRequest, options?: CallOptions): Promise<[
272
+ protos.google.ads.admanager.v1.IBatchDeactivateSitesResponse,
273
+ protos.google.ads.admanager.v1.IBatchDeactivateSitesRequest | undefined,
274
+ {} | undefined
275
+ ]>;
276
+ batchDeactivateSites(request: protos.google.ads.admanager.v1.IBatchDeactivateSitesRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchDeactivateSitesResponse, protos.google.ads.admanager.v1.IBatchDeactivateSitesRequest | null | undefined, {} | null | undefined>): void;
277
+ batchDeactivateSites(request: protos.google.ads.admanager.v1.IBatchDeactivateSitesRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchDeactivateSitesResponse, protos.google.ads.admanager.v1.IBatchDeactivateSitesRequest | null | undefined, {} | null | undefined>): void;
278
+ /**
279
+ * Submits a list of `Site` objects for approval.
280
+ *
281
+ * @param {Object} request
282
+ * The request object that will be sent.
283
+ * @param {string} request.parent
284
+ * Required. Format: `networks/{network_code}`
285
+ * @param {string[]} request.names
286
+ * Required. The resource names of the `Site` objects to submit for approval.
287
+ * @param {object} [options]
288
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
289
+ * @returns {Promise} - The promise which resolves to an array.
290
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.BatchSubmitSitesForApprovalResponse|BatchSubmitSitesForApprovalResponse}.
291
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
292
+ * for more details and examples.
293
+ * @example <caption>include:samples/generated/v1/site_service.batch_submit_sites_for_approval.js</caption>
294
+ * region_tag:admanager_v1_generated_SiteService_BatchSubmitSitesForApproval_async
295
+ */
296
+ batchSubmitSitesForApproval(request?: protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalRequest, options?: CallOptions): Promise<[
297
+ protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalResponse,
298
+ protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalRequest | undefined,
299
+ {} | undefined
300
+ ]>;
301
+ batchSubmitSitesForApproval(request: protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalResponse, protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalRequest | null | undefined, {} | null | undefined>): void;
302
+ batchSubmitSitesForApproval(request: protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalRequest, callback: Callback<protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalResponse, protos.google.ads.admanager.v1.IBatchSubmitSitesForApprovalRequest | null | undefined, {} | null | undefined>): void;
303
+ /**
304
+ * API to retrieve a list of `Site` objects.
305
+ *
306
+ * @param {Object} request
307
+ * The request object that will be sent.
308
+ * @param {string} request.parent
309
+ * Required. The parent, which owns this collection of Sites.
310
+ * Format: `networks/{network_code}`
311
+ * @param {number} [request.pageSize]
312
+ * Optional. The maximum number of `Sites` to return. The service may return
313
+ * fewer than this value. If unspecified, at most 50 `Sites` will be returned.
314
+ * The maximum value is 1000; values greater than 1000 will be coerced to
315
+ * 1000.
316
+ * @param {string} [request.pageToken]
317
+ * Optional. A page token, received from a previous `ListSites` call.
318
+ * Provide this to retrieve the subsequent page.
319
+ *
320
+ * When paginating, all other parameters provided to `ListSites` must match
321
+ * the call that provided the page token.
322
+ * @param {string} [request.filter]
323
+ * Optional. Expression to filter the response.
324
+ * See syntax details at
325
+ * https://developers.google.com/ad-manager/api/beta/filters
326
+ * @param {string} [request.orderBy]
327
+ * Optional. Expression to specify sorting order.
328
+ * See syntax details at
329
+ * https://developers.google.com/ad-manager/api/beta/filters#order
330
+ * @param {number} [request.skip]
331
+ * Optional. Number of individual resources to skip while paginating.
332
+ * @param {object} [options]
333
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
334
+ * @returns {Promise} - The promise which resolves to an array.
335
+ * The first element of the array is Array of {@link protos.google.ads.admanager.v1.Site|Site}.
336
+ * The client library will perform auto-pagination by default: it will call the API as many
337
+ * times as needed and will merge results from all the pages into this array.
338
+ * Note that it can affect your quota.
339
+ * We recommend using `listSitesAsync()`
340
+ * method described below for async iteration which you can stop as needed.
341
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
342
+ * for more details and examples.
343
+ */
344
+ listSites(request?: protos.google.ads.admanager.v1.IListSitesRequest, options?: CallOptions): Promise<[
345
+ protos.google.ads.admanager.v1.ISite[],
346
+ protos.google.ads.admanager.v1.IListSitesRequest | null,
347
+ protos.google.ads.admanager.v1.IListSitesResponse
348
+ ]>;
349
+ listSites(request: protos.google.ads.admanager.v1.IListSitesRequest, options: CallOptions, callback: PaginationCallback<protos.google.ads.admanager.v1.IListSitesRequest, protos.google.ads.admanager.v1.IListSitesResponse | null | undefined, protos.google.ads.admanager.v1.ISite>): void;
350
+ listSites(request: protos.google.ads.admanager.v1.IListSitesRequest, callback: PaginationCallback<protos.google.ads.admanager.v1.IListSitesRequest, protos.google.ads.admanager.v1.IListSitesResponse | null | undefined, protos.google.ads.admanager.v1.ISite>): void;
351
+ /**
352
+ * Equivalent to `listSites`, but returns a NodeJS Stream object.
353
+ * @param {Object} request
354
+ * The request object that will be sent.
355
+ * @param {string} request.parent
356
+ * Required. The parent, which owns this collection of Sites.
357
+ * Format: `networks/{network_code}`
358
+ * @param {number} [request.pageSize]
359
+ * Optional. The maximum number of `Sites` to return. The service may return
360
+ * fewer than this value. If unspecified, at most 50 `Sites` will be returned.
361
+ * The maximum value is 1000; values greater than 1000 will be coerced to
362
+ * 1000.
363
+ * @param {string} [request.pageToken]
364
+ * Optional. A page token, received from a previous `ListSites` call.
365
+ * Provide this to retrieve the subsequent page.
366
+ *
367
+ * When paginating, all other parameters provided to `ListSites` must match
368
+ * the call that provided the page token.
369
+ * @param {string} [request.filter]
370
+ * Optional. Expression to filter the response.
371
+ * See syntax details at
372
+ * https://developers.google.com/ad-manager/api/beta/filters
373
+ * @param {string} [request.orderBy]
374
+ * Optional. Expression to specify sorting order.
375
+ * See syntax details at
376
+ * https://developers.google.com/ad-manager/api/beta/filters#order
377
+ * @param {number} [request.skip]
378
+ * Optional. Number of individual resources to skip while paginating.
379
+ * @param {object} [options]
380
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
381
+ * @returns {Stream}
382
+ * An object stream which emits an object representing {@link protos.google.ads.admanager.v1.Site|Site} on 'data' event.
383
+ * The client library will perform auto-pagination by default: it will call the API as many
384
+ * times as needed. Note that it can affect your quota.
385
+ * We recommend using `listSitesAsync()`
386
+ * method described below for async iteration which you can stop as needed.
387
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
388
+ * for more details and examples.
389
+ */
390
+ listSitesStream(request?: protos.google.ads.admanager.v1.IListSitesRequest, options?: CallOptions): Transform;
391
+ /**
392
+ * Equivalent to `listSites`, but returns an iterable object.
393
+ *
394
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
395
+ * @param {Object} request
396
+ * The request object that will be sent.
397
+ * @param {string} request.parent
398
+ * Required. The parent, which owns this collection of Sites.
399
+ * Format: `networks/{network_code}`
400
+ * @param {number} [request.pageSize]
401
+ * Optional. The maximum number of `Sites` to return. The service may return
402
+ * fewer than this value. If unspecified, at most 50 `Sites` will be returned.
403
+ * The maximum value is 1000; values greater than 1000 will be coerced to
404
+ * 1000.
405
+ * @param {string} [request.pageToken]
406
+ * Optional. A page token, received from a previous `ListSites` call.
407
+ * Provide this to retrieve the subsequent page.
408
+ *
409
+ * When paginating, all other parameters provided to `ListSites` must match
410
+ * the call that provided the page token.
411
+ * @param {string} [request.filter]
412
+ * Optional. Expression to filter the response.
413
+ * See syntax details at
414
+ * https://developers.google.com/ad-manager/api/beta/filters
415
+ * @param {string} [request.orderBy]
416
+ * Optional. Expression to specify sorting order.
417
+ * See syntax details at
418
+ * https://developers.google.com/ad-manager/api/beta/filters#order
419
+ * @param {number} [request.skip]
420
+ * Optional. Number of individual resources to skip while paginating.
421
+ * @param {object} [options]
422
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
423
+ * @returns {Object}
424
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
425
+ * When you iterate the returned iterable, each element will be an object representing
426
+ * {@link protos.google.ads.admanager.v1.Site|Site}. The API will be called under the hood as needed, once per the page,
427
+ * so you can stop the iteration when you don't need more results.
428
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
429
+ * for more details and examples.
430
+ * @example <caption>include:samples/generated/v1/site_service.list_sites.js</caption>
431
+ * region_tag:admanager_v1_generated_SiteService_ListSites_async
432
+ */
433
+ listSitesAsync(request?: protos.google.ads.admanager.v1.IListSitesRequest, options?: CallOptions): AsyncIterable<protos.google.ads.admanager.v1.ISite>;
434
+ /**
435
+ * Return a fully-qualified adBreak resource name string.
436
+ *
437
+ * @param {string} network_code
438
+ * @param {string} asset_key
439
+ * @param {string} ad_break
440
+ * @returns {string} Resource name string.
441
+ */
442
+ adBreakPath(networkCode: string, assetKey: string, adBreak: string): string;
443
+ /**
444
+ * Parse the network_code from AdBreak resource.
445
+ *
446
+ * @param {string} adBreakName
447
+ * A fully-qualified path representing AdBreak resource.
448
+ * @returns {string} A string representing the network_code.
449
+ */
450
+ matchNetworkCodeFromAdBreakName(adBreakName: string): string | number;
451
+ /**
452
+ * Parse the asset_key from AdBreak resource.
453
+ *
454
+ * @param {string} adBreakName
455
+ * A fully-qualified path representing AdBreak resource.
456
+ * @returns {string} A string representing the asset_key.
457
+ */
458
+ matchAssetKeyFromAdBreakName(adBreakName: string): string | number;
459
+ /**
460
+ * Parse the ad_break from AdBreak resource.
461
+ *
462
+ * @param {string} adBreakName
463
+ * A fully-qualified path representing AdBreak resource.
464
+ * @returns {string} A string representing the ad_break.
465
+ */
466
+ matchAdBreakFromAdBreakName(adBreakName: string): string | number;
467
+ /**
468
+ * Return a fully-qualified adReviewCenterAd resource name string.
469
+ *
470
+ * @param {string} network_code
471
+ * @param {string} web_property_code
472
+ * @param {string} ad_review_center_ad
473
+ * @returns {string} Resource name string.
474
+ */
475
+ adReviewCenterAdPath(networkCode: string, webPropertyCode: string, adReviewCenterAd: string): string;
476
+ /**
477
+ * Parse the network_code from AdReviewCenterAd resource.
478
+ *
479
+ * @param {string} adReviewCenterAdName
480
+ * A fully-qualified path representing AdReviewCenterAd resource.
481
+ * @returns {string} A string representing the network_code.
482
+ */
483
+ matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName: string): string | number;
484
+ /**
485
+ * Parse the web_property_code from AdReviewCenterAd resource.
486
+ *
487
+ * @param {string} adReviewCenterAdName
488
+ * A fully-qualified path representing AdReviewCenterAd resource.
489
+ * @returns {string} A string representing the web_property_code.
490
+ */
491
+ matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName: string): string | number;
492
+ /**
493
+ * Parse the ad_review_center_ad from AdReviewCenterAd resource.
494
+ *
495
+ * @param {string} adReviewCenterAdName
496
+ * A fully-qualified path representing AdReviewCenterAd resource.
497
+ * @returns {string} A string representing the ad_review_center_ad.
498
+ */
499
+ matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName: string): string | number;
500
+ /**
501
+ * Return a fully-qualified adUnit resource name string.
502
+ *
503
+ * @param {string} network_code
504
+ * @param {string} ad_unit
505
+ * @returns {string} Resource name string.
506
+ */
507
+ adUnitPath(networkCode: string, adUnit: string): string;
508
+ /**
509
+ * Parse the network_code from AdUnit resource.
510
+ *
511
+ * @param {string} adUnitName
512
+ * A fully-qualified path representing AdUnit resource.
513
+ * @returns {string} A string representing the network_code.
514
+ */
515
+ matchNetworkCodeFromAdUnitName(adUnitName: string): string | number;
516
+ /**
517
+ * Parse the ad_unit from AdUnit resource.
518
+ *
519
+ * @param {string} adUnitName
520
+ * A fully-qualified path representing AdUnit resource.
521
+ * @returns {string} A string representing the ad_unit.
522
+ */
523
+ matchAdUnitFromAdUnitName(adUnitName: string): string | number;
524
+ /**
525
+ * Return a fully-qualified application resource name string.
526
+ *
527
+ * @param {string} network_code
528
+ * @param {string} application
529
+ * @returns {string} Resource name string.
530
+ */
531
+ applicationPath(networkCode: string, application: string): string;
532
+ /**
533
+ * Parse the network_code from Application resource.
534
+ *
535
+ * @param {string} applicationName
536
+ * A fully-qualified path representing Application resource.
537
+ * @returns {string} A string representing the network_code.
538
+ */
539
+ matchNetworkCodeFromApplicationName(applicationName: string): string | number;
540
+ /**
541
+ * Parse the application from Application resource.
542
+ *
543
+ * @param {string} applicationName
544
+ * A fully-qualified path representing Application resource.
545
+ * @returns {string} A string representing the application.
546
+ */
547
+ matchApplicationFromApplicationName(applicationName: string): string | number;
548
+ /**
549
+ * Return a fully-qualified audienceSegment resource name string.
550
+ *
551
+ * @param {string} network_code
552
+ * @param {string} audience_segment
553
+ * @returns {string} Resource name string.
554
+ */
555
+ audienceSegmentPath(networkCode: string, audienceSegment: string): string;
556
+ /**
557
+ * Parse the network_code from AudienceSegment resource.
558
+ *
559
+ * @param {string} audienceSegmentName
560
+ * A fully-qualified path representing AudienceSegment resource.
561
+ * @returns {string} A string representing the network_code.
562
+ */
563
+ matchNetworkCodeFromAudienceSegmentName(audienceSegmentName: string): string | number;
564
+ /**
565
+ * Parse the audience_segment from AudienceSegment resource.
566
+ *
567
+ * @param {string} audienceSegmentName
568
+ * A fully-qualified path representing AudienceSegment resource.
569
+ * @returns {string} A string representing the audience_segment.
570
+ */
571
+ matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName: string): string | number;
572
+ /**
573
+ * Return a fully-qualified bandwidthGroup resource name string.
574
+ *
575
+ * @param {string} network_code
576
+ * @param {string} bandwidth_group
577
+ * @returns {string} Resource name string.
578
+ */
579
+ bandwidthGroupPath(networkCode: string, bandwidthGroup: string): string;
580
+ /**
581
+ * Parse the network_code from BandwidthGroup resource.
582
+ *
583
+ * @param {string} bandwidthGroupName
584
+ * A fully-qualified path representing BandwidthGroup resource.
585
+ * @returns {string} A string representing the network_code.
586
+ */
587
+ matchNetworkCodeFromBandwidthGroupName(bandwidthGroupName: string): string | number;
588
+ /**
589
+ * Parse the bandwidth_group from BandwidthGroup resource.
590
+ *
591
+ * @param {string} bandwidthGroupName
592
+ * A fully-qualified path representing BandwidthGroup resource.
593
+ * @returns {string} A string representing the bandwidth_group.
594
+ */
595
+ matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName: string): string | number;
596
+ /**
597
+ * Return a fully-qualified browser resource name string.
598
+ *
599
+ * @param {string} network_code
600
+ * @param {string} browser
601
+ * @returns {string} Resource name string.
602
+ */
603
+ browserPath(networkCode: string, browser: string): string;
604
+ /**
605
+ * Parse the network_code from Browser resource.
606
+ *
607
+ * @param {string} browserName
608
+ * A fully-qualified path representing Browser resource.
609
+ * @returns {string} A string representing the network_code.
610
+ */
611
+ matchNetworkCodeFromBrowserName(browserName: string): string | number;
612
+ /**
613
+ * Parse the browser from Browser resource.
614
+ *
615
+ * @param {string} browserName
616
+ * A fully-qualified path representing Browser resource.
617
+ * @returns {string} A string representing the browser.
618
+ */
619
+ matchBrowserFromBrowserName(browserName: string): string | number;
620
+ /**
621
+ * Return a fully-qualified browserLanguage resource name string.
622
+ *
623
+ * @param {string} network_code
624
+ * @param {string} browser_language
625
+ * @returns {string} Resource name string.
626
+ */
627
+ browserLanguagePath(networkCode: string, browserLanguage: string): string;
628
+ /**
629
+ * Parse the network_code from BrowserLanguage resource.
630
+ *
631
+ * @param {string} browserLanguageName
632
+ * A fully-qualified path representing BrowserLanguage resource.
633
+ * @returns {string} A string representing the network_code.
634
+ */
635
+ matchNetworkCodeFromBrowserLanguageName(browserLanguageName: string): string | number;
636
+ /**
637
+ * Parse the browser_language from BrowserLanguage resource.
638
+ *
639
+ * @param {string} browserLanguageName
640
+ * A fully-qualified path representing BrowserLanguage resource.
641
+ * @returns {string} A string representing the browser_language.
642
+ */
643
+ matchBrowserLanguageFromBrowserLanguageName(browserLanguageName: string): string | number;
644
+ /**
645
+ * Return a fully-qualified cmsMetadataKey resource name string.
646
+ *
647
+ * @param {string} network_code
648
+ * @param {string} cms_metadata_key
649
+ * @returns {string} Resource name string.
650
+ */
651
+ cmsMetadataKeyPath(networkCode: string, cmsMetadataKey: string): string;
652
+ /**
653
+ * Parse the network_code from CmsMetadataKey resource.
654
+ *
655
+ * @param {string} cmsMetadataKeyName
656
+ * A fully-qualified path representing CmsMetadataKey resource.
657
+ * @returns {string} A string representing the network_code.
658
+ */
659
+ matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName: string): string | number;
660
+ /**
661
+ * Parse the cms_metadata_key from CmsMetadataKey resource.
662
+ *
663
+ * @param {string} cmsMetadataKeyName
664
+ * A fully-qualified path representing CmsMetadataKey resource.
665
+ * @returns {string} A string representing the cms_metadata_key.
666
+ */
667
+ matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName: string): string | number;
668
+ /**
669
+ * Return a fully-qualified cmsMetadataValue resource name string.
670
+ *
671
+ * @param {string} network_code
672
+ * @param {string} cms_metadata_value
673
+ * @returns {string} Resource name string.
674
+ */
675
+ cmsMetadataValuePath(networkCode: string, cmsMetadataValue: string): string;
676
+ /**
677
+ * Parse the network_code from CmsMetadataValue resource.
678
+ *
679
+ * @param {string} cmsMetadataValueName
680
+ * A fully-qualified path representing CmsMetadataValue resource.
681
+ * @returns {string} A string representing the network_code.
682
+ */
683
+ matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName: string): string | number;
684
+ /**
685
+ * Parse the cms_metadata_value from CmsMetadataValue resource.
686
+ *
687
+ * @param {string} cmsMetadataValueName
688
+ * A fully-qualified path representing CmsMetadataValue resource.
689
+ * @returns {string} A string representing the cms_metadata_value.
690
+ */
691
+ matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName: string): string | number;
692
+ /**
693
+ * Return a fully-qualified company resource name string.
694
+ *
695
+ * @param {string} network_code
696
+ * @param {string} company
697
+ * @returns {string} Resource name string.
698
+ */
699
+ companyPath(networkCode: string, company: string): string;
700
+ /**
701
+ * Parse the network_code from Company resource.
702
+ *
703
+ * @param {string} companyName
704
+ * A fully-qualified path representing Company resource.
705
+ * @returns {string} A string representing the network_code.
706
+ */
707
+ matchNetworkCodeFromCompanyName(companyName: string): string | number;
708
+ /**
709
+ * Parse the company from Company resource.
710
+ *
711
+ * @param {string} companyName
712
+ * A fully-qualified path representing Company resource.
713
+ * @returns {string} A string representing the company.
714
+ */
715
+ matchCompanyFromCompanyName(companyName: string): string | number;
716
+ /**
717
+ * Return a fully-qualified contact resource name string.
718
+ *
719
+ * @param {string} network_code
720
+ * @param {string} contact
721
+ * @returns {string} Resource name string.
722
+ */
723
+ contactPath(networkCode: string, contact: string): string;
724
+ /**
725
+ * Parse the network_code from Contact resource.
726
+ *
727
+ * @param {string} contactName
728
+ * A fully-qualified path representing Contact resource.
729
+ * @returns {string} A string representing the network_code.
730
+ */
731
+ matchNetworkCodeFromContactName(contactName: string): string | number;
732
+ /**
733
+ * Parse the contact from Contact resource.
734
+ *
735
+ * @param {string} contactName
736
+ * A fully-qualified path representing Contact resource.
737
+ * @returns {string} A string representing the contact.
738
+ */
739
+ matchContactFromContactName(contactName: string): string | number;
740
+ /**
741
+ * Return a fully-qualified content resource name string.
742
+ *
743
+ * @param {string} network_code
744
+ * @param {string} content
745
+ * @returns {string} Resource name string.
746
+ */
747
+ contentPath(networkCode: string, content: string): string;
748
+ /**
749
+ * Parse the network_code from Content resource.
750
+ *
751
+ * @param {string} contentName
752
+ * A fully-qualified path representing Content resource.
753
+ * @returns {string} A string representing the network_code.
754
+ */
755
+ matchNetworkCodeFromContentName(contentName: string): string | number;
756
+ /**
757
+ * Parse the content from Content resource.
758
+ *
759
+ * @param {string} contentName
760
+ * A fully-qualified path representing Content resource.
761
+ * @returns {string} A string representing the content.
762
+ */
763
+ matchContentFromContentName(contentName: string): string | number;
764
+ /**
765
+ * Return a fully-qualified contentBundle resource name string.
766
+ *
767
+ * @param {string} network_code
768
+ * @param {string} content_bundle
769
+ * @returns {string} Resource name string.
770
+ */
771
+ contentBundlePath(networkCode: string, contentBundle: string): string;
772
+ /**
773
+ * Parse the network_code from ContentBundle resource.
774
+ *
775
+ * @param {string} contentBundleName
776
+ * A fully-qualified path representing ContentBundle resource.
777
+ * @returns {string} A string representing the network_code.
778
+ */
779
+ matchNetworkCodeFromContentBundleName(contentBundleName: string): string | number;
780
+ /**
781
+ * Parse the content_bundle from ContentBundle resource.
782
+ *
783
+ * @param {string} contentBundleName
784
+ * A fully-qualified path representing ContentBundle resource.
785
+ * @returns {string} A string representing the content_bundle.
786
+ */
787
+ matchContentBundleFromContentBundleName(contentBundleName: string): string | number;
788
+ /**
789
+ * Return a fully-qualified contentLabel resource name string.
790
+ *
791
+ * @param {string} network_code
792
+ * @param {string} content_label
793
+ * @returns {string} Resource name string.
794
+ */
795
+ contentLabelPath(networkCode: string, contentLabel: string): string;
796
+ /**
797
+ * Parse the network_code from ContentLabel resource.
798
+ *
799
+ * @param {string} contentLabelName
800
+ * A fully-qualified path representing ContentLabel resource.
801
+ * @returns {string} A string representing the network_code.
802
+ */
803
+ matchNetworkCodeFromContentLabelName(contentLabelName: string): string | number;
804
+ /**
805
+ * Parse the content_label from ContentLabel resource.
806
+ *
807
+ * @param {string} contentLabelName
808
+ * A fully-qualified path representing ContentLabel resource.
809
+ * @returns {string} A string representing the content_label.
810
+ */
811
+ matchContentLabelFromContentLabelName(contentLabelName: string): string | number;
812
+ /**
813
+ * Return a fully-qualified creativeTemplate resource name string.
814
+ *
815
+ * @param {string} network_code
816
+ * @param {string} creative_template
817
+ * @returns {string} Resource name string.
818
+ */
819
+ creativeTemplatePath(networkCode: string, creativeTemplate: string): string;
820
+ /**
821
+ * Parse the network_code from CreativeTemplate resource.
822
+ *
823
+ * @param {string} creativeTemplateName
824
+ * A fully-qualified path representing CreativeTemplate resource.
825
+ * @returns {string} A string representing the network_code.
826
+ */
827
+ matchNetworkCodeFromCreativeTemplateName(creativeTemplateName: string): string | number;
828
+ /**
829
+ * Parse the creative_template from CreativeTemplate resource.
830
+ *
831
+ * @param {string} creativeTemplateName
832
+ * A fully-qualified path representing CreativeTemplate resource.
833
+ * @returns {string} A string representing the creative_template.
834
+ */
835
+ matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName: string): string | number;
836
+ /**
837
+ * Return a fully-qualified customField resource name string.
838
+ *
839
+ * @param {string} network_code
840
+ * @param {string} custom_field
841
+ * @returns {string} Resource name string.
842
+ */
843
+ customFieldPath(networkCode: string, customField: string): string;
844
+ /**
845
+ * Parse the network_code from CustomField resource.
846
+ *
847
+ * @param {string} customFieldName
848
+ * A fully-qualified path representing CustomField resource.
849
+ * @returns {string} A string representing the network_code.
850
+ */
851
+ matchNetworkCodeFromCustomFieldName(customFieldName: string): string | number;
852
+ /**
853
+ * Parse the custom_field from CustomField resource.
854
+ *
855
+ * @param {string} customFieldName
856
+ * A fully-qualified path representing CustomField resource.
857
+ * @returns {string} A string representing the custom_field.
858
+ */
859
+ matchCustomFieldFromCustomFieldName(customFieldName: string): string | number;
860
+ /**
861
+ * Return a fully-qualified customTargetingKey resource name string.
862
+ *
863
+ * @param {string} network_code
864
+ * @param {string} custom_targeting_key
865
+ * @returns {string} Resource name string.
866
+ */
867
+ customTargetingKeyPath(networkCode: string, customTargetingKey: string): string;
868
+ /**
869
+ * Parse the network_code from CustomTargetingKey resource.
870
+ *
871
+ * @param {string} customTargetingKeyName
872
+ * A fully-qualified path representing CustomTargetingKey resource.
873
+ * @returns {string} A string representing the network_code.
874
+ */
875
+ matchNetworkCodeFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
876
+ /**
877
+ * Parse the custom_targeting_key from CustomTargetingKey resource.
878
+ *
879
+ * @param {string} customTargetingKeyName
880
+ * A fully-qualified path representing CustomTargetingKey resource.
881
+ * @returns {string} A string representing the custom_targeting_key.
882
+ */
883
+ matchCustomTargetingKeyFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
884
+ /**
885
+ * Return a fully-qualified customTargetingValue resource name string.
886
+ *
887
+ * @param {string} network_code
888
+ * @param {string} custom_targeting_value
889
+ * @returns {string} Resource name string.
890
+ */
891
+ customTargetingValuePath(networkCode: string, customTargetingValue: string): string;
892
+ /**
893
+ * Parse the network_code from CustomTargetingValue resource.
894
+ *
895
+ * @param {string} customTargetingValueName
896
+ * A fully-qualified path representing CustomTargetingValue resource.
897
+ * @returns {string} A string representing the network_code.
898
+ */
899
+ matchNetworkCodeFromCustomTargetingValueName(customTargetingValueName: string): string | number;
900
+ /**
901
+ * Parse the custom_targeting_value from CustomTargetingValue resource.
902
+ *
903
+ * @param {string} customTargetingValueName
904
+ * A fully-qualified path representing CustomTargetingValue resource.
905
+ * @returns {string} A string representing the custom_targeting_value.
906
+ */
907
+ matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName: string): string | number;
908
+ /**
909
+ * Return a fully-qualified deviceCapability resource name string.
910
+ *
911
+ * @param {string} network_code
912
+ * @param {string} device_capability
913
+ * @returns {string} Resource name string.
914
+ */
915
+ deviceCapabilityPath(networkCode: string, deviceCapability: string): string;
916
+ /**
917
+ * Parse the network_code from DeviceCapability resource.
918
+ *
919
+ * @param {string} deviceCapabilityName
920
+ * A fully-qualified path representing DeviceCapability resource.
921
+ * @returns {string} A string representing the network_code.
922
+ */
923
+ matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName: string): string | number;
924
+ /**
925
+ * Parse the device_capability from DeviceCapability resource.
926
+ *
927
+ * @param {string} deviceCapabilityName
928
+ * A fully-qualified path representing DeviceCapability resource.
929
+ * @returns {string} A string representing the device_capability.
930
+ */
931
+ matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName: string): string | number;
932
+ /**
933
+ * Return a fully-qualified deviceCategory resource name string.
934
+ *
935
+ * @param {string} network_code
936
+ * @param {string} device_category
937
+ * @returns {string} Resource name string.
938
+ */
939
+ deviceCategoryPath(networkCode: string, deviceCategory: string): string;
940
+ /**
941
+ * Parse the network_code from DeviceCategory resource.
942
+ *
943
+ * @param {string} deviceCategoryName
944
+ * A fully-qualified path representing DeviceCategory resource.
945
+ * @returns {string} A string representing the network_code.
946
+ */
947
+ matchNetworkCodeFromDeviceCategoryName(deviceCategoryName: string): string | number;
948
+ /**
949
+ * Parse the device_category from DeviceCategory resource.
950
+ *
951
+ * @param {string} deviceCategoryName
952
+ * A fully-qualified path representing DeviceCategory resource.
953
+ * @returns {string} A string representing the device_category.
954
+ */
955
+ matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName: string): string | number;
956
+ /**
957
+ * Return a fully-qualified deviceManufacturer resource name string.
958
+ *
959
+ * @param {string} network_code
960
+ * @param {string} device_manufacturer
961
+ * @returns {string} Resource name string.
962
+ */
963
+ deviceManufacturerPath(networkCode: string, deviceManufacturer: string): string;
964
+ /**
965
+ * Parse the network_code from DeviceManufacturer resource.
966
+ *
967
+ * @param {string} deviceManufacturerName
968
+ * A fully-qualified path representing DeviceManufacturer resource.
969
+ * @returns {string} A string representing the network_code.
970
+ */
971
+ matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName: string): string | number;
972
+ /**
973
+ * Parse the device_manufacturer from DeviceManufacturer resource.
974
+ *
975
+ * @param {string} deviceManufacturerName
976
+ * A fully-qualified path representing DeviceManufacturer resource.
977
+ * @returns {string} A string representing the device_manufacturer.
978
+ */
979
+ matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName: string): string | number;
980
+ /**
981
+ * Return a fully-qualified entitySignalsMapping resource name string.
982
+ *
983
+ * @param {string} network_code
984
+ * @param {string} entity_signals_mapping
985
+ * @returns {string} Resource name string.
986
+ */
987
+ entitySignalsMappingPath(networkCode: string, entitySignalsMapping: string): string;
988
+ /**
989
+ * Parse the network_code from EntitySignalsMapping resource.
990
+ *
991
+ * @param {string} entitySignalsMappingName
992
+ * A fully-qualified path representing EntitySignalsMapping resource.
993
+ * @returns {string} A string representing the network_code.
994
+ */
995
+ matchNetworkCodeFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
996
+ /**
997
+ * Parse the entity_signals_mapping from EntitySignalsMapping resource.
998
+ *
999
+ * @param {string} entitySignalsMappingName
1000
+ * A fully-qualified path representing EntitySignalsMapping resource.
1001
+ * @returns {string} A string representing the entity_signals_mapping.
1002
+ */
1003
+ matchEntitySignalsMappingFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
1004
+ /**
1005
+ * Return a fully-qualified geoTarget resource name string.
1006
+ *
1007
+ * @param {string} network_code
1008
+ * @param {string} geo_target
1009
+ * @returns {string} Resource name string.
1010
+ */
1011
+ geoTargetPath(networkCode: string, geoTarget: string): string;
1012
+ /**
1013
+ * Parse the network_code from GeoTarget resource.
1014
+ *
1015
+ * @param {string} geoTargetName
1016
+ * A fully-qualified path representing GeoTarget resource.
1017
+ * @returns {string} A string representing the network_code.
1018
+ */
1019
+ matchNetworkCodeFromGeoTargetName(geoTargetName: string): string | number;
1020
+ /**
1021
+ * Parse the geo_target from GeoTarget resource.
1022
+ *
1023
+ * @param {string} geoTargetName
1024
+ * A fully-qualified path representing GeoTarget resource.
1025
+ * @returns {string} A string representing the geo_target.
1026
+ */
1027
+ matchGeoTargetFromGeoTargetName(geoTargetName: string): string | number;
1028
+ /**
1029
+ * Return a fully-qualified label resource name string.
1030
+ *
1031
+ * @param {string} network_code
1032
+ * @param {string} label
1033
+ * @returns {string} Resource name string.
1034
+ */
1035
+ labelPath(networkCode: string, label: string): string;
1036
+ /**
1037
+ * Parse the network_code from Label resource.
1038
+ *
1039
+ * @param {string} labelName
1040
+ * A fully-qualified path representing Label resource.
1041
+ * @returns {string} A string representing the network_code.
1042
+ */
1043
+ matchNetworkCodeFromLabelName(labelName: string): string | number;
1044
+ /**
1045
+ * Parse the label from Label resource.
1046
+ *
1047
+ * @param {string} labelName
1048
+ * A fully-qualified path representing Label resource.
1049
+ * @returns {string} A string representing the label.
1050
+ */
1051
+ matchLabelFromLabelName(labelName: string): string | number;
1052
+ /**
1053
+ * Return a fully-qualified liveStreamEvent resource name string.
1054
+ *
1055
+ * @param {string} network_code
1056
+ * @param {string} live_stream_event
1057
+ * @returns {string} Resource name string.
1058
+ */
1059
+ liveStreamEventPath(networkCode: string, liveStreamEvent: string): string;
1060
+ /**
1061
+ * Parse the network_code from LiveStreamEvent resource.
1062
+ *
1063
+ * @param {string} liveStreamEventName
1064
+ * A fully-qualified path representing LiveStreamEvent resource.
1065
+ * @returns {string} A string representing the network_code.
1066
+ */
1067
+ matchNetworkCodeFromLiveStreamEventName(liveStreamEventName: string): string | number;
1068
+ /**
1069
+ * Parse the live_stream_event from LiveStreamEvent resource.
1070
+ *
1071
+ * @param {string} liveStreamEventName
1072
+ * A fully-qualified path representing LiveStreamEvent resource.
1073
+ * @returns {string} A string representing the live_stream_event.
1074
+ */
1075
+ matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName: string): string | number;
1076
+ /**
1077
+ * Return a fully-qualified mobileCarrier resource name string.
1078
+ *
1079
+ * @param {string} network_code
1080
+ * @param {string} mobile_carrier
1081
+ * @returns {string} Resource name string.
1082
+ */
1083
+ mobileCarrierPath(networkCode: string, mobileCarrier: string): string;
1084
+ /**
1085
+ * Parse the network_code from MobileCarrier resource.
1086
+ *
1087
+ * @param {string} mobileCarrierName
1088
+ * A fully-qualified path representing MobileCarrier resource.
1089
+ * @returns {string} A string representing the network_code.
1090
+ */
1091
+ matchNetworkCodeFromMobileCarrierName(mobileCarrierName: string): string | number;
1092
+ /**
1093
+ * Parse the mobile_carrier from MobileCarrier resource.
1094
+ *
1095
+ * @param {string} mobileCarrierName
1096
+ * A fully-qualified path representing MobileCarrier resource.
1097
+ * @returns {string} A string representing the mobile_carrier.
1098
+ */
1099
+ matchMobileCarrierFromMobileCarrierName(mobileCarrierName: string): string | number;
1100
+ /**
1101
+ * Return a fully-qualified mobileDevice resource name string.
1102
+ *
1103
+ * @param {string} network_code
1104
+ * @param {string} mobile_device
1105
+ * @returns {string} Resource name string.
1106
+ */
1107
+ mobileDevicePath(networkCode: string, mobileDevice: string): string;
1108
+ /**
1109
+ * Parse the network_code from MobileDevice resource.
1110
+ *
1111
+ * @param {string} mobileDeviceName
1112
+ * A fully-qualified path representing MobileDevice resource.
1113
+ * @returns {string} A string representing the network_code.
1114
+ */
1115
+ matchNetworkCodeFromMobileDeviceName(mobileDeviceName: string): string | number;
1116
+ /**
1117
+ * Parse the mobile_device from MobileDevice resource.
1118
+ *
1119
+ * @param {string} mobileDeviceName
1120
+ * A fully-qualified path representing MobileDevice resource.
1121
+ * @returns {string} A string representing the mobile_device.
1122
+ */
1123
+ matchMobileDeviceFromMobileDeviceName(mobileDeviceName: string): string | number;
1124
+ /**
1125
+ * Return a fully-qualified mobileDeviceSubmodel resource name string.
1126
+ *
1127
+ * @param {string} network_code
1128
+ * @param {string} mobile_device_submodel
1129
+ * @returns {string} Resource name string.
1130
+ */
1131
+ mobileDeviceSubmodelPath(networkCode: string, mobileDeviceSubmodel: string): string;
1132
+ /**
1133
+ * Parse the network_code from MobileDeviceSubmodel resource.
1134
+ *
1135
+ * @param {string} mobileDeviceSubmodelName
1136
+ * A fully-qualified path representing MobileDeviceSubmodel resource.
1137
+ * @returns {string} A string representing the network_code.
1138
+ */
1139
+ matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName: string): string | number;
1140
+ /**
1141
+ * Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
1142
+ *
1143
+ * @param {string} mobileDeviceSubmodelName
1144
+ * A fully-qualified path representing MobileDeviceSubmodel resource.
1145
+ * @returns {string} A string representing the mobile_device_submodel.
1146
+ */
1147
+ matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName: string): string | number;
1148
+ /**
1149
+ * Return a fully-qualified network resource name string.
1150
+ *
1151
+ * @param {string} network_code
1152
+ * @returns {string} Resource name string.
1153
+ */
1154
+ networkPath(networkCode: string): string;
1155
+ /**
1156
+ * Parse the network_code from Network resource.
1157
+ *
1158
+ * @param {string} networkName
1159
+ * A fully-qualified path representing Network resource.
1160
+ * @returns {string} A string representing the network_code.
1161
+ */
1162
+ matchNetworkCodeFromNetworkName(networkName: string): string | number;
1163
+ /**
1164
+ * Return a fully-qualified operatingSystem resource name string.
1165
+ *
1166
+ * @param {string} network_code
1167
+ * @param {string} operating_system
1168
+ * @returns {string} Resource name string.
1169
+ */
1170
+ operatingSystemPath(networkCode: string, operatingSystem: string): string;
1171
+ /**
1172
+ * Parse the network_code from OperatingSystem resource.
1173
+ *
1174
+ * @param {string} operatingSystemName
1175
+ * A fully-qualified path representing OperatingSystem resource.
1176
+ * @returns {string} A string representing the network_code.
1177
+ */
1178
+ matchNetworkCodeFromOperatingSystemName(operatingSystemName: string): string | number;
1179
+ /**
1180
+ * Parse the operating_system from OperatingSystem resource.
1181
+ *
1182
+ * @param {string} operatingSystemName
1183
+ * A fully-qualified path representing OperatingSystem resource.
1184
+ * @returns {string} A string representing the operating_system.
1185
+ */
1186
+ matchOperatingSystemFromOperatingSystemName(operatingSystemName: string): string | number;
1187
+ /**
1188
+ * Return a fully-qualified operatingSystemVersion resource name string.
1189
+ *
1190
+ * @param {string} network_code
1191
+ * @param {string} operating_system_version
1192
+ * @returns {string} Resource name string.
1193
+ */
1194
+ operatingSystemVersionPath(networkCode: string, operatingSystemVersion: string): string;
1195
+ /**
1196
+ * Parse the network_code from OperatingSystemVersion resource.
1197
+ *
1198
+ * @param {string} operatingSystemVersionName
1199
+ * A fully-qualified path representing OperatingSystemVersion resource.
1200
+ * @returns {string} A string representing the network_code.
1201
+ */
1202
+ matchNetworkCodeFromOperatingSystemVersionName(operatingSystemVersionName: string): string | number;
1203
+ /**
1204
+ * Parse the operating_system_version from OperatingSystemVersion resource.
1205
+ *
1206
+ * @param {string} operatingSystemVersionName
1207
+ * A fully-qualified path representing OperatingSystemVersion resource.
1208
+ * @returns {string} A string representing the operating_system_version.
1209
+ */
1210
+ matchOperatingSystemVersionFromOperatingSystemVersionName(operatingSystemVersionName: string): string | number;
1211
+ /**
1212
+ * Return a fully-qualified order resource name string.
1213
+ *
1214
+ * @param {string} network_code
1215
+ * @param {string} order
1216
+ * @returns {string} Resource name string.
1217
+ */
1218
+ orderPath(networkCode: string, order: string): string;
1219
+ /**
1220
+ * Parse the network_code from Order resource.
1221
+ *
1222
+ * @param {string} orderName
1223
+ * A fully-qualified path representing Order resource.
1224
+ * @returns {string} A string representing the network_code.
1225
+ */
1226
+ matchNetworkCodeFromOrderName(orderName: string): string | number;
1227
+ /**
1228
+ * Parse the order from Order resource.
1229
+ *
1230
+ * @param {string} orderName
1231
+ * A fully-qualified path representing Order resource.
1232
+ * @returns {string} A string representing the order.
1233
+ */
1234
+ matchOrderFromOrderName(orderName: string): string | number;
1235
+ /**
1236
+ * Return a fully-qualified placement resource name string.
1237
+ *
1238
+ * @param {string} network_code
1239
+ * @param {string} placement
1240
+ * @returns {string} Resource name string.
1241
+ */
1242
+ placementPath(networkCode: string, placement: string): string;
1243
+ /**
1244
+ * Parse the network_code from Placement resource.
1245
+ *
1246
+ * @param {string} placementName
1247
+ * A fully-qualified path representing Placement resource.
1248
+ * @returns {string} A string representing the network_code.
1249
+ */
1250
+ matchNetworkCodeFromPlacementName(placementName: string): string | number;
1251
+ /**
1252
+ * Parse the placement from Placement resource.
1253
+ *
1254
+ * @param {string} placementName
1255
+ * A fully-qualified path representing Placement resource.
1256
+ * @returns {string} A string representing the placement.
1257
+ */
1258
+ matchPlacementFromPlacementName(placementName: string): string | number;
1259
+ /**
1260
+ * Return a fully-qualified privateAuction resource name string.
1261
+ *
1262
+ * @param {string} network_code
1263
+ * @param {string} private_auction
1264
+ * @returns {string} Resource name string.
1265
+ */
1266
+ privateAuctionPath(networkCode: string, privateAuction: string): string;
1267
+ /**
1268
+ * Parse the network_code from PrivateAuction resource.
1269
+ *
1270
+ * @param {string} privateAuctionName
1271
+ * A fully-qualified path representing PrivateAuction resource.
1272
+ * @returns {string} A string representing the network_code.
1273
+ */
1274
+ matchNetworkCodeFromPrivateAuctionName(privateAuctionName: string): string | number;
1275
+ /**
1276
+ * Parse the private_auction from PrivateAuction resource.
1277
+ *
1278
+ * @param {string} privateAuctionName
1279
+ * A fully-qualified path representing PrivateAuction resource.
1280
+ * @returns {string} A string representing the private_auction.
1281
+ */
1282
+ matchPrivateAuctionFromPrivateAuctionName(privateAuctionName: string): string | number;
1283
+ /**
1284
+ * Return a fully-qualified privateAuctionDeal resource name string.
1285
+ *
1286
+ * @param {string} network_code
1287
+ * @param {string} private_auction_deal
1288
+ * @returns {string} Resource name string.
1289
+ */
1290
+ privateAuctionDealPath(networkCode: string, privateAuctionDeal: string): string;
1291
+ /**
1292
+ * Parse the network_code from PrivateAuctionDeal resource.
1293
+ *
1294
+ * @param {string} privateAuctionDealName
1295
+ * A fully-qualified path representing PrivateAuctionDeal resource.
1296
+ * @returns {string} A string representing the network_code.
1297
+ */
1298
+ matchNetworkCodeFromPrivateAuctionDealName(privateAuctionDealName: string): string | number;
1299
+ /**
1300
+ * Parse the private_auction_deal from PrivateAuctionDeal resource.
1301
+ *
1302
+ * @param {string} privateAuctionDealName
1303
+ * A fully-qualified path representing PrivateAuctionDeal resource.
1304
+ * @returns {string} A string representing the private_auction_deal.
1305
+ */
1306
+ matchPrivateAuctionDealFromPrivateAuctionDealName(privateAuctionDealName: string): string | number;
1307
+ /**
1308
+ * Return a fully-qualified programmaticBuyer resource name string.
1309
+ *
1310
+ * @param {string} network_code
1311
+ * @param {string} programmatic_buyer
1312
+ * @returns {string} Resource name string.
1313
+ */
1314
+ programmaticBuyerPath(networkCode: string, programmaticBuyer: string): string;
1315
+ /**
1316
+ * Parse the network_code from ProgrammaticBuyer resource.
1317
+ *
1318
+ * @param {string} programmaticBuyerName
1319
+ * A fully-qualified path representing ProgrammaticBuyer resource.
1320
+ * @returns {string} A string representing the network_code.
1321
+ */
1322
+ matchNetworkCodeFromProgrammaticBuyerName(programmaticBuyerName: string): string | number;
1323
+ /**
1324
+ * Parse the programmatic_buyer from ProgrammaticBuyer resource.
1325
+ *
1326
+ * @param {string} programmaticBuyerName
1327
+ * A fully-qualified path representing ProgrammaticBuyer resource.
1328
+ * @returns {string} A string representing the programmatic_buyer.
1329
+ */
1330
+ matchProgrammaticBuyerFromProgrammaticBuyerName(programmaticBuyerName: string): string | number;
1331
+ /**
1332
+ * Return a fully-qualified report resource name string.
1333
+ *
1334
+ * @param {string} network_code
1335
+ * @param {string} report
1336
+ * @returns {string} Resource name string.
1337
+ */
1338
+ reportPath(networkCode: string, report: string): string;
1339
+ /**
1340
+ * Parse the network_code from Report resource.
1341
+ *
1342
+ * @param {string} reportName
1343
+ * A fully-qualified path representing Report resource.
1344
+ * @returns {string} A string representing the network_code.
1345
+ */
1346
+ matchNetworkCodeFromReportName(reportName: string): string | number;
1347
+ /**
1348
+ * Parse the report from Report resource.
1349
+ *
1350
+ * @param {string} reportName
1351
+ * A fully-qualified path representing Report resource.
1352
+ * @returns {string} A string representing the report.
1353
+ */
1354
+ matchReportFromReportName(reportName: string): string | number;
1355
+ /**
1356
+ * Return a fully-qualified role resource name string.
1357
+ *
1358
+ * @param {string} network_code
1359
+ * @param {string} role
1360
+ * @returns {string} Resource name string.
1361
+ */
1362
+ rolePath(networkCode: string, role: string): string;
1363
+ /**
1364
+ * Parse the network_code from Role resource.
1365
+ *
1366
+ * @param {string} roleName
1367
+ * A fully-qualified path representing Role resource.
1368
+ * @returns {string} A string representing the network_code.
1369
+ */
1370
+ matchNetworkCodeFromRoleName(roleName: string): string | number;
1371
+ /**
1372
+ * Parse the role from Role resource.
1373
+ *
1374
+ * @param {string} roleName
1375
+ * A fully-qualified path representing Role resource.
1376
+ * @returns {string} A string representing the role.
1377
+ */
1378
+ matchRoleFromRoleName(roleName: string): string | number;
1379
+ /**
1380
+ * Return a fully-qualified site resource name string.
1381
+ *
1382
+ * @param {string} network_code
1383
+ * @param {string} site
1384
+ * @returns {string} Resource name string.
1385
+ */
1386
+ sitePath(networkCode: string, site: string): string;
1387
+ /**
1388
+ * Parse the network_code from Site resource.
1389
+ *
1390
+ * @param {string} siteName
1391
+ * A fully-qualified path representing Site resource.
1392
+ * @returns {string} A string representing the network_code.
1393
+ */
1394
+ matchNetworkCodeFromSiteName(siteName: string): string | number;
1395
+ /**
1396
+ * Parse the site from Site resource.
1397
+ *
1398
+ * @param {string} siteName
1399
+ * A fully-qualified path representing Site resource.
1400
+ * @returns {string} A string representing the site.
1401
+ */
1402
+ matchSiteFromSiteName(siteName: string): string | number;
1403
+ /**
1404
+ * Return a fully-qualified taxonomyCategory resource name string.
1405
+ *
1406
+ * @param {string} network_code
1407
+ * @param {string} taxonomy_category
1408
+ * @returns {string} Resource name string.
1409
+ */
1410
+ taxonomyCategoryPath(networkCode: string, taxonomyCategory: string): string;
1411
+ /**
1412
+ * Parse the network_code from TaxonomyCategory resource.
1413
+ *
1414
+ * @param {string} taxonomyCategoryName
1415
+ * A fully-qualified path representing TaxonomyCategory resource.
1416
+ * @returns {string} A string representing the network_code.
1417
+ */
1418
+ matchNetworkCodeFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
1419
+ /**
1420
+ * Parse the taxonomy_category from TaxonomyCategory resource.
1421
+ *
1422
+ * @param {string} taxonomyCategoryName
1423
+ * A fully-qualified path representing TaxonomyCategory resource.
1424
+ * @returns {string} A string representing the taxonomy_category.
1425
+ */
1426
+ matchTaxonomyCategoryFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
1427
+ /**
1428
+ * Return a fully-qualified team resource name string.
1429
+ *
1430
+ * @param {string} network_code
1431
+ * @param {string} team
1432
+ * @returns {string} Resource name string.
1433
+ */
1434
+ teamPath(networkCode: string, team: string): string;
1435
+ /**
1436
+ * Parse the network_code from Team resource.
1437
+ *
1438
+ * @param {string} teamName
1439
+ * A fully-qualified path representing Team resource.
1440
+ * @returns {string} A string representing the network_code.
1441
+ */
1442
+ matchNetworkCodeFromTeamName(teamName: string): string | number;
1443
+ /**
1444
+ * Parse the team from Team resource.
1445
+ *
1446
+ * @param {string} teamName
1447
+ * A fully-qualified path representing Team resource.
1448
+ * @returns {string} A string representing the team.
1449
+ */
1450
+ matchTeamFromTeamName(teamName: string): string | number;
1451
+ /**
1452
+ * Return a fully-qualified user resource name string.
1453
+ *
1454
+ * @param {string} network_code
1455
+ * @param {string} user
1456
+ * @returns {string} Resource name string.
1457
+ */
1458
+ userPath(networkCode: string, user: string): string;
1459
+ /**
1460
+ * Parse the network_code from User resource.
1461
+ *
1462
+ * @param {string} userName
1463
+ * A fully-qualified path representing User resource.
1464
+ * @returns {string} A string representing the network_code.
1465
+ */
1466
+ matchNetworkCodeFromUserName(userName: string): string | number;
1467
+ /**
1468
+ * Parse the user from User resource.
1469
+ *
1470
+ * @param {string} userName
1471
+ * A fully-qualified path representing User resource.
1472
+ * @returns {string} A string representing the user.
1473
+ */
1474
+ matchUserFromUserName(userName: string): string | number;
1475
+ /**
1476
+ * Return a fully-qualified webProperty resource name string.
1477
+ *
1478
+ * @param {string} network_code
1479
+ * @param {string} web_property
1480
+ * @returns {string} Resource name string.
1481
+ */
1482
+ webPropertyPath(networkCode: string, webProperty: string): string;
1483
+ /**
1484
+ * Parse the network_code from WebProperty resource.
1485
+ *
1486
+ * @param {string} webPropertyName
1487
+ * A fully-qualified path representing WebProperty resource.
1488
+ * @returns {string} A string representing the network_code.
1489
+ */
1490
+ matchNetworkCodeFromWebPropertyName(webPropertyName: string): string | number;
1491
+ /**
1492
+ * Parse the web_property from WebProperty resource.
1493
+ *
1494
+ * @param {string} webPropertyName
1495
+ * A fully-qualified path representing WebProperty resource.
1496
+ * @returns {string} A string representing the web_property.
1497
+ */
1498
+ matchWebPropertyFromWebPropertyName(webPropertyName: string): string | number;
1499
+ /**
1500
+ * Terminate the gRPC channel and close the client.
1501
+ *
1502
+ * The client will no longer be usable and all future behavior is undefined.
1503
+ * @returns {Promise} A promise that resolves when the client is closed.
1504
+ */
1505
+ close(): Promise<void>;
1506
+ }