1// Copyright 2020 Google LLC 2// 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 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 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. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/ads/googleads/v3/resources/group_placement_view.proto 20 21package resources 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 33) 34 35const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40) 41 42// This is a compile-time assertion that a sufficiently up-to-date version 43// of the legacy proto package is being used. 44const _ = proto.ProtoPackageIsVersion4 45 46// A group placement view. 47type GroupPlacementView struct { 48 state protoimpl.MessageState 49 sizeCache protoimpl.SizeCache 50 unknownFields protoimpl.UnknownFields 51 52 // Output only. The resource name of the group placement view. 53 // Group placement view resource names have the form: 54 // 55 // `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` 56 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 57 // Output only. The automatic placement string at group level, e. g. web domain, mobile 58 // app ID, or a YouTube channel ID. 59 Placement *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=placement,proto3" json:"placement,omitempty"` 60 // Output only. Domain name for websites and YouTube channel name for YouTube channels. 61 DisplayName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 62 // Output only. URL of the group placement, e.g. domain, link to the mobile application in 63 // app store, or a YouTube channel URL. 64 TargetUrl *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` 65 // Output only. Type of the placement, e.g. Website, YouTube Channel, Mobile Application. 66 PlacementType enums.PlacementTypeEnum_PlacementType `protobuf:"varint,5,opt,name=placement_type,json=placementType,proto3,enum=google.ads.googleads.v3.enums.PlacementTypeEnum_PlacementType" json:"placement_type,omitempty"` 67} 68 69func (x *GroupPlacementView) Reset() { 70 *x = GroupPlacementView{} 71 if protoimpl.UnsafeEnabled { 72 mi := &file_google_ads_googleads_v3_resources_group_placement_view_proto_msgTypes[0] 73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 74 ms.StoreMessageInfo(mi) 75 } 76} 77 78func (x *GroupPlacementView) String() string { 79 return protoimpl.X.MessageStringOf(x) 80} 81 82func (*GroupPlacementView) ProtoMessage() {} 83 84func (x *GroupPlacementView) ProtoReflect() protoreflect.Message { 85 mi := &file_google_ads_googleads_v3_resources_group_placement_view_proto_msgTypes[0] 86 if protoimpl.UnsafeEnabled && x != nil { 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 88 if ms.LoadMessageInfo() == nil { 89 ms.StoreMessageInfo(mi) 90 } 91 return ms 92 } 93 return mi.MessageOf(x) 94} 95 96// Deprecated: Use GroupPlacementView.ProtoReflect.Descriptor instead. 97func (*GroupPlacementView) Descriptor() ([]byte, []int) { 98 return file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDescGZIP(), []int{0} 99} 100 101func (x *GroupPlacementView) GetResourceName() string { 102 if x != nil { 103 return x.ResourceName 104 } 105 return "" 106} 107 108func (x *GroupPlacementView) GetPlacement() *wrapperspb.StringValue { 109 if x != nil { 110 return x.Placement 111 } 112 return nil 113} 114 115func (x *GroupPlacementView) GetDisplayName() *wrapperspb.StringValue { 116 if x != nil { 117 return x.DisplayName 118 } 119 return nil 120} 121 122func (x *GroupPlacementView) GetTargetUrl() *wrapperspb.StringValue { 123 if x != nil { 124 return x.TargetUrl 125 } 126 return nil 127} 128 129func (x *GroupPlacementView) GetPlacementType() enums.PlacementTypeEnum_PlacementType { 130 if x != nil { 131 return x.PlacementType 132 } 133 return enums.PlacementTypeEnum_UNSPECIFIED 134} 135 136var File_google_ads_googleads_v3_resources_group_placement_view_proto protoreflect.FileDescriptor 137 138var file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDesc = []byte{ 139 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 140 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 141 0x63, 0x65, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 142 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 143 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 144 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 145 0x73, 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 146 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 147 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 148 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 149 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 150 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 151 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 152 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 153 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 154 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 155 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 156 0x96, 0x04, 0x0a, 0x12, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 157 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x12, 0x58, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 158 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 159 0x41, 0x03, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 160 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 161 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 162 0x65, 0x77, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 163 0x12, 0x3f, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 164 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 165 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 166 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 167 0x74, 0x12, 0x44, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 168 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 169 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 170 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 171 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 172 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 173 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 174 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 175 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x6a, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 176 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 177 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 178 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 179 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x45, 180 0x6e, 0x75, 0x6d, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 181 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 182 0x74, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x71, 0xea, 0x41, 0x6e, 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 183 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 184 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 185 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x12, 0x3f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 186 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 0x2f, 0x67, 0x72, 187 0x6f, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 188 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 189 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x7d, 0x42, 0x84, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 190 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 191 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 192 0x65, 0x73, 0x42, 0x17, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 193 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 194 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 195 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 196 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 197 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3b, 198 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 199 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 200 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x2e, 0x56, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 201 0x63, 0x65, 0x73, 0xca, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 202 0x5c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x33, 0x5c, 0x52, 0x65, 203 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 204 0x3a, 0x3a, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 205 0x3a, 0x3a, 0x56, 0x33, 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x62, 206 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 207} 208 209var ( 210 file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDescOnce sync.Once 211 file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDescData = file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDesc 212) 213 214func file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDescGZIP() []byte { 215 file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDescOnce.Do(func() { 216 file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDescData) 217 }) 218 return file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDescData 219} 220 221var file_google_ads_googleads_v3_resources_group_placement_view_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 222var file_google_ads_googleads_v3_resources_group_placement_view_proto_goTypes = []interface{}{ 223 (*GroupPlacementView)(nil), // 0: google.ads.googleads.v3.resources.GroupPlacementView 224 (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue 225 (enums.PlacementTypeEnum_PlacementType)(0), // 2: google.ads.googleads.v3.enums.PlacementTypeEnum.PlacementType 226} 227var file_google_ads_googleads_v3_resources_group_placement_view_proto_depIdxs = []int32{ 228 1, // 0: google.ads.googleads.v3.resources.GroupPlacementView.placement:type_name -> google.protobuf.StringValue 229 1, // 1: google.ads.googleads.v3.resources.GroupPlacementView.display_name:type_name -> google.protobuf.StringValue 230 1, // 2: google.ads.googleads.v3.resources.GroupPlacementView.target_url:type_name -> google.protobuf.StringValue 231 2, // 3: google.ads.googleads.v3.resources.GroupPlacementView.placement_type:type_name -> google.ads.googleads.v3.enums.PlacementTypeEnum.PlacementType 232 4, // [4:4] is the sub-list for method output_type 233 4, // [4:4] is the sub-list for method input_type 234 4, // [4:4] is the sub-list for extension type_name 235 4, // [4:4] is the sub-list for extension extendee 236 0, // [0:4] is the sub-list for field type_name 237} 238 239func init() { file_google_ads_googleads_v3_resources_group_placement_view_proto_init() } 240func file_google_ads_googleads_v3_resources_group_placement_view_proto_init() { 241 if File_google_ads_googleads_v3_resources_group_placement_view_proto != nil { 242 return 243 } 244 if !protoimpl.UnsafeEnabled { 245 file_google_ads_googleads_v3_resources_group_placement_view_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 246 switch v := v.(*GroupPlacementView); i { 247 case 0: 248 return &v.state 249 case 1: 250 return &v.sizeCache 251 case 2: 252 return &v.unknownFields 253 default: 254 return nil 255 } 256 } 257 } 258 type x struct{} 259 out := protoimpl.TypeBuilder{ 260 File: protoimpl.DescBuilder{ 261 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 262 RawDescriptor: file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDesc, 263 NumEnums: 0, 264 NumMessages: 1, 265 NumExtensions: 0, 266 NumServices: 0, 267 }, 268 GoTypes: file_google_ads_googleads_v3_resources_group_placement_view_proto_goTypes, 269 DependencyIndexes: file_google_ads_googleads_v3_resources_group_placement_view_proto_depIdxs, 270 MessageInfos: file_google_ads_googleads_v3_resources_group_placement_view_proto_msgTypes, 271 }.Build() 272 File_google_ads_googleads_v3_resources_group_placement_view_proto = out.File 273 file_google_ads_googleads_v3_resources_group_placement_view_proto_rawDesc = nil 274 file_google_ads_googleads_v3_resources_group_placement_view_proto_goTypes = nil 275 file_google_ads_googleads_v3_resources_group_placement_view_proto_depIdxs = nil 276} 277