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/criteria.proto";
21 import "google/ads/googleads/v1/enums/feed_item_target_device.proto";
22 import "google/ads/googleads/v1/enums/feed_item_target_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 = "FeedItemTargetProto";
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 FeedItemTarget resource.
36 // A feed item target.
37 message FeedItemTarget {
38 // The resource name of the feed item target.
39 // Feed item target resource names have the form:
41 // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}`
42 string resource_name = 1;
44 // The feed item to which this feed item target belongs.
45 google.protobuf.StringValue feed_item = 2;
47 // The target type of this feed item target. This field is read-only.
48 google.ads.googleads.v1.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3;
50 // The ID of the targeted resource. This field is read-only.
51 google.protobuf.Int64Value feed_item_target_id = 6;
53 // The targeted resource.
55 // The targeted campaign.
56 google.protobuf.StringValue campaign = 4;
58 // The targeted ad group.
59 google.protobuf.StringValue ad_group = 5;
61 // The targeted keyword.
62 google.ads.googleads.v1.common.KeywordInfo keyword = 7;
64 // The targeted geo target constant resource name.
65 google.protobuf.StringValue geo_target_constant = 8;
67 // The targeted device.
68 google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9;
70 // The targeted schedule.
71 google.ads.googleads.v1.common.AdScheduleInfo ad_schedule = 10;