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/enums/extension_setting_device.proto";
21 import "google/ads/googleads/v1/enums/extension_type.proto";
22 import "google/protobuf/wrappers.proto";
23 import "google/api/annotations.proto";
25 option csharp_namespace = "Google.Ads.GoogleAds.V1.Resources";
26 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources";
27 option java_multiple_files = true;
28 option java_outer_classname = "CustomerExtensionSettingProto";
29 option java_package = "com.google.ads.googleads.v1.resources";
30 option objc_class_prefix = "GAA";
31 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Resources";
32 option ruby_package = "Google::Ads::GoogleAds::V1::Resources";
33 // Proto file describing the CustomerExtensionSetting resource.
35 // A customer extension setting.
36 message CustomerExtensionSetting {
37 // The resource name of the customer extension setting.
38 // CustomerExtensionSetting resource names have the form:
40 // `customers/{customer_id}/customerExtensionSettings/{extension_type}`
41 string resource_name = 1;
43 // The extension type of the customer extension setting.
44 google.ads.googleads.v1.enums.ExtensionTypeEnum.ExtensionType extension_type = 2;
46 // The resource names of the extension feed items to serve under the customer.
47 // ExtensionFeedItem resource names have the form:
49 // `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
50 repeated google.protobuf.StringValue extension_feed_items = 3;
52 // The device for which the extensions will serve. Optional.
53 google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 4;