@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
@@ -21,6 +21,7 @@ import "google/api/annotations.proto";
21
21
  import "google/api/client.proto";
22
22
  import "google/api/field_behavior.proto";
23
23
  import "google/api/resource.proto";
24
+ import "google/protobuf/field_mask.proto";
24
25
 
25
26
  option csharp_namespace = "Google.Ads.AdManager.V1";
26
27
  option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
@@ -60,6 +61,74 @@ service AdUnitService {
60
61
  };
61
62
  option (google.api.method_signature) = "parent";
62
63
  }
64
+
65
+ // API to create an `AdUnit` object.
66
+ rpc CreateAdUnit(CreateAdUnitRequest) returns (AdUnit) {
67
+ option (google.api.http) = {
68
+ post: "/v1/{parent=networks/*}/adUnits"
69
+ body: "ad_unit"
70
+ };
71
+ option (google.api.method_signature) = "parent,ad_unit";
72
+ }
73
+
74
+ // API to update an `AdUnit` object.
75
+ rpc UpdateAdUnit(UpdateAdUnitRequest) returns (AdUnit) {
76
+ option (google.api.http) = {
77
+ patch: "/v1/{ad_unit.name=networks/*/adUnits/*}"
78
+ body: "ad_unit"
79
+ };
80
+ option (google.api.method_signature) = "ad_unit,update_mask";
81
+ }
82
+
83
+ // API to batch create `AdUnit` objects.
84
+ rpc BatchCreateAdUnits(BatchCreateAdUnitsRequest)
85
+ returns (BatchCreateAdUnitsResponse) {
86
+ option (google.api.http) = {
87
+ post: "/v1/{parent=networks/*}/adUnits:batchCreate"
88
+ body: "*"
89
+ };
90
+ option (google.api.method_signature) = "parent,requests";
91
+ }
92
+
93
+ // API to batch update `AdUnit` objects.
94
+ rpc BatchUpdateAdUnits(BatchUpdateAdUnitsRequest)
95
+ returns (BatchUpdateAdUnitsResponse) {
96
+ option (google.api.http) = {
97
+ post: "/v1/{parent=networks/*}/adUnits:batchUpdate"
98
+ body: "*"
99
+ };
100
+ option (google.api.method_signature) = "parent,requests";
101
+ }
102
+
103
+ // API to batch activate `AdUnit` objects.
104
+ rpc BatchActivateAdUnits(BatchActivateAdUnitsRequest)
105
+ returns (BatchActivateAdUnitsResponse) {
106
+ option (google.api.http) = {
107
+ post: "/v1/{parent=networks/*}/adUnits:batchActivate"
108
+ body: "*"
109
+ };
110
+ option (google.api.method_signature) = "parent,names";
111
+ }
112
+
113
+ // Deactivates a list of `AdUnit` objects.
114
+ rpc BatchDeactivateAdUnits(BatchDeactivateAdUnitsRequest)
115
+ returns (BatchDeactivateAdUnitsResponse) {
116
+ option (google.api.http) = {
117
+ post: "/v1/{parent=networks/*}/adUnits:batchDeactivate"
118
+ body: "*"
119
+ };
120
+ option (google.api.method_signature) = "parent,names";
121
+ }
122
+
123
+ // Archives a list of `AdUnit` objects.
124
+ rpc BatchArchiveAdUnits(BatchArchiveAdUnitsRequest)
125
+ returns (BatchArchiveAdUnitsResponse) {
126
+ option (google.api.http) = {
127
+ post: "/v1/{parent=networks/*}/adUnits:batchArchive"
128
+ body: "*"
129
+ };
130
+ option (google.api.method_signature) = "parent,names";
131
+ }
63
132
  }
64
133
 
65
134
  // Request object for GetAdUnit method.
@@ -87,8 +156,8 @@ message ListAdUnitsRequest {
87
156
 
88
157
  // Optional. The maximum number of AdUnits to return. The service may return
89
158
  // fewer than this value. If unspecified, at most 50 ad units will be
90
- // returned. The maximum value is 1000; values above 1000 will be coerced to
91
- // 1000.
159
+ // returned. The maximum value is 1000; values greater than 1000 will be
160
+ // coerced to 1000.
92
161
  int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
93
162
 
94
163
  // Optional. A page token, received from a previous `ListAdUnits` call.
@@ -125,7 +194,7 @@ message ListAdUnitsResponse {
125
194
  // If a filter was included in the request, this reflects the total number
126
195
  // after the filtering is applied.
127
196
  //
128
- // `total_size` will not be calculated in the response unless it has been
197
+ // `total_size` won't be calculated in the response unless it has been
129
198
  // included in a response field mask. The response field mask can be provided
130
199
  // to the method by using the URL parameter `$fields` or `fields`, or by using
131
200
  // the HTTP/gRPC header `X-Goog-FieldMask`.
@@ -135,6 +204,84 @@ message ListAdUnitsResponse {
135
204
  int32 total_size = 3;
136
205
  }
137
206
 
207
+ // Request object for `CreateAdUnit` method.
208
+ message CreateAdUnitRequest {
209
+ // Required. The parent resource where this `AdUnit` will be created.
210
+ // Format: `networks/{network_code}`
211
+ string parent = 1 [
212
+ (google.api.field_behavior) = REQUIRED,
213
+ (google.api.resource_reference) = {
214
+ type: "admanager.googleapis.com/Network"
215
+ }
216
+ ];
217
+
218
+ // Required. The `AdUnit` to create.
219
+ AdUnit ad_unit = 2 [(google.api.field_behavior) = REQUIRED];
220
+ }
221
+
222
+ // Request object for `UpdateAdUnit` method.
223
+ message UpdateAdUnitRequest {
224
+ // Required. The `AdUnit` to update.
225
+ //
226
+ // The `AdUnit`'s name is used to identify the `AdUnit` to update. Format:
227
+ // `networks/{network_code}/adUnits/{ad_unit_id}`
228
+ AdUnit ad_unit = 1 [(google.api.field_behavior) = REQUIRED];
229
+
230
+ // Required. The list of fields to update.
231
+ google.protobuf.FieldMask update_mask = 2
232
+ [(google.api.field_behavior) = REQUIRED];
233
+ }
234
+
235
+ // Request object for `BatchCreateAdUnits` method.
236
+ message BatchCreateAdUnitsRequest {
237
+ // Required. The parent resource where `AdUnits` will be created.
238
+ // Format: `networks/{network_code}`
239
+ // The parent field in the CreateAdUnitRequest must match this
240
+ // field.
241
+ string parent = 1 [
242
+ (google.api.field_behavior) = REQUIRED,
243
+ (google.api.resource_reference) = {
244
+ type: "admanager.googleapis.com/Network"
245
+ }
246
+ ];
247
+
248
+ // Required. The `AdUnit` objects to create.
249
+ // A maximum of 100 objects can be created in a batch.
250
+ repeated CreateAdUnitRequest requests = 2
251
+ [(google.api.field_behavior) = REQUIRED];
252
+ }
253
+
254
+ // Response object for `BatchCreateAdUnits` method.
255
+ message BatchCreateAdUnitsResponse {
256
+ // The `AdUnit` objects created.
257
+ repeated AdUnit ad_units = 1;
258
+ }
259
+
260
+ // Request object for `BatchUpdateAdUnits` method.
261
+ message BatchUpdateAdUnitsRequest {
262
+ // Required. The parent resource where `AdUnits` will be updated.
263
+ // Format: `networks/{network_code}`
264
+ // The parent field in the UpdateAdUnitRequest must match this
265
+ // field.
266
+ string parent = 1 [
267
+ (google.api.field_behavior) = REQUIRED,
268
+ (google.api.resource_reference) = {
269
+ type: "admanager.googleapis.com/Network"
270
+ }
271
+ ];
272
+
273
+ // Required. The `AdUnit` objects to update.
274
+ // A maximum of 100 objects can be updated in a batch.
275
+ repeated UpdateAdUnitRequest requests = 2
276
+ [(google.api.field_behavior) = REQUIRED];
277
+ }
278
+
279
+ // Response object for `BatchUpdateAdUnits` method.
280
+ message BatchUpdateAdUnitsResponse {
281
+ // The `AdUnit` objects updated.
282
+ repeated AdUnit ad_units = 1;
283
+ }
284
+
138
285
  // Request object for ListAdUnitSizes method.
139
286
  message ListAdUnitSizesRequest {
140
287
  // Required. The parent, which owns this collection of AdUnitSizes.
@@ -148,8 +295,8 @@ message ListAdUnitSizesRequest {
148
295
 
149
296
  // Optional. The maximum number of AdUnitSizes to return. The service may
150
297
  // return fewer than this value. If unspecified, at most 50 ad unit sizes will
151
- // be returned. The maximum value is 1000; values above 1000 will be coerced
152
- // to 1000.
298
+ // be returned. The maximum value is 1000; values greater than 1000 will be
299
+ // coerced to 1000.
153
300
  int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
154
301
 
155
302
  // Optional. A page token, received from a previous `ListAdUnitSizes` call.
@@ -186,7 +333,7 @@ message ListAdUnitSizesResponse {
186
333
  // If a filter was included in the request, this reflects the total number
187
334
  // after the filtering is applied.
188
335
  //
189
- // `total_size` will not be calculated in the response unless it has been
336
+ // `total_size` won't be calculated in the response unless it has been
190
337
  // included in a response field mask. The response field mask can be provided
191
338
  // to the method by using the URL parameter `$fields` or `fields`, or by using
192
339
  // the HTTP/gRPC header `X-Goog-FieldMask`.
@@ -195,3 +342,72 @@ message ListAdUnitSizesResponse {
195
342
  // https://developers.google.com/ad-manager/api/beta/field-masks
196
343
  int32 total_size = 3;
197
344
  }
345
+
346
+ // Request object for `BatchActivateAdUnits` method.
347
+ message BatchActivateAdUnitsRequest {
348
+ // Required. Format: `networks/{network_code}`
349
+ string parent = 1 [
350
+ (google.api.field_behavior) = REQUIRED,
351
+ (google.api.resource_reference) = {
352
+ type: "admanager.googleapis.com/Network"
353
+ }
354
+ ];
355
+
356
+ // Required. The resource names of the `AdUnit`s to activate.
357
+ // Format: `networks/{network_code}/adUnits/{ad_unit_id}`
358
+ repeated string names = 2 [
359
+ (google.api.field_behavior) = REQUIRED,
360
+ (google.api.resource_reference) = {
361
+ type: "admanager.googleapis.com/AdUnit"
362
+ }
363
+ ];
364
+ }
365
+
366
+ // Response object for `BatchActivateAdUnits` method.
367
+ message BatchActivateAdUnitsResponse {}
368
+
369
+ // Request object for `BatchDeactivateAdUnits` method.
370
+ message BatchDeactivateAdUnitsRequest {
371
+ // Required. Format: `networks/{network_code}`
372
+ string parent = 1 [
373
+ (google.api.field_behavior) = REQUIRED,
374
+ (google.api.resource_reference) = {
375
+ type: "admanager.googleapis.com/Network"
376
+ }
377
+ ];
378
+
379
+ // Required. The resource names of the `AdUnit`s to deactivate.
380
+ // Format: `networks/{network_code}/adUnits/{ad_unit_id}`
381
+ repeated string names = 2 [
382
+ (google.api.field_behavior) = REQUIRED,
383
+ (google.api.resource_reference) = {
384
+ type: "admanager.googleapis.com/AdUnit"
385
+ }
386
+ ];
387
+ }
388
+
389
+ // Response object for `BatchDeactivateAdUnits` method.
390
+ message BatchDeactivateAdUnitsResponse {}
391
+
392
+ // Request object for `BatchArchiveAdUnits` method.
393
+ message BatchArchiveAdUnitsRequest {
394
+ // Required. Format: `networks/{network_code}`
395
+ string parent = 1 [
396
+ (google.api.field_behavior) = REQUIRED,
397
+ (google.api.resource_reference) = {
398
+ type: "admanager.googleapis.com/Network"
399
+ }
400
+ ];
401
+
402
+ // Required. The resource names of the `AdUnit`s to archive.
403
+ // Format: `networks/{network_code}/adUnits/{ad_unit_id}`
404
+ repeated string names = 2 [
405
+ (google.api.field_behavior) = REQUIRED,
406
+ (google.api.resource_reference) = {
407
+ type: "admanager.googleapis.com/AdUnit"
408
+ }
409
+ ];
410
+ }
411
+
412
+ // Response object for `BatchArchiveAdUnits` method.
413
+ message BatchArchiveAdUnitsResponse {}
@@ -0,0 +1,47 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/api/field_behavior.proto";
20
+ import "google/api/resource.proto";
21
+
22
+ option csharp_namespace = "Google.Ads.AdManager.V1";
23
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
24
+ option java_multiple_files = true;
25
+ option java_outer_classname = "ApplicationMessagesProto";
26
+ option java_package = "com.google.ads.admanager.v1";
27
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
28
+ option ruby_package = "Google::Ads::AdManager::V1";
29
+
30
+ // An application that has been added to or "claimed" by the network to be used
31
+ // for targeting purposes. These mobile apps can come from various app stores.
32
+ message Application {
33
+ option (google.api.resource) = {
34
+ type: "admanager.googleapis.com/Application"
35
+ pattern: "networks/{network_code}/applications/{application}"
36
+ plural: "applications"
37
+ singular: "application"
38
+ };
39
+
40
+ // Identifier. The resource name of the `Application`.
41
+ // Format: `networks/{network_code}/applications/{application_id}`
42
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
43
+
44
+ // Optional. The display name of the application. This attribute is required
45
+ // and has a maximum length of 80 characters.
46
+ optional string display_name = 4 [(google.api.field_behavior) = OPTIONAL];
47
+ }
@@ -0,0 +1,129 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/ads/admanager/v1/application_messages.proto";
20
+ import "google/api/annotations.proto";
21
+ import "google/api/client.proto";
22
+ import "google/api/field_behavior.proto";
23
+ import "google/api/resource.proto";
24
+
25
+ option csharp_namespace = "Google.Ads.AdManager.V1";
26
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
27
+ option java_multiple_files = true;
28
+ option java_outer_classname = "ApplicationServiceProto";
29
+ option java_package = "com.google.ads.admanager.v1";
30
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
31
+ option ruby_package = "Google::Ads::AdManager::V1";
32
+
33
+ // Provides methods for handling `Application` objects.
34
+ service ApplicationService {
35
+ option (google.api.default_host) = "admanager.googleapis.com";
36
+ option (google.api.oauth_scopes) =
37
+ "https://www.googleapis.com/auth/admanager";
38
+
39
+ // API to retrieve a `Application` object.
40
+ rpc GetApplication(GetApplicationRequest) returns (Application) {
41
+ option (google.api.http) = {
42
+ get: "/v1/{name=networks/*/applications/*}"
43
+ };
44
+ option (google.api.method_signature) = "name";
45
+ }
46
+
47
+ // API to retrieve a list of `Application` objects.
48
+ rpc ListApplications(ListApplicationsRequest)
49
+ returns (ListApplicationsResponse) {
50
+ option (google.api.http) = {
51
+ get: "/v1/{parent=networks/*}/applications"
52
+ };
53
+ option (google.api.method_signature) = "parent";
54
+ }
55
+ }
56
+
57
+ // Request object for `GetApplication` method.
58
+ message GetApplicationRequest {
59
+ // Required. The resource name of the Application.
60
+ // Format: `networks/{network_code}/applications/{application_id}`
61
+ string name = 1 [
62
+ (google.api.field_behavior) = REQUIRED,
63
+ (google.api.resource_reference) = {
64
+ type: "admanager.googleapis.com/Application"
65
+ }
66
+ ];
67
+ }
68
+
69
+ // Request object for `ListApplications` method.
70
+ message ListApplicationsRequest {
71
+ // Required. The parent, which owns this collection of Applications.
72
+ // Format: `networks/{network_code}`
73
+ string parent = 1 [
74
+ (google.api.field_behavior) = REQUIRED,
75
+ (google.api.resource_reference) = {
76
+ type: "admanager.googleapis.com/Network"
77
+ }
78
+ ];
79
+
80
+ // Optional. The maximum number of `Applications` to return. The service may
81
+ // return fewer than this value. If unspecified, at most 50 `Applications`
82
+ // will be returned. The maximum value is 1000; values greater than 1000 will
83
+ // be coerced to 1000.
84
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
85
+
86
+ // Optional. A page token, received from a previous `ListApplications` call.
87
+ // Provide this to retrieve the subsequent page.
88
+ //
89
+ // When paginating, all other parameters provided to `ListApplications` must
90
+ // match the call that provided the page token.
91
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
92
+
93
+ // Optional. Expression to filter the response.
94
+ // See syntax details at
95
+ // https://developers.google.com/ad-manager/api/beta/filters
96
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
97
+
98
+ // Optional. Expression to specify sorting order.
99
+ // See syntax details at
100
+ // https://developers.google.com/ad-manager/api/beta/filters#order
101
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
102
+
103
+ // Optional. Number of individual resources to skip while paginating.
104
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
105
+ }
106
+
107
+ // Response object for `ListApplicationsRequest` containing matching
108
+ // `Application` objects.
109
+ message ListApplicationsResponse {
110
+ // The `Application` objects from the specified network.
111
+ repeated Application applications = 1;
112
+
113
+ // A token, which can be sent as `page_token` to retrieve the next page.
114
+ // If this field is omitted, there are no subsequent pages.
115
+ string next_page_token = 2;
116
+
117
+ // Total number of `Application` objects.
118
+ // If a filter was included in the request, this reflects the total number
119
+ // after the filtering is applied.
120
+ //
121
+ // `total_size` won't be calculated in the response unless it has been
122
+ // included in a response field mask. The response field mask can be provided
123
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
124
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
125
+ //
126
+ // For more information, see
127
+ // https://developers.google.com/ad-manager/api/beta/field-masks
128
+ int32 total_size = 3;
129
+ }
@@ -0,0 +1,49 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/api/field_behavior.proto";
20
+ import "google/api/resource.proto";
21
+
22
+ option csharp_namespace = "Google.Ads.AdManager.V1";
23
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
24
+ option java_multiple_files = true;
25
+ option java_outer_classname = "AudienceSegmentMessagesProto";
26
+ option java_package = "com.google.ads.admanager.v1";
27
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
28
+ option ruby_package = "Google::Ads::AdManager::V1";
29
+
30
+ // The `AudienceSegment` resource.
31
+ message AudienceSegment {
32
+ option (google.api.resource) = {
33
+ type: "admanager.googleapis.com/AudienceSegment"
34
+ pattern: "networks/{network_code}/audienceSegments/{audience_segment}"
35
+ plural: "audienceSegments"
36
+ singular: "audienceSegment"
37
+ };
38
+
39
+ // Identifier. The resource name of the `AudienceSegment`.
40
+ // Format: `networks/{network_code}/audienceSegments/{audience_segment_id}`
41
+ // The `audience_segment_id` may have up to 1 of the following suffixes:
42
+ // - `~direct` for directly licensed third-party segments
43
+ // - `~global` for globally licensed third-party segments
44
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
45
+
46
+ // Required. Display name of the `AudienceSegment`. The attribute has a
47
+ // maximum length of 255 characters.
48
+ optional string display_name = 2 [(google.api.field_behavior) = REQUIRED];
49
+ }
@@ -0,0 +1,129 @@
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.ads.admanager.v1;
18
+
19
+ import "google/ads/admanager/v1/audience_segment_messages.proto";
20
+ import "google/api/annotations.proto";
21
+ import "google/api/client.proto";
22
+ import "google/api/field_behavior.proto";
23
+ import "google/api/resource.proto";
24
+
25
+ option csharp_namespace = "Google.Ads.AdManager.V1";
26
+ option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
27
+ option java_multiple_files = true;
28
+ option java_outer_classname = "AudienceSegmentServiceProto";
29
+ option java_package = "com.google.ads.admanager.v1";
30
+ option php_namespace = "Google\\Ads\\AdManager\\V1";
31
+ option ruby_package = "Google::Ads::AdManager::V1";
32
+
33
+ // Provides methods for handling `AudienceSegment` objects.
34
+ service AudienceSegmentService {
35
+ option (google.api.default_host) = "admanager.googleapis.com";
36
+ option (google.api.oauth_scopes) =
37
+ "https://www.googleapis.com/auth/admanager";
38
+
39
+ // API to retrieve an `AudienceSegment` object.
40
+ rpc GetAudienceSegment(GetAudienceSegmentRequest) returns (AudienceSegment) {
41
+ option (google.api.http) = {
42
+ get: "/v1/{name=networks/*/audienceSegments/*}"
43
+ };
44
+ option (google.api.method_signature) = "name";
45
+ }
46
+
47
+ // API to retrieve a list of `AudienceSegment` objects.
48
+ rpc ListAudienceSegments(ListAudienceSegmentsRequest)
49
+ returns (ListAudienceSegmentsResponse) {
50
+ option (google.api.http) = {
51
+ get: "/v1/{parent=networks/*}/audienceSegments"
52
+ };
53
+ option (google.api.method_signature) = "parent";
54
+ }
55
+ }
56
+
57
+ // Request object for `GetAudienceSegment` method.
58
+ message GetAudienceSegmentRequest {
59
+ // Required. The resource name of the AudienceSegment.
60
+ // Format: `networks/{network_code}/audienceSegments/{audience_segment_id}`
61
+ string name = 1 [
62
+ (google.api.field_behavior) = REQUIRED,
63
+ (google.api.resource_reference) = {
64
+ type: "admanager.googleapis.com/AudienceSegment"
65
+ }
66
+ ];
67
+ }
68
+
69
+ // Request object for `ListAudienceSegments` method.
70
+ message ListAudienceSegmentsRequest {
71
+ // Required. The parent publisher network associated with these audience
72
+ // segments. Format: `networks/{network_code}`
73
+ string parent = 1 [
74
+ (google.api.field_behavior) = REQUIRED,
75
+ (google.api.resource_reference) = {
76
+ type: "admanager.googleapis.com/Network"
77
+ }
78
+ ];
79
+
80
+ // Optional. The maximum number of `AudienceSegments` to return. The service
81
+ // may return fewer than this value. If unspecified, at most 50
82
+ // `AudienceSegments` will be returned. The maximum value is 1000; values
83
+ // greater than 1000 will be coerced to 1000.
84
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
85
+
86
+ // Optional. A page token, received from a previous `ListAudienceSegments`
87
+ // call. Provide this to retrieve the subsequent page.
88
+ //
89
+ // When paginating, all other parameters provided to `ListAudienceSegments`
90
+ // must match the call that provided the page token.
91
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
92
+
93
+ // Optional. Expression to filter the response.
94
+ // See syntax details at
95
+ // https://developers.google.com/ad-manager/api/beta/filters
96
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
97
+
98
+ // Optional. Expression to specify sorting order.
99
+ // See syntax details at
100
+ // https://developers.google.com/ad-manager/api/beta/filters#order
101
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
102
+
103
+ // Optional. Number of individual resources to skip while paginating.
104
+ int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
105
+ }
106
+
107
+ // Response object for `ListAudienceSegmentsRequest` containing matching
108
+ // `AudienceSegment` objects.
109
+ message ListAudienceSegmentsResponse {
110
+ // The `AudienceSegment` objects from the specified network.
111
+ repeated AudienceSegment audience_segments = 1;
112
+
113
+ // A token, which can be sent as `page_token` to retrieve the next page.
114
+ // If this field is omitted, there are no subsequent pages.
115
+ string next_page_token = 2;
116
+
117
+ // Total number of `AudienceSegment` objects.
118
+ // If a filter was included in the request, this reflects the total number
119
+ // after the filtering is applied.
120
+ //
121
+ // `total_size` won't be calculated in the response unless it has been
122
+ // included in a response field mask. The response field mask can be provided
123
+ // to the method by using the URL parameter `$fields` or `fields`, or by using
124
+ // the HTTP/gRPC header `X-Goog-FieldMask`.
125
+ //
126
+ // For more information, see
127
+ // https://developers.google.com/ad-manager/api/beta/field-masks
128
+ int32 total_size = 3;
129
+ }
@@ -79,8 +79,8 @@ message ListBandwidthGroupsRequest {
79
79
 
80
80
  // Optional. The maximum number of `BandwidthGroups` to return. The service
81
81
  // may return fewer than this value. If unspecified, at most 50
82
- // `BandwidthGroups` will be returned. The maximum value is 1000; values above
83
- // 1000 will be coerced to 1000.
82
+ // `BandwidthGroups` will be returned. The maximum value is 1000; values
83
+ // greater than 1000 will be coerced to 1000.
84
84
  int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
85
85
 
86
86
  // Optional. A page token, received from a previous `ListBandwidthGroups`
@@ -118,7 +118,7 @@ message ListBandwidthGroupsResponse {
118
118
  // If a filter was included in the request, this reflects the total number
119
119
  // after the filtering is applied.
120
120
  //
121
- // `total_size` will not be calculated in the response unless it has been
121
+ // `total_size` won't be calculated in the response unless it has been
122
122
  // included in a response field mask. The response field mask can be provided
123
123
  // to the method by using the URL parameter `$fields` or `fields`, or by using
124
124
  // the HTTP/gRPC header `X-Goog-FieldMask`.