# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/google_ads/v0/resources/feed.proto require 'google/protobuf' require 'google/ads/google_ads/v0/enums/affiliate_location_feed_relationship_type_pb' require 'google/ads/google_ads/v0/enums/feed_attribute_type_pb' require 'google/ads/google_ads/v0/enums/feed_origin_pb' require 'google/ads/google_ads/v0/enums/feed_status_pb' require 'google/protobuf/wrappers_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.ads.googleads.v0.resources.Feed" do optional :resource_name, :string, 1 optional :id, :message, 2, "google.protobuf.Int64Value" optional :name, :message, 3, "google.protobuf.StringValue" repeated :attributes, :message, 4, "google.ads.googleads.v0.resources.FeedAttribute" repeated :attribute_operations, :message, 9, "google.ads.googleads.v0.resources.FeedAttributeOperation" optional :origin, :enum, 5, "google.ads.googleads.v0.enums.FeedOriginEnum.FeedOrigin" optional :status, :enum, 8, "google.ads.googleads.v0.enums.FeedStatusEnum.FeedStatus" oneof :system_feed_generation_data do optional :places_location_feed_data, :message, 6, "google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData" optional :affiliate_location_feed_data, :message, 7, "google.ads.googleads.v0.resources.Feed.AffiliateLocationFeedData" end end add_message "google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData" do optional :oauth_info, :message, 1, "google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData.OAuthInfo" optional :email_address, :message, 2, "google.protobuf.StringValue" optional :business_account_id, :message, 10, "google.protobuf.StringValue" optional :business_name_filter, :message, 4, "google.protobuf.StringValue" repeated :category_filters, :message, 5, "google.protobuf.StringValue" repeated :label_filters, :message, 6, "google.protobuf.StringValue" end add_message "google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData.OAuthInfo" do optional :http_method, :message, 1, "google.protobuf.StringValue" optional :http_request_url, :message, 2, "google.protobuf.StringValue" optional :http_authorization_header, :message, 3, "google.protobuf.StringValue" end add_message "google.ads.googleads.v0.resources.Feed.AffiliateLocationFeedData" do repeated :chain_ids, :message, 1, "google.protobuf.Int64Value" optional :relationship_type, :enum, 2, "google.ads.googleads.v0.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType" end add_message "google.ads.googleads.v0.resources.FeedAttribute" do optional :id, :message, 1, "google.protobuf.Int64Value" optional :name, :message, 2, "google.protobuf.StringValue" optional :type, :enum, 3, "google.ads.googleads.v0.enums.FeedAttributeTypeEnum.FeedAttributeType" optional :is_part_of_key, :message, 4, "google.protobuf.BoolValue" end add_message "google.ads.googleads.v0.resources.FeedAttributeOperation" do optional :operator, :enum, 1, "google.ads.googleads.v0.resources.FeedAttributeOperation.Operator" optional :value, :message, 2, "google.ads.googleads.v0.resources.FeedAttribute" end add_enum "google.ads.googleads.v0.resources.FeedAttributeOperation.Operator" do value :UNSPECIFIED, 0 value :UNKNOWN, 1 value :ADD, 2 end end module Google::Ads::GoogleAds::V0::Resources Feed = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.Feed").msgclass Feed::PlacesLocationFeedData = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData").msgclass Feed::PlacesLocationFeedData::OAuthInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.Feed.PlacesLocationFeedData.OAuthInfo").msgclass Feed::AffiliateLocationFeedData = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.Feed.AffiliateLocationFeedData").msgclass FeedAttribute = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.FeedAttribute").msgclass FeedAttributeOperation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.FeedAttributeOperation").msgclass FeedAttributeOperation::Operator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.FeedAttributeOperation.Operator").enummodule end