@google-ads/admanager 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +152 -173
- package/build/protos/google/ads/admanager/v1/ad_break_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_messages.proto +62 -0
- package/build/protos/google/ads/admanager/v1/ad_review_center_ad_service.proto +237 -0
- package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +7 -7
- package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +6 -6
- package/build/protos/google/ads/admanager/v1/application_messages.proto +47 -0
- package/build/protos/google/ads/admanager/v1/application_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_messages.proto +49 -0
- package/build/protos/google/ads/admanager/v1/audience_segment_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/bandwidth_group_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/browser_language_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/browser_language_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/browser_messages.proto +51 -0
- package/build/protos/google/ads/admanager/v1/browser_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_enums.proto +41 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_messages.proto +50 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_key_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_enums.proto +44 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_messages.proto +61 -0
- package/build/protos/google/ads/admanager/v1/cms_metadata_value_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/company_messages.proto +14 -12
- package/build/protos/google/ads/admanager/v1/company_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/contact_enums.proto +57 -0
- package/build/protos/google/ads/admanager/v1/contact_messages.proto +45 -2
- package/build/protos/google/ads/admanager/v1/contact_service.proto +244 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_messages.proto +53 -0
- package/build/protos/google/ads/admanager/v1/content_bundle_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_label_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_label_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/content_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/content_service.proto +128 -0
- package/build/protos/google/ads/admanager/v1/creative_template_enums.proto +63 -0
- package/build/protos/google/ads/admanager/v1/creative_template_messages.proto +253 -0
- package/build/protos/google/ads/admanager/v1/creative_template_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/creative_template_variable_url_type_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +5 -2
- package/build/protos/google/ads/admanager/v1/custom_field_service.proto +185 -3
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +7 -6
- package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +9 -9
- package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/device_capability_messages.proto +45 -0
- package/build/protos/google/ads/admanager/v1/device_capability_service.proto +130 -0
- package/build/protos/google/ads/admanager/v1/device_category_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/device_manufacturer_messages.proto +46 -0
- package/build/protos/google/ads/admanager/v1/device_manufacturer_service.proto +131 -0
- package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/exchange_syndication_product_enum.proto +47 -0
- package/build/protos/google/ads/admanager/v1/geo_target_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/mobile_carrier_messages.proto +48 -0
- package/build/protos/google/ads/admanager/v1/mobile_carrier_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_messages.proto +54 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_service.proto +129 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_messages.proto +55 -0
- package/build/protos/google/ads/admanager/v1/mobile_device_submodel_service.proto +133 -0
- package/build/protos/google/ads/admanager/v1/operating_system_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/operating_system_version_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/order_messages.proto +7 -8
- package/build/protos/google/ads/admanager/v1/order_service.proto +3 -3
- package/build/protos/google/ads/admanager/v1/placement_service.proto +220 -3
- package/build/protos/google/ads/admanager/v1/private_auction_deal_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/private_auction_service.proto +2 -2
- package/build/protos/google/ads/admanager/v1/programmatic_buyer_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/report_definition.proto +12478 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +118 -3410
- package/build/protos/google/ads/admanager/v1/report_service.proto +10 -8
- package/build/protos/google/ads/admanager/v1/report_value.proto +73 -0
- package/build/protos/google/ads/admanager/v1/role_service.proto +3 -2
- package/build/protos/google/ads/admanager/v1/site_enums.proto +72 -0
- package/build/protos/google/ads/admanager/v1/site_messages.proto +77 -0
- package/build/protos/google/ads/admanager/v1/site_service.proto +295 -0
- package/build/protos/google/ads/admanager/v1/targeting.proto +311 -0
- package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +1 -1
- package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +3 -0
- package/build/protos/google/ads/admanager/v1/team_enums.proto +62 -0
- package/build/protos/google/ads/admanager/v1/team_messages.proto +30 -0
- package/build/protos/google/ads/admanager/v1/team_service.proto +303 -0
- package/build/protos/google/ads/admanager/v1/web_property.proto +54 -0
- package/build/protos/protos.d.ts +30764 -11410
- package/build/protos/protos.js +93644 -43318
- package/build/protos/protos.json +9909 -3734
- package/build/src/index.d.ts +58 -1
- package/build/src/index.js +40 -2
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +441 -0
- package/build/src/v1/ad_break_service_client.js +624 -0
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +49 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +1607 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +2291 -0
- package/build/src/v1/ad_review_center_ad_service_client.js.map +1 -0
- package/build/src/v1/ad_review_center_ad_service_client_config.json +38 -0
- package/build/src/v1/ad_review_center_ad_service_proto_list.json +122 -0
- package/build/src/v1/ad_unit_service_client.d.ts +453 -12
- package/build/src/v1/ad_unit_service_client.js +632 -8
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_proto_list.json +49 -1
- package/build/src/v1/application_service_client.d.ts +1345 -0
- package/build/src/v1/application_service_client.js +1993 -0
- package/build/src/v1/application_service_client.js.map +1 -0
- package/build/src/v1/application_service_client_config.json +34 -0
- package/build/src/v1/application_service_proto_list.json +122 -0
- package/build/src/v1/audience_segment_service_client.d.ts +1345 -0
- package/build/src/v1/audience_segment_service_client.js +1993 -0
- package/build/src/v1/audience_segment_service_client.js.map +1 -0
- package/build/src/v1/audience_segment_service_client_config.json +34 -0
- package/build/src/v1/audience_segment_service_proto_list.json +122 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +447 -6
- package/build/src/v1/bandwidth_group_service_client.js +628 -4
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +49 -1
- package/build/src/v1/browser_language_service_client.d.ts +1345 -0
- package/build/src/v1/browser_language_service_client.js +1993 -0
- package/build/src/v1/browser_language_service_client.js.map +1 -0
- package/build/src/v1/browser_language_service_client_config.json +34 -0
- package/build/src/v1/browser_language_service_proto_list.json +122 -0
- package/build/src/v1/browser_service_client.d.ts +1345 -0
- package/build/src/v1/browser_service_client.js +1993 -0
- package/build/src/v1/browser_service_client.js.map +1 -0
- package/build/src/v1/browser_service_client_config.json +34 -0
- package/build/src/v1/browser_service_proto_list.json +122 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_key_service_client.js +1993 -0
- package/build/src/v1/cms_metadata_key_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_key_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_key_service_proto_list.json +122 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +1345 -0
- package/build/src/v1/cms_metadata_value_service_client.js +1993 -0
- package/build/src/v1/cms_metadata_value_service_client.js.map +1 -0
- package/build/src/v1/cms_metadata_value_service_client_config.json +34 -0
- package/build/src/v1/cms_metadata_value_service_proto_list.json +122 -0
- package/build/src/v1/company_service_client.d.ts +447 -6
- package/build/src/v1/company_service_client.js +628 -4
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +49 -1
- package/build/src/v1/contact_service_client.d.ts +1456 -0
- package/build/src/v1/contact_service_client.js +2137 -0
- package/build/src/v1/contact_service_client.js.map +1 -0
- package/build/src/v1/contact_service_client_config.json +50 -0
- package/build/src/v1/contact_service_proto_list.json +122 -0
- package/build/src/v1/content_bundle_service_client.d.ts +1345 -0
- package/build/src/v1/content_bundle_service_client.js +1993 -0
- package/build/src/v1/content_bundle_service_client.js.map +1 -0
- package/build/src/v1/content_bundle_service_client_config.json +34 -0
- package/build/src/v1/content_bundle_service_proto_list.json +122 -0
- package/build/src/v1/content_label_service_client.d.ts +1345 -0
- package/build/src/v1/content_label_service_client.js +1993 -0
- package/build/src/v1/content_label_service_client.js.map +1 -0
- package/build/src/v1/content_label_service_client_config.json +34 -0
- package/build/src/v1/content_label_service_proto_list.json +122 -0
- package/build/src/v1/content_service_client.d.ts +1345 -0
- package/build/src/v1/content_service_client.js +1993 -0
- package/build/src/v1/content_service_client.js.map +1 -0
- package/build/src/v1/content_service_client_config.json +34 -0
- package/build/src/v1/content_service_proto_list.json +122 -0
- package/build/src/v1/creative_template_service_client.d.ts +1345 -0
- package/build/src/v1/creative_template_service_client.js +1993 -0
- package/build/src/v1/creative_template_service_client.js.map +1 -0
- package/build/src/v1/creative_template_service_client_config.json +34 -0
- package/build/src/v1/creative_template_service_proto_list.json +122 -0
- package/build/src/v1/custom_field_service_client.d.ts +610 -6
- package/build/src/v1/custom_field_service_client.js +845 -5
- package/build/src/v1/custom_field_service_client.js.map +1 -1
- package/build/src/v1/custom_field_service_client_config.json +24 -0
- package/build/src/v1/custom_field_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_key_service_client.js +624 -0
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_proto_list.json +49 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +441 -0
- package/build/src/v1/custom_targeting_value_service_client.js +624 -0
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +49 -1
- package/build/src/v1/device_capability_service_client.d.ts +1345 -0
- package/build/src/v1/device_capability_service_client.js +1993 -0
- package/build/src/v1/device_capability_service_client.js.map +1 -0
- package/build/src/v1/device_capability_service_client_config.json +34 -0
- package/build/src/v1/device_capability_service_proto_list.json +122 -0
- package/build/src/v1/device_category_service_client.d.ts +444 -3
- package/build/src/v1/device_category_service_client.js +626 -2
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +49 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +1346 -0
- package/build/src/v1/device_manufacturer_service_client.js +1993 -0
- package/build/src/v1/device_manufacturer_service_client.js.map +1 -0
- package/build/src/v1/device_manufacturer_service_client_config.json +34 -0
- package/build/src/v1/device_manufacturer_service_proto_list.json +122 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +441 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +624 -0
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +49 -1
- package/build/src/v1/gapic_metadata.json +1026 -4
- package/build/src/v1/geo_target_service_client.d.ts +447 -6
- package/build/src/v1/geo_target_service_client.js +628 -4
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +49 -1
- package/build/src/v1/index.d.ts +19 -0
- package/build/src/v1/index.js +39 -1
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/mobile_carrier_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_carrier_service_client.js +1993 -0
- package/build/src/v1/mobile_carrier_service_client.js.map +1 -0
- package/build/src/v1/mobile_carrier_service_client_config.json +34 -0
- package/build/src/v1/mobile_carrier_service_proto_list.json +122 -0
- package/build/src/v1/mobile_device_service_client.d.ts +1345 -0
- package/build/src/v1/mobile_device_service_client.js +1993 -0
- package/build/src/v1/mobile_device_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_service_proto_list.json +122 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +1352 -0
- package/build/src/v1/mobile_device_submodel_service_client.js +1997 -0
- package/build/src/v1/mobile_device_submodel_service_client.js.map +1 -0
- package/build/src/v1/mobile_device_submodel_service_client_config.json +34 -0
- package/build/src/v1/mobile_device_submodel_service_proto_list.json +122 -0
- package/build/src/v1/network_service_client.d.ts +441 -0
- package/build/src/v1/network_service_client.js +624 -0
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_service_client.js +626 -2
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +49 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +444 -3
- package/build/src/v1/operating_system_version_service_client.js +626 -2
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +49 -1
- package/build/src/v1/order_service_client.d.ts +447 -6
- package/build/src/v1/order_service_client.js +628 -4
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +49 -1
- package/build/src/v1/placement_service_client.d.ts +638 -6
- package/build/src/v1/placement_service_client.js +937 -61
- package/build/src/v1/placement_service_client.js.map +1 -1
- package/build/src/v1/placement_service_client_config.json +28 -0
- package/build/src/v1/placement_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_deal_service_client.js +626 -2
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +49 -1
- package/build/src/v1/private_auction_service_client.d.ts +444 -3
- package/build/src/v1/private_auction_service_client.js +626 -2
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +49 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +441 -0
- package/build/src/v1/programmatic_buyer_service_client.js +624 -0
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +49 -1
- package/build/src/v1/report_service_client.d.ts +461 -17
- package/build/src/v1/report_service_client.js +634 -8
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +49 -1
- package/build/src/v1/role_service_client.d.ts +447 -3
- package/build/src/v1/role_service_client.js +628 -2
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +49 -1
- package/build/src/v1/site_service_client.d.ts +1506 -0
- package/build/src/v1/site_service_client.js +2209 -0
- package/build/src/v1/site_service_client.js.map +1 -0
- package/build/src/v1/site_service_client_config.json +58 -0
- package/build/src/v1/site_service_proto_list.json +122 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +441 -0
- package/build/src/v1/taxonomy_category_service_client.js +624 -0
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +49 -1
- package/build/src/v1/team_service_client.d.ts +1508 -0
- package/build/src/v1/team_service_client.js +2209 -0
- package/build/src/v1/team_service_client.js.map +1 -0
- package/build/src/v1/team_service_client_config.json +58 -0
- package/build/src/v1/team_service_proto_list.json +122 -0
- package/build/src/v1/user_service_client.d.ts +441 -0
- package/build/src/v1/user_service_client.js +624 -0
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +49 -1
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
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/ad_review_center_ad_enums.proto";
|
|
20
|
+
import "google/ads/admanager/v1/exchange_syndication_product_enum.proto";
|
|
21
|
+
import "google/api/field_behavior.proto";
|
|
22
|
+
import "google/api/resource.proto";
|
|
23
|
+
|
|
24
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
25
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
26
|
+
option java_multiple_files = true;
|
|
27
|
+
option java_outer_classname = "AdReviewCenterAdMessagesProto";
|
|
28
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
29
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
30
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
31
|
+
|
|
32
|
+
// Represents an ad that can be acted on or viewed in the Ad Review Center.
|
|
33
|
+
// [AdReviewCenterAd][google.ads.admanager.v1.AdReviewCenterAd].
|
|
34
|
+
message AdReviewCenterAd {
|
|
35
|
+
option (google.api.resource) = {
|
|
36
|
+
type: "admanager.googleapis.com/AdReviewCenterAd"
|
|
37
|
+
pattern: "networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad}"
|
|
38
|
+
plural: "adReviewCenterAds"
|
|
39
|
+
singular: "adReviewCenterAd"
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// Identifier. The resource name of the AdReviewCenterAd.
|
|
43
|
+
// Format:
|
|
44
|
+
// `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}`
|
|
45
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
46
|
+
|
|
47
|
+
// Output only. `AdReviewCenterAd` ID.
|
|
48
|
+
string ad_review_center_ad_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
49
|
+
|
|
50
|
+
// Output only. Specifies the ExchangeSyndicationProduct for this
|
|
51
|
+
// AdReviewCenterAd.
|
|
52
|
+
ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3
|
|
53
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
54
|
+
|
|
55
|
+
// The status of the AdReviewCenterAd.
|
|
56
|
+
AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4;
|
|
57
|
+
|
|
58
|
+
// Output only. The preview URL that can be embedded or accessed directly
|
|
59
|
+
// which will present the rendered contents of the ad. (This URL expires 72
|
|
60
|
+
// hours after being retrieved.).
|
|
61
|
+
optional string preview_url = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
62
|
+
}
|
|
@@ -0,0 +1,237 @@
|
|
|
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/ad_review_center_ad_enums.proto";
|
|
20
|
+
import "google/ads/admanager/v1/ad_review_center_ad_messages.proto";
|
|
21
|
+
import "google/api/annotations.proto";
|
|
22
|
+
import "google/api/client.proto";
|
|
23
|
+
import "google/api/field_behavior.proto";
|
|
24
|
+
import "google/api/resource.proto";
|
|
25
|
+
import "google/longrunning/operations.proto";
|
|
26
|
+
import "google/rpc/status.proto";
|
|
27
|
+
import "google/type/interval.proto";
|
|
28
|
+
|
|
29
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
30
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
31
|
+
option java_multiple_files = true;
|
|
32
|
+
option java_outer_classname = "AdReviewCenterAdServiceProto";
|
|
33
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
34
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
35
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
36
|
+
|
|
37
|
+
// Provides methods for handling AdReviewCenterAd objects.
|
|
38
|
+
service AdReviewCenterAdService {
|
|
39
|
+
option (google.api.default_host) = "admanager.googleapis.com";
|
|
40
|
+
option (google.api.oauth_scopes) =
|
|
41
|
+
"https://www.googleapis.com/auth/admanager";
|
|
42
|
+
|
|
43
|
+
// API to search for AdReviewCenterAds.
|
|
44
|
+
rpc SearchAdReviewCenterAds(SearchAdReviewCenterAdsRequest)
|
|
45
|
+
returns (SearchAdReviewCenterAdsResponse) {
|
|
46
|
+
option (google.api.http) = {
|
|
47
|
+
get: "/v1/{parent=networks/*/webProperties/*}/adReviewCenterAds:search"
|
|
48
|
+
};
|
|
49
|
+
option (google.api.method_signature) = "parent";
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// API to batch allow AdReviewCenterAds.
|
|
53
|
+
// This method supports partial success. Some operations may succeed while
|
|
54
|
+
// others fail. Callers should check the failedRequests field in the response
|
|
55
|
+
// to determine which operations failed.
|
|
56
|
+
rpc BatchAllowAdReviewCenterAds(BatchAllowAdReviewCenterAdsRequest)
|
|
57
|
+
returns (google.longrunning.Operation) {
|
|
58
|
+
option (google.api.http) = {
|
|
59
|
+
post: "/v1/{parent=networks/*/webProperties/*}/adReviewCenterAds:batchAllow"
|
|
60
|
+
body: "*"
|
|
61
|
+
};
|
|
62
|
+
option (google.api.method_signature) = "parent";
|
|
63
|
+
option (google.longrunning.operation_info) = {
|
|
64
|
+
response_type: "BatchAllowAdReviewCenterAdsResponse"
|
|
65
|
+
metadata_type: "BatchAdReviewCenterAdsOperationMetadata"
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// API to batch block AdReviewCenterAds.
|
|
70
|
+
// This method supports partial success. Some operations may succeed while
|
|
71
|
+
// others fail. Callers should check the failedRequests field in the response
|
|
72
|
+
// to determine which operations failed.
|
|
73
|
+
rpc BatchBlockAdReviewCenterAds(BatchBlockAdReviewCenterAdsRequest)
|
|
74
|
+
returns (google.longrunning.Operation) {
|
|
75
|
+
option (google.api.http) = {
|
|
76
|
+
post: "/v1/{parent=networks/*/webProperties/*}/adReviewCenterAds:batchBlock"
|
|
77
|
+
body: "*"
|
|
78
|
+
};
|
|
79
|
+
option (google.api.method_signature) = "parent";
|
|
80
|
+
option (google.longrunning.operation_info) = {
|
|
81
|
+
response_type: "BatchBlockAdReviewCenterAdsResponse"
|
|
82
|
+
metadata_type: "BatchAdReviewCenterAdsOperationMetadata"
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Request object for `SearchAdReviewCenterAds` method.
|
|
88
|
+
message SearchAdReviewCenterAdsRequest {
|
|
89
|
+
// Required. The parent, which owns this collection of AdReviewCenterAds.
|
|
90
|
+
// Format: networks/{network_code}/webProperties/{web_property_code}
|
|
91
|
+
//
|
|
92
|
+
// Since a network can only have a single web property of each
|
|
93
|
+
// `ExchangeSyndicationProduct`, you can use the
|
|
94
|
+
// `ExchangeSyndicationProduct` as an alias for the web property code:
|
|
95
|
+
//
|
|
96
|
+
// `networks/{network_code}/webProperties/display`
|
|
97
|
+
//
|
|
98
|
+
// `networks/{network_code}/webProperties/videoAndAudio`
|
|
99
|
+
//
|
|
100
|
+
// `networks/{network_code}/webProperties/mobileApp`
|
|
101
|
+
//
|
|
102
|
+
// `networks/{network_code}/webProperties/games`
|
|
103
|
+
string parent = 1 [
|
|
104
|
+
(google.api.field_behavior) = REQUIRED,
|
|
105
|
+
(google.api.resource_reference) = {
|
|
106
|
+
type: "admanager.googleapis.com/WebProperty"
|
|
107
|
+
}
|
|
108
|
+
];
|
|
109
|
+
|
|
110
|
+
// Optional. The maximum number of AdReviewCenterAds to return. The service
|
|
111
|
+
// may return fewer than this value. If unspecified, at most 50
|
|
112
|
+
// AdReviewCenterAds will be returned. The maximum value is 1000; values
|
|
113
|
+
// greater than 1000 will be coerced to 1000.
|
|
114
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
115
|
+
|
|
116
|
+
// Optional. The page token to fetch the next page of AdReviewCenterAds. This
|
|
117
|
+
// is the value returned from a previous Search request, or empty.
|
|
118
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
119
|
+
|
|
120
|
+
// Required. Only return ads with the given status.
|
|
121
|
+
AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4
|
|
122
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
123
|
+
|
|
124
|
+
// Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
|
|
125
|
+
repeated string ad_review_center_ad_id = 5
|
|
126
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
127
|
+
|
|
128
|
+
// Optional. If provided, only return ads that served within the given date
|
|
129
|
+
// range (inclusive). The date range must be within the last 30 days. If not
|
|
130
|
+
// provided, the date range will be the last 30 days.
|
|
131
|
+
google.type.Interval date_time_range = 6
|
|
132
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
133
|
+
|
|
134
|
+
// Optional. If provided, restrict the search to AdReviewCenterAds associated
|
|
135
|
+
// with the text (including any text on the ad or in the destination URL). If
|
|
136
|
+
// more than one value is provided, the search will combine them in a logical
|
|
137
|
+
// AND. For example, ['car', 'blue'] will match ads that contain both "car"
|
|
138
|
+
// and "blue", but not an ad that only contains "car".
|
|
139
|
+
repeated string search_text = 7 [(google.api.field_behavior) = OPTIONAL];
|
|
140
|
+
|
|
141
|
+
// Optional. If provided, restrict the search to creatives belonging to one of
|
|
142
|
+
// the given Adx buyer account IDs. Only applicable to RTB creatives. Adx
|
|
143
|
+
// buyer account IDs can be found via the ProgrammaticBuyerService.
|
|
144
|
+
repeated int64 buyer_account_id = 8 [(google.api.field_behavior) = OPTIONAL];
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// Response object for `SearchAdReviewCenterAds` method.
|
|
148
|
+
message SearchAdReviewCenterAdsResponse {
|
|
149
|
+
// The AdReviewCenterAds that match the search request.
|
|
150
|
+
repeated AdReviewCenterAd ad_review_center_ads = 1;
|
|
151
|
+
|
|
152
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
153
|
+
// If this field is omitted, there are no subsequent pages.
|
|
154
|
+
string next_page_token = 2;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// Request object for `BatchAllowAdReviewCenterAds` method.
|
|
158
|
+
message BatchAllowAdReviewCenterAdsRequest {
|
|
159
|
+
// Required. The parent, which owns this collection of AdReviewCenterAds.
|
|
160
|
+
// Format: networks/{network_code}/webProperties/{web_property_code}
|
|
161
|
+
//
|
|
162
|
+
// Since a network can only have a single web property of each
|
|
163
|
+
// `ExchangeSyndicationProduct`, you can use the
|
|
164
|
+
// `ExchangeSyndicationProduct` as an alias for the web property code:
|
|
165
|
+
//
|
|
166
|
+
// `networks/{network_code}/webProperties/display`
|
|
167
|
+
//
|
|
168
|
+
// `networks/{network_code}/webProperties/videoAndAudio`
|
|
169
|
+
//
|
|
170
|
+
// `networks/{network_code}/webProperties/mobileApp`
|
|
171
|
+
//
|
|
172
|
+
// `networks/{network_code}/webProperties/games`
|
|
173
|
+
string parent = 1 [
|
|
174
|
+
(google.api.field_behavior) = REQUIRED,
|
|
175
|
+
(google.api.resource_reference) = {
|
|
176
|
+
type: "admanager.googleapis.com/WebProperty"
|
|
177
|
+
}
|
|
178
|
+
];
|
|
179
|
+
|
|
180
|
+
// Required. The resource names of the `AdReviewCenterAd`s to allow.
|
|
181
|
+
// Format:
|
|
182
|
+
// `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}`
|
|
183
|
+
repeated string names = 2 [
|
|
184
|
+
(google.api.field_behavior) = REQUIRED,
|
|
185
|
+
(google.api.resource_reference) = {
|
|
186
|
+
type: "admanager.googleapis.com/AdReviewCenterAd"
|
|
187
|
+
}
|
|
188
|
+
];
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// Response object for `BatchAllowAdReviewCenterAds` method.
|
|
192
|
+
message BatchAllowAdReviewCenterAdsResponse {}
|
|
193
|
+
|
|
194
|
+
// Request object for `BatchBlockAdReviewCenterAds` method.
|
|
195
|
+
message BatchBlockAdReviewCenterAdsRequest {
|
|
196
|
+
// Required. The parent, which owns this collection of AdReviewCenterAds.
|
|
197
|
+
// Format: networks/{network_code}/webProperties/{web_property_code}
|
|
198
|
+
//
|
|
199
|
+
// Since a network can only have a single web property of each
|
|
200
|
+
// `ExchangeSyndicationProduct`, you can use the
|
|
201
|
+
// `ExchangeSyndicationProduct` as an alias for the web property code:
|
|
202
|
+
//
|
|
203
|
+
// `networks/{network_code}/webProperties/display`
|
|
204
|
+
//
|
|
205
|
+
// `networks/{network_code}/webProperties/videoAndAudio`
|
|
206
|
+
//
|
|
207
|
+
// `networks/{network_code}/webProperties/mobileApp`
|
|
208
|
+
//
|
|
209
|
+
// `networks/{network_code}/webProperties/games`
|
|
210
|
+
string parent = 1 [
|
|
211
|
+
(google.api.field_behavior) = REQUIRED,
|
|
212
|
+
(google.api.resource_reference) = {
|
|
213
|
+
type: "admanager.googleapis.com/WebProperty"
|
|
214
|
+
}
|
|
215
|
+
];
|
|
216
|
+
|
|
217
|
+
// Required. The resource names of the `AdReviewCenterAd`s to block.
|
|
218
|
+
// Format:
|
|
219
|
+
// `networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}`
|
|
220
|
+
repeated string names = 2 [
|
|
221
|
+
(google.api.field_behavior) = REQUIRED,
|
|
222
|
+
(google.api.resource_reference) = {
|
|
223
|
+
type: "admanager.googleapis.com/AdReviewCenterAd"
|
|
224
|
+
}
|
|
225
|
+
];
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// Response object for `BatchBlockAdReviewCenterAds` method.
|
|
229
|
+
message BatchBlockAdReviewCenterAdsResponse {}
|
|
230
|
+
|
|
231
|
+
// Metadata object for `BatchAllowAdReviewCenterAds` and
|
|
232
|
+
// `BatchBlockAdReviewCenterAds` methods.
|
|
233
|
+
message BatchAdReviewCenterAdsOperationMetadata {
|
|
234
|
+
// The status of each failed request, keyed by the index of the corresponding
|
|
235
|
+
// request in the batch request.
|
|
236
|
+
map<int32, google.rpc.Status> failed_requests = 1;
|
|
237
|
+
}
|
|
@@ -191,10 +191,10 @@ message AdUnit {
|
|
|
191
191
|
// Represents the size, environment, and companions of an ad in an ad unit.
|
|
192
192
|
message AdUnitSize {
|
|
193
193
|
// Required. The Size of the AdUnit.
|
|
194
|
-
Size size = 1 [(google.api.field_behavior) = REQUIRED];
|
|
194
|
+
optional Size size = 1 [(google.api.field_behavior) = REQUIRED];
|
|
195
195
|
|
|
196
196
|
// Required. The EnvironmentType of the AdUnit
|
|
197
|
-
EnvironmentTypeEnum.EnvironmentType environment_type = 2
|
|
197
|
+
optional EnvironmentTypeEnum.EnvironmentType environment_type = 2
|
|
198
198
|
[(google.api.field_behavior) = REQUIRED];
|
|
199
199
|
|
|
200
200
|
// The companions for this ad unit size. Companions are only valid if the
|
|
@@ -207,7 +207,7 @@ message AdUnitSize {
|
|
|
207
207
|
message AdUnitParent {
|
|
208
208
|
// Output only. The parent of the current AdUnit
|
|
209
209
|
// Format: `networks/{network_code}/adUnits/{ad_unit_id}`
|
|
210
|
-
string parent_ad_unit = 1 [
|
|
210
|
+
optional string parent_ad_unit = 1 [
|
|
211
211
|
(google.api.field_behavior) = OUTPUT_ONLY,
|
|
212
212
|
(google.api.resource_reference) = {
|
|
213
213
|
type: "admanager.googleapis.com/AdUnit"
|
|
@@ -215,22 +215,22 @@ message AdUnitParent {
|
|
|
215
215
|
];
|
|
216
216
|
|
|
217
217
|
// Output only. The display name of the parent AdUnit.
|
|
218
|
-
string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
218
|
+
optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
219
219
|
|
|
220
220
|
// Output only. A string used to uniquely identify the ad unit for the
|
|
221
221
|
// purposes of serving the ad.
|
|
222
|
-
string ad_unit_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
222
|
+
optional string ad_unit_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
// Frequency cap using a label.
|
|
226
226
|
message LabelFrequencyCap {
|
|
227
227
|
// Required. The label to used for frequency capping.
|
|
228
228
|
// Format: "networks/{network_code}/labels/{label_id}"
|
|
229
|
-
string label = 1 [
|
|
229
|
+
optional string label = 1 [
|
|
230
230
|
(google.api.field_behavior) = REQUIRED,
|
|
231
231
|
(google.api.resource_reference) = { type: "admanager.googleapis.com/Label" }
|
|
232
232
|
];
|
|
233
233
|
|
|
234
234
|
// The frequency cap.
|
|
235
|
-
FrequencyCap frequency_cap = 2;
|
|
235
|
+
optional FrequencyCap frequency_cap = 2;
|
|
236
236
|
}
|
|
@@ -87,8 +87,8 @@ message ListAdUnitsRequest {
|
|
|
87
87
|
|
|
88
88
|
// Optional. The maximum number of AdUnits to return. The service may return
|
|
89
89
|
// fewer than this value. If unspecified, at most 50 ad units will be
|
|
90
|
-
// returned. The maximum value is 1000; values
|
|
91
|
-
// 1000.
|
|
90
|
+
// returned. The maximum value is 1000; values greater than 1000 will be
|
|
91
|
+
// coerced to 1000.
|
|
92
92
|
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
93
93
|
|
|
94
94
|
// Optional. A page token, received from a previous `ListAdUnits` call.
|
|
@@ -125,7 +125,7 @@ message ListAdUnitsResponse {
|
|
|
125
125
|
// If a filter was included in the request, this reflects the total number
|
|
126
126
|
// after the filtering is applied.
|
|
127
127
|
//
|
|
128
|
-
// `total_size`
|
|
128
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
129
129
|
// included in a response field mask. The response field mask can be provided
|
|
130
130
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
131
131
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -148,8 +148,8 @@ message ListAdUnitSizesRequest {
|
|
|
148
148
|
|
|
149
149
|
// Optional. The maximum number of AdUnitSizes to return. The service may
|
|
150
150
|
// return fewer than this value. If unspecified, at most 50 ad unit sizes will
|
|
151
|
-
// be returned. The maximum value is 1000; values
|
|
152
|
-
// to 1000.
|
|
151
|
+
// be returned. The maximum value is 1000; values greater than 1000 will be
|
|
152
|
+
// coerced to 1000.
|
|
153
153
|
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
154
154
|
|
|
155
155
|
// Optional. A page token, received from a previous `ListAdUnitSizes` call.
|
|
@@ -186,7 +186,7 @@ message ListAdUnitSizesResponse {
|
|
|
186
186
|
// If a filter was included in the request, this reflects the total number
|
|
187
187
|
// after the filtering is applied.
|
|
188
188
|
//
|
|
189
|
-
// `total_size`
|
|
189
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
190
190
|
// included in a response field mask. The response field mask can be provided
|
|
191
191
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
192
192
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.ads.admanager.v1;
|
|
18
|
+
|
|
19
|
+
import "google/api/field_behavior.proto";
|
|
20
|
+
import "google/api/resource.proto";
|
|
21
|
+
|
|
22
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
23
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
24
|
+
option java_multiple_files = true;
|
|
25
|
+
option java_outer_classname = "ApplicationMessagesProto";
|
|
26
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
27
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
28
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
29
|
+
|
|
30
|
+
// An application that has been added to or "claimed" by the network to be used
|
|
31
|
+
// for targeting purposes. These mobile apps can come from various app stores.
|
|
32
|
+
message Application {
|
|
33
|
+
option (google.api.resource) = {
|
|
34
|
+
type: "admanager.googleapis.com/Application"
|
|
35
|
+
pattern: "networks/{network_code}/applications/{application}"
|
|
36
|
+
plural: "applications"
|
|
37
|
+
singular: "application"
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// Identifier. The resource name of the `Application`.
|
|
41
|
+
// Format: `networks/{network_code}/applications/{application_id}`
|
|
42
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
43
|
+
|
|
44
|
+
// Optional. The display name of the application. This attribute is required
|
|
45
|
+
// and has a maximum length of 80 characters.
|
|
46
|
+
optional string display_name = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
47
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.ads.admanager.v1;
|
|
18
|
+
|
|
19
|
+
import "google/ads/admanager/v1/application_messages.proto";
|
|
20
|
+
import "google/api/annotations.proto";
|
|
21
|
+
import "google/api/client.proto";
|
|
22
|
+
import "google/api/field_behavior.proto";
|
|
23
|
+
import "google/api/resource.proto";
|
|
24
|
+
|
|
25
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
26
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
27
|
+
option java_multiple_files = true;
|
|
28
|
+
option java_outer_classname = "ApplicationServiceProto";
|
|
29
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
30
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
31
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
32
|
+
|
|
33
|
+
// Provides methods for handling `Application` objects.
|
|
34
|
+
service ApplicationService {
|
|
35
|
+
option (google.api.default_host) = "admanager.googleapis.com";
|
|
36
|
+
option (google.api.oauth_scopes) =
|
|
37
|
+
"https://www.googleapis.com/auth/admanager";
|
|
38
|
+
|
|
39
|
+
// API to retrieve a `Application` object.
|
|
40
|
+
rpc GetApplication(GetApplicationRequest) returns (Application) {
|
|
41
|
+
option (google.api.http) = {
|
|
42
|
+
get: "/v1/{name=networks/*/applications/*}"
|
|
43
|
+
};
|
|
44
|
+
option (google.api.method_signature) = "name";
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// API to retrieve a list of `Application` objects.
|
|
48
|
+
rpc ListApplications(ListApplicationsRequest)
|
|
49
|
+
returns (ListApplicationsResponse) {
|
|
50
|
+
option (google.api.http) = {
|
|
51
|
+
get: "/v1/{parent=networks/*}/applications"
|
|
52
|
+
};
|
|
53
|
+
option (google.api.method_signature) = "parent";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Request object for `GetApplication` method.
|
|
58
|
+
message GetApplicationRequest {
|
|
59
|
+
// Required. The resource name of the Application.
|
|
60
|
+
// Format: `networks/{network_code}/applications/{application_id}`
|
|
61
|
+
string name = 1 [
|
|
62
|
+
(google.api.field_behavior) = REQUIRED,
|
|
63
|
+
(google.api.resource_reference) = {
|
|
64
|
+
type: "admanager.googleapis.com/Application"
|
|
65
|
+
}
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Request object for `ListApplications` method.
|
|
70
|
+
message ListApplicationsRequest {
|
|
71
|
+
// Required. The parent, which owns this collection of Applications.
|
|
72
|
+
// Format: `networks/{network_code}`
|
|
73
|
+
string parent = 1 [
|
|
74
|
+
(google.api.field_behavior) = REQUIRED,
|
|
75
|
+
(google.api.resource_reference) = {
|
|
76
|
+
type: "admanager.googleapis.com/Network"
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
|
|
80
|
+
// Optional. The maximum number of `Applications` to return. The service may
|
|
81
|
+
// return fewer than this value. If unspecified, at most 50 `Applications`
|
|
82
|
+
// will be returned. The maximum value is 1000; values greater than 1000 will
|
|
83
|
+
// be coerced to 1000.
|
|
84
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
85
|
+
|
|
86
|
+
// Optional. A page token, received from a previous `ListApplications` call.
|
|
87
|
+
// Provide this to retrieve the subsequent page.
|
|
88
|
+
//
|
|
89
|
+
// When paginating, all other parameters provided to `ListApplications` must
|
|
90
|
+
// match the call that provided the page token.
|
|
91
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
92
|
+
|
|
93
|
+
// Optional. Expression to filter the response.
|
|
94
|
+
// See syntax details at
|
|
95
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
96
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
97
|
+
|
|
98
|
+
// Optional. Expression to specify sorting order.
|
|
99
|
+
// See syntax details at
|
|
100
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
101
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
102
|
+
|
|
103
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
104
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Response object for `ListApplicationsRequest` containing matching
|
|
108
|
+
// `Application` objects.
|
|
109
|
+
message ListApplicationsResponse {
|
|
110
|
+
// The `Application` objects from the specified network.
|
|
111
|
+
repeated Application applications = 1;
|
|
112
|
+
|
|
113
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
114
|
+
// If this field is omitted, there are no subsequent pages.
|
|
115
|
+
string next_page_token = 2;
|
|
116
|
+
|
|
117
|
+
// Total number of `Application` objects.
|
|
118
|
+
// If a filter was included in the request, this reflects the total number
|
|
119
|
+
// after the filtering is applied.
|
|
120
|
+
//
|
|
121
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
122
|
+
// included in a response field mask. The response field mask can be provided
|
|
123
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
124
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
125
|
+
//
|
|
126
|
+
// For more information, see
|
|
127
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
128
|
+
int32 total_size = 3;
|
|
129
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.ads.admanager.v1;
|
|
18
|
+
|
|
19
|
+
import "google/api/field_behavior.proto";
|
|
20
|
+
import "google/api/resource.proto";
|
|
21
|
+
|
|
22
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
23
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
24
|
+
option java_multiple_files = true;
|
|
25
|
+
option java_outer_classname = "AudienceSegmentMessagesProto";
|
|
26
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
27
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
28
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
29
|
+
|
|
30
|
+
// The `AudienceSegment` resource.
|
|
31
|
+
message AudienceSegment {
|
|
32
|
+
option (google.api.resource) = {
|
|
33
|
+
type: "admanager.googleapis.com/AudienceSegment"
|
|
34
|
+
pattern: "networks/{network_code}/audienceSegments/{audience_segment}"
|
|
35
|
+
plural: "audienceSegments"
|
|
36
|
+
singular: "audienceSegment"
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// Identifier. The resource name of the `AudienceSegment`.
|
|
40
|
+
// Format: `networks/{network_code}/audienceSegments/{audience_segment_id}`
|
|
41
|
+
// The `audience_segment_id` may have up to 1 of the following suffixes:
|
|
42
|
+
// - `~direct` for directly licensed third-party segments
|
|
43
|
+
// - `~global` for globally licensed third-party segments
|
|
44
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
45
|
+
|
|
46
|
+
// Required. Display name of the `AudienceSegment`. The attribute has a
|
|
47
|
+
// maximum length of 255 characters.
|
|
48
|
+
optional string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
|
49
|
+
}
|