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/manager_link_status.proto";
21 import "google/protobuf/wrappers.proto";
22 import "google/api/annotations.proto";
24 option csharp_namespace = "Google.Ads.GoogleAds.V1.Resources";
25 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources";
26 option java_multiple_files = true;
27 option java_outer_classname = "CustomerClientLinkProto";
28 option java_package = "com.google.ads.googleads.v1.resources";
29 option objc_class_prefix = "GAA";
30 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Resources";
31 option ruby_package = "Google::Ads::GoogleAds::V1::Resources";
32 // Proto file describing the CustomerClientLink resource.
34 // Represents customer client link relationship.
35 message CustomerClientLink {
36 // Name of the resource.
37 // CustomerClientLink resource names have the form:
39 // `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}`
40 string resource_name = 1;
42 // The client customer linked to this customer.
43 google.protobuf.StringValue client_customer = 3;
45 // This is uniquely identifies a customer client link. Read only.
46 google.protobuf.Int64Value manager_link_id = 4;
48 // This is the status of the link between client and manager.
49 google.ads.googleads.v1.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5;
51 // The visibility of the link. Users can choose whether or not to see hidden
52 // links in the AdWords UI.
53 // Default value is false
54 google.protobuf.BoolValue hidden = 6;