1 // Copyright 2019 Google LLC.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 package google.ads.googleads.v1.resources;
20 import "google/ads/googleads/v1/common/matching_function.proto";
21 import "google/ads/googleads/v1/enums/feed_link_status.proto";
22 import "google/ads/googleads/v1/enums/placeholder_type.proto";
23 import "google/protobuf/wrappers.proto";
24 import "google/api/annotations.proto";
26 option csharp_namespace = "Google.Ads.GoogleAds.V1.Resources";
27 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources";
28 option java_multiple_files = true;
29 option java_outer_classname = "AdGroupFeedProto";
30 option java_package = "com.google.ads.googleads.v1.resources";
31 option objc_class_prefix = "GAA";
32 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Resources";
33 option ruby_package = "Google::Ads::GoogleAds::V1::Resources";
34 // Proto file describing the AdGroupFeed resource.
38 // The resource name of the ad group feed.
39 // Ad group feed resource names have the form:
41 // `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}
42 string resource_name = 1;
44 // The feed being linked to the ad group.
45 google.protobuf.StringValue feed = 2;
47 // The ad group being linked to the feed.
48 google.protobuf.StringValue ad_group = 3;
50 // Indicates which placeholder types the feed may populate under the connected
51 // ad group. Required.
52 repeated google.ads.googleads.v1.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4;
54 // Matching function associated with the AdGroupFeed.
55 // The matching function is used to filter the set of feed items selected.
57 google.ads.googleads.v1.common.MatchingFunction matching_function = 5;
59 // Status of the ad group feed.
60 // This field is read-only.
61 google.ads.googleads.v1.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6;