@google-ads/admanager 0.4.1 → 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 +68 -0
- 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,128 @@
|
|
|
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/browser_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 = "BrowserServiceProto";
|
|
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 `Browser` objects.
|
|
34
|
+
service BrowserService {
|
|
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 `Browser` object.
|
|
40
|
+
rpc GetBrowser(GetBrowserRequest) returns (Browser) {
|
|
41
|
+
option (google.api.http) = {
|
|
42
|
+
get: "/v1/{name=networks/*/browsers/*}"
|
|
43
|
+
};
|
|
44
|
+
option (google.api.method_signature) = "name";
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// API to retrieve a list of `Browser` objects.
|
|
48
|
+
rpc ListBrowsers(ListBrowsersRequest) returns (ListBrowsersResponse) {
|
|
49
|
+
option (google.api.http) = {
|
|
50
|
+
get: "/v1/{parent=networks/*}/browsers"
|
|
51
|
+
};
|
|
52
|
+
option (google.api.method_signature) = "parent";
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Request object for `GetBrowser` method.
|
|
57
|
+
message GetBrowserRequest {
|
|
58
|
+
// Required. The resource name of the Browser.
|
|
59
|
+
// Format: `networks/{network_code}/browsers/{browser_id}`
|
|
60
|
+
string name = 1 [
|
|
61
|
+
(google.api.field_behavior) = REQUIRED,
|
|
62
|
+
(google.api.resource_reference) = {
|
|
63
|
+
type: "admanager.googleapis.com/Browser"
|
|
64
|
+
}
|
|
65
|
+
];
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Request object for `ListBrowsers` method.
|
|
69
|
+
message ListBrowsersRequest {
|
|
70
|
+
// Required. The parent, which owns this collection of Browsers.
|
|
71
|
+
// Format: `networks/{network_code}`
|
|
72
|
+
string parent = 1 [
|
|
73
|
+
(google.api.field_behavior) = REQUIRED,
|
|
74
|
+
(google.api.resource_reference) = {
|
|
75
|
+
type: "admanager.googleapis.com/Network"
|
|
76
|
+
}
|
|
77
|
+
];
|
|
78
|
+
|
|
79
|
+
// Optional. The maximum number of `Browsers` to return. The service may
|
|
80
|
+
// return fewer than this value. If unspecified, at most 50 `Browsers` will be
|
|
81
|
+
// returned. The maximum value is 1000; values greater than 1000 will be
|
|
82
|
+
// coerced to 1000.
|
|
83
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
84
|
+
|
|
85
|
+
// Optional. A page token, received from a previous `ListBrowsers` call.
|
|
86
|
+
// Provide this to retrieve the subsequent page.
|
|
87
|
+
//
|
|
88
|
+
// When paginating, all other parameters provided to `ListBrowsers` must
|
|
89
|
+
// match the call that provided the page token.
|
|
90
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
91
|
+
|
|
92
|
+
// Optional. Expression to filter the response.
|
|
93
|
+
// See syntax details at
|
|
94
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
95
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
96
|
+
|
|
97
|
+
// Optional. Expression to specify sorting order.
|
|
98
|
+
// See syntax details at
|
|
99
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
100
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
101
|
+
|
|
102
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
103
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Response object for `ListBrowsersRequest` containing matching `Browser`
|
|
107
|
+
// objects.
|
|
108
|
+
message ListBrowsersResponse {
|
|
109
|
+
// The `Browser` objects from the specified network.
|
|
110
|
+
repeated Browser browsers = 1;
|
|
111
|
+
|
|
112
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
113
|
+
// If this field is omitted, there are no subsequent pages.
|
|
114
|
+
string next_page_token = 2;
|
|
115
|
+
|
|
116
|
+
// Total number of `Browser` objects.
|
|
117
|
+
// If a filter was included in the request, this reflects the total number
|
|
118
|
+
// after the filtering is applied.
|
|
119
|
+
//
|
|
120
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
121
|
+
// included in a response field mask. The response field mask can be provided
|
|
122
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
123
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
124
|
+
//
|
|
125
|
+
// For more information, see
|
|
126
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
127
|
+
int32 total_size = 3;
|
|
128
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 = "CmsMetadataKeyEnumsProto";
|
|
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
|
+
// [CmsMetadataKeyStatus][google.ads.admanager.v1.CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus]
|
|
29
|
+
message CmsMetadataKeyStatusEnum {
|
|
30
|
+
// Status for CmsMetadataKey objects.
|
|
31
|
+
enum CmsMetadataKeyStatus {
|
|
32
|
+
// Default value. This value is unused.
|
|
33
|
+
CMS_METADATA_KEY_STATUS_UNSPECIFIED = 0;
|
|
34
|
+
|
|
35
|
+
// The key is active.
|
|
36
|
+
ACTIVE = 1;
|
|
37
|
+
|
|
38
|
+
// The key is not active.
|
|
39
|
+
INACTIVE = 2;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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/cms_metadata_key_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 = "CmsMetadataKeyMessagesProto";
|
|
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
|
+
// Key associated with a piece of content from a publisher's CMS.
|
|
32
|
+
message CmsMetadataKey {
|
|
33
|
+
option (google.api.resource) = {
|
|
34
|
+
type: "admanager.googleapis.com/CmsMetadataKey"
|
|
35
|
+
pattern: "networks/{network_code}/cmsMetadataKeys/{cms_metadata_key}"
|
|
36
|
+
plural: "cmsMetadataKeys"
|
|
37
|
+
singular: "cmsMetadataKey"
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// Identifier. The resource name of the `CmsMetadataKey`.
|
|
41
|
+
// Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}`
|
|
42
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
43
|
+
|
|
44
|
+
// Required. The key of a key-value pair.
|
|
45
|
+
string display_name = 3 [(google.api.field_behavior) = REQUIRED];
|
|
46
|
+
|
|
47
|
+
// Output only. The status of this CMS metadata key.
|
|
48
|
+
CmsMetadataKeyStatusEnum.CmsMetadataKeyStatus status = 4
|
|
49
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
50
|
+
}
|
|
@@ -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/cms_metadata_key_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 = "CmsMetadataKeyServiceProto";
|
|
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 `CmsMetadataKey` objects.
|
|
34
|
+
service CmsMetadataKeyService {
|
|
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 `CmsMetadataKey` object.
|
|
40
|
+
rpc GetCmsMetadataKey(GetCmsMetadataKeyRequest) returns (CmsMetadataKey) {
|
|
41
|
+
option (google.api.http) = {
|
|
42
|
+
get: "/v1/{name=networks/*/cmsMetadataKeys/*}"
|
|
43
|
+
};
|
|
44
|
+
option (google.api.method_signature) = "name";
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// API to retrieve a list of `CmsMetadataKey` objects.
|
|
48
|
+
rpc ListCmsMetadataKeys(ListCmsMetadataKeysRequest)
|
|
49
|
+
returns (ListCmsMetadataKeysResponse) {
|
|
50
|
+
option (google.api.http) = {
|
|
51
|
+
get: "/v1/{parent=networks/*}/cmsMetadataKeys"
|
|
52
|
+
};
|
|
53
|
+
option (google.api.method_signature) = "parent";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Request object for `GetCmsMetadataKey` method.
|
|
58
|
+
message GetCmsMetadataKeyRequest {
|
|
59
|
+
// Required. The resource name of the CmsMetadataKey.
|
|
60
|
+
// Format: `networks/{network_code}/cmsMetadataKeys/{cms_metadata_key_id}`
|
|
61
|
+
string name = 1 [
|
|
62
|
+
(google.api.field_behavior) = REQUIRED,
|
|
63
|
+
(google.api.resource_reference) = {
|
|
64
|
+
type: "admanager.googleapis.com/CmsMetadataKey"
|
|
65
|
+
}
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Request object for `ListCmsMetadataKeys` method.
|
|
70
|
+
message ListCmsMetadataKeysRequest {
|
|
71
|
+
// Required. The parent, which owns this collection of CmsMetadataKeys.
|
|
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 `CmsMetadataKeys` to return. The service
|
|
81
|
+
// may return fewer than this value. If unspecified, at most 50
|
|
82
|
+
// `CmsMetadataKeys` will be returned. The maximum value is 1000; values
|
|
83
|
+
// greater than 1000 will be coerced to 1000.
|
|
84
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
85
|
+
|
|
86
|
+
// Optional. A page token, received from a previous `ListCmsMetadataKeys`
|
|
87
|
+
// call. Provide this to retrieve the subsequent page.
|
|
88
|
+
//
|
|
89
|
+
// When paginating, all other parameters provided to `ListCmsMetadataKeys`
|
|
90
|
+
// must match the call that provided the page token.
|
|
91
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
92
|
+
|
|
93
|
+
// Optional. Expression to filter the response.
|
|
94
|
+
// See syntax details at
|
|
95
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
96
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
97
|
+
|
|
98
|
+
// Optional. Expression to specify sorting order.
|
|
99
|
+
// See syntax details at
|
|
100
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
101
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
102
|
+
|
|
103
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
104
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Response object for `ListCmsMetadataKeysRequest` containing matching
|
|
108
|
+
// `CmsMetadataKey` objects.
|
|
109
|
+
message ListCmsMetadataKeysResponse {
|
|
110
|
+
// The `CmsMetadataKey` objects from the specified network.
|
|
111
|
+
repeated CmsMetadataKey cms_metadata_keys = 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 `CmsMetadataKey` 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,44 @@
|
|
|
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 = "CmsMetadataValueEnumsProto";
|
|
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
|
+
// [CmsMetadataValueStatus][google.ads.admanager.v1.CmsMetadataValueStatusEnum.CmsMetadataValueStatus]
|
|
29
|
+
message CmsMetadataValueStatusEnum {
|
|
30
|
+
// Status for CmsMetadataValue objects.
|
|
31
|
+
enum CmsMetadataValueStatus {
|
|
32
|
+
// Default value. This value is unused.
|
|
33
|
+
CMS_METADATA_VALUE_STATUS_UNSPECIFIED = 0;
|
|
34
|
+
|
|
35
|
+
// The value is active.
|
|
36
|
+
ACTIVE = 1;
|
|
37
|
+
|
|
38
|
+
// The value is archived.
|
|
39
|
+
ARCHIVED = 2;
|
|
40
|
+
|
|
41
|
+
// The value is not active.
|
|
42
|
+
INACTIVE = 3;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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/cms_metadata_value_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 = "CmsMetadataValueMessagesProto";
|
|
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
|
+
// Key value pair associated with a piece of content from a publisher's CMS.
|
|
32
|
+
message CmsMetadataValue {
|
|
33
|
+
option (google.api.resource) = {
|
|
34
|
+
type: "admanager.googleapis.com/CmsMetadataValue"
|
|
35
|
+
pattern: "networks/{network_code}/cmsMetadataValues/{cms_metadata_value}"
|
|
36
|
+
plural: "cmsMetadataValues"
|
|
37
|
+
singular: "cmsMetadataValue"
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// Identifier. The resource name of the `CmsMetadataValue`.
|
|
41
|
+
// Format:
|
|
42
|
+
// `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}`
|
|
43
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
44
|
+
|
|
45
|
+
// The value of this key-value pair.
|
|
46
|
+
string display_name = 3;
|
|
47
|
+
|
|
48
|
+
// Required. Immutable. The resource name of the CmsMetadataKey.
|
|
49
|
+
// Format: "networks/{network_code}/cmsMetadataKey/{cms_metadata_key_id}"
|
|
50
|
+
string key = 5 [
|
|
51
|
+
(google.api.field_behavior) = REQUIRED,
|
|
52
|
+
(google.api.field_behavior) = IMMUTABLE,
|
|
53
|
+
(google.api.resource_reference) = {
|
|
54
|
+
type: "admanager.googleapis.com/CmsMetadataKey"
|
|
55
|
+
}
|
|
56
|
+
];
|
|
57
|
+
|
|
58
|
+
// Output only. The status of this CMS metadata value.
|
|
59
|
+
CmsMetadataValueStatusEnum.CmsMetadataValueStatus status = 6
|
|
60
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
61
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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/cms_metadata_value_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 = "CmsMetadataValueServiceProto";
|
|
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 `CmsMetadataValue` objects.
|
|
34
|
+
service CmsMetadataValueService {
|
|
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 `CmsMetadataKey` object.
|
|
40
|
+
rpc GetCmsMetadataValue(GetCmsMetadataValueRequest)
|
|
41
|
+
returns (CmsMetadataValue) {
|
|
42
|
+
option (google.api.http) = {
|
|
43
|
+
get: "/v1/{name=networks/*/cmsMetadataValues/*}"
|
|
44
|
+
};
|
|
45
|
+
option (google.api.method_signature) = "name";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// API to retrieve a list of `CmsMetadataValue` objects.
|
|
49
|
+
rpc ListCmsMetadataValues(ListCmsMetadataValuesRequest)
|
|
50
|
+
returns (ListCmsMetadataValuesResponse) {
|
|
51
|
+
option (google.api.http) = {
|
|
52
|
+
get: "/v1/{parent=networks/*}/cmsMetadataValues"
|
|
53
|
+
};
|
|
54
|
+
option (google.api.method_signature) = "parent";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Request object for `GetCmsMetadataValue` method.
|
|
59
|
+
message GetCmsMetadataValueRequest {
|
|
60
|
+
// Required. The resource name of the CmsMetadataKey.
|
|
61
|
+
// Format: `networks/{network_code}/cmsMetadataValues/{cms_metadata_value_id}`
|
|
62
|
+
string name = 1 [
|
|
63
|
+
(google.api.field_behavior) = REQUIRED,
|
|
64
|
+
(google.api.resource_reference) = {
|
|
65
|
+
type: "admanager.googleapis.com/CmsMetadataValue"
|
|
66
|
+
}
|
|
67
|
+
];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Request object for `ListCmsMetadataValues` method.
|
|
71
|
+
message ListCmsMetadataValuesRequest {
|
|
72
|
+
// Required. The parent, which owns this collection of CmsMetadataValues.
|
|
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 `CmsMetadataValues` to return. The service
|
|
82
|
+
// may return fewer than this value. If unspecified, at most 50
|
|
83
|
+
// `CmsMetadataValues` will be returned. The maximum value is 1000; values
|
|
84
|
+
// greater than 1000 will be coerced to 1000.
|
|
85
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
86
|
+
|
|
87
|
+
// Optional. A page token, received from a previous `ListCmsMetadataValues`
|
|
88
|
+
// call. Provide this to retrieve the subsequent page.
|
|
89
|
+
//
|
|
90
|
+
// When paginating, all other parameters provided to `ListCmsMetadataValues`
|
|
91
|
+
// must 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
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
98
|
+
|
|
99
|
+
// Optional. Expression to specify sorting order.
|
|
100
|
+
// See syntax details at
|
|
101
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
102
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
103
|
+
|
|
104
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
105
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Response object for `ListCmsMetadataValuesRequest` containing matching
|
|
109
|
+
// `CmsMetadataValue` objects.
|
|
110
|
+
message ListCmsMetadataValuesResponse {
|
|
111
|
+
// The `CmsMetadataValue` objects from the specified network.
|
|
112
|
+
repeated CmsMetadataValue cms_metadata_values = 1;
|
|
113
|
+
|
|
114
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
115
|
+
// If this field is omitted, there are no subsequent pages.
|
|
116
|
+
string next_page_token = 2;
|
|
117
|
+
|
|
118
|
+
// Total number of `CmsMetadataValue` objects.
|
|
119
|
+
// If a filter was included in the request, this reflects the total number
|
|
120
|
+
// after the filtering is applied.
|
|
121
|
+
//
|
|
122
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
123
|
+
// included in a response field mask. The response field mask can be provided
|
|
124
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
125
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
126
|
+
//
|
|
127
|
+
// For more information, see
|
|
128
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
129
|
+
int32 total_size = 3;
|
|
130
|
+
}
|
|
@@ -44,51 +44,52 @@ message Company {
|
|
|
44
44
|
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
45
45
|
|
|
46
46
|
// Output only. `Company` ID.
|
|
47
|
-
int64 company_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
47
|
+
optional int64 company_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
48
48
|
|
|
49
49
|
// Required. The display name of the `Company`.
|
|
50
50
|
//
|
|
51
51
|
// This value has a maximum length of 127 characters.
|
|
52
|
-
string display_name = 3 [(google.api.field_behavior) = REQUIRED];
|
|
52
|
+
optional string display_name = 3 [(google.api.field_behavior) = REQUIRED];
|
|
53
53
|
|
|
54
54
|
// Required. The type of the `Company`.
|
|
55
|
-
CompanyTypeEnum.CompanyType type = 4
|
|
55
|
+
optional CompanyTypeEnum.CompanyType type = 4
|
|
56
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
56
57
|
|
|
57
58
|
// Optional. The address for the `Company`.
|
|
58
59
|
//
|
|
59
60
|
// This value has a maximum length of 1024 characters.
|
|
60
|
-
string address = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
61
|
+
optional string address = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
61
62
|
|
|
62
63
|
// Optional. The email for the `Company`.
|
|
63
64
|
//
|
|
64
65
|
// This value has a maximum length of 128 characters.
|
|
65
|
-
string email = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
66
|
+
optional string email = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
66
67
|
|
|
67
68
|
// Optional. The fax number for the `Company`.
|
|
68
69
|
//
|
|
69
70
|
// This value has a maximum length of 63 characters.
|
|
70
|
-
string fax = 7 [(google.api.field_behavior) = OPTIONAL];
|
|
71
|
+
optional string fax = 7 [(google.api.field_behavior) = OPTIONAL];
|
|
71
72
|
|
|
72
73
|
// Optional. The phone number for the `Company`.
|
|
73
74
|
//
|
|
74
75
|
// This value has a maximum length of 63 characters.
|
|
75
|
-
string phone = 8 [(google.api.field_behavior) = OPTIONAL];
|
|
76
|
+
optional string phone = 8 [(google.api.field_behavior) = OPTIONAL];
|
|
76
77
|
|
|
77
78
|
// Optional. The external ID for the `Company`.
|
|
78
79
|
//
|
|
79
80
|
// This value has a maximum length of 255 characters.
|
|
80
|
-
string external_id = 9 [(google.api.field_behavior) = OPTIONAL];
|
|
81
|
+
optional string external_id = 9 [(google.api.field_behavior) = OPTIONAL];
|
|
81
82
|
|
|
82
83
|
// Optional. Comments about the `Company`.
|
|
83
84
|
//
|
|
84
85
|
// This value has a maximum length of 1024 characters.
|
|
85
|
-
string comment = 10 [(google.api.field_behavior) = OPTIONAL];
|
|
86
|
+
optional string comment = 10 [(google.api.field_behavior) = OPTIONAL];
|
|
86
87
|
|
|
87
88
|
// Optional. The credit status of the `Company`.
|
|
88
89
|
//
|
|
89
90
|
// This attribute defaults to `ACTIVE` if basic settings are enabled and
|
|
90
91
|
// `ON_HOLD` if advance settings are enabled.
|
|
91
|
-
CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11
|
|
92
|
+
optional CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11
|
|
92
93
|
[(google.api.field_behavior) = OPTIONAL];
|
|
93
94
|
|
|
94
95
|
// Optional. The labels that are directly applied to the `Company`.
|
|
@@ -113,9 +114,10 @@ message Company {
|
|
|
113
114
|
|
|
114
115
|
// Optional. The ID of the Google-recognized canonicalized form of the
|
|
115
116
|
// `Company`.
|
|
116
|
-
int64 third_party_company_id = 16
|
|
117
|
+
optional int64 third_party_company_id = 16
|
|
118
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
117
119
|
|
|
118
120
|
// Output only. The time the `Company` was last modified.
|
|
119
|
-
google.protobuf.Timestamp update_time = 15
|
|
121
|
+
optional google.protobuf.Timestamp update_time = 15
|
|
120
122
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
121
123
|
}
|