@google-ads/admanager 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +152 -173
- package/build/protos/google/ads/admanager/v1/ad_break_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +62 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +237 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -7
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +6 -6
- package/build/protos/google/ads/admanager/v1/application_messages.proto +47 -0
- package/build/protos/google/ads/admanager/v1/application_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +49 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/browser_language_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/browser_messages.proto +51 -0
- package/build/protos/google/ads/admanager/v1/browser_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +41 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +50 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +61 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/company_messages.proto +14 -12
- package/build/protos/google/ads/admanager/v1/company_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/contact_enums.proto +57 -0
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +45 -2
- package/build/protos/google/ads/admanager/v1/contact_service.proto +244 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +53 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_label_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_label_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +63 -0
- package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +253 -0
- package/build/protos/google/ads/admanager/v1/creative_template_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +5 -2
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +185 -3
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +7 -6
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +9 -9
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/device_capability_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +46 -0
- package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +131 -0
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +48 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/order_messages.proto +7 -8
- package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/report_definition.proto +12478 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +118 -3410
- package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
- package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
- package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
- package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
- package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
- package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
- package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
- package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
- package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
- package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
- package/build/protos/protos.d.ts +30764 -11410
- package/build/protos/protos.js +93644 -43318
- package/build/protos/protos.json +9909 -3734
- package/build/src/index.d.ts +58 -1
- package/build/src/index.js +40 -2
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +441 -0
- package/build/src/v1/ad_break_service_client.js +624 -0
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +49 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +1607 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +2291 -0
- package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
- package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
- package/build/src/v1/ad_review_center_ad_service_proto_list.json +122 -0
- package/build/src/v1/ad_unit_service_client.d.ts +453 -12
- package/build/src/v1/ad_unit_service_client.js +632 -8
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_proto_list.json +49 -1
- package/build/src/v1/application_service_client.d.ts +1345 -0
- package/build/src/v1/application_service_client.js +1993 -0
- package/build/src/v1/application_service_client.js.map +1 -0
- package/build/src/v1/application_service_client_config.json +34 -0
- package/build/src/v1/application_service_proto_list.json +122 -0
- package/build/src/v1/audience_segment_service_client.d.ts +1345 -0
- package/build/src/v1/audience_segment_service_client.js +1993 -0
- package/build/src/v1/audience_segment_service_client.js.map +1 -0
- package/build/src/v1/audience_segment_service_client_config.json +34 -0
- package/build/src/v1/audience_segment_service_proto_list.json +122 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +447 -6
- package/build/src/v1/bandwidth_group_service_client.js +628 -4
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +49 -1
- package/build/src/v1/browser_language_service_client.d.ts +1345 -0
- package/build/src/v1/browser_language_service_client.js +1993 -0
- package/build/src/v1/browser_language_service_client.js.map +1 -0
- package/build/src/v1/browser_language_service_client_config.json +34 -0
- package/build/src/v1/browser_language_service_proto_list.json +122 -0
- package/build/src/v1/browser_service_client.d.ts +1345 -0
- package/build/src/v1/browser_service_client.js +1993 -0
- package/build/src/v1/browser_service_client.js.map +1 -0
- package/build/src/v1/browser_service_client_config.json +34 -0
- package/build/src/v1/browser_service_proto_list.json +122 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_key_service_client.js +1993 -0
- package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_key_service_proto_list.json +122 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_value_service_client.js +1993 -0
- package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_value_service_proto_list.json +122 -0
- package/build/src/v1/company_service_client.d.ts +447 -6
- package/build/src/v1/company_service_client.js +628 -4
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +49 -1
- package/build/src/v1/contact_service_client.d.ts +1456 -0
- package/build/src/v1/contact_service_client.js +2137 -0
- package/build/src/v1/contact_service_client.js.map +1 -0
- package/build/src/v1/contact_service_client_config.json +50 -0
- package/build/src/v1/contact_service_proto_list.json +122 -0
- package/build/src/v1/content_bundle_service_client.d.ts +1345 -0
- package/build/src/v1/content_bundle_service_client.js +1993 -0
- package/build/src/v1/content_bundle_service_client.js.map +1 -0
- package/build/src/v1/content_bundle_service_client_config.json +34 -0
- package/build/src/v1/content_bundle_service_proto_list.json +122 -0
- package/build/src/v1/content_label_service_client.d.ts +1345 -0
- package/build/src/v1/content_label_service_client.js +1993 -0
- package/build/src/v1/content_label_service_client.js.map +1 -0
- package/build/src/v1/content_label_service_client_config.json +34 -0
- package/build/src/v1/content_label_service_proto_list.json +122 -0
- package/build/src/v1/content_service_client.d.ts +1345 -0
- package/build/src/v1/content_service_client.js +1993 -0
- package/build/src/v1/content_service_client.js.map +1 -0
- package/build/src/v1/content_service_client_config.json +34 -0
- package/build/src/v1/content_service_proto_list.json +122 -0
- package/build/src/v1/creative_template_service_client.d.ts +1345 -0
- package/build/src/v1/creative_template_service_client.js +1993 -0
- package/build/src/v1/creative_template_service_client.js.map +1 -0
- package/build/src/v1/creative_template_service_client_config.json +34 -0
- package/build/src/v1/creative_template_service_proto_list.json +122 -0
- package/build/src/v1/custom_field_service_client.d.ts +610 -6
- package/build/src/v1/custom_field_service_client.js +845 -5
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_client_config.json +24 -0
- package/build/src/v1/custom_field_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_key_service_client.js +624 -0
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_value_service_client.js +624 -0
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +49 -1
- package/build/src/v1/device_capability_service_client.d.ts +1345 -0
- package/build/src/v1/device_capability_service_client.js +1993 -0
- package/build/src/v1/device_capability_service_client.js.map +1 -0
- package/build/src/v1/device_capability_service_client_config.json +34 -0
- package/build/src/v1/device_capability_service_proto_list.json +122 -0
- package/build/src/v1/device_category_service_client.d.ts +444 -3
- package/build/src/v1/device_category_service_client.js +626 -2
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +49 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +1346 -0
- package/build/src/v1/device_manufacturer_service_client.js +1993 -0
- package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
- package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
- package/build/src/v1/device_manufacturer_service_proto_list.json +122 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +441 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +624 -0
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +49 -1
- package/build/src/v1/gapic_metadata.json +1026 -4
- package/build/src/v1/geo_target_service_client.d.ts +447 -6
- package/build/src/v1/geo_target_service_client.js +628 -4
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +49 -1
- package/build/src/v1/index.d.ts +19 -0
- package/build/src/v1/index.js +39 -1
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/mobile_carrier_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_carrier_service_client.js +1993 -0
- package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
- package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
- package/build/src/v1/mobile_carrier_service_proto_list.json +122 -0
- package/build/src/v1/mobile_device_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_device_service_client.js +1993 -0
- package/build/src/v1/mobile_device_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_service_proto_list.json +122 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +1352 -0
- package/build/src/v1/mobile_device_submodel_service_client.js +1997 -0
- package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_submodel_service_proto_list.json +122 -0
- package/build/src/v1/network_service_client.d.ts +441 -0
- package/build/src/v1/network_service_client.js +624 -0
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_service_client.js +626 -2
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_version_service_client.js +626 -2
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +49 -1
- package/build/src/v1/order_service_client.d.ts +447 -6
- package/build/src/v1/order_service_client.js +628 -4
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +49 -1
- package/build/src/v1/placement_service_client.d.ts +638 -6
- package/build/src/v1/placement_service_client.js +937 -61
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_client_config.json +28 -0
- package/build/src/v1/placement_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_deal_service_client.js +626 -2
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_service_client.js +626 -2
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +49 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +441 -0
- package/build/src/v1/programmatic_buyer_service_client.js +624 -0
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +49 -1
- package/build/src/v1/report_service_client.d.ts +461 -17
- package/build/src/v1/report_service_client.js +634 -8
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +49 -1
- package/build/src/v1/role_service_client.d.ts +447 -3
- package/build/src/v1/role_service_client.js +628 -2
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +49 -1
- package/build/src/v1/site_service_client.d.ts +1506 -0
- package/build/src/v1/site_service_client.js +2209 -0
- package/build/src/v1/site_service_client.js.map +1 -0
- package/build/src/v1/site_service_client_config.json +58 -0
- package/build/src/v1/site_service_proto_list.json +122 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +441 -0
- package/build/src/v1/taxonomy_category_service_client.js +624 -0
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +49 -1
- package/build/src/v1/team_service_client.d.ts +1508 -0
- package/build/src/v1/team_service_client.js +2209 -0
- package/build/src/v1/team_service_client.js.map +1 -0
- package/build/src/v1/team_service_client_config.json +58 -0
- package/build/src/v1/team_service_proto_list.json +122 -0
- package/build/src/v1/user_service_client.d.ts +441 -0
- package/build/src/v1/user_service_client.js +624 -0
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +49 -1
- package/package.json +1 -1
|
@@ -0,0 +1,131 @@
|
|
|
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/device_manufacturer_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 = "DeviceManufacturerServiceProto";
|
|
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 `DeviceManufacturer` objects.
|
|
34
|
+
service DeviceManufacturerService {
|
|
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 `DeviceManufacturer` object.
|
|
40
|
+
rpc GetDeviceManufacturer(GetDeviceManufacturerRequest)
|
|
41
|
+
returns (DeviceManufacturer) {
|
|
42
|
+
option (google.api.http) = {
|
|
43
|
+
get: "/v1/{name=networks/*/deviceManufacturers/*}"
|
|
44
|
+
};
|
|
45
|
+
option (google.api.method_signature) = "name";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// API to retrieve a list of `DeviceManufacturer` objects.
|
|
49
|
+
rpc ListDeviceManufacturers(ListDeviceManufacturersRequest)
|
|
50
|
+
returns (ListDeviceManufacturersResponse) {
|
|
51
|
+
option (google.api.http) = {
|
|
52
|
+
get: "/v1/{parent=networks/*}/deviceManufacturers"
|
|
53
|
+
};
|
|
54
|
+
option (google.api.method_signature) = "parent";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Request object for `GetDeviceManufacturer` method.
|
|
59
|
+
message GetDeviceManufacturerRequest {
|
|
60
|
+
// Required. The resource name of the DeviceManufacturer.
|
|
61
|
+
// Format:
|
|
62
|
+
// `networks/{network_code}/deviceManufacturers/{device_manufacturer_id}`
|
|
63
|
+
string name = 1 [
|
|
64
|
+
(google.api.field_behavior) = REQUIRED,
|
|
65
|
+
(google.api.resource_reference) = {
|
|
66
|
+
type: "admanager.googleapis.com/DeviceManufacturer"
|
|
67
|
+
}
|
|
68
|
+
];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Request object for `ListDeviceManufacturers` method.
|
|
72
|
+
message ListDeviceManufacturersRequest {
|
|
73
|
+
// Required. The parent, which owns this collection of DeviceManufacturers.
|
|
74
|
+
// Format: `networks/{network_code}`
|
|
75
|
+
string parent = 1 [
|
|
76
|
+
(google.api.field_behavior) = REQUIRED,
|
|
77
|
+
(google.api.resource_reference) = {
|
|
78
|
+
type: "admanager.googleapis.com/Network"
|
|
79
|
+
}
|
|
80
|
+
];
|
|
81
|
+
|
|
82
|
+
// Optional. The maximum number of `DeviceManufacturers` to return. The
|
|
83
|
+
// service may return fewer than this value. If unspecified, at most 50
|
|
84
|
+
// `DeviceManufacturers` will be returned. The maximum value is 1000; values
|
|
85
|
+
// above 1000 will be coerced to 1000.
|
|
86
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
87
|
+
|
|
88
|
+
// Optional. A page token, received from a previous `ListDeviceManufacturers`
|
|
89
|
+
// call. Provide this to retrieve the subsequent page.
|
|
90
|
+
//
|
|
91
|
+
// When paginating, all other parameters provided to `ListDeviceManufacturers`
|
|
92
|
+
// must match the call that provided the page token.
|
|
93
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
94
|
+
|
|
95
|
+
// Optional. Expression to filter the response.
|
|
96
|
+
// See syntax details at
|
|
97
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
98
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
99
|
+
|
|
100
|
+
// Optional. Expression to specify sorting order.
|
|
101
|
+
// See syntax details at
|
|
102
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
103
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
104
|
+
|
|
105
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
106
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Response object for `ListDeviceManufacturersRequest` containing matching
|
|
110
|
+
// `DeviceManufacturer` objects.
|
|
111
|
+
message ListDeviceManufacturersResponse {
|
|
112
|
+
// The `DeviceManufacturer` objects from the specified network.
|
|
113
|
+
repeated DeviceManufacturer device_manufacturers = 1;
|
|
114
|
+
|
|
115
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
116
|
+
// If this field is omitted, there are no subsequent pages.
|
|
117
|
+
string next_page_token = 2;
|
|
118
|
+
|
|
119
|
+
// Total number of `DeviceManufacturer` objects.
|
|
120
|
+
// If a filter was included in the request, this reflects the total number
|
|
121
|
+
// after the filtering is applied.
|
|
122
|
+
//
|
|
123
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
124
|
+
// included in a response field mask. The response field mask can be provided
|
|
125
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
126
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
127
|
+
//
|
|
128
|
+
// For more information, see
|
|
129
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
130
|
+
int32 total_size = 3;
|
|
131
|
+
}
|
|
@@ -195,7 +195,7 @@ message ListEntitySignalsMappingsResponse {
|
|
|
195
195
|
// If a filter was included in the request, this reflects the total number
|
|
196
196
|
// after the filtering is applied.
|
|
197
197
|
//
|
|
198
|
-
// `total_size`
|
|
198
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
199
199
|
// included in a response field mask. The response field mask can be provided
|
|
200
200
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
201
201
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -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
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
20
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
21
|
+
option java_multiple_files = true;
|
|
22
|
+
option java_outer_classname = "ExchangeSyndicationProductEnumProto";
|
|
23
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
24
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
25
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
26
|
+
|
|
27
|
+
// Wrapper message for
|
|
28
|
+
// [ExchangeSyndicationProduct][google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct]
|
|
29
|
+
message ExchangeSyndicationProductEnum {
|
|
30
|
+
// Ad Exchange syndication product.
|
|
31
|
+
enum ExchangeSyndicationProduct {
|
|
32
|
+
// No value specified
|
|
33
|
+
EXCHANGE_SYNDICATION_PRODUCT_UNSPECIFIED = 0;
|
|
34
|
+
|
|
35
|
+
// Property serves in-browser.
|
|
36
|
+
DISPLAY = 1;
|
|
37
|
+
|
|
38
|
+
// Property serves on mobile applications (includes JS and SDK).
|
|
39
|
+
MOBILE_APP = 2;
|
|
40
|
+
|
|
41
|
+
// Property serves video (includes audio).
|
|
42
|
+
VIDEO_AND_AUDIO = 3;
|
|
43
|
+
|
|
44
|
+
// Property serves for games.
|
|
45
|
+
GAMES = 4;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -78,8 +78,8 @@ message ListGeoTargetsRequest {
|
|
|
78
78
|
|
|
79
79
|
// Optional. The maximum number of `GeoTargets` to return. The service may
|
|
80
80
|
// return fewer than this value. If unspecified, at most 50 `GeoTargets` will
|
|
81
|
-
// be returned. The maximum value is 1000; values
|
|
82
|
-
// to 1000.
|
|
81
|
+
// be returned. The maximum value is 1000; values greater than 1000 will be
|
|
82
|
+
// coerced to 1000.
|
|
83
83
|
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
84
84
|
|
|
85
85
|
// Optional. A page token, received from a previous `ListGeoTargets` call.
|
|
@@ -117,7 +117,7 @@ message ListGeoTargetsResponse {
|
|
|
117
117
|
// If a filter was included in the request, this reflects the total number
|
|
118
118
|
// after the filtering is applied.
|
|
119
119
|
//
|
|
120
|
-
// `total_size`
|
|
120
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
121
121
|
// included in a response field mask. The response field mask can be provided
|
|
122
122
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
123
123
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -0,0 +1,48 @@
|
|
|
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 = "MobileCarrierMessagesProto";
|
|
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
|
+
// Represents a mobile carrier.
|
|
31
|
+
message MobileCarrier {
|
|
32
|
+
option (google.api.resource) = {
|
|
33
|
+
type: "admanager.googleapis.com/MobileCarrier"
|
|
34
|
+
pattern: "networks/{network_code}/mobileCarriers/{mobile_carrier}"
|
|
35
|
+
plural: "mobileCarriers"
|
|
36
|
+
singular: "mobileCarrier"
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// Identifier. The resource name of the `MobileCarrier`.
|
|
40
|
+
// Format: `networks/{network_code}/mobileCarriers/{mobile_carrier}`
|
|
41
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
42
|
+
|
|
43
|
+
// Output only. The localized name of the mobile carrier.
|
|
44
|
+
optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
45
|
+
|
|
46
|
+
// Output only. The region code of the mobile carrier.
|
|
47
|
+
optional string region_code = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
48
|
+
}
|
|
@@ -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/mobile_carrier_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 = "MobileCarrierServiceProto";
|
|
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 `MobileCarrier` objects.
|
|
34
|
+
service MobileCarrierService {
|
|
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 `MobileCarrier` object.
|
|
40
|
+
rpc GetMobileCarrier(GetMobileCarrierRequest) returns (MobileCarrier) {
|
|
41
|
+
option (google.api.http) = {
|
|
42
|
+
get: "/v1/{name=networks/*/mobileCarriers/*}"
|
|
43
|
+
};
|
|
44
|
+
option (google.api.method_signature) = "name";
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// API to retrieve a list of `MobileCarrier` objects.
|
|
48
|
+
rpc ListMobileCarriers(ListMobileCarriersRequest)
|
|
49
|
+
returns (ListMobileCarriersResponse) {
|
|
50
|
+
option (google.api.http) = {
|
|
51
|
+
get: "/v1/{parent=networks/*}/mobileCarriers"
|
|
52
|
+
};
|
|
53
|
+
option (google.api.method_signature) = "parent";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Request object for `GetMobileCarrier` method.
|
|
58
|
+
message GetMobileCarrierRequest {
|
|
59
|
+
// Required. The resource name of the MobileCarrier.
|
|
60
|
+
// Format: `networks/{network_code}/mobileCarriers/{mobile_carrier_id}`
|
|
61
|
+
string name = 1 [
|
|
62
|
+
(google.api.field_behavior) = REQUIRED,
|
|
63
|
+
(google.api.resource_reference) = {
|
|
64
|
+
type: "admanager.googleapis.com/MobileCarrier"
|
|
65
|
+
}
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Request object for `ListMobileCarriers` method.
|
|
70
|
+
message ListMobileCarriersRequest {
|
|
71
|
+
// Required. The parent, which owns this collection of MobileCarriers.
|
|
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 `MobileCarriers` to return. The service may
|
|
81
|
+
// return fewer than this value. If unspecified, at most 50 `MobileCarriers`
|
|
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 `ListMobileCarriers` call.
|
|
87
|
+
// Provide this to retrieve the subsequent page.
|
|
88
|
+
//
|
|
89
|
+
// When paginating, all other parameters provided to `ListMobileCarriers` 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 `ListMobileCarriersRequest` containing matching
|
|
108
|
+
// `MobileCarrier` objects.
|
|
109
|
+
message ListMobileCarriersResponse {
|
|
110
|
+
// The `MobileCarrier` objects from the specified network.
|
|
111
|
+
repeated MobileCarrier mobile_carriers = 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 `MobileCarrier` 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,54 @@
|
|
|
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 = "MobileDeviceMessagesProto";
|
|
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
|
+
// Represents a mobile device.
|
|
31
|
+
message MobileDevice {
|
|
32
|
+
option (google.api.resource) = {
|
|
33
|
+
type: "admanager.googleapis.com/MobileDevice"
|
|
34
|
+
pattern: "networks/{network_code}/mobileDevices/{mobile_device}"
|
|
35
|
+
plural: "mobileDevices"
|
|
36
|
+
singular: "mobileDevice"
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// Identifier. The resource name of the `MobileDevice`.
|
|
40
|
+
// Format: `networks/{network_code}/mobileDevices/{mobile_device}`
|
|
41
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
42
|
+
|
|
43
|
+
// Output only. The localized name of the mobile device.
|
|
44
|
+
optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
45
|
+
|
|
46
|
+
// Output only. The manufacturer associated with the mobile device.
|
|
47
|
+
// Format: `networks/{network_code}/deviceManufacturers/{device_manufacturer}`
|
|
48
|
+
optional string manufacturer = 3 [
|
|
49
|
+
(google.api.field_behavior) = OUTPUT_ONLY,
|
|
50
|
+
(google.api.resource_reference) = {
|
|
51
|
+
type: "admanager.googleapis.com/DeviceManufacturer"
|
|
52
|
+
}
|
|
53
|
+
];
|
|
54
|
+
}
|
|
@@ -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/mobile_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 = "MobileDeviceServiceProto";
|
|
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 `MobileDevice` objects.
|
|
34
|
+
service MobileDeviceService {
|
|
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 `MobileDevice` object.
|
|
40
|
+
rpc GetMobileDevice(GetMobileDeviceRequest) returns (MobileDevice) {
|
|
41
|
+
option (google.api.http) = {
|
|
42
|
+
get: "/v1/{name=networks/*/mobileDevices/*}"
|
|
43
|
+
};
|
|
44
|
+
option (google.api.method_signature) = "name";
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// API to retrieve a list of `MobileDevice` objects.
|
|
48
|
+
rpc ListMobileDevices(ListMobileDevicesRequest)
|
|
49
|
+
returns (ListMobileDevicesResponse) {
|
|
50
|
+
option (google.api.http) = {
|
|
51
|
+
get: "/v1/{parent=networks/*}/mobileDevices"
|
|
52
|
+
};
|
|
53
|
+
option (google.api.method_signature) = "parent";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Request object for `GetMobileDevice` method.
|
|
58
|
+
message GetMobileDeviceRequest {
|
|
59
|
+
// Required. The resource name of the MobileDevice.
|
|
60
|
+
// Format: `networks/{network_code}/mobileDevices/{mobile_device_id}`
|
|
61
|
+
string name = 1 [
|
|
62
|
+
(google.api.field_behavior) = REQUIRED,
|
|
63
|
+
(google.api.resource_reference) = {
|
|
64
|
+
type: "admanager.googleapis.com/MobileDevice"
|
|
65
|
+
}
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Request object for `ListMobileDevices` method.
|
|
70
|
+
message ListMobileDevicesRequest {
|
|
71
|
+
// Required. The parent, which owns this collection of MobileDevices.
|
|
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 `MobileDevices` to return. The service may
|
|
81
|
+
// return fewer than this value. If unspecified, at most 50 `MobileDevices`
|
|
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 `ListMobileDevices` call.
|
|
87
|
+
// Provide this to retrieve the subsequent page.
|
|
88
|
+
//
|
|
89
|
+
// When paginating, all other parameters provided to `ListMobileDevices` 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 `ListMobileDevicesRequest` containing matching
|
|
108
|
+
// `MobileDevice` objects.
|
|
109
|
+
message ListMobileDevicesResponse {
|
|
110
|
+
// The `MobileDevice` objects from the specified network.
|
|
111
|
+
repeated MobileDevice mobile_devices = 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 `MobileDevice` 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,55 @@
|
|
|
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 = "MobileDeviceSubmodelMessagesProto";
|
|
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
|
+
// Represents a mobile device submodel.
|
|
31
|
+
message MobileDeviceSubmodel {
|
|
32
|
+
option (google.api.resource) = {
|
|
33
|
+
type: "admanager.googleapis.com/MobileDeviceSubmodel"
|
|
34
|
+
pattern: "networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}"
|
|
35
|
+
plural: "mobileDeviceSubmodels"
|
|
36
|
+
singular: "mobileDeviceSubmodel"
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// Identifier. The resource name of the `MobileDeviceSubmodel`.
|
|
40
|
+
// Format:
|
|
41
|
+
// `networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}`
|
|
42
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
43
|
+
|
|
44
|
+
// Output only. The display name of the mobile device submodel.
|
|
45
|
+
optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
46
|
+
|
|
47
|
+
// Output only. The mobile device associated with the submodel.
|
|
48
|
+
// Format: `networks/{network_code}/mobileDevices/{mobile_device}`
|
|
49
|
+
optional string mobile_device = 3 [
|
|
50
|
+
(google.api.field_behavior) = OUTPUT_ONLY,
|
|
51
|
+
(google.api.resource_reference) = {
|
|
52
|
+
type: "admanager.googleapis.com/MobileDevice"
|
|
53
|
+
}
|
|
54
|
+
];
|
|
55
|
+
}
|