@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,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/creative_template_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 = "CreativeTemplateServiceProto";
|
|
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 `CreativeTemplate` objects.
|
|
34
|
+
service CreativeTemplateService {
|
|
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 `CreativeTemplate` object.
|
|
40
|
+
rpc GetCreativeTemplate(GetCreativeTemplateRequest)
|
|
41
|
+
returns (CreativeTemplate) {
|
|
42
|
+
option (google.api.http) = {
|
|
43
|
+
get: "/v1/{name=networks/*/creativeTemplates/*}"
|
|
44
|
+
};
|
|
45
|
+
option (google.api.method_signature) = "name";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// API to retrieve a list of `CreativeTemplate` objects.
|
|
49
|
+
rpc ListCreativeTemplates(ListCreativeTemplatesRequest)
|
|
50
|
+
returns (ListCreativeTemplatesResponse) {
|
|
51
|
+
option (google.api.http) = {
|
|
52
|
+
get: "/v1/{parent=networks/*}/creativeTemplates"
|
|
53
|
+
};
|
|
54
|
+
option (google.api.method_signature) = "parent";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Request object for `GetCreativeTemplate` method.
|
|
59
|
+
message GetCreativeTemplateRequest {
|
|
60
|
+
// Required. The resource name of the CreativeTemplate.
|
|
61
|
+
// Format: `networks/{network_code}/creativeTemplates/{creative_template_id}`
|
|
62
|
+
string name = 1 [
|
|
63
|
+
(google.api.field_behavior) = REQUIRED,
|
|
64
|
+
(google.api.resource_reference) = {
|
|
65
|
+
type: "admanager.googleapis.com/CreativeTemplate"
|
|
66
|
+
}
|
|
67
|
+
];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Request object for `ListCreativeTemplates` method.
|
|
71
|
+
message ListCreativeTemplatesRequest {
|
|
72
|
+
// Required. The parent, which owns this collection of CreativeTemplates.
|
|
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 `CreativeTemplates` to return. The service
|
|
82
|
+
// may return fewer than this value. If unspecified, at most 50
|
|
83
|
+
// `CreativeTemplates` 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 `ListCreativeTemplates`
|
|
88
|
+
// call. Provide this to retrieve the subsequent page.
|
|
89
|
+
//
|
|
90
|
+
// When paginating, all other parameters provided to `ListCreativeTemplates`
|
|
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 `ListCreativeTemplatesRequest` containing matching
|
|
109
|
+
// `CreativeTemplate` objects.
|
|
110
|
+
message ListCreativeTemplatesResponse {
|
|
111
|
+
// The `CreativeTemplate` objects from the specified network.
|
|
112
|
+
repeated CreativeTemplate creative_templates = 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 `CreativeTemplate` 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
|
+
}
|
|
@@ -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 = "CreativeTemplateVariableUrlTypeEnumProto";
|
|
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
|
+
// [CreativeTemplateVariableUrlType][google.ads.admanager.v1.CreativeTemplateVariableUrlTypeEnum.CreativeTemplateVariableUrlType]
|
|
29
|
+
message CreativeTemplateVariableUrlTypeEnum {
|
|
30
|
+
// Types of URLs that a UrlCreativeTemplateVariable can represent.
|
|
31
|
+
enum CreativeTemplateVariableUrlType {
|
|
32
|
+
// Default value. This value is unused.
|
|
33
|
+
CREATIVE_TEMPLATE_VARIABLE_URL_TYPE_UNSPECIFIED = 0;
|
|
34
|
+
|
|
35
|
+
// Click tracking URL.
|
|
36
|
+
CLICK_TRACKER = 1;
|
|
37
|
+
|
|
38
|
+
// Deep-link URL.
|
|
39
|
+
DEEPLINK = 2;
|
|
40
|
+
|
|
41
|
+
// Impression tracking URL.
|
|
42
|
+
IMPRESSION_TRACKER = 3;
|
|
43
|
+
|
|
44
|
+
// Standard HTTP URL.
|
|
45
|
+
STANDARD_HTTP = 4;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -78,8 +78,11 @@ message CustomField {
|
|
|
78
78
|
|
|
79
79
|
// An option for a drop-down `CustomField`.
|
|
80
80
|
message CustomFieldOption {
|
|
81
|
-
//
|
|
82
|
-
int64 custom_field_option_id = 1 [
|
|
81
|
+
// Optional. Non-empty default. `CustomFieldOption` ID.
|
|
82
|
+
int64 custom_field_option_id = 1 [
|
|
83
|
+
(google.api.field_behavior) = OPTIONAL,
|
|
84
|
+
(google.api.field_behavior) = NON_EMPTY_DEFAULT
|
|
85
|
+
];
|
|
83
86
|
|
|
84
87
|
// Required. The display name of the `CustomFieldOption`.
|
|
85
88
|
//
|
|
@@ -21,6 +21,7 @@ import "google/api/annotations.proto";
|
|
|
21
21
|
import "google/api/client.proto";
|
|
22
22
|
import "google/api/field_behavior.proto";
|
|
23
23
|
import "google/api/resource.proto";
|
|
24
|
+
import "google/protobuf/field_mask.proto";
|
|
24
25
|
|
|
25
26
|
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
26
27
|
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
@@ -52,6 +53,64 @@ service CustomFieldService {
|
|
|
52
53
|
};
|
|
53
54
|
option (google.api.method_signature) = "parent";
|
|
54
55
|
}
|
|
56
|
+
|
|
57
|
+
// API to create a `CustomField` object.
|
|
58
|
+
rpc CreateCustomField(CreateCustomFieldRequest) returns (CustomField) {
|
|
59
|
+
option (google.api.http) = {
|
|
60
|
+
post: "/v1/{parent=networks/*}/customFields"
|
|
61
|
+
body: "custom_field"
|
|
62
|
+
};
|
|
63
|
+
option (google.api.method_signature) = "parent,custom_field";
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// API to batch create `CustomField` objects.
|
|
67
|
+
rpc BatchCreateCustomFields(BatchCreateCustomFieldsRequest)
|
|
68
|
+
returns (BatchCreateCustomFieldsResponse) {
|
|
69
|
+
option (google.api.http) = {
|
|
70
|
+
post: "/v1/{parent=networks/*}/customFields:batchCreate"
|
|
71
|
+
body: "*"
|
|
72
|
+
};
|
|
73
|
+
option (google.api.method_signature) = "parent,requests";
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// API to update a `CustomField` object.
|
|
77
|
+
rpc UpdateCustomField(UpdateCustomFieldRequest) returns (CustomField) {
|
|
78
|
+
option (google.api.http) = {
|
|
79
|
+
patch: "/v1/{custom_field.name=networks/*/customFields/*}"
|
|
80
|
+
body: "custom_field"
|
|
81
|
+
};
|
|
82
|
+
option (google.api.method_signature) = "custom_field,update_mask";
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// API to batch update `CustomField` objects.
|
|
86
|
+
rpc BatchUpdateCustomFields(BatchUpdateCustomFieldsRequest)
|
|
87
|
+
returns (BatchUpdateCustomFieldsResponse) {
|
|
88
|
+
option (google.api.http) = {
|
|
89
|
+
post: "/v1/{parent=networks/*}/customFields:batchUpdate"
|
|
90
|
+
body: "*"
|
|
91
|
+
};
|
|
92
|
+
option (google.api.method_signature) = "parent,requests";
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Activates a list of `CustomField` objects.
|
|
96
|
+
rpc BatchActivateCustomFields(BatchActivateCustomFieldsRequest)
|
|
97
|
+
returns (BatchActivateCustomFieldsResponse) {
|
|
98
|
+
option (google.api.http) = {
|
|
99
|
+
post: "/v1/{parent=networks/*}/customFields:batchActivate"
|
|
100
|
+
body: "*"
|
|
101
|
+
};
|
|
102
|
+
option (google.api.method_signature) = "parent,names";
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Deactivates a list of `CustomField` objects.
|
|
106
|
+
rpc BatchDeactivateCustomFields(BatchDeactivateCustomFieldsRequest)
|
|
107
|
+
returns (BatchDeactivateCustomFieldsResponse) {
|
|
108
|
+
option (google.api.http) = {
|
|
109
|
+
post: "/v1/{parent=networks/*}/customFields:batchDeactivate"
|
|
110
|
+
body: "*"
|
|
111
|
+
};
|
|
112
|
+
option (google.api.method_signature) = "parent,names";
|
|
113
|
+
}
|
|
55
114
|
}
|
|
56
115
|
|
|
57
116
|
// Request object for `GetCustomField` method.
|
|
@@ -79,8 +138,8 @@ message ListCustomFieldsRequest {
|
|
|
79
138
|
|
|
80
139
|
// Optional. The maximum number of `CustomFields` to return. The service may
|
|
81
140
|
// return fewer than this value. If unspecified, at most 50 `CustomFields`
|
|
82
|
-
// will be returned. The maximum value is 1000; values
|
|
83
|
-
// coerced to 1000.
|
|
141
|
+
// will be returned. The maximum value is 1000; values greater than 1000 will
|
|
142
|
+
// be coerced to 1000.
|
|
84
143
|
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
85
144
|
|
|
86
145
|
// Optional. A page token, received from a previous `ListCustomFields` call.
|
|
@@ -118,7 +177,7 @@ message ListCustomFieldsResponse {
|
|
|
118
177
|
// If a filter was included in the request, this reflects the total number
|
|
119
178
|
// after the filtering is applied.
|
|
120
179
|
//
|
|
121
|
-
// `total_size`
|
|
180
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
122
181
|
// included in a response field mask. The response field mask can be provided
|
|
123
182
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
124
183
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -127,3 +186,126 @@ message ListCustomFieldsResponse {
|
|
|
127
186
|
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
128
187
|
int32 total_size = 3;
|
|
129
188
|
}
|
|
189
|
+
|
|
190
|
+
// Request object for `CreateCustomField` method.
|
|
191
|
+
message CreateCustomFieldRequest {
|
|
192
|
+
// Required. The parent resource where this `CustomField` will be created.
|
|
193
|
+
// Format: `networks/{network_code}`
|
|
194
|
+
string parent = 1 [
|
|
195
|
+
(google.api.field_behavior) = REQUIRED,
|
|
196
|
+
(google.api.resource_reference) = {
|
|
197
|
+
type: "admanager.googleapis.com/Network"
|
|
198
|
+
}
|
|
199
|
+
];
|
|
200
|
+
|
|
201
|
+
// Required. The `CustomField` to create.
|
|
202
|
+
CustomField custom_field = 2 [(google.api.field_behavior) = REQUIRED];
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// Request object for `BatchCreateCustomFields` method.
|
|
206
|
+
message BatchCreateCustomFieldsRequest {
|
|
207
|
+
// Required. The parent resource where `CustomFields` will be created.
|
|
208
|
+
// Format: `networks/{network_code}`
|
|
209
|
+
// The parent field in the CreateCustomFieldRequest must match this
|
|
210
|
+
// field.
|
|
211
|
+
string parent = 1 [
|
|
212
|
+
(google.api.field_behavior) = REQUIRED,
|
|
213
|
+
(google.api.resource_reference) = {
|
|
214
|
+
type: "admanager.googleapis.com/Network"
|
|
215
|
+
}
|
|
216
|
+
];
|
|
217
|
+
|
|
218
|
+
// Required. The `CustomField` objects to create.
|
|
219
|
+
// A maximum of 100 objects can be created in a batch.
|
|
220
|
+
repeated CreateCustomFieldRequest requests = 2
|
|
221
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// Response object for `BatchCreateCustomFields` method.
|
|
225
|
+
message BatchCreateCustomFieldsResponse {
|
|
226
|
+
// The `CustomField` objects created.
|
|
227
|
+
repeated CustomField custom_fields = 1;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// Request object for `UpdateCustomField` method.
|
|
231
|
+
message UpdateCustomFieldRequest {
|
|
232
|
+
// Required. The `CustomField` to update.
|
|
233
|
+
//
|
|
234
|
+
// The `CustomField`'s `name` is used to identify the `CustomField` to update.
|
|
235
|
+
CustomField custom_field = 1 [(google.api.field_behavior) = REQUIRED];
|
|
236
|
+
|
|
237
|
+
// Required. The list of fields to update.
|
|
238
|
+
google.protobuf.FieldMask update_mask = 2
|
|
239
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// Request object for `BatchUpdateCustomFields` method.
|
|
243
|
+
message BatchUpdateCustomFieldsRequest {
|
|
244
|
+
// Required. The parent resource where `CustomFields` will be updated.
|
|
245
|
+
// Format: `networks/{network_code}`
|
|
246
|
+
// The parent field in the UpdateCustomFieldRequest must match this
|
|
247
|
+
// field.
|
|
248
|
+
string parent = 1 [
|
|
249
|
+
(google.api.field_behavior) = REQUIRED,
|
|
250
|
+
(google.api.resource_reference) = {
|
|
251
|
+
type: "admanager.googleapis.com/Network"
|
|
252
|
+
}
|
|
253
|
+
];
|
|
254
|
+
|
|
255
|
+
// Required. The `CustomField` objects to update.
|
|
256
|
+
// A maximum of 100 objects can be updated in a batch.
|
|
257
|
+
repeated UpdateCustomFieldRequest requests = 2
|
|
258
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// Response object for `BatchUpdateCustomFields` method.
|
|
262
|
+
message BatchUpdateCustomFieldsResponse {
|
|
263
|
+
// The `CustomField` objects updated.
|
|
264
|
+
repeated CustomField custom_fields = 1;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
// Request message for `BatchActivateCustomFields` method.
|
|
268
|
+
message BatchActivateCustomFieldsRequest {
|
|
269
|
+
// Required. Format: `networks/{network_code}`
|
|
270
|
+
string parent = 1 [
|
|
271
|
+
(google.api.field_behavior) = REQUIRED,
|
|
272
|
+
(google.api.resource_reference) = {
|
|
273
|
+
type: "admanager.googleapis.com/Network"
|
|
274
|
+
}
|
|
275
|
+
];
|
|
276
|
+
|
|
277
|
+
// Required. The resource names of the `CustomField` objects to activate.
|
|
278
|
+
// Format: `networks/{network_code}/customFields/{custom_field_id}`
|
|
279
|
+
repeated string names = 3 [
|
|
280
|
+
(google.api.field_behavior) = REQUIRED,
|
|
281
|
+
(google.api.resource_reference) = {
|
|
282
|
+
type: "admanager.googleapis.com/CustomField"
|
|
283
|
+
}
|
|
284
|
+
];
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// Response object for `BatchActivateCustomFields` method.
|
|
288
|
+
message BatchActivateCustomFieldsResponse {}
|
|
289
|
+
|
|
290
|
+
// Request message for `BatchDeactivateCustomFields` method.
|
|
291
|
+
message BatchDeactivateCustomFieldsRequest {
|
|
292
|
+
// Required. Format: `networks/{network_code}`
|
|
293
|
+
string parent = 1 [
|
|
294
|
+
(google.api.field_behavior) = REQUIRED,
|
|
295
|
+
(google.api.resource_reference) = {
|
|
296
|
+
type: "admanager.googleapis.com/Network"
|
|
297
|
+
}
|
|
298
|
+
];
|
|
299
|
+
|
|
300
|
+
// Required. The resource names of the `CustomField` objects to deactivate.
|
|
301
|
+
// Format: `networks/{network_code}/customFields/{custom_field_id}`
|
|
302
|
+
repeated string names = 3 [
|
|
303
|
+
(google.api.field_behavior) = REQUIRED,
|
|
304
|
+
(google.api.resource_reference) = {
|
|
305
|
+
type: "admanager.googleapis.com/CustomField"
|
|
306
|
+
}
|
|
307
|
+
];
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// Response object for `BatchDeactivateCustomFields` method.
|
|
311
|
+
message BatchDeactivateCustomFieldsResponse {}
|
|
@@ -43,27 +43,28 @@ message CustomTargetingKey {
|
|
|
43
43
|
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
44
44
|
|
|
45
45
|
// Output only. `CustomTargetingKey` ID.
|
|
46
|
-
int64 custom_targeting_key_id = 2
|
|
46
|
+
optional int64 custom_targeting_key_id = 2
|
|
47
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
47
48
|
|
|
48
49
|
// Immutable. Name of the key. Keys can contain up to 10 characters each. You
|
|
49
50
|
// can use alphanumeric characters and symbols other than the following:
|
|
50
51
|
// ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character.
|
|
51
|
-
string ad_tag_name = 3 [(google.api.field_behavior) = IMMUTABLE];
|
|
52
|
+
optional string ad_tag_name = 3 [(google.api.field_behavior) = IMMUTABLE];
|
|
52
53
|
|
|
53
54
|
// Optional. Descriptive name for the `CustomTargetingKey`.
|
|
54
|
-
string display_name = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
55
|
+
optional string display_name = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
55
56
|
|
|
56
57
|
// Required. Indicates whether users will select from predefined values or
|
|
57
58
|
// create new targeting values, while specifying targeting criteria for a line
|
|
58
59
|
// item.
|
|
59
|
-
CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5
|
|
60
|
+
optional CustomTargetingKeyTypeEnum.CustomTargetingKeyType type = 5
|
|
60
61
|
[(google.api.field_behavior) = REQUIRED];
|
|
61
62
|
|
|
62
63
|
// Output only. Status of the `CustomTargetingKey`.
|
|
63
|
-
CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6
|
|
64
|
+
optional CustomTargetingKeyStatusEnum.CustomTargetingKeyStatus status = 6
|
|
64
65
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
65
66
|
|
|
66
67
|
// Required. Reportable state of the `CustomTargetingKey`.
|
|
67
|
-
CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType
|
|
68
|
+
optional CustomTargetingKeyReportableTypeEnum.CustomTargetingKeyReportableType
|
|
68
69
|
reportable_type = 7 [(google.api.field_behavior) = REQUIRED];
|
|
69
70
|
}
|
|
@@ -120,7 +120,7 @@ message ListCustomTargetingKeysResponse {
|
|
|
120
120
|
// If a filter was included in the request, this reflects the total number
|
|
121
121
|
// after the filtering is applied.
|
|
122
122
|
//
|
|
123
|
-
// `total_size`
|
|
123
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
124
124
|
// included in a response field mask. The response field mask can be provided
|
|
125
125
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
126
126
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -45,7 +45,7 @@ message CustomTargetingValue {
|
|
|
45
45
|
// Required. Immutable. The resource name of the `CustomTargetingKey`.
|
|
46
46
|
// Format:
|
|
47
47
|
// `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
|
|
48
|
-
string custom_targeting_key = 8 [
|
|
48
|
+
optional string custom_targeting_key = 8 [
|
|
49
49
|
(google.api.field_behavior) = REQUIRED,
|
|
50
50
|
(google.api.field_behavior) = IMMUTABLE,
|
|
51
51
|
(google.api.resource_reference) = {
|
|
@@ -58,20 +58,20 @@ message CustomTargetingValue {
|
|
|
58
58
|
// the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are
|
|
59
59
|
// not data-specific; all values are treated as strings. For example, instead
|
|
60
60
|
// of using "age>=18 AND <=34", try "18-34"
|
|
61
|
-
string ad_tag_name = 4 [(google.api.field_behavior) = IMMUTABLE];
|
|
61
|
+
optional string ad_tag_name = 4 [(google.api.field_behavior) = IMMUTABLE];
|
|
62
62
|
|
|
63
63
|
// Optional. Descriptive name for the `CustomTargetingValue`.
|
|
64
|
-
string display_name = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
64
|
+
optional string display_name = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
65
65
|
|
|
66
66
|
// Required. Immutable. The way in which the CustomTargetingValue.name strings
|
|
67
67
|
// will be matched.
|
|
68
|
-
CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType
|
|
69
|
-
[
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
optional CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType
|
|
69
|
+
match_type = 6 [
|
|
70
|
+
(google.api.field_behavior) = IMMUTABLE,
|
|
71
|
+
(google.api.field_behavior) = REQUIRED
|
|
72
|
+
];
|
|
73
73
|
|
|
74
74
|
// Output only. Status of the `CustomTargetingValue`.
|
|
75
|
-
CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7
|
|
75
|
+
optional CustomTargetingValueStatusEnum.CustomTargetingValueStatus status = 7
|
|
76
76
|
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
77
77
|
}
|
|
@@ -129,7 +129,7 @@ message ListCustomTargetingValuesResponse {
|
|
|
129
129
|
// If a filter was included in the request, this reflects the total number
|
|
130
130
|
// after the filtering is applied.
|
|
131
131
|
//
|
|
132
|
-
// `total_size`
|
|
132
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
133
133
|
// included in a response field mask. The response field mask can be provided
|
|
134
134
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
135
135
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -0,0 +1,45 @@
|
|
|
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 = "DeviceCapabilityMessagesProto";
|
|
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 device capability.
|
|
31
|
+
message DeviceCapability {
|
|
32
|
+
option (google.api.resource) = {
|
|
33
|
+
type: "admanager.googleapis.com/DeviceCapability"
|
|
34
|
+
pattern: "networks/{network_code}/deviceCapabilities/{device_capability}"
|
|
35
|
+
plural: "deviceCapabilities"
|
|
36
|
+
singular: "deviceCapability"
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// Identifier. The resource name of the `DeviceCapability`.
|
|
40
|
+
// Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}`
|
|
41
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
42
|
+
|
|
43
|
+
// Output only. The localized name of the device capability.
|
|
44
|
+
optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
45
|
+
}
|