@google-ads/admanager 0.4.1 → 0.5.1
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 +83 -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 +238 -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 +222 -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 +191 -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/goal.proto +57 -0
- package/build/protos/google/ads/admanager/v1/goal_enums.proto +129 -0
- package/build/protos/google/ads/admanager/v1/line_item_enums.proto +86 -0
- package/build/protos/google/ads/admanager/v1/line_item_messages.proto +93 -0
- package/build/protos/google/ads/admanager/v1/line_item_service.proto +128 -0
- 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/network_messages.proto +8 -8
- package/build/protos/google/ads/admanager/v1/network_service.proto +32 -1
- 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 +11 -10
- 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 +13347 -0
- package/build/protos/google/ads/admanager/v1/report_messages.proto +124 -3411
- 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 +34075 -11179
- package/build/protos/protos.js +102857 -43311
- package/build/protos/protos.json +11142 -3881
- package/build/src/index.d.ts +61 -1
- package/build/src/index.js +43 -3
- package/build/src/index.js.map +1 -1
- package/build/src/v1/ad_break_service_client.d.ts +465 -0
- package/build/src/v1/ad_break_service_client.js +659 -1
- package/build/src/v1/ad_break_service_client.js.map +1 -1
- package/build/src/v1/ad_break_service_proto_list.json +54 -1
- package/build/src/v1/ad_review_center_ad_service_client.d.ts +1634 -0
- package/build/src/v1/ad_review_center_ad_service_client.js +2327 -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 +127 -0
- package/build/src/v1/ad_unit_service_client.d.ts +667 -12
- package/build/src/v1/ad_unit_service_client.js +966 -56
- package/build/src/v1/ad_unit_service_client.js.map +1 -1
- package/build/src/v1/ad_unit_service_client_config.json +28 -0
- package/build/src/v1/ad_unit_service_proto_list.json +54 -1
- package/build/src/v1/application_service_client.d.ts +1369 -0
- package/build/src/v1/application_service_client.js +2027 -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 +127 -0
- package/build/src/v1/audience_segment_service_client.d.ts +1369 -0
- package/build/src/v1/audience_segment_service_client.js +2027 -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 +127 -0
- package/build/src/v1/bandwidth_group_service_client.d.ts +471 -6
- package/build/src/v1/bandwidth_group_service_client.js +663 -5
- package/build/src/v1/bandwidth_group_service_client.js.map +1 -1
- package/build/src/v1/bandwidth_group_service_proto_list.json +54 -1
- package/build/src/v1/browser_language_service_client.d.ts +1369 -0
- package/build/src/v1/browser_language_service_client.js +2027 -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 +127 -0
- package/build/src/v1/browser_service_client.d.ts +1369 -0
- package/build/src/v1/browser_service_client.js +2027 -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 +127 -0
- package/build/src/v1/cms_metadata_key_service_client.d.ts +1369 -0
- package/build/src/v1/cms_metadata_key_service_client.js +2027 -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 +127 -0
- package/build/src/v1/cms_metadata_value_service_client.d.ts +1369 -0
- package/build/src/v1/cms_metadata_value_service_client.js +2027 -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 +127 -0
- package/build/src/v1/company_service_client.d.ts +471 -6
- package/build/src/v1/company_service_client.js +663 -5
- package/build/src/v1/company_service_client.js.map +1 -1
- package/build/src/v1/company_service_proto_list.json +54 -1
- package/build/src/v1/contact_service_client.d.ts +1480 -0
- package/build/src/v1/contact_service_client.js +2171 -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 +127 -0
- package/build/src/v1/content_bundle_service_client.d.ts +1369 -0
- package/build/src/v1/content_bundle_service_client.js +2027 -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 +127 -0
- package/build/src/v1/content_label_service_client.d.ts +1369 -0
- package/build/src/v1/content_label_service_client.js +2027 -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 +127 -0
- package/build/src/v1/content_service_client.d.ts +1369 -0
- package/build/src/v1/content_service_client.js +2027 -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 +127 -0
- package/build/src/v1/creative_template_service_client.d.ts +1369 -0
- package/build/src/v1/creative_template_service_client.js +2027 -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 +127 -0
- package/build/src/v1/custom_field_service_client.d.ts +634 -6
- package/build/src/v1/custom_field_service_client.js +880 -6
- 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 +54 -1
- package/build/src/v1/custom_targeting_key_service_client.d.ts +631 -0
- package/build/src/v1/custom_targeting_key_service_client.js +876 -2
- package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_key_service_client_config.json +24 -0
- package/build/src/v1/custom_targeting_key_service_proto_list.json +54 -1
- package/build/src/v1/custom_targeting_value_service_client.d.ts +465 -0
- package/build/src/v1/custom_targeting_value_service_client.js +659 -1
- package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
- package/build/src/v1/custom_targeting_value_service_proto_list.json +54 -1
- package/build/src/v1/device_capability_service_client.d.ts +1369 -0
- package/build/src/v1/device_capability_service_client.js +2027 -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 +127 -0
- package/build/src/v1/device_category_service_client.d.ts +468 -3
- package/build/src/v1/device_category_service_client.js +661 -3
- package/build/src/v1/device_category_service_client.js.map +1 -1
- package/build/src/v1/device_category_service_proto_list.json +54 -1
- package/build/src/v1/device_manufacturer_service_client.d.ts +1370 -0
- package/build/src/v1/device_manufacturer_service_client.js +2027 -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 +127 -0
- package/build/src/v1/entity_signals_mapping_service_client.d.ts +465 -0
- package/build/src/v1/entity_signals_mapping_service_client.js +659 -1
- package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
- package/build/src/v1/entity_signals_mapping_service_proto_list.json +54 -1
- package/build/src/v1/gapic_metadata.json +1200 -6
- package/build/src/v1/geo_target_service_client.d.ts +471 -6
- package/build/src/v1/geo_target_service_client.js +663 -5
- package/build/src/v1/geo_target_service_client.js.map +1 -1
- package/build/src/v1/geo_target_service_proto_list.json +54 -1
- package/build/src/v1/index.d.ts +20 -0
- package/build/src/v1/index.js +42 -2
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/line_item_service_client.d.ts +1369 -0
- package/build/src/v1/line_item_service_client.js +2027 -0
- package/build/src/v1/line_item_service_client.js.map +1 -0
- package/build/src/v1/line_item_service_client_config.json +34 -0
- package/build/src/v1/line_item_service_proto_list.json +127 -0
- package/build/src/v1/mobile_carrier_service_client.d.ts +1369 -0
- package/build/src/v1/mobile_carrier_service_client.js +2027 -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 +127 -0
- package/build/src/v1/mobile_device_service_client.d.ts +1369 -0
- package/build/src/v1/mobile_device_service_client.js +2027 -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 +127 -0
- package/build/src/v1/mobile_device_submodel_service_client.d.ts +1376 -0
- package/build/src/v1/mobile_device_submodel_service_client.js +2031 -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 +127 -0
- package/build/src/v1/network_service_client.d.ts +555 -12
- package/build/src/v1/network_service_client.js +757 -16
- package/build/src/v1/network_service_client.js.map +1 -1
- package/build/src/v1/network_service_proto_list.json +54 -1
- package/build/src/v1/operating_system_service_client.d.ts +468 -3
- package/build/src/v1/operating_system_service_client.js +661 -3
- package/build/src/v1/operating_system_service_client.js.map +1 -1
- package/build/src/v1/operating_system_service_proto_list.json +54 -1
- package/build/src/v1/operating_system_version_service_client.d.ts +468 -3
- package/build/src/v1/operating_system_version_service_client.js +661 -3
- package/build/src/v1/operating_system_version_service_client.js.map +1 -1
- package/build/src/v1/operating_system_version_service_proto_list.json +54 -1
- package/build/src/v1/order_service_client.d.ts +471 -6
- package/build/src/v1/order_service_client.js +663 -5
- package/build/src/v1/order_service_client.js.map +1 -1
- package/build/src/v1/order_service_proto_list.json +54 -1
- package/build/src/v1/placement_service_client.d.ts +662 -6
- package/build/src/v1/placement_service_client.js +962 -52
- 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 +54 -1
- package/build/src/v1/private_auction_deal_service_client.d.ts +468 -3
- package/build/src/v1/private_auction_deal_service_client.js +661 -3
- package/build/src/v1/private_auction_deal_service_client.js.map +1 -1
- package/build/src/v1/private_auction_deal_service_proto_list.json +54 -1
- package/build/src/v1/private_auction_service_client.d.ts +468 -3
- package/build/src/v1/private_auction_service_client.js +661 -3
- package/build/src/v1/private_auction_service_client.js.map +1 -1
- package/build/src/v1/private_auction_service_proto_list.json +54 -1
- package/build/src/v1/programmatic_buyer_service_client.d.ts +465 -0
- package/build/src/v1/programmatic_buyer_service_client.js +659 -1
- package/build/src/v1/programmatic_buyer_service_client.js.map +1 -1
- package/build/src/v1/programmatic_buyer_service_proto_list.json +54 -1
- package/build/src/v1/report_service_client.d.ts +485 -17
- package/build/src/v1/report_service_client.js +669 -9
- package/build/src/v1/report_service_client.js.map +1 -1
- package/build/src/v1/report_service_proto_list.json +54 -1
- package/build/src/v1/role_service_client.d.ts +471 -3
- package/build/src/v1/role_service_client.js +663 -3
- package/build/src/v1/role_service_client.js.map +1 -1
- package/build/src/v1/role_service_proto_list.json +54 -1
- package/build/src/v1/site_service_client.d.ts +1530 -0
- package/build/src/v1/site_service_client.js +2243 -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 +127 -0
- package/build/src/v1/taxonomy_category_service_client.d.ts +465 -0
- package/build/src/v1/taxonomy_category_service_client.js +659 -1
- package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
- package/build/src/v1/taxonomy_category_service_proto_list.json +54 -1
- package/build/src/v1/team_service_client.d.ts +1532 -0
- package/build/src/v1/team_service_client.js +2243 -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 +127 -0
- package/build/src/v1/user_service_client.d.ts +465 -0
- package/build/src/v1/user_service_client.js +659 -1
- package/build/src/v1/user_service_client.js.map +1 -1
- package/build/src/v1/user_service_proto_list.json +54 -1
- package/package.json +10 -2
- package/LICENSE +0 -202
|
@@ -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
|
}
|
|
@@ -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";
|
|
@@ -53,6 +54,67 @@ service CustomTargetingKeyService {
|
|
|
53
54
|
};
|
|
54
55
|
option (google.api.method_signature) = "parent";
|
|
55
56
|
}
|
|
57
|
+
|
|
58
|
+
// API to create a `CustomTargetingKey` object.
|
|
59
|
+
rpc CreateCustomTargetingKey(CreateCustomTargetingKeyRequest)
|
|
60
|
+
returns (CustomTargetingKey) {
|
|
61
|
+
option (google.api.http) = {
|
|
62
|
+
post: "/v1/{parent=networks/*}/customTargetingKeys"
|
|
63
|
+
body: "custom_targeting_key"
|
|
64
|
+
};
|
|
65
|
+
option (google.api.method_signature) = "parent,custom_targeting_key";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// API to batch create `CustomTargetingKey` objects.
|
|
69
|
+
rpc BatchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest)
|
|
70
|
+
returns (BatchCreateCustomTargetingKeysResponse) {
|
|
71
|
+
option (google.api.http) = {
|
|
72
|
+
post: "/v1/{parent=networks/*}/customTargetingKeys:batchCreate"
|
|
73
|
+
body: "*"
|
|
74
|
+
};
|
|
75
|
+
option (google.api.method_signature) = "parent,requests";
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// API to update a `CustomTargetingKey` object.
|
|
79
|
+
rpc UpdateCustomTargetingKey(UpdateCustomTargetingKeyRequest)
|
|
80
|
+
returns (CustomTargetingKey) {
|
|
81
|
+
option (google.api.http) = {
|
|
82
|
+
patch: "/v1/{custom_targeting_key.name=networks/*/customTargetingKeys/*}"
|
|
83
|
+
body: "custom_targeting_key"
|
|
84
|
+
};
|
|
85
|
+
option (google.api.method_signature) = "custom_targeting_key,update_mask";
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// API to batch update `CustomTargetingKey` objects.
|
|
89
|
+
rpc BatchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest)
|
|
90
|
+
returns (BatchUpdateCustomTargetingKeysResponse) {
|
|
91
|
+
option (google.api.http) = {
|
|
92
|
+
post: "/v1/{parent=networks/*}/customTargetingKeys:batchUpdate"
|
|
93
|
+
body: "*"
|
|
94
|
+
};
|
|
95
|
+
option (google.api.method_signature) = "parent,requests";
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// API to batch activate `CustomTargetingKey` objects.
|
|
99
|
+
rpc BatchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest)
|
|
100
|
+
returns (BatchActivateCustomTargetingKeysResponse) {
|
|
101
|
+
option (google.api.http) = {
|
|
102
|
+
post: "/v1/{parent=networks/*}/customTargetingKeys:batchActivate"
|
|
103
|
+
body: "*"
|
|
104
|
+
};
|
|
105
|
+
option (google.api.method_signature) = "parent,names";
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Deactivates a list of `CustomTargetingKey` objects.
|
|
109
|
+
rpc BatchDeactivateCustomTargetingKeys(
|
|
110
|
+
BatchDeactivateCustomTargetingKeysRequest)
|
|
111
|
+
returns (BatchDeactivateCustomTargetingKeysResponse) {
|
|
112
|
+
option (google.api.http) = {
|
|
113
|
+
post: "/v1/{parent=networks/*}/customTargetingKeys:batchDeactivate"
|
|
114
|
+
body: "*"
|
|
115
|
+
};
|
|
116
|
+
option (google.api.method_signature) = "parent,names";
|
|
117
|
+
}
|
|
56
118
|
}
|
|
57
119
|
|
|
58
120
|
// Request object for `GetCustomTargetingKey` method.
|
|
@@ -120,7 +182,7 @@ message ListCustomTargetingKeysResponse {
|
|
|
120
182
|
// If a filter was included in the request, this reflects the total number
|
|
121
183
|
// after the filtering is applied.
|
|
122
184
|
//
|
|
123
|
-
// `total_size`
|
|
185
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
124
186
|
// included in a response field mask. The response field mask can be provided
|
|
125
187
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
126
188
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -129,3 +191,131 @@ message ListCustomTargetingKeysResponse {
|
|
|
129
191
|
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
130
192
|
int32 total_size = 3;
|
|
131
193
|
}
|
|
194
|
+
|
|
195
|
+
// Request object for `CreateCustomTargetingKey` method.
|
|
196
|
+
message CreateCustomTargetingKeyRequest {
|
|
197
|
+
// Required. The parent resource where this `CustomTargetingKey` will be
|
|
198
|
+
// created. Format: `networks/{network_code}`
|
|
199
|
+
string parent = 1 [
|
|
200
|
+
(google.api.field_behavior) = REQUIRED,
|
|
201
|
+
(google.api.resource_reference) = {
|
|
202
|
+
type: "admanager.googleapis.com/Network"
|
|
203
|
+
}
|
|
204
|
+
];
|
|
205
|
+
|
|
206
|
+
// Required. The `CustomTargetingKey` to create.
|
|
207
|
+
CustomTargetingKey custom_targeting_key = 2
|
|
208
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// Request object for `BatchCreateCustomTargetingKeys` method.
|
|
212
|
+
message BatchCreateCustomTargetingKeysRequest {
|
|
213
|
+
// Required. The parent resource where `CustomTargetingKeys` will be created.
|
|
214
|
+
// Format: `networks/{network_code}`
|
|
215
|
+
// The parent field in the CreateCustomTargetingKeyRequest must match this
|
|
216
|
+
// field.
|
|
217
|
+
string parent = 1 [
|
|
218
|
+
(google.api.field_behavior) = REQUIRED,
|
|
219
|
+
(google.api.resource_reference) = {
|
|
220
|
+
type: "admanager.googleapis.com/Network"
|
|
221
|
+
}
|
|
222
|
+
];
|
|
223
|
+
|
|
224
|
+
// Required. The `CustomTargetingKey` objects to create.
|
|
225
|
+
// A maximum of 100 objects can be created in a batch.
|
|
226
|
+
repeated CreateCustomTargetingKeyRequest requests = 2
|
|
227
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// Response object for `BatchCreateCustomTargetingKeys` method.
|
|
231
|
+
message BatchCreateCustomTargetingKeysResponse {
|
|
232
|
+
// The `CustomTargetingKey` objects created.
|
|
233
|
+
repeated CustomTargetingKey custom_targeting_keys = 1;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// Request object for `UpdateCustomTargetingKey` method.
|
|
237
|
+
message UpdateCustomTargetingKeyRequest {
|
|
238
|
+
// Required. The `CustomTargetingKey` to update.
|
|
239
|
+
//
|
|
240
|
+
// The `CustomTargetingKey`'s `name` is used to identify the
|
|
241
|
+
// `CustomTargetingKey` to update.
|
|
242
|
+
CustomTargetingKey custom_targeting_key = 1
|
|
243
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
244
|
+
|
|
245
|
+
// Required. The list of fields to update.
|
|
246
|
+
google.protobuf.FieldMask update_mask = 2
|
|
247
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// Request object for `BatchUpdateCustomTargetingKeys` method.
|
|
251
|
+
message BatchUpdateCustomTargetingKeysRequest {
|
|
252
|
+
// Required. The parent resource where `CustomTargetingKeys` will be updated.
|
|
253
|
+
// Format: `networks/{network_code}`
|
|
254
|
+
// The parent field in the UpdateCustomTargetingKeyRequest must match this
|
|
255
|
+
// field.
|
|
256
|
+
string parent = 1 [
|
|
257
|
+
(google.api.field_behavior) = REQUIRED,
|
|
258
|
+
(google.api.resource_reference) = {
|
|
259
|
+
type: "admanager.googleapis.com/Network"
|
|
260
|
+
}
|
|
261
|
+
];
|
|
262
|
+
|
|
263
|
+
// Required. The `CustomTargetingKey` objects to update.
|
|
264
|
+
// A maximum of 100 objects can be updated in a batch.
|
|
265
|
+
repeated UpdateCustomTargetingKeyRequest requests = 2
|
|
266
|
+
[(google.api.field_behavior) = REQUIRED];
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// Response object for `BatchUpdateCustomTargetingKeys` method.
|
|
270
|
+
message BatchUpdateCustomTargetingKeysResponse {
|
|
271
|
+
// The `CustomTargetingKey` objects updated.
|
|
272
|
+
repeated CustomTargetingKey custom_targeting_keys = 1;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// Request object for `BatchActivateCustomTargetingKeys` method.
|
|
276
|
+
message BatchActivateCustomTargetingKeysRequest {
|
|
277
|
+
// Required. Format: `networks/{network_code}`
|
|
278
|
+
string parent = 1 [
|
|
279
|
+
(google.api.field_behavior) = REQUIRED,
|
|
280
|
+
(google.api.resource_reference) = {
|
|
281
|
+
type: "admanager.googleapis.com/Network"
|
|
282
|
+
}
|
|
283
|
+
];
|
|
284
|
+
|
|
285
|
+
// Required. The resource names of the `CustomTargetingKey`s to activate.
|
|
286
|
+
// Format:
|
|
287
|
+
// `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
|
|
288
|
+
repeated string names = 2 [
|
|
289
|
+
(google.api.field_behavior) = REQUIRED,
|
|
290
|
+
(google.api.resource_reference) = {
|
|
291
|
+
type: "admanager.googleapis.com/CustomTargetingKey"
|
|
292
|
+
}
|
|
293
|
+
];
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
// Response object for `BatchActivateCustomTargetingKeys` method.
|
|
297
|
+
message BatchActivateCustomTargetingKeysResponse {}
|
|
298
|
+
|
|
299
|
+
// Request message for `BatchDeactivateCustomTargetingKeys` method.
|
|
300
|
+
message BatchDeactivateCustomTargetingKeysRequest {
|
|
301
|
+
// Required. Format: `networks/{network_code}`
|
|
302
|
+
string parent = 1 [
|
|
303
|
+
(google.api.field_behavior) = REQUIRED,
|
|
304
|
+
(google.api.resource_reference) = {
|
|
305
|
+
type: "admanager.googleapis.com/Network"
|
|
306
|
+
}
|
|
307
|
+
];
|
|
308
|
+
|
|
309
|
+
// Required. The resource names of the `CustomTargetingKey`s to deactivate.
|
|
310
|
+
// Format:
|
|
311
|
+
// `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
|
|
312
|
+
repeated string names = 2 [
|
|
313
|
+
(google.api.field_behavior) = REQUIRED,
|
|
314
|
+
(google.api.resource_reference) = {
|
|
315
|
+
type: "admanager.googleapis.com/CustomTargetingKey"
|
|
316
|
+
}
|
|
317
|
+
];
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
// Response object for `BatchDeactivateCustomTargetingKeys` method.
|
|
321
|
+
message BatchDeactivateCustomTargetingKeysResponse {}
|
|
@@ -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
|
+
}
|
|
@@ -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/device_capability_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 = "DeviceCapabilityServiceProto";
|
|
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 `DeviceCapability` objects.
|
|
34
|
+
service DeviceCapabilityService {
|
|
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 `DeviceCapability` object.
|
|
40
|
+
rpc GetDeviceCapability(GetDeviceCapabilityRequest)
|
|
41
|
+
returns (DeviceCapability) {
|
|
42
|
+
option (google.api.http) = {
|
|
43
|
+
get: "/v1/{name=networks/*/deviceCapabilities/*}"
|
|
44
|
+
};
|
|
45
|
+
option (google.api.method_signature) = "name";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// API to retrieve a list of `DeviceCapability` objects.
|
|
49
|
+
rpc ListDeviceCapabilities(ListDeviceCapabilitiesRequest)
|
|
50
|
+
returns (ListDeviceCapabilitiesResponse) {
|
|
51
|
+
option (google.api.http) = {
|
|
52
|
+
get: "/v1/{parent=networks/*}/deviceCapabilities"
|
|
53
|
+
};
|
|
54
|
+
option (google.api.method_signature) = "parent";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Request object for `GetDeviceCapability` method.
|
|
59
|
+
message GetDeviceCapabilityRequest {
|
|
60
|
+
// Required. The resource name of the DeviceCapability.
|
|
61
|
+
// Format: `networks/{network_code}/deviceCapabilities/{device_capability_id}`
|
|
62
|
+
string name = 1 [
|
|
63
|
+
(google.api.field_behavior) = REQUIRED,
|
|
64
|
+
(google.api.resource_reference) = {
|
|
65
|
+
type: "admanager.googleapis.com/DeviceCapability"
|
|
66
|
+
}
|
|
67
|
+
];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Request object for `ListDeviceCapabilities` method.
|
|
71
|
+
message ListDeviceCapabilitiesRequest {
|
|
72
|
+
// Required. The parent, which owns this collection of DeviceCapabilities.
|
|
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 `DeviceCapabilities` to return. The service
|
|
82
|
+
// may return fewer than this value. If unspecified, at most 50
|
|
83
|
+
// `DeviceCapabilities` will be returned. The maximum value is 1000; values
|
|
84
|
+
// above 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 `ListDeviceCapabilities`
|
|
88
|
+
// call. Provide this to retrieve the subsequent page.
|
|
89
|
+
//
|
|
90
|
+
// When paginating, all other parameters provided to `ListDeviceCapabilities`
|
|
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 `ListDeviceCapabilitiesRequest` containing matching
|
|
109
|
+
// `DeviceCapability` objects.
|
|
110
|
+
message ListDeviceCapabilitiesResponse {
|
|
111
|
+
// The `DeviceCapability` objects from the specified network.
|
|
112
|
+
repeated DeviceCapability device_capabilities = 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 `DeviceCapability` 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
|
+
}
|
|
@@ -80,7 +80,7 @@ message ListDeviceCategoriesRequest {
|
|
|
80
80
|
// Optional. The maximum number of `DeviceCategories` to return. The service
|
|
81
81
|
// may return fewer than this value. If unspecified, at most 50
|
|
82
82
|
// `DeviceCategories` will be returned. The maximum value is 1000; values
|
|
83
|
-
//
|
|
83
|
+
// greater than 1000 will be coerced to 1000.
|
|
84
84
|
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
85
85
|
|
|
86
86
|
// Optional. A page token, received from a previous `ListDeviceCategories`
|
|
@@ -118,7 +118,7 @@ message ListDeviceCategoriesResponse {
|
|
|
118
118
|
// If a filter was included in the request, this reflects the total number
|
|
119
119
|
// after the filtering is applied.
|
|
120
120
|
//
|
|
121
|
-
// `total_size`
|
|
121
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
122
122
|
// included in a response field mask. The response field mask can be provided
|
|
123
123
|
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
124
124
|
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
@@ -0,0 +1,46 @@
|
|
|
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 = "DeviceManufacturerMessagesProto";
|
|
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 manufacturer.
|
|
31
|
+
message DeviceManufacturer {
|
|
32
|
+
option (google.api.resource) = {
|
|
33
|
+
type: "admanager.googleapis.com/DeviceManufacturer"
|
|
34
|
+
pattern: "networks/{network_code}/deviceManufacturers/{device_manufacturer}"
|
|
35
|
+
plural: "deviceManufacturers"
|
|
36
|
+
singular: "deviceManufacturer"
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
// Identifier. The resource name of the `DeviceManufacturer`.
|
|
40
|
+
// Format:
|
|
41
|
+
// `networks/{network_code}/deviceManufacturers/{device_manufacturer}`
|
|
42
|
+
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
|
|
43
|
+
|
|
44
|
+
// Output only. The localized name of the device manufacturer.
|
|
45
|
+
optional string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
46
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.ads.admanager.v1;
|
|
18
|
+
|
|
19
|
+
import "google/ads/admanager/v1/device_manufacturer_messages.proto";
|
|
20
|
+
import "google/api/annotations.proto";
|
|
21
|
+
import "google/api/client.proto";
|
|
22
|
+
import "google/api/field_behavior.proto";
|
|
23
|
+
import "google/api/resource.proto";
|
|
24
|
+
|
|
25
|
+
option csharp_namespace = "Google.Ads.AdManager.V1";
|
|
26
|
+
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
|
|
27
|
+
option java_multiple_files = true;
|
|
28
|
+
option java_outer_classname = "DeviceManufacturerServiceProto";
|
|
29
|
+
option java_package = "com.google.ads.admanager.v1";
|
|
30
|
+
option php_namespace = "Google\\Ads\\AdManager\\V1";
|
|
31
|
+
option ruby_package = "Google::Ads::AdManager::V1";
|
|
32
|
+
|
|
33
|
+
// Provides methods for handling `DeviceManufacturer` objects.
|
|
34
|
+
service DeviceManufacturerService {
|
|
35
|
+
option (google.api.default_host) = "admanager.googleapis.com";
|
|
36
|
+
option (google.api.oauth_scopes) =
|
|
37
|
+
"https://www.googleapis.com/auth/admanager";
|
|
38
|
+
|
|
39
|
+
// API to retrieve a `DeviceManufacturer` object.
|
|
40
|
+
rpc GetDeviceManufacturer(GetDeviceManufacturerRequest)
|
|
41
|
+
returns (DeviceManufacturer) {
|
|
42
|
+
option (google.api.http) = {
|
|
43
|
+
get: "/v1/{name=networks/*/deviceManufacturers/*}"
|
|
44
|
+
};
|
|
45
|
+
option (google.api.method_signature) = "name";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// API to retrieve a list of `DeviceManufacturer` objects.
|
|
49
|
+
rpc ListDeviceManufacturers(ListDeviceManufacturersRequest)
|
|
50
|
+
returns (ListDeviceManufacturersResponse) {
|
|
51
|
+
option (google.api.http) = {
|
|
52
|
+
get: "/v1/{parent=networks/*}/deviceManufacturers"
|
|
53
|
+
};
|
|
54
|
+
option (google.api.method_signature) = "parent";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Request object for `GetDeviceManufacturer` method.
|
|
59
|
+
message GetDeviceManufacturerRequest {
|
|
60
|
+
// Required. The resource name of the DeviceManufacturer.
|
|
61
|
+
// Format:
|
|
62
|
+
// `networks/{network_code}/deviceManufacturers/{device_manufacturer_id}`
|
|
63
|
+
string name = 1 [
|
|
64
|
+
(google.api.field_behavior) = REQUIRED,
|
|
65
|
+
(google.api.resource_reference) = {
|
|
66
|
+
type: "admanager.googleapis.com/DeviceManufacturer"
|
|
67
|
+
}
|
|
68
|
+
];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Request object for `ListDeviceManufacturers` method.
|
|
72
|
+
message ListDeviceManufacturersRequest {
|
|
73
|
+
// Required. The parent, which owns this collection of DeviceManufacturers.
|
|
74
|
+
// Format: `networks/{network_code}`
|
|
75
|
+
string parent = 1 [
|
|
76
|
+
(google.api.field_behavior) = REQUIRED,
|
|
77
|
+
(google.api.resource_reference) = {
|
|
78
|
+
type: "admanager.googleapis.com/Network"
|
|
79
|
+
}
|
|
80
|
+
];
|
|
81
|
+
|
|
82
|
+
// Optional. The maximum number of `DeviceManufacturers` to return. The
|
|
83
|
+
// service may return fewer than this value. If unspecified, at most 50
|
|
84
|
+
// `DeviceManufacturers` will be returned. The maximum value is 1000; values
|
|
85
|
+
// above 1000 will be coerced to 1000.
|
|
86
|
+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
87
|
+
|
|
88
|
+
// Optional. A page token, received from a previous `ListDeviceManufacturers`
|
|
89
|
+
// call. Provide this to retrieve the subsequent page.
|
|
90
|
+
//
|
|
91
|
+
// When paginating, all other parameters provided to `ListDeviceManufacturers`
|
|
92
|
+
// must match the call that provided the page token.
|
|
93
|
+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
94
|
+
|
|
95
|
+
// Optional. Expression to filter the response.
|
|
96
|
+
// See syntax details at
|
|
97
|
+
// https://developers.google.com/ad-manager/api/beta/filters
|
|
98
|
+
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
99
|
+
|
|
100
|
+
// Optional. Expression to specify sorting order.
|
|
101
|
+
// See syntax details at
|
|
102
|
+
// https://developers.google.com/ad-manager/api/beta/filters#order
|
|
103
|
+
string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
104
|
+
|
|
105
|
+
// Optional. Number of individual resources to skip while paginating.
|
|
106
|
+
int32 skip = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Response object for `ListDeviceManufacturersRequest` containing matching
|
|
110
|
+
// `DeviceManufacturer` objects.
|
|
111
|
+
message ListDeviceManufacturersResponse {
|
|
112
|
+
// The `DeviceManufacturer` objects from the specified network.
|
|
113
|
+
repeated DeviceManufacturer device_manufacturers = 1;
|
|
114
|
+
|
|
115
|
+
// A token, which can be sent as `page_token` to retrieve the next page.
|
|
116
|
+
// If this field is omitted, there are no subsequent pages.
|
|
117
|
+
string next_page_token = 2;
|
|
118
|
+
|
|
119
|
+
// Total number of `DeviceManufacturer` objects.
|
|
120
|
+
// If a filter was included in the request, this reflects the total number
|
|
121
|
+
// after the filtering is applied.
|
|
122
|
+
//
|
|
123
|
+
// `total_size` won't be calculated in the response unless it has been
|
|
124
|
+
// included in a response field mask. The response field mask can be provided
|
|
125
|
+
// to the method by using the URL parameter `$fields` or `fields`, or by using
|
|
126
|
+
// the HTTP/gRPC header `X-Goog-FieldMask`.
|
|
127
|
+
//
|
|
128
|
+
// For more information, see
|
|
129
|
+
// https://developers.google.com/ad-manager/api/beta/field-masks
|
|
130
|
+
int32 total_size = 3;
|
|
131
|
+
}
|