123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- syntax = "proto3";
- package google.ads.googleads.v11.resources;
- import "google/ads/googleads/v11/enums/ad_customizer_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/affiliate_location_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/app_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/call_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/callout_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/custom_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/dsa_page_feed_criterion_field.proto";
- import "google/ads/googleads/v11/enums/education_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/feed_mapping_criterion_type.proto";
- import "google/ads/googleads/v11/enums/feed_mapping_status.proto";
- import "google/ads/googleads/v11/enums/flight_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/hotel_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/image_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/job_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/local_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/location_extension_targeting_criterion_field.proto";
- import "google/ads/googleads/v11/enums/location_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/message_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/placeholder_type.proto";
- import "google/ads/googleads/v11/enums/price_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/promotion_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/real_estate_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/sitelink_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/structured_snippet_placeholder_field.proto";
- import "google/ads/googleads/v11/enums/travel_placeholder_field.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources";
- option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources";
- option java_multiple_files = true;
- option java_outer_classname = "FeedMappingProto";
- option java_package = "com.google.ads.googleads.v11.resources";
- option objc_class_prefix = "GAA";
- option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources";
- option ruby_package = "Google::Ads::GoogleAds::V11::Resources";
- message FeedMapping {
- option (google.api.resource) = {
- type: "googleads.googleapis.com/FeedMapping"
- pattern: "customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}"
- };
-
-
-
-
- string resource_name = 1 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/FeedMapping"
- }
- ];
-
- optional string feed = 7 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/Feed"
- }
- ];
-
-
-
-
-
- repeated AttributeFieldMapping attribute_field_mappings = 5 [(google.api.field_behavior) = IMMUTABLE];
-
-
- google.ads.googleads.v11.enums.FeedMappingStatusEnum.FeedMappingStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- oneof target {
-
-
- google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(google.api.field_behavior) = IMMUTABLE];
-
-
- google.ads.googleads.v11.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType criterion_type = 4 [(google.api.field_behavior) = IMMUTABLE];
- }
- }
- message AttributeFieldMapping {
-
- optional int64 feed_attribute_id = 24 [(google.api.field_behavior) = IMMUTABLE];
-
-
-
-
- optional int64 field_id = 25 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- oneof field {
-
- google.ads.googleads.v11.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderField sitelink_field = 3 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.CallPlaceholderFieldEnum.CallPlaceholderField call_field = 4 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.AppPlaceholderFieldEnum.AppPlaceholderField app_field = 5 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField location_field = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.ads.googleads.v11.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderField affiliate_location_field = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.ads.googleads.v11.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField callout_field = 8 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderField structured_snippet_field = 9 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField message_field = 10 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.PricePlaceholderFieldEnum.PricePlaceholderField price_field = 11 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField promotion_field = 12 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField ad_customizer_field = 13 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField dsa_page_feed_field = 14 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionField location_extension_targeting_field = 15 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField education_field = 16 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField flight_field = 17 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField custom_field = 18 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField hotel_field = 19 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderField real_estate_field = 20 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.TravelPlaceholderFieldEnum.TravelPlaceholderField travel_field = 21 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.LocalPlaceholderFieldEnum.LocalPlaceholderField local_field = 22 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.JobPlaceholderFieldEnum.JobPlaceholderField job_field = 23 [(google.api.field_behavior) = IMMUTABLE];
-
- google.ads.googleads.v11.enums.ImagePlaceholderFieldEnum.ImagePlaceholderField image_field = 26 [(google.api.field_behavior) = IMMUTABLE];
- }
- }
|