@google-ads/admanager 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +25 -2
- package/build/protos/google/ads/admanager/v1/ad_break_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_break_service.proto +5 -4
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +26 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +9 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +20 -8
- package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +4 -3
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +23 -6
- package/build/protos/google/ads/admanager/v1/application_enums.proto +156 -0
- package/build/protos/google/ads/admanager/v1/application_messages.proto +51 -4
- package/build/protos/google/ads/admanager/v1/application_service.proto +198 -4
- package/build/protos/google/ads/admanager/v1/applied_label.proto +1 -1
- package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +10 -4
- package/build/protos/google/ads/admanager/v1/bandwidth_group_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/browser_language_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/browser_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/browser_service.proto +13 -4
- package/build/protos/google/ads/admanager/v1/child_publisher_messages.proto +43 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +81 -4
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +83 -4
- package/build/protos/google/ads/admanager/v1/company_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/company_messages.proto +36 -23
- package/build/protos/google/ads/admanager/v1/company_service.proto +22 -4
- package/build/protos/google/ads/admanager/v1/contact_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/contact_service.proto +22 -6
- package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/content_label_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/content_label_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/content_messages.proto +2 -2
- package/build/protos/google/ads/admanager/v1/content_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/creative_template_service.proto +18 -4
- package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +3 -4
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +20 -6
- package/build/protos/google/ads/admanager/v1/custom_field_value.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +17 -6
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +15 -4
- package/build/protos/google/ads/admanager/v1/deal_buyer_permission_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/device_category_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/early_ad_break_notification_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +5 -4
- package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/frequency_cap.proto +1 -1
- package/build/protos/google/ads/admanager/v1/geo_target_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +14 -4
- package/build/protos/google/ads/admanager/v1/goal.proto +1 -1
- package/build/protos/google/ads/admanager/v1/goal_enums.proto +10 -1
- package/build/protos/google/ads/admanager/v1/label_enums.proto +56 -0
- package/build/protos/google/ads/admanager/v1/label_messages.proto +19 -1
- package/build/protos/google/ads/admanager/v1/label_service.proto +313 -0
- package/build/protos/google/ads/admanager/v1/line_item_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/line_item_messages.proto +5 -4
- package/build/protos/google/ads/admanager/v1/line_item_service.proto +16 -4
- package/build/protos/google/ads/admanager/v1/{company_type_enum.proto → linked_device_enums.proto} +15 -24
- package/build/protos/google/ads/admanager/v1/linked_device_messages.proto +58 -0
- package/build/protos/google/ads/admanager/v1/linked_device_service.proto +138 -0
- package/build/protos/google/ads/admanager/v1/live_stream_event_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/mcm_earnings_messages.proto +124 -0
- package/build/protos/google/ads/admanager/v1/mcm_earnings_service.proto +115 -0
- package/build/protos/google/ads/admanager/v1/mcm_enums.proto +97 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +12 -4
- package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +12 -4
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +12 -4
- package/build/protos/google/ads/admanager/v1/network_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/network_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/operating_system_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +11 -4
- package/build/protos/google/ads/admanager/v1/operating_system_version_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +13 -4
- package/build/protos/google/ads/admanager/v1/order_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/order_messages.proto +5 -5
- package/build/protos/google/ads/admanager/v1/order_service.proto +28 -4
- package/build/protos/google/ads/admanager/v1/placement_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/placement_messages.proto +4 -3
- package/build/protos/google/ads/admanager/v1/placement_service.proto +18 -6
- package/build/protos/google/ads/admanager/v1/private_auction_deal_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +24 -6
- package/build/protos/google/ads/admanager/v1/private_auction_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/private_auction_service.proto +5 -4
- package/build/protos/google/ads/admanager/v1/private_marketplace_enums.proto +4 -1
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +17 -4
- package/build/protos/google/ads/admanager/v1/report_definition.proto +1944 -916
- package/build/protos/google/ads/admanager/v1/report_messages.proto +7 -5
- package/build/protos/google/ads/admanager/v1/report_service.proto +5 -4
- package/build/protos/google/ads/admanager/v1/report_value.proto +1 -1
- package/build/protos/google/ads/admanager/v1/request_platform_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/rich_media_ads_company_enums.proto +53 -0
- package/build/protos/google/ads/admanager/v1/rich_media_ads_company_messages.proto +57 -0
- package/build/protos/google/ads/admanager/v1/rich_media_ads_company_service.proto +143 -0
- package/build/protos/google/ads/admanager/v1/role_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/role_messages.proto +4 -3
- package/build/protos/google/ads/admanager/v1/role_service.proto +14 -4
- package/build/protos/google/ads/admanager/v1/site_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/site_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/site_service.proto +16 -6
- package/build/protos/google/ads/admanager/v1/size.proto +1 -1
- package/build/protos/google/ads/admanager/v1/size_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/targeted_video_bumper_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/targeting.proto +4 -4
- package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +3 -3
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/team_enums.proto +1 -1
- package/build/protos/google/ads/admanager/v1/team_messages.proto +1 -1
- package/build/protos/google/ads/admanager/v1/team_service.proto +18 -6
- package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/user_messages.proto +4 -3
- package/build/protos/google/ads/admanager/v1/user_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/video_position_enum.proto +1 -1
- package/build/protos/google/ads/admanager/v1/web_property.proto +1 -1
- package/build/protos/protos.d.ts +15212 -8355
- package/build/protos/protos.js +42222 -24288
- package/build/protos/protos.json +5571 -3409
- package/build/src/index.d.ts +13 -1
- package/build/src/index.js +10 -2
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +121 -49
- package/build/src/v1/ad_break_service_client.js +263 -82
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +13 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +185 -95
- package/build/src/v1/ad_review_center_ad_service_client.js +290 -106
- package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -1
- package/build/src/v1/ad_review_center_ad_service_proto_list.json +13 -1
- package/build/src/v1/ad_unit_service_client.d.ts +206 -86
- package/build/src/v1/ad_unit_service_client.js +376 -121
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_proto_list.json +13 -1
- package/build/src/v1/application_service_client.d.ts +316 -44
- package/build/src/v1/application_service_client.js +515 -68
- package/build/src/v1/application_service_client.js.map +1 -1
- package/build/src/v1/application_service_client_config.json +24 -0
- package/build/src/v1/application_service_proto_list.json +13 -1
- package/build/src/v1/audience_segment_service_client.d.ts +131 -44
- package/build/src/v1/audience_segment_service_client.js +237 -69
- package/build/src/v1/audience_segment_service_client.js.map +1 -1
- package/build/src/v1/audience_segment_service_proto_list.json +13 -1
- package/build/src/v1/bandwidth_group_service_client.d.ts +134 -44
- package/build/src/v1/bandwidth_group_service_client.js +239 -69
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +13 -1
- package/build/src/v1/browser_language_service_client.d.ts +134 -44
- package/build/src/v1/browser_language_service_client.js +239 -69
- package/build/src/v1/browser_language_service_client.js.map +1 -1
- package/build/src/v1/browser_language_service_proto_list.json +13 -1
- package/build/src/v1/browser_service_client.d.ts +140 -44
- package/build/src/v1/browser_service_client.js +237 -67
- package/build/src/v1/browser_service_client.js.map +1 -1
- package/build/src/v1/browser_service_proto_list.json +13 -1
- package/build/src/v1/cms_metadata_key_service_client.d.ts +192 -44
- package/build/src/v1/cms_metadata_key_service_client.js +329 -69
- package/build/src/v1/cms_metadata_key_service_client.js.map +1 -1
- package/build/src/v1/cms_metadata_key_service_client_config.json +8 -0
- package/build/src/v1/cms_metadata_key_service_proto_list.json +13 -1
- package/build/src/v1/cms_metadata_value_service_client.d.ts +196 -44
- package/build/src/v1/cms_metadata_value_service_client.js +331 -69
- package/build/src/v1/cms_metadata_value_service_client.js.map +1 -1
- package/build/src/v1/cms_metadata_value_service_client_config.json +8 -0
- package/build/src/v1/cms_metadata_value_service_proto_list.json +13 -1
- package/build/src/v1/company_service_client.d.ts +167 -44
- package/build/src/v1/company_service_client.js +255 -67
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +13 -1
- package/build/src/v1/contact_service_client.d.ts +163 -46
- package/build/src/v1/contact_service_client.js +311 -92
- package/build/src/v1/contact_service_client.js.map +1 -1
- package/build/src/v1/contact_service_proto_list.json +13 -1
- package/build/src/v1/content_bundle_service_client.d.ts +134 -44
- package/build/src/v1/content_bundle_service_client.js +237 -68
- package/build/src/v1/content_bundle_service_client.js.map +1 -1
- package/build/src/v1/content_bundle_service_proto_list.json +13 -1
- package/build/src/v1/content_label_service_client.d.ts +134 -44
- package/build/src/v1/content_label_service_client.js +237 -68
- package/build/src/v1/content_label_service_client.js.map +1 -1
- package/build/src/v1/content_label_service_proto_list.json +13 -1
- package/build/src/v1/content_service_client.d.ts +134 -44
- package/build/src/v1/content_service_client.js +233 -67
- package/build/src/v1/content_service_client.js.map +1 -1
- package/build/src/v1/content_service_proto_list.json +13 -1
- package/build/src/v1/creative_template_service_client.d.ts +155 -44
- package/build/src/v1/creative_template_service_client.js +253 -69
- package/build/src/v1/creative_template_service_client.js.map +1 -1
- package/build/src/v1/creative_template_service_proto_list.json +13 -1
- package/build/src/v1/custom_field_service_client.d.ts +161 -50
- package/build/src/v1/custom_field_service_client.js +335 -104
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_proto_list.json +13 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +154 -52
- package/build/src/v1/custom_targeting_key_service_client.js +332 -105
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_proto_list.json +13 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +150 -48
- package/build/src/v1/custom_targeting_value_service_client.js +248 -69
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +13 -1
- package/build/src/v1/device_capability_service_client.d.ts +134 -44
- package/build/src/v1/device_capability_service_client.js +239 -69
- package/build/src/v1/device_capability_service_client.js.map +1 -1
- package/build/src/v1/device_capability_service_proto_list.json +13 -1
- package/build/src/v1/device_category_service_client.d.ts +134 -44
- package/build/src/v1/device_category_service_client.js +239 -69
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +13 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +134 -44
- package/build/src/v1/device_manufacturer_service_client.js +240 -69
- package/build/src/v1/device_manufacturer_service_client.js.map +1 -1
- package/build/src/v1/device_manufacturer_service_proto_list.json +13 -1
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +121 -49
- package/build/src/v1/entity_signals_mapping_service_client.js +280 -89
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +13 -1
- package/build/src/v1/gapic_metadata.json +302 -0
- package/build/src/v1/geo_target_service_client.d.ts +143 -44
- package/build/src/v1/geo_target_service_client.js +239 -67
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +13 -1
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +9 -1
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/label_service_client.d.ts +1631 -0
- package/build/src/v1/label_service_client.js +2466 -0
- package/build/src/v1/label_service_client.js.map +1 -0
- package/build/src/v1/label_service_client_config.json +58 -0
- package/build/src/v1/label_service_proto_list.json +139 -0
- package/build/src/v1/line_item_service_client.d.ts +149 -44
- package/build/src/v1/line_item_service_client.js +243 -67
- package/build/src/v1/line_item_service_client.js.map +1 -1
- package/build/src/v1/line_item_service_proto_list.json +13 -1
- package/build/src/v1/linked_device_service_client.d.ts +1465 -0
- package/build/src/v1/linked_device_service_client.js +2200 -0
- package/build/src/v1/linked_device_service_client.js.map +1 -0
- package/build/src/v1/linked_device_service_client_config.json +34 -0
- package/build/src/v1/linked_device_service_proto_list.json +139 -0
- package/build/src/v1/mcm_earnings_service_client.d.ts +1426 -0
- package/build/src/v1/mcm_earnings_service_client.js +2144 -0
- package/build/src/v1/mcm_earnings_service_client.js.map +1 -0
- package/build/src/v1/mcm_earnings_service_client_config.json +30 -0
- package/build/src/v1/mcm_earnings_service_proto_list.json +139 -0
- package/build/src/v1/mobile_carrier_service_client.d.ts +137 -44
- package/build/src/v1/mobile_carrier_service_client.js +239 -68
- package/build/src/v1/mobile_carrier_service_client.js.map +1 -1
- package/build/src/v1/mobile_carrier_service_proto_list.json +13 -1
- package/build/src/v1/mobile_device_service_client.d.ts +137 -44
- package/build/src/v1/mobile_device_service_client.js +239 -68
- package/build/src/v1/mobile_device_service_client.js.map +1 -1
- package/build/src/v1/mobile_device_service_proto_list.json +13 -1
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +140 -47
- package/build/src/v1/mobile_device_submodel_service_client.js +242 -69
- package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -1
- package/build/src/v1/mobile_device_submodel_service_proto_list.json +13 -1
- package/build/src/v1/network_service_client.d.ts +101 -29
- package/build/src/v1/network_service_client.js +206 -55
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +13 -1
- package/build/src/v1/operating_system_service_client.d.ts +134 -44
- package/build/src/v1/operating_system_service_client.js +239 -69
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +13 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +143 -47
- package/build/src/v1/operating_system_version_service_client.js +244 -69
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +13 -1
- package/build/src/v1/order_service_client.d.ts +190 -49
- package/build/src/v1/order_service_client.js +267 -67
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +13 -1
- package/build/src/v1/placement_service_client.d.ts +153 -48
- package/build/src/v1/placement_service_client.js +345 -110
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_proto_list.json +13 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +173 -50
- package/build/src/v1/private_auction_deal_service_client.js +290 -81
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +13 -1
- package/build/src/v1/private_auction_service_client.d.ts +115 -43
- package/build/src/v1/private_auction_service_client.js +251 -77
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +13 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +152 -44
- package/build/src/v1/programmatic_buyer_service_client.js +252 -69
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +13 -1
- package/build/src/v1/report_service_client.d.ts +174 -102
- package/build/src/v1/report_service_client.js +322 -122
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +13 -1
- package/build/src/v1/rich_media_ads_company_service_client.d.ts +1475 -0
- package/build/src/v1/rich_media_ads_company_service_client.js +2208 -0
- package/build/src/v1/rich_media_ads_company_service_client.js.map +1 -0
- package/build/src/v1/rich_media_ads_company_service_client_config.json +34 -0
- package/build/src/v1/rich_media_ads_company_service_proto_list.json +139 -0
- package/build/src/v1/role_service_client.d.ts +143 -44
- package/build/src/v1/role_service_client.js +239 -67
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +13 -1
- package/build/src/v1/site_service_client.d.ts +146 -47
- package/build/src/v1/site_service_client.js +327 -104
- package/build/src/v1/site_service_client.js.map +1 -1
- package/build/src/v1/site_service_proto_list.json +13 -1
- package/build/src/v1/taxonomy_category_service_client.d.ts +112 -40
- package/build/src/v1/taxonomy_category_service_client.js +223 -65
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +13 -1
- package/build/src/v1/team_service_client.d.ts +151 -46
- package/build/src/v1/team_service_client.js +331 -104
- package/build/src/v1/team_service_client.js.map +1 -1
- package/build/src/v1/team_service_proto_list.json +13 -1
- package/build/src/v1/user_service_client.d.ts +72 -0
- package/build/src/v1/user_service_client.js +195 -49
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +13 -1
- package/package.json +1 -1
- package/build/protos/google/ads/admanager/v1/company_credit_status_enum.proto +0 -97
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
// Copyright 2026 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/label_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
|
+
import "google/protobuf/field_mask.proto";
|
|
25
|
+
|
|
26
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
27
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
28
|
+
option java_multiple_files = true;
|
|
29
|
+
option java_outer_classname = "LabelServiceProto";
|
|
30
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
31
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
32
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
33
|
+
|
|
34
|
+
// Provides methods for handling `Label` objects.
|
|
35
|
+
service LabelService {
|
|
36
|
+
option (google.api.default_host) = "admanager.googleapis.com";
|
|
37
|
+
option (google.api.oauth_scopes) =
|
|
38
|
+
"https://www.googleapis.com/auth/admanager,"
|
|
39
|
+
"https://www.googleapis.com/auth/admanager.readonly";
|
|
40
|
+
|
|
41
|
+
// API to retrieve a `Label` object.
|
|
42
|
+
rpc GetLabel(GetLabelRequest) returns (Label) {
|
|
43
|
+
option (google.api.http) = {
|
|
44
|
+
get: "/v1/{name=networks/*/labels/*}"
|
|
45
|
+
};
|
|
46
|
+
option (google.api.method_signature) = "name";
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// API to retrieve a list of `Label` objects.
|
|
50
|
+
rpc ListLabels(ListLabelsRequest) returns (ListLabelsResponse) {
|
|
51
|
+
option (google.api.http) = {
|
|
52
|
+
get: "/v1/{parent=networks/*}/labels"
|
|
53
|
+
};
|
|
54
|
+
option (google.api.method_signature) = "parent";
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// API to create a `Label` object.
|
|
58
|
+
rpc CreateLabel(CreateLabelRequest) returns (Label) {
|
|
59
|
+
option (google.api.http) = {
|
|
60
|
+
post: "/v1/{parent=networks/*}/labels"
|
|
61
|
+
body: "label"
|
|
62
|
+
};
|
|
63
|
+
option (google.api.method_signature) = "parent,label";
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// API to batch create `Label` objects.
|
|
67
|
+
rpc BatchCreateLabels(BatchCreateLabelsRequest)
|
|
68
|
+
returns (BatchCreateLabelsResponse) {
|
|
69
|
+
option (google.api.http) = {
|
|
70
|
+
post: "/v1/{parent=networks/*}/labels:batchCreate"
|
|
71
|
+
body: "*"
|
|
72
|
+
};
|
|
73
|
+
option (google.api.method_signature) = "parent,requests";
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// API to update a `Label` object.
|
|
77
|
+
rpc UpdateLabel(UpdateLabelRequest) returns (Label) {
|
|
78
|
+
option (google.api.http) = {
|
|
79
|
+
patch: "/v1/{label.name=networks/*/labels/*}"
|
|
80
|
+
body: "label"
|
|
81
|
+
};
|
|
82
|
+
option (google.api.method_signature) = "label,update_mask";
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// API to batch update `Label` objects.
|
|
86
|
+
rpc BatchUpdateLabels(BatchUpdateLabelsRequest)
|
|
87
|
+
returns (BatchUpdateLabelsResponse) {
|
|
88
|
+
option (google.api.http) = {
|
|
89
|
+
post: "/v1/{parent=networks/*}/labels:batchUpdate"
|
|
90
|
+
body: "*"
|
|
91
|
+
};
|
|
92
|
+
option (google.api.method_signature) = "parent,requests";
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// API to activate `Label` objects.
|
|
96
|
+
rpc BatchActivateLabels(BatchActivateLabelsRequest)
|
|
97
|
+
returns (BatchActivateLabelsResponse) {
|
|
98
|
+
option (google.api.http) = {
|
|
99
|
+
post: "/v1/{parent=networks/*}/labels:batchActivate"
|
|
100
|
+
body: "*"
|
|
101
|
+
};
|
|
102
|
+
option (google.api.method_signature) = "parent,names";
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// API to deactivate `Label` objects.
|
|
106
|
+
rpc BatchDeactivateLabels(BatchDeactivateLabelsRequest)
|
|
107
|
+
returns (BatchDeactivateLabelsResponse) {
|
|
108
|
+
option (google.api.http) = {
|
|
109
|
+
post: "/v1/{parent=networks/*}/labels:batchDeactivate"
|
|
110
|
+
body: "*"
|
|
111
|
+
};
|
|
112
|
+
option (google.api.method_signature) = "parent,names";
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Request object for `GetLabel` method.
|
|
117
|
+
message GetLabelRequest {
|
|
118
|
+
// Required. The resource name of the Label.
|
|
119
|
+
// Format: `networks/{network_code}/labels/{label_id}`
|
|
120
|
+
string name = 1 [
|
|
121
|
+
(google.api.field_behavior) = REQUIRED,
|
|
122
|
+
(google.api.resource_reference) = { type: "admanager.googleapis.com/Label" }
|
|
123
|
+
];
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Request object for `ListLabels` method.
|
|
127
|
+
message ListLabelsRequest {
|
|
128
|
+
// Required. The parent, which owns this collection of Labels.
|
|
129
|
+
// Format: `networks/{network_code}`
|
|
130
|
+
string parent = 1 [
|
|
131
|
+
(google.api.field_behavior) = REQUIRED,
|
|
132
|
+
(google.api.resource_reference) = {
|
|
133
|
+
type: "admanager.googleapis.com/Network"
|
|
134
|
+
}
|
|
135
|
+
];
|
|
136
|
+
|
|
137
|
+
// Optional. The maximum number of `Labels` to return. The service may return
|
|
138
|
+
// fewer than this value. If unspecified, at most 50 `Labels` will be
|
|
139
|
+
// returned. The maximum value is 1000; values greater than 1000 will be
|
|
140
|
+
// coerced to 1000.
|
|
141
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
142
|
+
|
|
143
|
+
// Optional. A page token, received from a previous `ListLabels` call.
|
|
144
|
+
// Provide this to retrieve the subsequent page.
|
|
145
|
+
//
|
|
146
|
+
// When paginating, all other parameters provided to `ListLabels` must match
|
|
147
|
+
// the call that provided the page token.
|
|
148
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
149
|
+
|
|
150
|
+
// Optional. Expression to filter the response.
|
|
151
|
+
// See syntax details at
|
|
152
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
153
|
+
//
|
|
154
|
+
// <b>Filterable fields:</b>
|
|
155
|
+
// <ul style="list-style-type:none">
|
|
156
|
+
// <li><code>active</code></li>
|
|
157
|
+
// <li><code>description</code></li>
|
|
158
|
+
// <li><code>displayName</code></li>
|
|
159
|
+
// <li><code>name</code></li>
|
|
160
|
+
// <li><code>types</code></li>
|
|
161
|
+
// </ul>
|
|
162
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
163
|
+
|
|
164
|
+
// Optional. Expression to specify sorting order.
|
|
165
|
+
// See syntax details at
|
|
166
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
167
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
168
|
+
|
|
169
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
170
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// Response object for `ListLabelsRequest` containing matching `Label` objects.
|
|
174
|
+
message ListLabelsResponse {
|
|
175
|
+
// The `Label` objects from the specified network.
|
|
176
|
+
repeated Label labels = 1;
|
|
177
|
+
|
|
178
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
179
|
+
// If this field is omitted, there are no subsequent pages.
|
|
180
|
+
string next_page_token = 2;
|
|
181
|
+
|
|
182
|
+
// Total number of `Label` objects.
|
|
183
|
+
// If a filter was included in the request, this reflects the total number
|
|
184
|
+
// after the filtering is applied.
|
|
185
|
+
//
|
|
186
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
187
|
+
// included in a response field mask. The response field mask can be provided
|
|
188
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
189
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
190
|
+
//
|
|
191
|
+
// For more information, see
|
|
192
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
193
|
+
int32 total_size = 3;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// Request object for `CreateLabel` method.
|
|
197
|
+
message CreateLabelRequest {
|
|
198
|
+
// Required. The parent resource where this `Label` will be created.
|
|
199
|
+
// Format: `networks/{network_code}`
|
|
200
|
+
string parent = 1 [
|
|
201
|
+
(google.api.field_behavior) = REQUIRED,
|
|
202
|
+
(google.api.resource_reference) = {
|
|
203
|
+
type: "admanager.googleapis.com/Network"
|
|
204
|
+
}
|
|
205
|
+
];
|
|
206
|
+
|
|
207
|
+
// Required. The `Label` to create.
|
|
208
|
+
Label label = 2 [(google.api.field_behavior) = REQUIRED];
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// Request object for `BatchCreateLabels` method.
|
|
212
|
+
message BatchCreateLabelsRequest {
|
|
213
|
+
// Required. The parent resource where `Labels` will be created.
|
|
214
|
+
// Format: `networks/{network_code}`
|
|
215
|
+
// The parent field in the CreateLabelRequest must match this
|
|
216
|
+
// field.
|
|
217
|
+
string parent = 1 [
|
|
218
|
+
(google.api.field_behavior) = REQUIRED,
|
|
219
|
+
(google.api.resource_reference) = {
|
|
220
|
+
type: "admanager.googleapis.com/Network"
|
|
221
|
+
}
|
|
222
|
+
];
|
|
223
|
+
|
|
224
|
+
// Required. The `Label` objects to create.
|
|
225
|
+
// A maximum of 100 objects can be created in a batch.
|
|
226
|
+
repeated CreateLabelRequest requests = 2
|
|
227
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// Response object for `BatchCreateLabels` method.
|
|
231
|
+
message BatchCreateLabelsResponse {
|
|
232
|
+
// The `Label` objects created.
|
|
233
|
+
repeated Label labels = 1;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// Request object for `UpdateLabel` method.
|
|
237
|
+
message UpdateLabelRequest {
|
|
238
|
+
// Required. The `Label` to update.
|
|
239
|
+
//
|
|
240
|
+
// The `Label`'s `name` is used to identify the `Label` to update.
|
|
241
|
+
Label label = 1 [(google.api.field_behavior) = REQUIRED];
|
|
242
|
+
|
|
243
|
+
// Optional. The list of fields to update.
|
|
244
|
+
google.protobuf.FieldMask update_mask = 2
|
|
245
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// Request object for `BatchUpdateLabels` method.
|
|
249
|
+
message BatchUpdateLabelsRequest {
|
|
250
|
+
// Required. The parent resource where `Labels` will be updated.
|
|
251
|
+
// Format: `networks/{network_code}`
|
|
252
|
+
// The parent field in the UpdateLabelRequest must match this
|
|
253
|
+
// field.
|
|
254
|
+
string parent = 1 [
|
|
255
|
+
(google.api.field_behavior) = REQUIRED,
|
|
256
|
+
(google.api.resource_reference) = {
|
|
257
|
+
type: "admanager.googleapis.com/Network"
|
|
258
|
+
}
|
|
259
|
+
];
|
|
260
|
+
|
|
261
|
+
// Required. The `Label` objects to update.
|
|
262
|
+
// A maximum of 100 objects can be updated in a batch.
|
|
263
|
+
repeated UpdateLabelRequest requests = 2
|
|
264
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
// Response object for `BatchUpdateLabels` method.
|
|
268
|
+
message BatchUpdateLabelsResponse {
|
|
269
|
+
// The `Label` objects updated.
|
|
270
|
+
repeated Label labels = 1;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// Request message for `BatchActivateLabels` method.
|
|
274
|
+
message BatchActivateLabelsRequest {
|
|
275
|
+
// Required. Format: `networks/{network_code}`
|
|
276
|
+
string parent = 1 [
|
|
277
|
+
(google.api.field_behavior) = REQUIRED,
|
|
278
|
+
(google.api.resource_reference) = {
|
|
279
|
+
type: "admanager.googleapis.com/Network"
|
|
280
|
+
}
|
|
281
|
+
];
|
|
282
|
+
|
|
283
|
+
// Required. Resource names for the Label.
|
|
284
|
+
// Format: `networks/{network_code}/labels/{label_id}`
|
|
285
|
+
repeated string names = 2 [
|
|
286
|
+
(google.api.field_behavior) = REQUIRED,
|
|
287
|
+
(google.api.resource_reference) = { type: "admanager.googleapis.com/Label" }
|
|
288
|
+
];
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
// Response message for `BatchActivateLabels` method.
|
|
292
|
+
message BatchActivateLabelsResponse {}
|
|
293
|
+
|
|
294
|
+
// Request message for `BatchDeactivateLabels` method.
|
|
295
|
+
message BatchDeactivateLabelsRequest {
|
|
296
|
+
// Required. Format: `networks/{network_code}`
|
|
297
|
+
string parent = 1 [
|
|
298
|
+
(google.api.field_behavior) = REQUIRED,
|
|
299
|
+
(google.api.resource_reference) = {
|
|
300
|
+
type: "admanager.googleapis.com/Network"
|
|
301
|
+
}
|
|
302
|
+
];
|
|
303
|
+
|
|
304
|
+
// Required. Resource names for the Label.
|
|
305
|
+
// Format: `networks/{network_code}/labels/{label_id}`
|
|
306
|
+
repeated string names = 2 [
|
|
307
|
+
(google.api.field_behavior) = REQUIRED,
|
|
308
|
+
(google.api.resource_reference) = { type: "admanager.googleapis.com/Label" }
|
|
309
|
+
];
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
// Response message for `BatchDeactivateLabels` method.
|
|
313
|
+
message BatchDeactivateLabelsResponse {}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -47,10 +47,11 @@ message LineItem {
|
|
|
47
47
|
// Format: `networks/{network_code}/lineItems/{line_item_id}`
|
|
48
48
|
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
49
49
|
|
|
50
|
-
//
|
|
51
|
-
//
|
|
50
|
+
// Required. Immutable. The ID of the Order to which the LineItem belongs.
|
|
51
|
+
// Format: `networks/{network_code}/orders/{order}`
|
|
52
52
|
optional string order = 2 [
|
|
53
|
-
(google.api.field_behavior) =
|
|
53
|
+
(google.api.field_behavior) = REQUIRED,
|
|
54
|
+
(google.api.field_behavior) = IMMUTABLE,
|
|
54
55
|
(google.api.resource_reference) = { type: "admanager.googleapis.com/Order" }
|
|
55
56
|
];
|
|
56
57
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -34,7 +34,8 @@ option ruby_package = "Google::Ads::AdManager::V1";
|
|
|
34
34
|
service LineItemService {
|
|
35
35
|
option (google.api.default_host) = "admanager.googleapis.com";
|
|
36
36
|
option (google.api.oauth_scopes) =
|
|
37
|
-
"https://www.googleapis.com/auth/admanager"
|
|
37
|
+
"https://www.googleapis.com/auth/admanager,"
|
|
38
|
+
"https://www.googleapis.com/auth/admanager.readonly";
|
|
38
39
|
|
|
39
40
|
// API to retrieve a `LineItem` object.
|
|
40
41
|
rpc GetLineItem(GetLineItemRequest) returns (LineItem) {
|
|
@@ -90,8 +91,19 @@ message ListLineItemsRequest {
|
|
|
90
91
|
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
91
92
|
|
|
92
93
|
// Optional. Expression to filter the response.
|
|
93
|
-
//
|
|
94
|
-
//
|
|
94
|
+
// See syntax details at
|
|
95
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
96
|
+
//
|
|
97
|
+
// <b>Filterable fields:</b>
|
|
98
|
+
// <ul style="list-style-type:none">
|
|
99
|
+
// <li><code>displayName</code></li>
|
|
100
|
+
// <li><code>endTime</code></li>
|
|
101
|
+
// <li><code>goal.units</code></li>
|
|
102
|
+
// <li><code>lineItemType</code></li>
|
|
103
|
+
// <li><code>name</code></li>
|
|
104
|
+
// <li><code>order</code></li>
|
|
105
|
+
// <li><code>startTime</code></li>
|
|
106
|
+
// </ul>
|
|
95
107
|
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
96
108
|
|
|
97
109
|
// Optional. Expression to specify sorting order.
|
package/build/protos/google/ads/admanager/v1/{company_type_enum.proto → linked_device_enums.proto}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -19,33 +19,24 @@ package google.ads.admanager.v1;
|
|
|
19
19
|
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
20
20
|
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
21
21
|
option java_multiple_files = true;
|
|
22
|
-
option java_outer_classname = "
|
|
22
|
+
option java_outer_classname = "LinkedDeviceEnumsProto";
|
|
23
23
|
option java_package = "com.google.ads.admanager.v1";
|
|
24
24
|
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
25
25
|
option ruby_package = "Google::Ads::AdManager::V1";
|
|
26
26
|
|
|
27
27
|
// Wrapper message for
|
|
28
|
-
// [
|
|
29
|
-
message
|
|
30
|
-
//
|
|
31
|
-
enum
|
|
32
|
-
//
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
//
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
// An organization that manages ad accounts and offers services, such as ad
|
|
42
|
-
// creation, placement, and management to advertisers.
|
|
43
|
-
AGENCY = 3;
|
|
44
|
-
|
|
45
|
-
// A company representing the publisher's own agency.
|
|
46
|
-
HOUSE_AGENCY = 4;
|
|
47
|
-
|
|
48
|
-
// A company representing multiple advertisers and agencies.
|
|
49
|
-
AD_NETWORK = 5;
|
|
28
|
+
// [LinkedDeviceVisibility][google.ads.admanager.v1.LinkedDeviceVisibilityEnum.LinkedDeviceVisibility]
|
|
29
|
+
message LinkedDeviceVisibilityEnum {
|
|
30
|
+
// Represents the visibility of a LinkedDevice.
|
|
31
|
+
enum LinkedDeviceVisibility {
|
|
32
|
+
// Default value. This value is unused.
|
|
33
|
+
LINKED_DEVICE_VISIBILITY_UNSPECIFIED = 0;
|
|
34
|
+
|
|
35
|
+
// The linked device can only be used by the user who owns the device
|
|
36
|
+
// linking.
|
|
37
|
+
PRIVATE = 2;
|
|
38
|
+
|
|
39
|
+
// The linked device can be used by anyone on the network.
|
|
40
|
+
PUBLIC = 3;
|
|
50
41
|
}
|
|
51
42
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Copyright 2026 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/linked_device_enums.proto";
|
|
20
|
+
import "google/api/field_behavior.proto";
|
|
21
|
+
import "google/api/resource.proto";
|
|
22
|
+
|
|
23
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
24
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
25
|
+
option java_multiple_files = true;
|
|
26
|
+
option java_outer_classname = "LinkedDeviceMessagesProto";
|
|
27
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
28
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
29
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
30
|
+
|
|
31
|
+
// A test mobile device that is linked to the network. Can be used to preview a
|
|
32
|
+
// creative within a mobile application.
|
|
33
|
+
message LinkedDevice {
|
|
34
|
+
option (google.api.resource) = {
|
|
35
|
+
type: "admanager.googleapis.com/LinkedDevice"
|
|
36
|
+
pattern: "networks/{network_code}/linkedDevices/{linked_device}"
|
|
37
|
+
plural: "linkedDevices"
|
|
38
|
+
singular: "linkedDevice"
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
// Identifier. The resource name of the `LinkedDevice`.
|
|
42
|
+
// Format: `networks/{network_code}/linkedDevices/{linked_device_id}`
|
|
43
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
44
|
+
|
|
45
|
+
// Required. The display name of the LinkedDevice.
|
|
46
|
+
optional string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
|
47
|
+
|
|
48
|
+
// Output only. The user who owns this device linking.
|
|
49
|
+
// Format: `networks/{network_code}/users/{user}`
|
|
50
|
+
optional string owner = 7 [
|
|
51
|
+
(google.api.field_behavior) = OUTPUT_ONLY,
|
|
52
|
+
(google.api.resource_reference) = { type: "admanager.googleapis.com/User" }
|
|
53
|
+
];
|
|
54
|
+
|
|
55
|
+
// Optional. The visibility of the device.
|
|
56
|
+
optional LinkedDeviceVisibilityEnum.LinkedDeviceVisibility visibility = 9
|
|
57
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
58
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// Copyright 2026 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/linked_device_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 = "LinkedDeviceServiceProto";
|
|
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 `LinkedDevice` objects.
|
|
34
|
+
service LinkedDeviceService {
|
|
35
|
+
option (google.api.default_host) = "admanager.googleapis.com";
|
|
36
|
+
option (google.api.oauth_scopes) =
|
|
37
|
+
"https://www.googleapis.com/auth/admanager,"
|
|
38
|
+
"https://www.googleapis.com/auth/admanager.readonly";
|
|
39
|
+
|
|
40
|
+
// Gets a `LinkedDevice`.
|
|
41
|
+
rpc GetLinkedDevice(GetLinkedDeviceRequest) returns (LinkedDevice) {
|
|
42
|
+
option (google.api.http) = {
|
|
43
|
+
get: "/v1/{name=networks/*/linkedDevices/*}"
|
|
44
|
+
};
|
|
45
|
+
option (google.api.method_signature) = "name";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Lists `LinkedDevice` objects.
|
|
49
|
+
rpc ListLinkedDevices(ListLinkedDevicesRequest)
|
|
50
|
+
returns (ListLinkedDevicesResponse) {
|
|
51
|
+
option (google.api.http) = {
|
|
52
|
+
get: "/v1/{parent=networks/*}/linkedDevices"
|
|
53
|
+
};
|
|
54
|
+
option (google.api.method_signature) = "parent";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Request object for `GetLinkedDevice` method.
|
|
59
|
+
message GetLinkedDeviceRequest {
|
|
60
|
+
// Required. The resource name of the LinkedDevice.
|
|
61
|
+
// Format: `networks/{network_code}/linkedDevices/{linked_device_id}`
|
|
62
|
+
string name = 1 [
|
|
63
|
+
(google.api.field_behavior) = REQUIRED,
|
|
64
|
+
(google.api.resource_reference) = {
|
|
65
|
+
type: "admanager.googleapis.com/LinkedDevice"
|
|
66
|
+
}
|
|
67
|
+
];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Request object for `ListLinkedDevices` method.
|
|
71
|
+
message ListLinkedDevicesRequest {
|
|
72
|
+
// Required. The parent, which owns this collection of LinkedDevices.
|
|
73
|
+
// Format: `networks/{network_code}`
|
|
74
|
+
string parent = 1 [
|
|
75
|
+
(google.api.field_behavior) = REQUIRED,
|
|
76
|
+
(google.api.resource_reference) = {
|
|
77
|
+
type: "admanager.googleapis.com/Network"
|
|
78
|
+
}
|
|
79
|
+
];
|
|
80
|
+
|
|
81
|
+
// Optional. The maximum number of `LinkedDevices` to return. The service may
|
|
82
|
+
// return fewer than this value. If unspecified, at most 50 `LinkedDevices`
|
|
83
|
+
// will be returned. The maximum value is 1000; values greater than 1000 will
|
|
84
|
+
// be coerced to 1000.
|
|
85
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
86
|
+
|
|
87
|
+
// Optional. A page token, received from a previous `ListLinkedDevices` call.
|
|
88
|
+
// Provide this to retrieve the subsequent page.
|
|
89
|
+
//
|
|
90
|
+
// When paginating, all other parameters provided to `ListLinkedDevices` must
|
|
91
|
+
// match the call that provided the page token.
|
|
92
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
93
|
+
|
|
94
|
+
// Optional. Expression to filter the response.
|
|
95
|
+
// See syntax details at
|
|
96
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
97
|
+
//
|
|
98
|
+
// <b>Filterable fields:</b>
|
|
99
|
+
// <ul style="list-style-type:none">
|
|
100
|
+
// <li><code>displayName</code></li>
|
|
101
|
+
// <li><code>name</code></li>
|
|
102
|
+
// <li><code>owner</code></li>
|
|
103
|
+
// <li><code>visibility</code></li>
|
|
104
|
+
// </ul>
|
|
105
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
106
|
+
|
|
107
|
+
// Optional. Expression to specify sorting order.
|
|
108
|
+
// See syntax details at
|
|
109
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
110
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
111
|
+
|
|
112
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
113
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Response object for `ListLinkedDevicesRequest` containing matching
|
|
117
|
+
// `LinkedDevice` objects.
|
|
118
|
+
message ListLinkedDevicesResponse {
|
|
119
|
+
// The `LinkedDevice` objects from the specified network.
|
|
120
|
+
repeated LinkedDevice linked_devices = 1;
|
|
121
|
+
|
|
122
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
123
|
+
// If this field is omitted, there are no subsequent pages.
|
|
124
|
+
string next_page_token = 2;
|
|
125
|
+
|
|
126
|
+
// Total number of `LinkedDevice` objects.
|
|
127
|
+
// If a filter was included in the request, this reflects the total number
|
|
128
|
+
// after the filtering is applied.
|
|
129
|
+
//
|
|
130
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
131
|
+
// included in a response field mask. The response field mask can be provided
|
|
132
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
133
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
134
|
+
//
|
|
135
|
+
// For more information, see
|
|
136
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
137
|
+
int32 total_size = 3;
|
|
138
|
+
}
|