@google-ads/admanager 0.4.1 → 0.5.1

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 (291) hide show
  1. package/README.md +83 -0
  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 +238 -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 +222 -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 +191 -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/goal.proto +57 -0
  53. package/build/protos/google/ads/admanager/v1/goal_enums.proto +129 -0
  54. package/build/protos/google/ads/admanager/v1/line_item_enums.proto +86 -0
  55. package/build/protos/google/ads/admanager/v1/line_item_messages.proto +93 -0
  56. package/build/protos/google/ads/admanager/v1/line_item_service.proto +128 -0
  57. package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +48 -0
  58. package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
  59. package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
  60. package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
  61. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
  62. package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
  63. package/build/protos/google/ads/admanager/v1/network_messages.proto +8 -8
  64. package/build/protos/google/ads/admanager/v1/network_service.proto +32 -1
  65. package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
  66. package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
  67. package/build/protos/google/ads/admanager/v1/order_messages.proto +11 -10
  68. package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
  69. package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
  70. package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
  71. package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
  72. package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
  73. package/build/protos/google/ads/admanager/v1/report_definition.proto +13347 -0
  74. package/build/protos/google/ads/admanager/v1/report_messages.proto +124 -3411
  75. package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
  76. package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
  77. package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
  78. package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
  79. package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
  80. package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
  81. package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
  82. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
  83. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
  84. package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
  85. package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
  86. package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
  87. package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
  88. package/build/protos/protos.d.ts +34075 -11179
  89. package/build/protos/protos.js +102857 -43311
  90. package/build/protos/protos.json +11142 -3881
  91. package/build/src/index.d.ts +61 -1
  92. package/build/src/index.js +43 -3
  93. package/build/src/index.js.map +1 -1
  94. package/build/src/v1/ad_break_service_client.d.ts +465 -0
  95. package/build/src/v1/ad_break_service_client.js +659 -1
  96. package/build/src/v1/ad_break_service_client.js.map +1 -1
  97. package/build/src/v1/ad_break_service_proto_list.json +54 -1
  98. package/build/src/v1/ad_review_center_ad_service_client.d.ts +1634 -0
  99. package/build/src/v1/ad_review_center_ad_service_client.js +2327 -0
  100. package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
  101. package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
  102. package/build/src/v1/ad_review_center_ad_service_proto_list.json +127 -0
  103. package/build/src/v1/ad_unit_service_client.d.ts +667 -12
  104. package/build/src/v1/ad_unit_service_client.js +966 -56
  105. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  106. package/build/src/v1/ad_unit_service_client_config.json +28 -0
  107. package/build/src/v1/ad_unit_service_proto_list.json +54 -1
  108. package/build/src/v1/application_service_client.d.ts +1369 -0
  109. package/build/src/v1/application_service_client.js +2027 -0
  110. package/build/src/v1/application_service_client.js.map +1 -0
  111. package/build/src/v1/application_service_client_config.json +34 -0
  112. package/build/src/v1/application_service_proto_list.json +127 -0
  113. package/build/src/v1/audience_segment_service_client.d.ts +1369 -0
  114. package/build/src/v1/audience_segment_service_client.js +2027 -0
  115. package/build/src/v1/audience_segment_service_client.js.map +1 -0
  116. package/build/src/v1/audience_segment_service_client_config.json +34 -0
  117. package/build/src/v1/audience_segment_service_proto_list.json +127 -0
  118. package/build/src/v1/bandwidth_group_service_client.d.ts +471 -6
  119. package/build/src/v1/bandwidth_group_service_client.js +663 -5
  120. package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
  121. package/build/src/v1/bandwidth_group_service_proto_list.json +54 -1
  122. package/build/src/v1/browser_language_service_client.d.ts +1369 -0
  123. package/build/src/v1/browser_language_service_client.js +2027 -0
  124. package/build/src/v1/browser_language_service_client.js.map +1 -0
  125. package/build/src/v1/browser_language_service_client_config.json +34 -0
  126. package/build/src/v1/browser_language_service_proto_list.json +127 -0
  127. package/build/src/v1/browser_service_client.d.ts +1369 -0
  128. package/build/src/v1/browser_service_client.js +2027 -0
  129. package/build/src/v1/browser_service_client.js.map +1 -0
  130. package/build/src/v1/browser_service_client_config.json +34 -0
  131. package/build/src/v1/browser_service_proto_list.json +127 -0
  132. package/build/src/v1/cms_metadata_key_service_client.d.ts +1369 -0
  133. package/build/src/v1/cms_metadata_key_service_client.js +2027 -0
  134. package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
  135. package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
  136. package/build/src/v1/cms_metadata_key_service_proto_list.json +127 -0
  137. package/build/src/v1/cms_metadata_value_service_client.d.ts +1369 -0
  138. package/build/src/v1/cms_metadata_value_service_client.js +2027 -0
  139. package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
  140. package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
  141. package/build/src/v1/cms_metadata_value_service_proto_list.json +127 -0
  142. package/build/src/v1/company_service_client.d.ts +471 -6
  143. package/build/src/v1/company_service_client.js +663 -5
  144. package/build/src/v1/company_service_client.js.map +1 -1
  145. package/build/src/v1/company_service_proto_list.json +54 -1
  146. package/build/src/v1/contact_service_client.d.ts +1480 -0
  147. package/build/src/v1/contact_service_client.js +2171 -0
  148. package/build/src/v1/contact_service_client.js.map +1 -0
  149. package/build/src/v1/contact_service_client_config.json +50 -0
  150. package/build/src/v1/contact_service_proto_list.json +127 -0
  151. package/build/src/v1/content_bundle_service_client.d.ts +1369 -0
  152. package/build/src/v1/content_bundle_service_client.js +2027 -0
  153. package/build/src/v1/content_bundle_service_client.js.map +1 -0
  154. package/build/src/v1/content_bundle_service_client_config.json +34 -0
  155. package/build/src/v1/content_bundle_service_proto_list.json +127 -0
  156. package/build/src/v1/content_label_service_client.d.ts +1369 -0
  157. package/build/src/v1/content_label_service_client.js +2027 -0
  158. package/build/src/v1/content_label_service_client.js.map +1 -0
  159. package/build/src/v1/content_label_service_client_config.json +34 -0
  160. package/build/src/v1/content_label_service_proto_list.json +127 -0
  161. package/build/src/v1/content_service_client.d.ts +1369 -0
  162. package/build/src/v1/content_service_client.js +2027 -0
  163. package/build/src/v1/content_service_client.js.map +1 -0
  164. package/build/src/v1/content_service_client_config.json +34 -0
  165. package/build/src/v1/content_service_proto_list.json +127 -0
  166. package/build/src/v1/creative_template_service_client.d.ts +1369 -0
  167. package/build/src/v1/creative_template_service_client.js +2027 -0
  168. package/build/src/v1/creative_template_service_client.js.map +1 -0
  169. package/build/src/v1/creative_template_service_client_config.json +34 -0
  170. package/build/src/v1/creative_template_service_proto_list.json +127 -0
  171. package/build/src/v1/custom_field_service_client.d.ts +634 -6
  172. package/build/src/v1/custom_field_service_client.js +880 -6
  173. package/build/src/v1/custom_field_service_client.js.map +1 -1
  174. package/build/src/v1/custom_field_service_client_config.json +24 -0
  175. package/build/src/v1/custom_field_service_proto_list.json +54 -1
  176. package/build/src/v1/custom_targeting_key_service_client.d.ts +631 -0
  177. package/build/src/v1/custom_targeting_key_service_client.js +876 -2
  178. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  179. package/build/src/v1/custom_targeting_key_service_client_config.json +24 -0
  180. package/build/src/v1/custom_targeting_key_service_proto_list.json +54 -1
  181. package/build/src/v1/custom_targeting_value_service_client.d.ts +465 -0
  182. package/build/src/v1/custom_targeting_value_service_client.js +659 -1
  183. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  184. package/build/src/v1/custom_targeting_value_service_proto_list.json +54 -1
  185. package/build/src/v1/device_capability_service_client.d.ts +1369 -0
  186. package/build/src/v1/device_capability_service_client.js +2027 -0
  187. package/build/src/v1/device_capability_service_client.js.map +1 -0
  188. package/build/src/v1/device_capability_service_client_config.json +34 -0
  189. package/build/src/v1/device_capability_service_proto_list.json +127 -0
  190. package/build/src/v1/device_category_service_client.d.ts +468 -3
  191. package/build/src/v1/device_category_service_client.js +661 -3
  192. package/build/src/v1/device_category_service_client.js.map +1 -1
  193. package/build/src/v1/device_category_service_proto_list.json +54 -1
  194. package/build/src/v1/device_manufacturer_service_client.d.ts +1370 -0
  195. package/build/src/v1/device_manufacturer_service_client.js +2027 -0
  196. package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
  197. package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
  198. package/build/src/v1/device_manufacturer_service_proto_list.json +127 -0
  199. package/build/src/v1/entity_signals_mapping_service_client.d.ts +465 -0
  200. package/build/src/v1/entity_signals_mapping_service_client.js +659 -1
  201. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  202. package/build/src/v1/entity_signals_mapping_service_proto_list.json +54 -1
  203. package/build/src/v1/gapic_metadata.json +1200 -6
  204. package/build/src/v1/geo_target_service_client.d.ts +471 -6
  205. package/build/src/v1/geo_target_service_client.js +663 -5
  206. package/build/src/v1/geo_target_service_client.js.map +1 -1
  207. package/build/src/v1/geo_target_service_proto_list.json +54 -1
  208. package/build/src/v1/index.d.ts +20 -0
  209. package/build/src/v1/index.js +42 -2
  210. package/build/src/v1/index.js.map +1 -1
  211. package/build/src/v1/line_item_service_client.d.ts +1369 -0
  212. package/build/src/v1/line_item_service_client.js +2027 -0
  213. package/build/src/v1/line_item_service_client.js.map +1 -0
  214. package/build/src/v1/line_item_service_client_config.json +34 -0
  215. package/build/src/v1/line_item_service_proto_list.json +127 -0
  216. package/build/src/v1/mobile_carrier_service_client.d.ts +1369 -0
  217. package/build/src/v1/mobile_carrier_service_client.js +2027 -0
  218. package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
  219. package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
  220. package/build/src/v1/mobile_carrier_service_proto_list.json +127 -0
  221. package/build/src/v1/mobile_device_service_client.d.ts +1369 -0
  222. package/build/src/v1/mobile_device_service_client.js +2027 -0
  223. package/build/src/v1/mobile_device_service_client.js.map +1 -0
  224. package/build/src/v1/mobile_device_service_client_config.json +34 -0
  225. package/build/src/v1/mobile_device_service_proto_list.json +127 -0
  226. package/build/src/v1/mobile_device_submodel_service_client.d.ts +1376 -0
  227. package/build/src/v1/mobile_device_submodel_service_client.js +2031 -0
  228. package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
  229. package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
  230. package/build/src/v1/mobile_device_submodel_service_proto_list.json +127 -0
  231. package/build/src/v1/network_service_client.d.ts +555 -12
  232. package/build/src/v1/network_service_client.js +757 -16
  233. package/build/src/v1/network_service_client.js.map +1 -1
  234. package/build/src/v1/network_service_proto_list.json +54 -1
  235. package/build/src/v1/operating_system_service_client.d.ts +468 -3
  236. package/build/src/v1/operating_system_service_client.js +661 -3
  237. package/build/src/v1/operating_system_service_client.js.map +1 -1
  238. package/build/src/v1/operating_system_service_proto_list.json +54 -1
  239. package/build/src/v1/operating_system_version_service_client.d.ts +468 -3
  240. package/build/src/v1/operating_system_version_service_client.js +661 -3
  241. package/build/src/v1/operating_system_version_service_client.js.map +1 -1
  242. package/build/src/v1/operating_system_version_service_proto_list.json +54 -1
  243. package/build/src/v1/order_service_client.d.ts +471 -6
  244. package/build/src/v1/order_service_client.js +663 -5
  245. package/build/src/v1/order_service_client.js.map +1 -1
  246. package/build/src/v1/order_service_proto_list.json +54 -1
  247. package/build/src/v1/placement_service_client.d.ts +662 -6
  248. package/build/src/v1/placement_service_client.js +962 -52
  249. package/build/src/v1/placement_service_client.js.map +1 -1
  250. package/build/src/v1/placement_service_client_config.json +28 -0
  251. package/build/src/v1/placement_service_proto_list.json +54 -1
  252. package/build/src/v1/private_auction_deal_service_client.d.ts +468 -3
  253. package/build/src/v1/private_auction_deal_service_client.js +661 -3
  254. package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
  255. package/build/src/v1/private_auction_deal_service_proto_list.json +54 -1
  256. package/build/src/v1/private_auction_service_client.d.ts +468 -3
  257. package/build/src/v1/private_auction_service_client.js +661 -3
  258. package/build/src/v1/private_auction_service_client.js.map +1 -1
  259. package/build/src/v1/private_auction_service_proto_list.json +54 -1
  260. package/build/src/v1/programmatic_buyer_service_client.d.ts +465 -0
  261. package/build/src/v1/programmatic_buyer_service_client.js +659 -1
  262. package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
  263. package/build/src/v1/programmatic_buyer_service_proto_list.json +54 -1
  264. package/build/src/v1/report_service_client.d.ts +485 -17
  265. package/build/src/v1/report_service_client.js +669 -9
  266. package/build/src/v1/report_service_client.js.map +1 -1
  267. package/build/src/v1/report_service_proto_list.json +54 -1
  268. package/build/src/v1/role_service_client.d.ts +471 -3
  269. package/build/src/v1/role_service_client.js +663 -3
  270. package/build/src/v1/role_service_client.js.map +1 -1
  271. package/build/src/v1/role_service_proto_list.json +54 -1
  272. package/build/src/v1/site_service_client.d.ts +1530 -0
  273. package/build/src/v1/site_service_client.js +2243 -0
  274. package/build/src/v1/site_service_client.js.map +1 -0
  275. package/build/src/v1/site_service_client_config.json +58 -0
  276. package/build/src/v1/site_service_proto_list.json +127 -0
  277. package/build/src/v1/taxonomy_category_service_client.d.ts +465 -0
  278. package/build/src/v1/taxonomy_category_service_client.js +659 -1
  279. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  280. package/build/src/v1/taxonomy_category_service_proto_list.json +54 -1
  281. package/build/src/v1/team_service_client.d.ts +1532 -0
  282. package/build/src/v1/team_service_client.js +2243 -0
  283. package/build/src/v1/team_service_client.js.map +1 -0
  284. package/build/src/v1/team_service_client_config.json +58 -0
  285. package/build/src/v1/team_service_proto_list.json +127 -0
  286. package/build/src/v1/user_service_client.d.ts +465 -0
  287. package/build/src/v1/user_service_client.js +659 -1
  288. package/build/src/v1/user_service_client.js.map +1 -1
  289. package/build/src/v1/user_service_proto_list.json +54 -1
  290. package/package.json +10 -2
  291. package/LICENSE +0 -202
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
2
+ // Copyright 2026 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -168,18 +168,35 @@ class CustomTargetingKeyServiceClient {
168
168
  // Create useful helper objects for these.
169
169
  this.pathTemplates = {
170
170
  adBreakPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break}'),
171
+ adReviewCenterAdPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}'),
171
172
  adUnitPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/adUnits/{ad_unit}'),
173
+ applicationPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/applications/{application}'),
174
+ audienceSegmentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/audienceSegments/{audience_segment}'),
172
175
  bandwidthGroupPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/bandwidthGroups/{bandwidth_group}'),
176
+ browserPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browsers/{browser}'),
177
+ browserLanguagePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/browserLanguages/{browser_language}'),
178
+ cmsMetadataKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}'),
179
+ cmsMetadataValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/cmsMetadataValues/{cms_metadata_value}'),
173
180
  companyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/companies/{company}'),
174
181
  contactPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contacts/{contact}'),
182
+ contentPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/content/{content}'),
183
+ contentBundlePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentBundles/{content_bundle}'),
184
+ contentLabelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/contentLabels/{content_label}'),
185
+ creativeTemplatePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/creativeTemplates/{creative_template}'),
175
186
  customFieldPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customFields/{custom_field}'),
176
187
  customTargetingKeyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingKeys/{custom_targeting_key}'),
177
188
  customTargetingValuePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/customTargetingValues/{custom_targeting_value}'),
189
+ deviceCapabilityPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCapabilities/{device_capability}'),
178
190
  deviceCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceCategories/{device_category}'),
191
+ deviceManufacturerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/deviceManufacturers/{device_manufacturer}'),
179
192
  entitySignalsMappingPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}'),
180
193
  geoTargetPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/geoTargets/{geo_target}'),
181
194
  labelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/labels/{label}'),
195
+ lineItemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/lineItems/{line_item}'),
182
196
  liveStreamEventPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/liveStreamEvents/{live_stream_event}'),
197
+ mobileCarrierPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileCarriers/{mobile_carrier}'),
198
+ mobileDevicePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDevices/{mobile_device}'),
199
+ mobileDeviceSubmodelPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}'),
183
200
  networkPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}'),
184
201
  operatingSystemPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystems/{operating_system}'),
185
202
  operatingSystemVersionPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/operatingSystemVersions/{operating_system_version}'),
@@ -190,9 +207,11 @@ class CustomTargetingKeyServiceClient {
190
207
  programmaticBuyerPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/programmaticBuyers/{programmatic_buyer}'),
191
208
  reportPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/reports/{report}'),
192
209
  rolePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/roles/{role}'),
210
+ sitePathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/sites/{site}'),
193
211
  taxonomyCategoryPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/taxonomyCategories/{taxonomy_category}'),
194
212
  teamPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/teams/{team}'),
195
213
  userPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/users/{user}'),
214
+ webPropertyPathTemplate: new this._gaxModule.PathTemplate('networks/{network_code}/webProperties/{web_property}'),
196
215
  };
197
216
  // Some of the methods on this service return "paged" results,
198
217
  // (e.g. 50 results at a time, with tokens to get subsequent
@@ -233,7 +252,7 @@ class CustomTargetingKeyServiceClient {
233
252
  this._protos.google.ads.admanager.v1.CustomTargetingKeyService, this._opts, this._providedCustomServicePath);
234
253
  // Iterate over each of the methods that the service provides
235
254
  // and create an API call method for each.
236
- const customTargetingKeyServiceStubMethods = ['getCustomTargetingKey', 'listCustomTargetingKeys'];
255
+ const customTargetingKeyServiceStubMethods = ['getCustomTargetingKey', 'listCustomTargetingKeys', 'createCustomTargetingKey', 'batchCreateCustomTargetingKeys', 'updateCustomTargetingKey', 'batchUpdateCustomTargetingKeys', 'batchActivateCustomTargetingKeys', 'batchDeactivateCustomTargetingKeys'];
237
256
  for (const methodName of customTargetingKeyServiceStubMethods) {
238
257
  const callPromise = this.customTargetingKeyServiceStub.then(stub => (...args) => {
239
258
  if (this._terminated) {
@@ -347,6 +366,222 @@ class CustomTargetingKeyServiceClient {
347
366
  throw error;
348
367
  });
349
368
  }
369
+ createCustomTargetingKey(request, optionsOrCallback, callback) {
370
+ request = request || {};
371
+ let options;
372
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
373
+ callback = optionsOrCallback;
374
+ options = {};
375
+ }
376
+ else {
377
+ options = optionsOrCallback;
378
+ }
379
+ options = options || {};
380
+ options.otherArgs = options.otherArgs || {};
381
+ options.otherArgs.headers = options.otherArgs.headers || {};
382
+ options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
383
+ 'parent': request.parent ?? '',
384
+ });
385
+ this.initialize().catch(err => { throw err; });
386
+ this._log.info('createCustomTargetingKey request %j', request);
387
+ const wrappedCallback = callback
388
+ ? (error, response, options, rawResponse) => {
389
+ this._log.info('createCustomTargetingKey response %j', response);
390
+ callback(error, response, options, rawResponse); // We verified callback above.
391
+ }
392
+ : undefined;
393
+ return this.innerApiCalls.createCustomTargetingKey(request, options, wrappedCallback)
394
+ ?.then(([response, options, rawResponse]) => {
395
+ this._log.info('createCustomTargetingKey response %j', response);
396
+ return [response, options, rawResponse];
397
+ }).catch((error) => {
398
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
399
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
400
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
401
+ }
402
+ throw error;
403
+ });
404
+ }
405
+ batchCreateCustomTargetingKeys(request, optionsOrCallback, callback) {
406
+ request = request || {};
407
+ let options;
408
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
409
+ callback = optionsOrCallback;
410
+ options = {};
411
+ }
412
+ else {
413
+ options = optionsOrCallback;
414
+ }
415
+ options = options || {};
416
+ options.otherArgs = options.otherArgs || {};
417
+ options.otherArgs.headers = options.otherArgs.headers || {};
418
+ options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
419
+ 'parent': request.parent ?? '',
420
+ });
421
+ this.initialize().catch(err => { throw err; });
422
+ this._log.info('batchCreateCustomTargetingKeys request %j', request);
423
+ const wrappedCallback = callback
424
+ ? (error, response, options, rawResponse) => {
425
+ this._log.info('batchCreateCustomTargetingKeys response %j', response);
426
+ callback(error, response, options, rawResponse); // We verified callback above.
427
+ }
428
+ : undefined;
429
+ return this.innerApiCalls.batchCreateCustomTargetingKeys(request, options, wrappedCallback)
430
+ ?.then(([response, options, rawResponse]) => {
431
+ this._log.info('batchCreateCustomTargetingKeys response %j', response);
432
+ return [response, options, rawResponse];
433
+ }).catch((error) => {
434
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
435
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
436
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
437
+ }
438
+ throw error;
439
+ });
440
+ }
441
+ updateCustomTargetingKey(request, optionsOrCallback, callback) {
442
+ request = request || {};
443
+ let options;
444
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
445
+ callback = optionsOrCallback;
446
+ options = {};
447
+ }
448
+ else {
449
+ options = optionsOrCallback;
450
+ }
451
+ options = options || {};
452
+ options.otherArgs = options.otherArgs || {};
453
+ options.otherArgs.headers = options.otherArgs.headers || {};
454
+ options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
455
+ 'custom_targeting_key.name': request.customTargetingKey.name ?? '',
456
+ });
457
+ this.initialize().catch(err => { throw err; });
458
+ this._log.info('updateCustomTargetingKey request %j', request);
459
+ const wrappedCallback = callback
460
+ ? (error, response, options, rawResponse) => {
461
+ this._log.info('updateCustomTargetingKey response %j', response);
462
+ callback(error, response, options, rawResponse); // We verified callback above.
463
+ }
464
+ : undefined;
465
+ return this.innerApiCalls.updateCustomTargetingKey(request, options, wrappedCallback)
466
+ ?.then(([response, options, rawResponse]) => {
467
+ this._log.info('updateCustomTargetingKey response %j', response);
468
+ return [response, options, rawResponse];
469
+ }).catch((error) => {
470
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
471
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
472
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
473
+ }
474
+ throw error;
475
+ });
476
+ }
477
+ batchUpdateCustomTargetingKeys(request, optionsOrCallback, callback) {
478
+ request = request || {};
479
+ let options;
480
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
481
+ callback = optionsOrCallback;
482
+ options = {};
483
+ }
484
+ else {
485
+ options = optionsOrCallback;
486
+ }
487
+ options = options || {};
488
+ options.otherArgs = options.otherArgs || {};
489
+ options.otherArgs.headers = options.otherArgs.headers || {};
490
+ options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
491
+ 'parent': request.parent ?? '',
492
+ });
493
+ this.initialize().catch(err => { throw err; });
494
+ this._log.info('batchUpdateCustomTargetingKeys request %j', request);
495
+ const wrappedCallback = callback
496
+ ? (error, response, options, rawResponse) => {
497
+ this._log.info('batchUpdateCustomTargetingKeys response %j', response);
498
+ callback(error, response, options, rawResponse); // We verified callback above.
499
+ }
500
+ : undefined;
501
+ return this.innerApiCalls.batchUpdateCustomTargetingKeys(request, options, wrappedCallback)
502
+ ?.then(([response, options, rawResponse]) => {
503
+ this._log.info('batchUpdateCustomTargetingKeys response %j', response);
504
+ return [response, options, rawResponse];
505
+ }).catch((error) => {
506
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
507
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
508
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
509
+ }
510
+ throw error;
511
+ });
512
+ }
513
+ batchActivateCustomTargetingKeys(request, optionsOrCallback, callback) {
514
+ request = request || {};
515
+ let options;
516
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
517
+ callback = optionsOrCallback;
518
+ options = {};
519
+ }
520
+ else {
521
+ options = optionsOrCallback;
522
+ }
523
+ options = options || {};
524
+ options.otherArgs = options.otherArgs || {};
525
+ options.otherArgs.headers = options.otherArgs.headers || {};
526
+ options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
527
+ 'parent': request.parent ?? '',
528
+ });
529
+ this.initialize().catch(err => { throw err; });
530
+ this._log.info('batchActivateCustomTargetingKeys request %j', request);
531
+ const wrappedCallback = callback
532
+ ? (error, response, options, rawResponse) => {
533
+ this._log.info('batchActivateCustomTargetingKeys response %j', response);
534
+ callback(error, response, options, rawResponse); // We verified callback above.
535
+ }
536
+ : undefined;
537
+ return this.innerApiCalls.batchActivateCustomTargetingKeys(request, options, wrappedCallback)
538
+ ?.then(([response, options, rawResponse]) => {
539
+ this._log.info('batchActivateCustomTargetingKeys response %j', response);
540
+ return [response, options, rawResponse];
541
+ }).catch((error) => {
542
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
543
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
544
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
545
+ }
546
+ throw error;
547
+ });
548
+ }
549
+ batchDeactivateCustomTargetingKeys(request, optionsOrCallback, callback) {
550
+ request = request || {};
551
+ let options;
552
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
553
+ callback = optionsOrCallback;
554
+ options = {};
555
+ }
556
+ else {
557
+ options = optionsOrCallback;
558
+ }
559
+ options = options || {};
560
+ options.otherArgs = options.otherArgs || {};
561
+ options.otherArgs.headers = options.otherArgs.headers || {};
562
+ options.otherArgs.headers['x-goog-request-params'] = this._gaxModule.routingHeader.fromParams({
563
+ 'parent': request.parent ?? '',
564
+ });
565
+ this.initialize().catch(err => { throw err; });
566
+ this._log.info('batchDeactivateCustomTargetingKeys request %j', request);
567
+ const wrappedCallback = callback
568
+ ? (error, response, options, rawResponse) => {
569
+ this._log.info('batchDeactivateCustomTargetingKeys response %j', response);
570
+ callback(error, response, options, rawResponse); // We verified callback above.
571
+ }
572
+ : undefined;
573
+ return this.innerApiCalls.batchDeactivateCustomTargetingKeys(request, options, wrappedCallback)
574
+ ?.then(([response, options, rawResponse]) => {
575
+ this._log.info('batchDeactivateCustomTargetingKeys response %j', response);
576
+ return [response, options, rawResponse];
577
+ }).catch((error) => {
578
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
579
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
580
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
581
+ }
582
+ throw error;
583
+ });
584
+ }
350
585
  listCustomTargetingKeys(request, optionsOrCallback, callback) {
351
586
  request = request || {};
352
587
  let options;
@@ -535,6 +770,51 @@ class CustomTargetingKeyServiceClient {
535
770
  matchAdBreakFromAdBreakName(adBreakName) {
536
771
  return this.pathTemplates.adBreakPathTemplate.match(adBreakName).ad_break;
537
772
  }
773
+ /**
774
+ * Return a fully-qualified adReviewCenterAd resource name string.
775
+ *
776
+ * @param {string} network_code
777
+ * @param {string} web_property_code
778
+ * @param {string} ad_review_center_ad
779
+ * @returns {string} Resource name string.
780
+ */
781
+ adReviewCenterAdPath(networkCode, webPropertyCode, adReviewCenterAd) {
782
+ return this.pathTemplates.adReviewCenterAdPathTemplate.render({
783
+ network_code: networkCode,
784
+ web_property_code: webPropertyCode,
785
+ ad_review_center_ad: adReviewCenterAd,
786
+ });
787
+ }
788
+ /**
789
+ * Parse the network_code from AdReviewCenterAd resource.
790
+ *
791
+ * @param {string} adReviewCenterAdName
792
+ * A fully-qualified path representing AdReviewCenterAd resource.
793
+ * @returns {string} A string representing the network_code.
794
+ */
795
+ matchNetworkCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
796
+ return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).network_code;
797
+ }
798
+ /**
799
+ * Parse the web_property_code from AdReviewCenterAd resource.
800
+ *
801
+ * @param {string} adReviewCenterAdName
802
+ * A fully-qualified path representing AdReviewCenterAd resource.
803
+ * @returns {string} A string representing the web_property_code.
804
+ */
805
+ matchWebPropertyCodeFromAdReviewCenterAdName(adReviewCenterAdName) {
806
+ return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).web_property_code;
807
+ }
808
+ /**
809
+ * Parse the ad_review_center_ad from AdReviewCenterAd resource.
810
+ *
811
+ * @param {string} adReviewCenterAdName
812
+ * A fully-qualified path representing AdReviewCenterAd resource.
813
+ * @returns {string} A string representing the ad_review_center_ad.
814
+ */
815
+ matchAdReviewCenterAdFromAdReviewCenterAdName(adReviewCenterAdName) {
816
+ return this.pathTemplates.adReviewCenterAdPathTemplate.match(adReviewCenterAdName).ad_review_center_ad;
817
+ }
538
818
  /**
539
819
  * Return a fully-qualified adUnit resource name string.
540
820
  *
@@ -568,6 +848,72 @@ class CustomTargetingKeyServiceClient {
568
848
  matchAdUnitFromAdUnitName(adUnitName) {
569
849
  return this.pathTemplates.adUnitPathTemplate.match(adUnitName).ad_unit;
570
850
  }
851
+ /**
852
+ * Return a fully-qualified application resource name string.
853
+ *
854
+ * @param {string} network_code
855
+ * @param {string} application
856
+ * @returns {string} Resource name string.
857
+ */
858
+ applicationPath(networkCode, application) {
859
+ return this.pathTemplates.applicationPathTemplate.render({
860
+ network_code: networkCode,
861
+ application: application,
862
+ });
863
+ }
864
+ /**
865
+ * Parse the network_code from Application resource.
866
+ *
867
+ * @param {string} applicationName
868
+ * A fully-qualified path representing Application resource.
869
+ * @returns {string} A string representing the network_code.
870
+ */
871
+ matchNetworkCodeFromApplicationName(applicationName) {
872
+ return this.pathTemplates.applicationPathTemplate.match(applicationName).network_code;
873
+ }
874
+ /**
875
+ * Parse the application from Application resource.
876
+ *
877
+ * @param {string} applicationName
878
+ * A fully-qualified path representing Application resource.
879
+ * @returns {string} A string representing the application.
880
+ */
881
+ matchApplicationFromApplicationName(applicationName) {
882
+ return this.pathTemplates.applicationPathTemplate.match(applicationName).application;
883
+ }
884
+ /**
885
+ * Return a fully-qualified audienceSegment resource name string.
886
+ *
887
+ * @param {string} network_code
888
+ * @param {string} audience_segment
889
+ * @returns {string} Resource name string.
890
+ */
891
+ audienceSegmentPath(networkCode, audienceSegment) {
892
+ return this.pathTemplates.audienceSegmentPathTemplate.render({
893
+ network_code: networkCode,
894
+ audience_segment: audienceSegment,
895
+ });
896
+ }
897
+ /**
898
+ * Parse the network_code from AudienceSegment resource.
899
+ *
900
+ * @param {string} audienceSegmentName
901
+ * A fully-qualified path representing AudienceSegment resource.
902
+ * @returns {string} A string representing the network_code.
903
+ */
904
+ matchNetworkCodeFromAudienceSegmentName(audienceSegmentName) {
905
+ return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).network_code;
906
+ }
907
+ /**
908
+ * Parse the audience_segment from AudienceSegment resource.
909
+ *
910
+ * @param {string} audienceSegmentName
911
+ * A fully-qualified path representing AudienceSegment resource.
912
+ * @returns {string} A string representing the audience_segment.
913
+ */
914
+ matchAudienceSegmentFromAudienceSegmentName(audienceSegmentName) {
915
+ return this.pathTemplates.audienceSegmentPathTemplate.match(audienceSegmentName).audience_segment;
916
+ }
571
917
  /**
572
918
  * Return a fully-qualified bandwidthGroup resource name string.
573
919
  *
@@ -601,6 +947,138 @@ class CustomTargetingKeyServiceClient {
601
947
  matchBandwidthGroupFromBandwidthGroupName(bandwidthGroupName) {
602
948
  return this.pathTemplates.bandwidthGroupPathTemplate.match(bandwidthGroupName).bandwidth_group;
603
949
  }
950
+ /**
951
+ * Return a fully-qualified browser resource name string.
952
+ *
953
+ * @param {string} network_code
954
+ * @param {string} browser
955
+ * @returns {string} Resource name string.
956
+ */
957
+ browserPath(networkCode, browser) {
958
+ return this.pathTemplates.browserPathTemplate.render({
959
+ network_code: networkCode,
960
+ browser: browser,
961
+ });
962
+ }
963
+ /**
964
+ * Parse the network_code from Browser resource.
965
+ *
966
+ * @param {string} browserName
967
+ * A fully-qualified path representing Browser resource.
968
+ * @returns {string} A string representing the network_code.
969
+ */
970
+ matchNetworkCodeFromBrowserName(browserName) {
971
+ return this.pathTemplates.browserPathTemplate.match(browserName).network_code;
972
+ }
973
+ /**
974
+ * Parse the browser from Browser resource.
975
+ *
976
+ * @param {string} browserName
977
+ * A fully-qualified path representing Browser resource.
978
+ * @returns {string} A string representing the browser.
979
+ */
980
+ matchBrowserFromBrowserName(browserName) {
981
+ return this.pathTemplates.browserPathTemplate.match(browserName).browser;
982
+ }
983
+ /**
984
+ * Return a fully-qualified browserLanguage resource name string.
985
+ *
986
+ * @param {string} network_code
987
+ * @param {string} browser_language
988
+ * @returns {string} Resource name string.
989
+ */
990
+ browserLanguagePath(networkCode, browserLanguage) {
991
+ return this.pathTemplates.browserLanguagePathTemplate.render({
992
+ network_code: networkCode,
993
+ browser_language: browserLanguage,
994
+ });
995
+ }
996
+ /**
997
+ * Parse the network_code from BrowserLanguage resource.
998
+ *
999
+ * @param {string} browserLanguageName
1000
+ * A fully-qualified path representing BrowserLanguage resource.
1001
+ * @returns {string} A string representing the network_code.
1002
+ */
1003
+ matchNetworkCodeFromBrowserLanguageName(browserLanguageName) {
1004
+ return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).network_code;
1005
+ }
1006
+ /**
1007
+ * Parse the browser_language from BrowserLanguage resource.
1008
+ *
1009
+ * @param {string} browserLanguageName
1010
+ * A fully-qualified path representing BrowserLanguage resource.
1011
+ * @returns {string} A string representing the browser_language.
1012
+ */
1013
+ matchBrowserLanguageFromBrowserLanguageName(browserLanguageName) {
1014
+ return this.pathTemplates.browserLanguagePathTemplate.match(browserLanguageName).browser_language;
1015
+ }
1016
+ /**
1017
+ * Return a fully-qualified cmsMetadataKey resource name string.
1018
+ *
1019
+ * @param {string} network_code
1020
+ * @param {string} cms_metadata_key
1021
+ * @returns {string} Resource name string.
1022
+ */
1023
+ cmsMetadataKeyPath(networkCode, cmsMetadataKey) {
1024
+ return this.pathTemplates.cmsMetadataKeyPathTemplate.render({
1025
+ network_code: networkCode,
1026
+ cms_metadata_key: cmsMetadataKey,
1027
+ });
1028
+ }
1029
+ /**
1030
+ * Parse the network_code from CmsMetadataKey resource.
1031
+ *
1032
+ * @param {string} cmsMetadataKeyName
1033
+ * A fully-qualified path representing CmsMetadataKey resource.
1034
+ * @returns {string} A string representing the network_code.
1035
+ */
1036
+ matchNetworkCodeFromCmsMetadataKeyName(cmsMetadataKeyName) {
1037
+ return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).network_code;
1038
+ }
1039
+ /**
1040
+ * Parse the cms_metadata_key from CmsMetadataKey resource.
1041
+ *
1042
+ * @param {string} cmsMetadataKeyName
1043
+ * A fully-qualified path representing CmsMetadataKey resource.
1044
+ * @returns {string} A string representing the cms_metadata_key.
1045
+ */
1046
+ matchCmsMetadataKeyFromCmsMetadataKeyName(cmsMetadataKeyName) {
1047
+ return this.pathTemplates.cmsMetadataKeyPathTemplate.match(cmsMetadataKeyName).cms_metadata_key;
1048
+ }
1049
+ /**
1050
+ * Return a fully-qualified cmsMetadataValue resource name string.
1051
+ *
1052
+ * @param {string} network_code
1053
+ * @param {string} cms_metadata_value
1054
+ * @returns {string} Resource name string.
1055
+ */
1056
+ cmsMetadataValuePath(networkCode, cmsMetadataValue) {
1057
+ return this.pathTemplates.cmsMetadataValuePathTemplate.render({
1058
+ network_code: networkCode,
1059
+ cms_metadata_value: cmsMetadataValue,
1060
+ });
1061
+ }
1062
+ /**
1063
+ * Parse the network_code from CmsMetadataValue resource.
1064
+ *
1065
+ * @param {string} cmsMetadataValueName
1066
+ * A fully-qualified path representing CmsMetadataValue resource.
1067
+ * @returns {string} A string representing the network_code.
1068
+ */
1069
+ matchNetworkCodeFromCmsMetadataValueName(cmsMetadataValueName) {
1070
+ return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).network_code;
1071
+ }
1072
+ /**
1073
+ * Parse the cms_metadata_value from CmsMetadataValue resource.
1074
+ *
1075
+ * @param {string} cmsMetadataValueName
1076
+ * A fully-qualified path representing CmsMetadataValue resource.
1077
+ * @returns {string} A string representing the cms_metadata_value.
1078
+ */
1079
+ matchCmsMetadataValueFromCmsMetadataValueName(cmsMetadataValueName) {
1080
+ return this.pathTemplates.cmsMetadataValuePathTemplate.match(cmsMetadataValueName).cms_metadata_value;
1081
+ }
604
1082
  /**
605
1083
  * Return a fully-qualified company resource name string.
606
1084
  *
@@ -667,6 +1145,138 @@ class CustomTargetingKeyServiceClient {
667
1145
  matchContactFromContactName(contactName) {
668
1146
  return this.pathTemplates.contactPathTemplate.match(contactName).contact;
669
1147
  }
1148
+ /**
1149
+ * Return a fully-qualified content resource name string.
1150
+ *
1151
+ * @param {string} network_code
1152
+ * @param {string} content
1153
+ * @returns {string} Resource name string.
1154
+ */
1155
+ contentPath(networkCode, content) {
1156
+ return this.pathTemplates.contentPathTemplate.render({
1157
+ network_code: networkCode,
1158
+ content: content,
1159
+ });
1160
+ }
1161
+ /**
1162
+ * Parse the network_code from Content resource.
1163
+ *
1164
+ * @param {string} contentName
1165
+ * A fully-qualified path representing Content resource.
1166
+ * @returns {string} A string representing the network_code.
1167
+ */
1168
+ matchNetworkCodeFromContentName(contentName) {
1169
+ return this.pathTemplates.contentPathTemplate.match(contentName).network_code;
1170
+ }
1171
+ /**
1172
+ * Parse the content from Content resource.
1173
+ *
1174
+ * @param {string} contentName
1175
+ * A fully-qualified path representing Content resource.
1176
+ * @returns {string} A string representing the content.
1177
+ */
1178
+ matchContentFromContentName(contentName) {
1179
+ return this.pathTemplates.contentPathTemplate.match(contentName).content;
1180
+ }
1181
+ /**
1182
+ * Return a fully-qualified contentBundle resource name string.
1183
+ *
1184
+ * @param {string} network_code
1185
+ * @param {string} content_bundle
1186
+ * @returns {string} Resource name string.
1187
+ */
1188
+ contentBundlePath(networkCode, contentBundle) {
1189
+ return this.pathTemplates.contentBundlePathTemplate.render({
1190
+ network_code: networkCode,
1191
+ content_bundle: contentBundle,
1192
+ });
1193
+ }
1194
+ /**
1195
+ * Parse the network_code from ContentBundle resource.
1196
+ *
1197
+ * @param {string} contentBundleName
1198
+ * A fully-qualified path representing ContentBundle resource.
1199
+ * @returns {string} A string representing the network_code.
1200
+ */
1201
+ matchNetworkCodeFromContentBundleName(contentBundleName) {
1202
+ return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).network_code;
1203
+ }
1204
+ /**
1205
+ * Parse the content_bundle from ContentBundle resource.
1206
+ *
1207
+ * @param {string} contentBundleName
1208
+ * A fully-qualified path representing ContentBundle resource.
1209
+ * @returns {string} A string representing the content_bundle.
1210
+ */
1211
+ matchContentBundleFromContentBundleName(contentBundleName) {
1212
+ return this.pathTemplates.contentBundlePathTemplate.match(contentBundleName).content_bundle;
1213
+ }
1214
+ /**
1215
+ * Return a fully-qualified contentLabel resource name string.
1216
+ *
1217
+ * @param {string} network_code
1218
+ * @param {string} content_label
1219
+ * @returns {string} Resource name string.
1220
+ */
1221
+ contentLabelPath(networkCode, contentLabel) {
1222
+ return this.pathTemplates.contentLabelPathTemplate.render({
1223
+ network_code: networkCode,
1224
+ content_label: contentLabel,
1225
+ });
1226
+ }
1227
+ /**
1228
+ * Parse the network_code from ContentLabel resource.
1229
+ *
1230
+ * @param {string} contentLabelName
1231
+ * A fully-qualified path representing ContentLabel resource.
1232
+ * @returns {string} A string representing the network_code.
1233
+ */
1234
+ matchNetworkCodeFromContentLabelName(contentLabelName) {
1235
+ return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).network_code;
1236
+ }
1237
+ /**
1238
+ * Parse the content_label from ContentLabel resource.
1239
+ *
1240
+ * @param {string} contentLabelName
1241
+ * A fully-qualified path representing ContentLabel resource.
1242
+ * @returns {string} A string representing the content_label.
1243
+ */
1244
+ matchContentLabelFromContentLabelName(contentLabelName) {
1245
+ return this.pathTemplates.contentLabelPathTemplate.match(contentLabelName).content_label;
1246
+ }
1247
+ /**
1248
+ * Return a fully-qualified creativeTemplate resource name string.
1249
+ *
1250
+ * @param {string} network_code
1251
+ * @param {string} creative_template
1252
+ * @returns {string} Resource name string.
1253
+ */
1254
+ creativeTemplatePath(networkCode, creativeTemplate) {
1255
+ return this.pathTemplates.creativeTemplatePathTemplate.render({
1256
+ network_code: networkCode,
1257
+ creative_template: creativeTemplate,
1258
+ });
1259
+ }
1260
+ /**
1261
+ * Parse the network_code from CreativeTemplate resource.
1262
+ *
1263
+ * @param {string} creativeTemplateName
1264
+ * A fully-qualified path representing CreativeTemplate resource.
1265
+ * @returns {string} A string representing the network_code.
1266
+ */
1267
+ matchNetworkCodeFromCreativeTemplateName(creativeTemplateName) {
1268
+ return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).network_code;
1269
+ }
1270
+ /**
1271
+ * Parse the creative_template from CreativeTemplate resource.
1272
+ *
1273
+ * @param {string} creativeTemplateName
1274
+ * A fully-qualified path representing CreativeTemplate resource.
1275
+ * @returns {string} A string representing the creative_template.
1276
+ */
1277
+ matchCreativeTemplateFromCreativeTemplateName(creativeTemplateName) {
1278
+ return this.pathTemplates.creativeTemplatePathTemplate.match(creativeTemplateName).creative_template;
1279
+ }
670
1280
  /**
671
1281
  * Return a fully-qualified customField resource name string.
672
1282
  *
@@ -766,6 +1376,39 @@ class CustomTargetingKeyServiceClient {
766
1376
  matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName) {
767
1377
  return this.pathTemplates.customTargetingValuePathTemplate.match(customTargetingValueName).custom_targeting_value;
768
1378
  }
1379
+ /**
1380
+ * Return a fully-qualified deviceCapability resource name string.
1381
+ *
1382
+ * @param {string} network_code
1383
+ * @param {string} device_capability
1384
+ * @returns {string} Resource name string.
1385
+ */
1386
+ deviceCapabilityPath(networkCode, deviceCapability) {
1387
+ return this.pathTemplates.deviceCapabilityPathTemplate.render({
1388
+ network_code: networkCode,
1389
+ device_capability: deviceCapability,
1390
+ });
1391
+ }
1392
+ /**
1393
+ * Parse the network_code from DeviceCapability resource.
1394
+ *
1395
+ * @param {string} deviceCapabilityName
1396
+ * A fully-qualified path representing DeviceCapability resource.
1397
+ * @returns {string} A string representing the network_code.
1398
+ */
1399
+ matchNetworkCodeFromDeviceCapabilityName(deviceCapabilityName) {
1400
+ return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).network_code;
1401
+ }
1402
+ /**
1403
+ * Parse the device_capability from DeviceCapability resource.
1404
+ *
1405
+ * @param {string} deviceCapabilityName
1406
+ * A fully-qualified path representing DeviceCapability resource.
1407
+ * @returns {string} A string representing the device_capability.
1408
+ */
1409
+ matchDeviceCapabilityFromDeviceCapabilityName(deviceCapabilityName) {
1410
+ return this.pathTemplates.deviceCapabilityPathTemplate.match(deviceCapabilityName).device_capability;
1411
+ }
769
1412
  /**
770
1413
  * Return a fully-qualified deviceCategory resource name string.
771
1414
  *
@@ -799,6 +1442,39 @@ class CustomTargetingKeyServiceClient {
799
1442
  matchDeviceCategoryFromDeviceCategoryName(deviceCategoryName) {
800
1443
  return this.pathTemplates.deviceCategoryPathTemplate.match(deviceCategoryName).device_category;
801
1444
  }
1445
+ /**
1446
+ * Return a fully-qualified deviceManufacturer resource name string.
1447
+ *
1448
+ * @param {string} network_code
1449
+ * @param {string} device_manufacturer
1450
+ * @returns {string} Resource name string.
1451
+ */
1452
+ deviceManufacturerPath(networkCode, deviceManufacturer) {
1453
+ return this.pathTemplates.deviceManufacturerPathTemplate.render({
1454
+ network_code: networkCode,
1455
+ device_manufacturer: deviceManufacturer,
1456
+ });
1457
+ }
1458
+ /**
1459
+ * Parse the network_code from DeviceManufacturer resource.
1460
+ *
1461
+ * @param {string} deviceManufacturerName
1462
+ * A fully-qualified path representing DeviceManufacturer resource.
1463
+ * @returns {string} A string representing the network_code.
1464
+ */
1465
+ matchNetworkCodeFromDeviceManufacturerName(deviceManufacturerName) {
1466
+ return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).network_code;
1467
+ }
1468
+ /**
1469
+ * Parse the device_manufacturer from DeviceManufacturer resource.
1470
+ *
1471
+ * @param {string} deviceManufacturerName
1472
+ * A fully-qualified path representing DeviceManufacturer resource.
1473
+ * @returns {string} A string representing the device_manufacturer.
1474
+ */
1475
+ matchDeviceManufacturerFromDeviceManufacturerName(deviceManufacturerName) {
1476
+ return this.pathTemplates.deviceManufacturerPathTemplate.match(deviceManufacturerName).device_manufacturer;
1477
+ }
802
1478
  /**
803
1479
  * Return a fully-qualified entitySignalsMapping resource name string.
804
1480
  *
@@ -898,6 +1574,39 @@ class CustomTargetingKeyServiceClient {
898
1574
  matchLabelFromLabelName(labelName) {
899
1575
  return this.pathTemplates.labelPathTemplate.match(labelName).label;
900
1576
  }
1577
+ /**
1578
+ * Return a fully-qualified lineItem resource name string.
1579
+ *
1580
+ * @param {string} network_code
1581
+ * @param {string} line_item
1582
+ * @returns {string} Resource name string.
1583
+ */
1584
+ lineItemPath(networkCode, lineItem) {
1585
+ return this.pathTemplates.lineItemPathTemplate.render({
1586
+ network_code: networkCode,
1587
+ line_item: lineItem,
1588
+ });
1589
+ }
1590
+ /**
1591
+ * Parse the network_code from LineItem resource.
1592
+ *
1593
+ * @param {string} lineItemName
1594
+ * A fully-qualified path representing LineItem resource.
1595
+ * @returns {string} A string representing the network_code.
1596
+ */
1597
+ matchNetworkCodeFromLineItemName(lineItemName) {
1598
+ return this.pathTemplates.lineItemPathTemplate.match(lineItemName).network_code;
1599
+ }
1600
+ /**
1601
+ * Parse the line_item from LineItem resource.
1602
+ *
1603
+ * @param {string} lineItemName
1604
+ * A fully-qualified path representing LineItem resource.
1605
+ * @returns {string} A string representing the line_item.
1606
+ */
1607
+ matchLineItemFromLineItemName(lineItemName) {
1608
+ return this.pathTemplates.lineItemPathTemplate.match(lineItemName).line_item;
1609
+ }
901
1610
  /**
902
1611
  * Return a fully-qualified liveStreamEvent resource name string.
903
1612
  *
@@ -931,6 +1640,105 @@ class CustomTargetingKeyServiceClient {
931
1640
  matchLiveStreamEventFromLiveStreamEventName(liveStreamEventName) {
932
1641
  return this.pathTemplates.liveStreamEventPathTemplate.match(liveStreamEventName).live_stream_event;
933
1642
  }
1643
+ /**
1644
+ * Return a fully-qualified mobileCarrier resource name string.
1645
+ *
1646
+ * @param {string} network_code
1647
+ * @param {string} mobile_carrier
1648
+ * @returns {string} Resource name string.
1649
+ */
1650
+ mobileCarrierPath(networkCode, mobileCarrier) {
1651
+ return this.pathTemplates.mobileCarrierPathTemplate.render({
1652
+ network_code: networkCode,
1653
+ mobile_carrier: mobileCarrier,
1654
+ });
1655
+ }
1656
+ /**
1657
+ * Parse the network_code from MobileCarrier resource.
1658
+ *
1659
+ * @param {string} mobileCarrierName
1660
+ * A fully-qualified path representing MobileCarrier resource.
1661
+ * @returns {string} A string representing the network_code.
1662
+ */
1663
+ matchNetworkCodeFromMobileCarrierName(mobileCarrierName) {
1664
+ return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).network_code;
1665
+ }
1666
+ /**
1667
+ * Parse the mobile_carrier from MobileCarrier resource.
1668
+ *
1669
+ * @param {string} mobileCarrierName
1670
+ * A fully-qualified path representing MobileCarrier resource.
1671
+ * @returns {string} A string representing the mobile_carrier.
1672
+ */
1673
+ matchMobileCarrierFromMobileCarrierName(mobileCarrierName) {
1674
+ return this.pathTemplates.mobileCarrierPathTemplate.match(mobileCarrierName).mobile_carrier;
1675
+ }
1676
+ /**
1677
+ * Return a fully-qualified mobileDevice resource name string.
1678
+ *
1679
+ * @param {string} network_code
1680
+ * @param {string} mobile_device
1681
+ * @returns {string} Resource name string.
1682
+ */
1683
+ mobileDevicePath(networkCode, mobileDevice) {
1684
+ return this.pathTemplates.mobileDevicePathTemplate.render({
1685
+ network_code: networkCode,
1686
+ mobile_device: mobileDevice,
1687
+ });
1688
+ }
1689
+ /**
1690
+ * Parse the network_code from MobileDevice resource.
1691
+ *
1692
+ * @param {string} mobileDeviceName
1693
+ * A fully-qualified path representing MobileDevice resource.
1694
+ * @returns {string} A string representing the network_code.
1695
+ */
1696
+ matchNetworkCodeFromMobileDeviceName(mobileDeviceName) {
1697
+ return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).network_code;
1698
+ }
1699
+ /**
1700
+ * Parse the mobile_device from MobileDevice resource.
1701
+ *
1702
+ * @param {string} mobileDeviceName
1703
+ * A fully-qualified path representing MobileDevice resource.
1704
+ * @returns {string} A string representing the mobile_device.
1705
+ */
1706
+ matchMobileDeviceFromMobileDeviceName(mobileDeviceName) {
1707
+ return this.pathTemplates.mobileDevicePathTemplate.match(mobileDeviceName).mobile_device;
1708
+ }
1709
+ /**
1710
+ * Return a fully-qualified mobileDeviceSubmodel resource name string.
1711
+ *
1712
+ * @param {string} network_code
1713
+ * @param {string} mobile_device_submodel
1714
+ * @returns {string} Resource name string.
1715
+ */
1716
+ mobileDeviceSubmodelPath(networkCode, mobileDeviceSubmodel) {
1717
+ return this.pathTemplates.mobileDeviceSubmodelPathTemplate.render({
1718
+ network_code: networkCode,
1719
+ mobile_device_submodel: mobileDeviceSubmodel,
1720
+ });
1721
+ }
1722
+ /**
1723
+ * Parse the network_code from MobileDeviceSubmodel resource.
1724
+ *
1725
+ * @param {string} mobileDeviceSubmodelName
1726
+ * A fully-qualified path representing MobileDeviceSubmodel resource.
1727
+ * @returns {string} A string representing the network_code.
1728
+ */
1729
+ matchNetworkCodeFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
1730
+ return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).network_code;
1731
+ }
1732
+ /**
1733
+ * Parse the mobile_device_submodel from MobileDeviceSubmodel resource.
1734
+ *
1735
+ * @param {string} mobileDeviceSubmodelName
1736
+ * A fully-qualified path representing MobileDeviceSubmodel resource.
1737
+ * @returns {string} A string representing the mobile_device_submodel.
1738
+ */
1739
+ matchMobileDeviceSubmodelFromMobileDeviceSubmodelName(mobileDeviceSubmodelName) {
1740
+ return this.pathTemplates.mobileDeviceSubmodelPathTemplate.match(mobileDeviceSubmodelName).mobile_device_submodel;
1741
+ }
934
1742
  /**
935
1743
  * Return a fully-qualified network resource name string.
936
1744
  *
@@ -1249,6 +2057,39 @@ class CustomTargetingKeyServiceClient {
1249
2057
  matchRoleFromRoleName(roleName) {
1250
2058
  return this.pathTemplates.rolePathTemplate.match(roleName).role;
1251
2059
  }
2060
+ /**
2061
+ * Return a fully-qualified site resource name string.
2062
+ *
2063
+ * @param {string} network_code
2064
+ * @param {string} site
2065
+ * @returns {string} Resource name string.
2066
+ */
2067
+ sitePath(networkCode, site) {
2068
+ return this.pathTemplates.sitePathTemplate.render({
2069
+ network_code: networkCode,
2070
+ site: site,
2071
+ });
2072
+ }
2073
+ /**
2074
+ * Parse the network_code from Site resource.
2075
+ *
2076
+ * @param {string} siteName
2077
+ * A fully-qualified path representing Site resource.
2078
+ * @returns {string} A string representing the network_code.
2079
+ */
2080
+ matchNetworkCodeFromSiteName(siteName) {
2081
+ return this.pathTemplates.sitePathTemplate.match(siteName).network_code;
2082
+ }
2083
+ /**
2084
+ * Parse the site from Site resource.
2085
+ *
2086
+ * @param {string} siteName
2087
+ * A fully-qualified path representing Site resource.
2088
+ * @returns {string} A string representing the site.
2089
+ */
2090
+ matchSiteFromSiteName(siteName) {
2091
+ return this.pathTemplates.sitePathTemplate.match(siteName).site;
2092
+ }
1252
2093
  /**
1253
2094
  * Return a fully-qualified taxonomyCategory resource name string.
1254
2095
  *
@@ -1348,6 +2189,39 @@ class CustomTargetingKeyServiceClient {
1348
2189
  matchUserFromUserName(userName) {
1349
2190
  return this.pathTemplates.userPathTemplate.match(userName).user;
1350
2191
  }
2192
+ /**
2193
+ * Return a fully-qualified webProperty resource name string.
2194
+ *
2195
+ * @param {string} network_code
2196
+ * @param {string} web_property
2197
+ * @returns {string} Resource name string.
2198
+ */
2199
+ webPropertyPath(networkCode, webProperty) {
2200
+ return this.pathTemplates.webPropertyPathTemplate.render({
2201
+ network_code: networkCode,
2202
+ web_property: webProperty,
2203
+ });
2204
+ }
2205
+ /**
2206
+ * Parse the network_code from WebProperty resource.
2207
+ *
2208
+ * @param {string} webPropertyName
2209
+ * A fully-qualified path representing WebProperty resource.
2210
+ * @returns {string} A string representing the network_code.
2211
+ */
2212
+ matchNetworkCodeFromWebPropertyName(webPropertyName) {
2213
+ return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).network_code;
2214
+ }
2215
+ /**
2216
+ * Parse the web_property from WebProperty resource.
2217
+ *
2218
+ * @param {string} webPropertyName
2219
+ * A fully-qualified path representing WebProperty resource.
2220
+ * @returns {string} A string representing the web_property.
2221
+ */
2222
+ matchWebPropertyFromWebPropertyName(webPropertyName) {
2223
+ return this.pathTemplates.webPropertyPathTemplate.match(webPropertyName).web_property;
2224
+ }
1351
2225
  /**
1352
2226
  * Terminate the gRPC channel and close the client.
1353
2227
  *