123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- syntax = "proto3";
- package google.ads.googleads.v11.resources;
- import "google/ads/googleads/v11/enums/affiliate_location_feed_relationship_type.proto";
- import "google/ads/googleads/v11/enums/feed_attribute_type.proto";
- import "google/ads/googleads/v11/enums/feed_origin.proto";
- import "google/ads/googleads/v11/enums/feed_status.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 = "FeedProto";
- 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 Feed {
- option (google.api.resource) = {
- type: "googleads.googleapis.com/Feed"
- pattern: "customers/{customer_id}/feeds/{feed_id}"
- };
-
- message PlacesLocationFeedData {
-
- message OAuthInfo {
-
- optional string http_method = 4;
-
- optional string http_request_url = 5;
-
- optional string http_authorization_header = 6;
- }
-
-
-
- OAuthInfo oauth_info = 1 [(google.api.field_behavior) = IMMUTABLE];
-
-
- optional string email_address = 7;
-
-
-
-
- string business_account_id = 8;
-
-
-
- optional string business_name_filter = 9;
-
-
-
-
- repeated string category_filters = 11;
-
-
-
-
- repeated string label_filters = 12;
- }
-
-
- message AffiliateLocationFeedData {
-
-
- repeated int64 chain_ids = 3;
-
- google.ads.googleads.v11.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2;
- }
-
-
-
-
- string resource_name = 1 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/Feed"
- }
- ];
-
-
- optional int64 id = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- optional string name = 12 [(google.api.field_behavior) = IMMUTABLE];
-
-
-
-
- repeated FeedAttribute attributes = 4;
-
-
- repeated FeedAttributeOperation attribute_operations = 9;
-
- google.ads.googleads.v11.enums.FeedOriginEnum.FeedOrigin origin = 5 [(google.api.field_behavior) = IMMUTABLE];
-
-
- google.ads.googleads.v11.enums.FeedStatusEnum.FeedStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- oneof system_feed_generation_data {
-
- PlacesLocationFeedData places_location_feed_data = 6;
-
-
- AffiliateLocationFeedData affiliate_location_feed_data = 7;
- }
- }
- message FeedAttribute {
-
- optional int64 id = 5;
-
- optional string name = 6;
-
- google.ads.googleads.v11.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3;
-
-
-
-
- optional bool is_part_of_key = 7;
- }
- message FeedAttributeOperation {
-
- enum Operator {
-
- UNSPECIFIED = 0;
-
- UNKNOWN = 1;
-
- ADD = 2;
- }
-
- Operator operator = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- FeedAttribute value = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
|