1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v3/resources/feed_mapping.proto 3 4package resources 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 wrappers "github.com/golang/protobuf/ptypes/wrappers" 12 enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14) 15 16// Reference imports to suppress errors if they are not otherwise used. 17var _ = proto.Marshal 18var _ = fmt.Errorf 19var _ = math.Inf 20 21// This is a compile-time assertion to ensure that this generated file 22// is compatible with the proto package it is being compiled against. 23// A compilation error at this line likely means your copy of the 24// proto package needs to be updated. 25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 26 27// A feed mapping. 28type FeedMapping struct { 29 // The resource name of the feed mapping. 30 // Feed mapping resource names have the form: 31 // 32 // `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` 33 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 34 // The feed of this feed mapping. 35 Feed *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed,proto3" json:"feed,omitempty"` 36 // Feed attributes to field mappings. These mappings are a one-to-many 37 // relationship meaning that 1 feed attribute can be used to populate 38 // multiple placeholder fields, but 1 placeholder field can only draw 39 // data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder 40 // field can be mapped to multiple feed attributes. Required. 41 AttributeFieldMappings []*AttributeFieldMapping `protobuf:"bytes,5,rep,name=attribute_field_mappings,json=attributeFieldMappings,proto3" json:"attribute_field_mappings,omitempty"` 42 // Status of the feed mapping. 43 // This field is read-only. 44 Status enums.FeedMappingStatusEnum_FeedMappingStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.FeedMappingStatusEnum_FeedMappingStatus" json:"status,omitempty"` 45 // Feed mapping target. Can be either a placeholder or a criterion. For a 46 // given feed, the active FeedMappings must have unique targets. Required. 47 // 48 // Types that are valid to be assigned to Target: 49 // *FeedMapping_PlaceholderType 50 // *FeedMapping_CriterionType 51 Target isFeedMapping_Target `protobuf_oneof:"target"` 52 XXX_NoUnkeyedLiteral struct{} `json:"-"` 53 XXX_unrecognized []byte `json:"-"` 54 XXX_sizecache int32 `json:"-"` 55} 56 57func (m *FeedMapping) Reset() { *m = FeedMapping{} } 58func (m *FeedMapping) String() string { return proto.CompactTextString(m) } 59func (*FeedMapping) ProtoMessage() {} 60func (*FeedMapping) Descriptor() ([]byte, []int) { 61 return fileDescriptor_686021db801e5474, []int{0} 62} 63 64func (m *FeedMapping) XXX_Unmarshal(b []byte) error { 65 return xxx_messageInfo_FeedMapping.Unmarshal(m, b) 66} 67func (m *FeedMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 68 return xxx_messageInfo_FeedMapping.Marshal(b, m, deterministic) 69} 70func (m *FeedMapping) XXX_Merge(src proto.Message) { 71 xxx_messageInfo_FeedMapping.Merge(m, src) 72} 73func (m *FeedMapping) XXX_Size() int { 74 return xxx_messageInfo_FeedMapping.Size(m) 75} 76func (m *FeedMapping) XXX_DiscardUnknown() { 77 xxx_messageInfo_FeedMapping.DiscardUnknown(m) 78} 79 80var xxx_messageInfo_FeedMapping proto.InternalMessageInfo 81 82func (m *FeedMapping) GetResourceName() string { 83 if m != nil { 84 return m.ResourceName 85 } 86 return "" 87} 88 89func (m *FeedMapping) GetFeed() *wrappers.StringValue { 90 if m != nil { 91 return m.Feed 92 } 93 return nil 94} 95 96func (m *FeedMapping) GetAttributeFieldMappings() []*AttributeFieldMapping { 97 if m != nil { 98 return m.AttributeFieldMappings 99 } 100 return nil 101} 102 103func (m *FeedMapping) GetStatus() enums.FeedMappingStatusEnum_FeedMappingStatus { 104 if m != nil { 105 return m.Status 106 } 107 return enums.FeedMappingStatusEnum_UNSPECIFIED 108} 109 110type isFeedMapping_Target interface { 111 isFeedMapping_Target() 112} 113 114type FeedMapping_PlaceholderType struct { 115 PlaceholderType enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,3,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v3.enums.PlaceholderTypeEnum_PlaceholderType,oneof"` 116} 117 118type FeedMapping_CriterionType struct { 119 CriterionType enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType `protobuf:"varint,4,opt,name=criterion_type,json=criterionType,proto3,enum=google.ads.googleads.v3.enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType,oneof"` 120} 121 122func (*FeedMapping_PlaceholderType) isFeedMapping_Target() {} 123 124func (*FeedMapping_CriterionType) isFeedMapping_Target() {} 125 126func (m *FeedMapping) GetTarget() isFeedMapping_Target { 127 if m != nil { 128 return m.Target 129 } 130 return nil 131} 132 133func (m *FeedMapping) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType { 134 if x, ok := m.GetTarget().(*FeedMapping_PlaceholderType); ok { 135 return x.PlaceholderType 136 } 137 return enums.PlaceholderTypeEnum_UNSPECIFIED 138} 139 140func (m *FeedMapping) GetCriterionType() enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType { 141 if x, ok := m.GetTarget().(*FeedMapping_CriterionType); ok { 142 return x.CriterionType 143 } 144 return enums.FeedMappingCriterionTypeEnum_UNSPECIFIED 145} 146 147// XXX_OneofWrappers is for the internal use of the proto package. 148func (*FeedMapping) XXX_OneofWrappers() []interface{} { 149 return []interface{}{ 150 (*FeedMapping_PlaceholderType)(nil), 151 (*FeedMapping_CriterionType)(nil), 152 } 153} 154 155// Maps from feed attribute id to a placeholder or criterion field id. 156type AttributeFieldMapping struct { 157 // Feed attribute from which to map. 158 FeedAttributeId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=feed_attribute_id,json=feedAttributeId,proto3" json:"feed_attribute_id,omitempty"` 159 // The placeholder field ID. If a placeholder field enum is not published in 160 // the current API version, then this field will be populated and the field 161 // oneof will be empty. 162 // This field is read-only. 163 FieldId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` 164 // Placeholder or criterion field to be populated using data from 165 // the above feed attribute. Required. 166 // 167 // Types that are valid to be assigned to Field: 168 // *AttributeFieldMapping_SitelinkField 169 // *AttributeFieldMapping_CallField 170 // *AttributeFieldMapping_AppField 171 // *AttributeFieldMapping_LocationField 172 // *AttributeFieldMapping_AffiliateLocationField 173 // *AttributeFieldMapping_CalloutField 174 // *AttributeFieldMapping_StructuredSnippetField 175 // *AttributeFieldMapping_MessageField 176 // *AttributeFieldMapping_PriceField 177 // *AttributeFieldMapping_PromotionField 178 // *AttributeFieldMapping_AdCustomizerField 179 // *AttributeFieldMapping_DsaPageFeedField 180 // *AttributeFieldMapping_LocationExtensionTargetingField 181 // *AttributeFieldMapping_EducationField 182 // *AttributeFieldMapping_FlightField 183 // *AttributeFieldMapping_CustomField 184 // *AttributeFieldMapping_HotelField 185 // *AttributeFieldMapping_RealEstateField 186 // *AttributeFieldMapping_TravelField 187 // *AttributeFieldMapping_LocalField 188 // *AttributeFieldMapping_JobField 189 Field isAttributeFieldMapping_Field `protobuf_oneof:"field"` 190 XXX_NoUnkeyedLiteral struct{} `json:"-"` 191 XXX_unrecognized []byte `json:"-"` 192 XXX_sizecache int32 `json:"-"` 193} 194 195func (m *AttributeFieldMapping) Reset() { *m = AttributeFieldMapping{} } 196func (m *AttributeFieldMapping) String() string { return proto.CompactTextString(m) } 197func (*AttributeFieldMapping) ProtoMessage() {} 198func (*AttributeFieldMapping) Descriptor() ([]byte, []int) { 199 return fileDescriptor_686021db801e5474, []int{1} 200} 201 202func (m *AttributeFieldMapping) XXX_Unmarshal(b []byte) error { 203 return xxx_messageInfo_AttributeFieldMapping.Unmarshal(m, b) 204} 205func (m *AttributeFieldMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 206 return xxx_messageInfo_AttributeFieldMapping.Marshal(b, m, deterministic) 207} 208func (m *AttributeFieldMapping) XXX_Merge(src proto.Message) { 209 xxx_messageInfo_AttributeFieldMapping.Merge(m, src) 210} 211func (m *AttributeFieldMapping) XXX_Size() int { 212 return xxx_messageInfo_AttributeFieldMapping.Size(m) 213} 214func (m *AttributeFieldMapping) XXX_DiscardUnknown() { 215 xxx_messageInfo_AttributeFieldMapping.DiscardUnknown(m) 216} 217 218var xxx_messageInfo_AttributeFieldMapping proto.InternalMessageInfo 219 220func (m *AttributeFieldMapping) GetFeedAttributeId() *wrappers.Int64Value { 221 if m != nil { 222 return m.FeedAttributeId 223 } 224 return nil 225} 226 227func (m *AttributeFieldMapping) GetFieldId() *wrappers.Int64Value { 228 if m != nil { 229 return m.FieldId 230 } 231 return nil 232} 233 234type isAttributeFieldMapping_Field interface { 235 isAttributeFieldMapping_Field() 236} 237 238type AttributeFieldMapping_SitelinkField struct { 239 SitelinkField enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField `protobuf:"varint,3,opt,name=sitelink_field,json=sitelinkField,proto3,enum=google.ads.googleads.v3.enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField,oneof"` 240} 241 242type AttributeFieldMapping_CallField struct { 243 CallField enums.CallPlaceholderFieldEnum_CallPlaceholderField `protobuf:"varint,4,opt,name=call_field,json=callField,proto3,enum=google.ads.googleads.v3.enums.CallPlaceholderFieldEnum_CallPlaceholderField,oneof"` 244} 245 246type AttributeFieldMapping_AppField struct { 247 AppField enums.AppPlaceholderFieldEnum_AppPlaceholderField `protobuf:"varint,5,opt,name=app_field,json=appField,proto3,enum=google.ads.googleads.v3.enums.AppPlaceholderFieldEnum_AppPlaceholderField,oneof"` 248} 249 250type AttributeFieldMapping_LocationField struct { 251 LocationField enums.LocationPlaceholderFieldEnum_LocationPlaceholderField `protobuf:"varint,6,opt,name=location_field,json=locationField,proto3,enum=google.ads.googleads.v3.enums.LocationPlaceholderFieldEnum_LocationPlaceholderField,oneof"` 252} 253 254type AttributeFieldMapping_AffiliateLocationField struct { 255 AffiliateLocationField enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField `protobuf:"varint,7,opt,name=affiliate_location_field,json=affiliateLocationField,proto3,enum=google.ads.googleads.v3.enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField,oneof"` 256} 257 258type AttributeFieldMapping_CalloutField struct { 259 CalloutField enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField `protobuf:"varint,8,opt,name=callout_field,json=calloutField,proto3,enum=google.ads.googleads.v3.enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField,oneof"` 260} 261 262type AttributeFieldMapping_StructuredSnippetField struct { 263 StructuredSnippetField enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField `protobuf:"varint,9,opt,name=structured_snippet_field,json=structuredSnippetField,proto3,enum=google.ads.googleads.v3.enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField,oneof"` 264} 265 266type AttributeFieldMapping_MessageField struct { 267 MessageField enums.MessagePlaceholderFieldEnum_MessagePlaceholderField `protobuf:"varint,10,opt,name=message_field,json=messageField,proto3,enum=google.ads.googleads.v3.enums.MessagePlaceholderFieldEnum_MessagePlaceholderField,oneof"` 268} 269 270type AttributeFieldMapping_PriceField struct { 271 PriceField enums.PricePlaceholderFieldEnum_PricePlaceholderField `protobuf:"varint,11,opt,name=price_field,json=priceField,proto3,enum=google.ads.googleads.v3.enums.PricePlaceholderFieldEnum_PricePlaceholderField,oneof"` 272} 273 274type AttributeFieldMapping_PromotionField struct { 275 PromotionField enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField `protobuf:"varint,12,opt,name=promotion_field,json=promotionField,proto3,enum=google.ads.googleads.v3.enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField,oneof"` 276} 277 278type AttributeFieldMapping_AdCustomizerField struct { 279 AdCustomizerField enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField `protobuf:"varint,13,opt,name=ad_customizer_field,json=adCustomizerField,proto3,enum=google.ads.googleads.v3.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField,oneof"` 280} 281 282type AttributeFieldMapping_DsaPageFeedField struct { 283 DsaPageFeedField enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField `protobuf:"varint,14,opt,name=dsa_page_feed_field,json=dsaPageFeedField,proto3,enum=google.ads.googleads.v3.enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField,oneof"` 284} 285 286type AttributeFieldMapping_LocationExtensionTargetingField struct { 287 LocationExtensionTargetingField enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField `protobuf:"varint,15,opt,name=location_extension_targeting_field,json=locationExtensionTargetingField,proto3,enum=google.ads.googleads.v3.enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField,oneof"` 288} 289 290type AttributeFieldMapping_EducationField struct { 291 EducationField enums.EducationPlaceholderFieldEnum_EducationPlaceholderField `protobuf:"varint,16,opt,name=education_field,json=educationField,proto3,enum=google.ads.googleads.v3.enums.EducationPlaceholderFieldEnum_EducationPlaceholderField,oneof"` 292} 293 294type AttributeFieldMapping_FlightField struct { 295 FlightField enums.FlightPlaceholderFieldEnum_FlightPlaceholderField `protobuf:"varint,17,opt,name=flight_field,json=flightField,proto3,enum=google.ads.googleads.v3.enums.FlightPlaceholderFieldEnum_FlightPlaceholderField,oneof"` 296} 297 298type AttributeFieldMapping_CustomField struct { 299 CustomField enums.CustomPlaceholderFieldEnum_CustomPlaceholderField `protobuf:"varint,18,opt,name=custom_field,json=customField,proto3,enum=google.ads.googleads.v3.enums.CustomPlaceholderFieldEnum_CustomPlaceholderField,oneof"` 300} 301 302type AttributeFieldMapping_HotelField struct { 303 HotelField enums.HotelPlaceholderFieldEnum_HotelPlaceholderField `protobuf:"varint,19,opt,name=hotel_field,json=hotelField,proto3,enum=google.ads.googleads.v3.enums.HotelPlaceholderFieldEnum_HotelPlaceholderField,oneof"` 304} 305 306type AttributeFieldMapping_RealEstateField struct { 307 RealEstateField enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField `protobuf:"varint,20,opt,name=real_estate_field,json=realEstateField,proto3,enum=google.ads.googleads.v3.enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField,oneof"` 308} 309 310type AttributeFieldMapping_TravelField struct { 311 TravelField enums.TravelPlaceholderFieldEnum_TravelPlaceholderField `protobuf:"varint,21,opt,name=travel_field,json=travelField,proto3,enum=google.ads.googleads.v3.enums.TravelPlaceholderFieldEnum_TravelPlaceholderField,oneof"` 312} 313 314type AttributeFieldMapping_LocalField struct { 315 LocalField enums.LocalPlaceholderFieldEnum_LocalPlaceholderField `protobuf:"varint,22,opt,name=local_field,json=localField,proto3,enum=google.ads.googleads.v3.enums.LocalPlaceholderFieldEnum_LocalPlaceholderField,oneof"` 316} 317 318type AttributeFieldMapping_JobField struct { 319 JobField enums.JobPlaceholderFieldEnum_JobPlaceholderField `protobuf:"varint,23,opt,name=job_field,json=jobField,proto3,enum=google.ads.googleads.v3.enums.JobPlaceholderFieldEnum_JobPlaceholderField,oneof"` 320} 321 322func (*AttributeFieldMapping_SitelinkField) isAttributeFieldMapping_Field() {} 323 324func (*AttributeFieldMapping_CallField) isAttributeFieldMapping_Field() {} 325 326func (*AttributeFieldMapping_AppField) isAttributeFieldMapping_Field() {} 327 328func (*AttributeFieldMapping_LocationField) isAttributeFieldMapping_Field() {} 329 330func (*AttributeFieldMapping_AffiliateLocationField) isAttributeFieldMapping_Field() {} 331 332func (*AttributeFieldMapping_CalloutField) isAttributeFieldMapping_Field() {} 333 334func (*AttributeFieldMapping_StructuredSnippetField) isAttributeFieldMapping_Field() {} 335 336func (*AttributeFieldMapping_MessageField) isAttributeFieldMapping_Field() {} 337 338func (*AttributeFieldMapping_PriceField) isAttributeFieldMapping_Field() {} 339 340func (*AttributeFieldMapping_PromotionField) isAttributeFieldMapping_Field() {} 341 342func (*AttributeFieldMapping_AdCustomizerField) isAttributeFieldMapping_Field() {} 343 344func (*AttributeFieldMapping_DsaPageFeedField) isAttributeFieldMapping_Field() {} 345 346func (*AttributeFieldMapping_LocationExtensionTargetingField) isAttributeFieldMapping_Field() {} 347 348func (*AttributeFieldMapping_EducationField) isAttributeFieldMapping_Field() {} 349 350func (*AttributeFieldMapping_FlightField) isAttributeFieldMapping_Field() {} 351 352func (*AttributeFieldMapping_CustomField) isAttributeFieldMapping_Field() {} 353 354func (*AttributeFieldMapping_HotelField) isAttributeFieldMapping_Field() {} 355 356func (*AttributeFieldMapping_RealEstateField) isAttributeFieldMapping_Field() {} 357 358func (*AttributeFieldMapping_TravelField) isAttributeFieldMapping_Field() {} 359 360func (*AttributeFieldMapping_LocalField) isAttributeFieldMapping_Field() {} 361 362func (*AttributeFieldMapping_JobField) isAttributeFieldMapping_Field() {} 363 364func (m *AttributeFieldMapping) GetField() isAttributeFieldMapping_Field { 365 if m != nil { 366 return m.Field 367 } 368 return nil 369} 370 371func (m *AttributeFieldMapping) GetSitelinkField() enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField { 372 if x, ok := m.GetField().(*AttributeFieldMapping_SitelinkField); ok { 373 return x.SitelinkField 374 } 375 return enums.SitelinkPlaceholderFieldEnum_UNSPECIFIED 376} 377 378func (m *AttributeFieldMapping) GetCallField() enums.CallPlaceholderFieldEnum_CallPlaceholderField { 379 if x, ok := m.GetField().(*AttributeFieldMapping_CallField); ok { 380 return x.CallField 381 } 382 return enums.CallPlaceholderFieldEnum_UNSPECIFIED 383} 384 385func (m *AttributeFieldMapping) GetAppField() enums.AppPlaceholderFieldEnum_AppPlaceholderField { 386 if x, ok := m.GetField().(*AttributeFieldMapping_AppField); ok { 387 return x.AppField 388 } 389 return enums.AppPlaceholderFieldEnum_UNSPECIFIED 390} 391 392func (m *AttributeFieldMapping) GetLocationField() enums.LocationPlaceholderFieldEnum_LocationPlaceholderField { 393 if x, ok := m.GetField().(*AttributeFieldMapping_LocationField); ok { 394 return x.LocationField 395 } 396 return enums.LocationPlaceholderFieldEnum_UNSPECIFIED 397} 398 399func (m *AttributeFieldMapping) GetAffiliateLocationField() enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField { 400 if x, ok := m.GetField().(*AttributeFieldMapping_AffiliateLocationField); ok { 401 return x.AffiliateLocationField 402 } 403 return enums.AffiliateLocationPlaceholderFieldEnum_UNSPECIFIED 404} 405 406func (m *AttributeFieldMapping) GetCalloutField() enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField { 407 if x, ok := m.GetField().(*AttributeFieldMapping_CalloutField); ok { 408 return x.CalloutField 409 } 410 return enums.CalloutPlaceholderFieldEnum_UNSPECIFIED 411} 412 413func (m *AttributeFieldMapping) GetStructuredSnippetField() enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField { 414 if x, ok := m.GetField().(*AttributeFieldMapping_StructuredSnippetField); ok { 415 return x.StructuredSnippetField 416 } 417 return enums.StructuredSnippetPlaceholderFieldEnum_UNSPECIFIED 418} 419 420func (m *AttributeFieldMapping) GetMessageField() enums.MessagePlaceholderFieldEnum_MessagePlaceholderField { 421 if x, ok := m.GetField().(*AttributeFieldMapping_MessageField); ok { 422 return x.MessageField 423 } 424 return enums.MessagePlaceholderFieldEnum_UNSPECIFIED 425} 426 427func (m *AttributeFieldMapping) GetPriceField() enums.PricePlaceholderFieldEnum_PricePlaceholderField { 428 if x, ok := m.GetField().(*AttributeFieldMapping_PriceField); ok { 429 return x.PriceField 430 } 431 return enums.PricePlaceholderFieldEnum_UNSPECIFIED 432} 433 434func (m *AttributeFieldMapping) GetPromotionField() enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField { 435 if x, ok := m.GetField().(*AttributeFieldMapping_PromotionField); ok { 436 return x.PromotionField 437 } 438 return enums.PromotionPlaceholderFieldEnum_UNSPECIFIED 439} 440 441func (m *AttributeFieldMapping) GetAdCustomizerField() enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField { 442 if x, ok := m.GetField().(*AttributeFieldMapping_AdCustomizerField); ok { 443 return x.AdCustomizerField 444 } 445 return enums.AdCustomizerPlaceholderFieldEnum_UNSPECIFIED 446} 447 448func (m *AttributeFieldMapping) GetDsaPageFeedField() enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField { 449 if x, ok := m.GetField().(*AttributeFieldMapping_DsaPageFeedField); ok { 450 return x.DsaPageFeedField 451 } 452 return enums.DsaPageFeedCriterionFieldEnum_UNSPECIFIED 453} 454 455func (m *AttributeFieldMapping) GetLocationExtensionTargetingField() enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField { 456 if x, ok := m.GetField().(*AttributeFieldMapping_LocationExtensionTargetingField); ok { 457 return x.LocationExtensionTargetingField 458 } 459 return enums.LocationExtensionTargetingCriterionFieldEnum_UNSPECIFIED 460} 461 462func (m *AttributeFieldMapping) GetEducationField() enums.EducationPlaceholderFieldEnum_EducationPlaceholderField { 463 if x, ok := m.GetField().(*AttributeFieldMapping_EducationField); ok { 464 return x.EducationField 465 } 466 return enums.EducationPlaceholderFieldEnum_UNSPECIFIED 467} 468 469func (m *AttributeFieldMapping) GetFlightField() enums.FlightPlaceholderFieldEnum_FlightPlaceholderField { 470 if x, ok := m.GetField().(*AttributeFieldMapping_FlightField); ok { 471 return x.FlightField 472 } 473 return enums.FlightPlaceholderFieldEnum_UNSPECIFIED 474} 475 476func (m *AttributeFieldMapping) GetCustomField() enums.CustomPlaceholderFieldEnum_CustomPlaceholderField { 477 if x, ok := m.GetField().(*AttributeFieldMapping_CustomField); ok { 478 return x.CustomField 479 } 480 return enums.CustomPlaceholderFieldEnum_UNSPECIFIED 481} 482 483func (m *AttributeFieldMapping) GetHotelField() enums.HotelPlaceholderFieldEnum_HotelPlaceholderField { 484 if x, ok := m.GetField().(*AttributeFieldMapping_HotelField); ok { 485 return x.HotelField 486 } 487 return enums.HotelPlaceholderFieldEnum_UNSPECIFIED 488} 489 490func (m *AttributeFieldMapping) GetRealEstateField() enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField { 491 if x, ok := m.GetField().(*AttributeFieldMapping_RealEstateField); ok { 492 return x.RealEstateField 493 } 494 return enums.RealEstatePlaceholderFieldEnum_UNSPECIFIED 495} 496 497func (m *AttributeFieldMapping) GetTravelField() enums.TravelPlaceholderFieldEnum_TravelPlaceholderField { 498 if x, ok := m.GetField().(*AttributeFieldMapping_TravelField); ok { 499 return x.TravelField 500 } 501 return enums.TravelPlaceholderFieldEnum_UNSPECIFIED 502} 503 504func (m *AttributeFieldMapping) GetLocalField() enums.LocalPlaceholderFieldEnum_LocalPlaceholderField { 505 if x, ok := m.GetField().(*AttributeFieldMapping_LocalField); ok { 506 return x.LocalField 507 } 508 return enums.LocalPlaceholderFieldEnum_UNSPECIFIED 509} 510 511func (m *AttributeFieldMapping) GetJobField() enums.JobPlaceholderFieldEnum_JobPlaceholderField { 512 if x, ok := m.GetField().(*AttributeFieldMapping_JobField); ok { 513 return x.JobField 514 } 515 return enums.JobPlaceholderFieldEnum_UNSPECIFIED 516} 517 518// XXX_OneofWrappers is for the internal use of the proto package. 519func (*AttributeFieldMapping) XXX_OneofWrappers() []interface{} { 520 return []interface{}{ 521 (*AttributeFieldMapping_SitelinkField)(nil), 522 (*AttributeFieldMapping_CallField)(nil), 523 (*AttributeFieldMapping_AppField)(nil), 524 (*AttributeFieldMapping_LocationField)(nil), 525 (*AttributeFieldMapping_AffiliateLocationField)(nil), 526 (*AttributeFieldMapping_CalloutField)(nil), 527 (*AttributeFieldMapping_StructuredSnippetField)(nil), 528 (*AttributeFieldMapping_MessageField)(nil), 529 (*AttributeFieldMapping_PriceField)(nil), 530 (*AttributeFieldMapping_PromotionField)(nil), 531 (*AttributeFieldMapping_AdCustomizerField)(nil), 532 (*AttributeFieldMapping_DsaPageFeedField)(nil), 533 (*AttributeFieldMapping_LocationExtensionTargetingField)(nil), 534 (*AttributeFieldMapping_EducationField)(nil), 535 (*AttributeFieldMapping_FlightField)(nil), 536 (*AttributeFieldMapping_CustomField)(nil), 537 (*AttributeFieldMapping_HotelField)(nil), 538 (*AttributeFieldMapping_RealEstateField)(nil), 539 (*AttributeFieldMapping_TravelField)(nil), 540 (*AttributeFieldMapping_LocalField)(nil), 541 (*AttributeFieldMapping_JobField)(nil), 542 } 543} 544 545func init() { 546 proto.RegisterType((*FeedMapping)(nil), "google.ads.googleads.v3.resources.FeedMapping") 547 proto.RegisterType((*AttributeFieldMapping)(nil), "google.ads.googleads.v3.resources.AttributeFieldMapping") 548} 549 550func init() { 551 proto.RegisterFile("google/ads/googleads/v3/resources/feed_mapping.proto", fileDescriptor_686021db801e5474) 552} 553 554var fileDescriptor_686021db801e5474 = []byte{ 555 // 1360 bytes of a gzipped FileDescriptorProto 556 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x98, 0xdd, 0x6e, 0xdc, 0x44, 557 0x14, 0xc7, 0xed, 0xb4, 0x49, 0x93, 0xd9, 0x7c, 0x6e, 0x69, 0x58, 0x4a, 0x05, 0x69, 0xa1, 0x52, 558 0xae, 0xbc, 0x55, 0x52, 0x15, 0xd8, 0xf2, 0xa1, 0x4d, 0x48, 0xeb, 0x56, 0x6d, 0xb5, 0x72, 0xa2, 559 0xa8, 0x82, 0x88, 0xd5, 0xec, 0x7a, 0x76, 0xeb, 0xe2, 0xf5, 0x18, 0xcf, 0xb8, 0x50, 0xaa, 0x5c, 560 0x70, 0x03, 0x77, 0xf0, 0x0e, 0xbd, 0xe4, 0x35, 0xb8, 0xe3, 0x9a, 0xa7, 0xe8, 0x3b, 0x20, 0xa1, 561 0x99, 0x63, 0xcf, 0x3a, 0xe9, 0xd8, 0x63, 0xf6, 0x6e, 0x76, 0xce, 0xfc, 0xcf, 0xef, 0xf8, 0xcc, 562 0x99, 0xaf, 0x45, 0xb7, 0xc7, 0x94, 0x8e, 0x43, 0xd2, 0xc6, 0x3e, 0x6b, 0x43, 0x53, 0xb4, 0x5e, 563 0xec, 0xb6, 0x13, 0xc2, 0x68, 0x9a, 0x0c, 0x09, 0x6b, 0x8f, 0x08, 0xf1, 0xfb, 0x13, 0x1c, 0xc7, 564 0x41, 0x34, 0x76, 0xe2, 0x84, 0x72, 0xda, 0xbc, 0x0e, 0x43, 0x1d, 0xec, 0x33, 0x47, 0xa9, 0x9c, 565 0x17, 0xbb, 0x8e, 0x52, 0x5d, 0xdd, 0x2f, 0x73, 0x4c, 0xa2, 0x74, 0xc2, 0xda, 0xd8, 0xef, 0x0f, 566 0x53, 0xc6, 0xe9, 0x24, 0xf8, 0x99, 0x24, 0xfd, 0x38, 0xc4, 0x43, 0xf2, 0x8c, 0x86, 0x3e, 0x49, 567 0xfa, 0xa3, 0x80, 0x84, 0x3e, 0x70, 0xae, 0xba, 0x06, 0x27, 0xa3, 0x51, 0x10, 0x06, 0x98, 0x93, 568 0x7e, 0x48, 0x87, 0x98, 0x07, 0x34, 0x2a, 0xf5, 0xf4, 0x99, 0xc1, 0x53, 0x1c, 0x97, 0x4a, 0x3b, 569 0xd5, 0xd2, 0x21, 0x0e, 0xc3, 0x52, 0xed, 0x17, 0x66, 0x2d, 0x4d, 0x79, 0xa9, 0xfc, 0x73, 0x83, 570 0x5c, 0x66, 0xb0, 0x54, 0xdd, 0xad, 0x56, 0xfb, 0x0c, 0xf7, 0x63, 0x3c, 0x26, 0x7d, 0x39, 0xc1, 571 0xc3, 0x24, 0xe0, 0x24, 0x11, 0x29, 0x2c, 0xba, 0xf8, 0xaa, 0xda, 0x05, 0xf1, 0x53, 0x43, 0xde, 572 0x0d, 0x0e, 0x8a, 0xb5, 0x55, 0x08, 0x81, 0xbf, 0x8c, 0x49, 0xe6, 0xe0, 0x93, 0xff, 0xe1, 0x80, 573 0x71, 0xcc, 0x53, 0x56, 0x2f, 0x77, 0xa3, 0x30, 0x18, 0x3f, 0x2b, 0xcf, 0xfc, 0xdd, 0x6a, 0xf5, 574 0x33, 0xca, 0x49, 0x38, 0x6b, 0xb1, 0x3d, 0xa7, 0x83, 0x59, 0xb9, 0xa2, 0xce, 0xcb, 0xb9, 0x3d, 575 0xb3, 0x58, 0x4e, 0x16, 0xf9, 0x89, 0x93, 0x88, 0xc9, 0x44, 0xe3, 0x64, 0x4c, 0xf8, 0xd9, 0xe4, 576 0x17, 0x3d, 0x7e, 0x59, 0xd3, 0xe3, 0x8c, 0xf5, 0x3f, 0x21, 0x8c, 0x89, 0x0a, 0x2c, 0x93, 0xdf, 577 0xae, 0x96, 0x17, 0x65, 0x85, 0x92, 0x31, 0xe4, 0x30, 0x4e, 0x82, 0x21, 0x99, 0xb5, 0x60, 0xe3, 578 0x84, 0x4e, 0x68, 0xe5, 0x27, 0x1b, 0x56, 0x5d, 0x42, 0x70, 0xd8, 0x27, 0xa2, 0x52, 0xcb, 0x63, 579 0x30, 0x64, 0x9d, 0x05, 0x9c, 0x84, 0x41, 0xf4, 0xfd, 0xac, 0xdb, 0x26, 0xe3, 0x49, 0x3a, 0xe4, 580 0x69, 0x42, 0xfc, 0x3e, 0x8b, 0x82, 0x38, 0x26, 0x33, 0x6f, 0x40, 0x3c, 0xc1, 0x2f, 0x2a, 0xd6, 581 0xc1, 0x7b, 0xb9, 0x3a, 0x0e, 0xd4, 0x79, 0x92, 0x99, 0x3e, 0xc8, 0x4c, 0xf2, 0xd7, 0x20, 0x1d, 582 0xb5, 0x7f, 0x4c, 0x70, 0x1c, 0x93, 0x24, 0x5f, 0xbd, 0xd7, 0x0a, 0x52, 0x1c, 0x45, 0x94, 0xcb, 583 0x3a, 0xcb, 0xac, 0x37, 0xfe, 0x98, 0x47, 0x8d, 0x7b, 0x84, 0xf8, 0x8f, 0x61, 0xe1, 0x37, 0x3f, 584 0x42, 0x2b, 0xb9, 0xff, 0x7e, 0x84, 0x27, 0xa4, 0x65, 0x6f, 0xd9, 0xdb, 0x4b, 0xde, 0x72, 0xde, 585 0xf9, 0x04, 0x4f, 0x48, 0xf3, 0x16, 0xba, 0x28, 0x76, 0x8b, 0xd6, 0xdc, 0x96, 0xbd, 0xdd, 0xd8, 586 0xb9, 0x96, 0x1d, 0x5c, 0x4e, 0x1e, 0x81, 0x73, 0xc8, 0x93, 0x20, 0x1a, 0x1f, 0xe3, 0x30, 0x25, 587 0x9e, 0x1c, 0xd9, 0x4c, 0x50, 0x0b, 0x73, 0x9e, 0x04, 0x83, 0x94, 0x13, 0xf8, 0xb0, 0x7c, 0xab, 588 0x61, 0xad, 0xf9, 0xad, 0x0b, 0xdb, 0x8d, 0x9d, 0x4f, 0x1d, 0xe3, 0x49, 0xe8, 0x74, 0x73, 0x17, 589 0xf7, 0x84, 0x87, 0x2c, 0x64, 0x6f, 0x13, 0xeb, 0xba, 0x59, 0xf3, 0x3b, 0xb4, 0x00, 0xdb, 0x58, 590 0x6b, 0x61, 0xcb, 0xde, 0x5e, 0xdd, 0xb9, 0x57, 0x4a, 0x90, 0x53, 0xe0, 0x14, 0xd2, 0x70, 0x28, 591 0x75, 0x07, 0x51, 0x3a, 0x79, 0xbb, 0xd7, 0xcb, 0xbc, 0x36, 0x29, 0x5a, 0x3f, 0xbf, 0x6c, 0x5a, 592 0x17, 0x24, 0x69, 0xcf, 0x40, 0xea, 0x4d, 0x65, 0x47, 0x2f, 0x63, 0x22, 0x39, 0xe7, 0xfa, 0x5c, 593 0xcb, 0x5b, 0x8b, 0xcf, 0x76, 0x35, 0x4f, 0xd1, 0xea, 0xd9, 0x8d, 0xbd, 0x75, 0x51, 0xe2, 0x8e, 594 0xea, 0x7f, 0xd8, 0x7e, 0xae, 0x57, 0xdc, 0x32, 0xa3, 0x6b, 0x79, 0x2b, 0xc3, 0x62, 0x47, 0xe7, 595 0xdb, 0x37, 0xdd, 0xa7, 0xe8, 0xe3, 0xa9, 0xff, 0xac, 0x15, 0x07, 0xcc, 0x19, 0xd2, 0x49, 0xbb, 596 0x58, 0x45, 0xb7, 0xe0, 0x3c, 0x25, 0x09, 0x6b, 0xbf, 0xca, 0x9b, 0xa7, 0xf2, 0x84, 0xc9, 0x67, 597 0xa7, 0xfd, 0xaa, 0x78, 0xde, 0x9c, 0xee, 0x2d, 0xa2, 0x05, 0xd8, 0x41, 0x6f, 0xfc, 0xb3, 0x89, 598 0xae, 0x68, 0x27, 0xba, 0x79, 0x1f, 0x6d, 0x48, 0xd1, 0xb4, 0x92, 0x02, 0x5f, 0xd6, 0x67, 0x63, 599 0xe7, 0xfd, 0xb7, 0x6a, 0xf0, 0x41, 0xc4, 0xef, 0xdc, 0x86, 0x12, 0x5c, 0x13, 0x2a, 0xe5, 0xf2, 600 0x81, 0xdf, 0xbc, 0x83, 0x16, 0xa1, 0x06, 0x83, 0xbc, 0x86, 0x2b, 0xf5, 0x97, 0xe4, 0xe0, 0x07, 601 0xbe, 0x98, 0x00, 0xb5, 0x63, 0xc8, 0xbe, 0x6c, 0xbe, 0x4d, 0x13, 0x70, 0x98, 0x89, 0x0a, 0x73, 602 0x2c, 0x3f, 0x4c, 0x4e, 0x40, 0x99, 0x51, 0x4c, 0x40, 0x4e, 0x93, 0x1d, 0xcd, 0x09, 0x42, 0xf2, 603 0x8a, 0x04, 0x68, 0x98, 0xfb, 0x47, 0x06, 0xf4, 0x3e, 0x0e, 0x43, 0x2d, 0x56, 0x67, 0x70, 0x2d, 604 0x6f, 0x49, 0x10, 0x00, 0x17, 0xa0, 0x25, 0x71, 0x99, 0x03, 0xda, 0xbc, 0xa4, 0x3d, 0x34, 0xd0, 605 0xba, 0x71, 0xac, 0x85, 0x69, 0xfa, 0x5d, 0xcb, 0x5b, 0xc4, 0x71, 0x0c, 0xa8, 0x53, 0xb4, 0xaa, 606 0x0e, 0x40, 0xe0, 0x2d, 0xd4, 0x4a, 0xec, 0xa3, 0x4c, 0xa4, 0x85, 0x96, 0x19, 0x45, 0x62, 0x73, 607 0x1a, 0xe0, 0x5f, 0xdb, 0xa8, 0xa5, 0xb9, 0x01, 0x43, 0x24, 0x97, 0x64, 0x24, 0x23, 0xd3, 0x97, 608 0xe7, 0xf2, 0xca, 0x90, 0x8c, 0xa3, 0x5c, 0xcb, 0xdb, 0xc4, 0xe7, 0x07, 0x41, 0x90, 0x2f, 0xd1, 609 0x4a, 0x7e, 0xc9, 0x85, 0xc0, 0x16, 0x65, 0x60, 0x5e, 0x8d, 0x02, 0xa0, 0x29, 0x2f, 0xad, 0x01, 610 0x8d, 0xcd, 0xb5, 0xbc, 0xe5, 0x0c, 0x35, 0xcd, 0x8f, 0xe6, 0xa8, 0x83, 0x30, 0x96, 0x6a, 0xe5, 611 0xe7, 0x50, 0xc9, 0x0f, 0x41, 0xad, 0x5f, 0x0b, 0xa6, 0x51, 0x22, 0x3f, 0xec, 0xfc, 0x20, 0x95, 612 0x9f, 0xfc, 0x12, 0x04, 0x81, 0xa1, 0x5a, 0xf9, 0x79, 0x0c, 0x1a, 0x6d, 0x38, 0x25, 0x36, 0x91, 613 0x9f, 0x0c, 0x05, 0xe8, 0x1f, 0x50, 0x03, 0xae, 0x42, 0x00, 0x6e, 0x48, 0xf0, 0x13, 0xd3, 0x21, 614 0x20, 0x14, 0x5a, 0xac, 0xd6, 0xe2, 0x5a, 0x1e, 0x92, 0x10, 0x40, 0xfe, 0x62, 0xa3, 0xb5, 0xe9, 615 0x0d, 0x0a, 0xb8, 0xcb, 0x92, 0x7b, 0x6c, 0xe4, 0x66, 0xaa, 0x12, 0x76, 0x89, 0xd5, 0xb5, 0xbc, 616 0x55, 0x05, 0x84, 0x18, 0x7e, 0xb7, 0xd1, 0xe5, 0xb3, 0xaf, 0x4f, 0x88, 0x63, 0x45, 0xc6, 0x71, 617 0x62, 0x5a, 0x31, 0xfe, 0xbe, 0x12, 0xea, 0x17, 0x4b, 0xc5, 0x00, 0xd7, 0xf2, 0x36, 0x70, 0xc1, 618 0x0e, 0x01, 0xfd, 0x66, 0xa3, 0xcb, 0x67, 0xdf, 0x62, 0x10, 0xd0, 0x6a, 0xad, 0xc4, 0x7c, 0xcd, 619 0x70, 0x4f, 0x4c, 0x29, 0x21, 0xbe, 0x3a, 0x09, 0xa7, 0xd1, 0x94, 0x5a, 0x5d, 0xcb, 0x5b, 0xf7, 620 0xa7, 0x46, 0x88, 0xe4, 0x2f, 0x1b, 0xdd, 0xa8, 0x7c, 0x24, 0x40, 0x60, 0x6b, 0x32, 0x30, 0x5e, 621 0x73, 0x97, 0x3b, 0xc8, 0xfd, 0x1c, 0xe5, 0x6e, 0x34, 0x71, 0xd6, 0x1d, 0xec, 0x5a, 0xde, 0x87, 622 0x61, 0xe9, 0xd8, 0x69, 0x91, 0x4d, 0x1f, 0xa6, 0x10, 0xf2, 0x7a, 0xad, 0x5c, 0x1e, 0xe4, 0x2a, 623 0xed, 0xcc, 0x96, 0x5a, 0x45, 0x91, 0x29, 0x20, 0xc4, 0x90, 0xa2, 0xe5, 0xec, 0x81, 0x09, 0xfc, 624 0x0d, 0xc9, 0xef, 0x99, 0xae, 0x3c, 0x52, 0xa2, 0x85, 0xeb, 0x4d, 0xae, 0xe5, 0x35, 0x80, 0xa3, 625 0xb0, 0xd9, 0x7f, 0x02, 0x80, 0x6d, 0xd6, 0xc2, 0x42, 0x41, 0xea, 0xf7, 0x5a, 0xad, 0x49, 0x60, 626 0x81, 0xa3, 0x76, 0x12, 0x78, 0x10, 0x03, 0xf5, 0x72, 0xad, 0x9d, 0xc4, 0x15, 0x0a, 0x2d, 0x54, 627 0x6b, 0x11, 0x3b, 0x89, 0x84, 0x00, 0xf2, 0x57, 0x1b, 0x6d, 0x14, 0x9f, 0x52, 0x40, 0x7e, 0x47, 628 0x92, 0x9f, 0x1a, 0xc8, 0x1e, 0xc1, 0xe1, 0x81, 0x94, 0x69, 0xf1, 0xe5, 0x66, 0x71, 0xbd, 0x4d, 629 0x94, 0x55, 0xa5, 0x3c, 0x7b, 0x05, 0x41, 0x08, 0x57, 0x6a, 0xa5, 0xfc, 0x48, 0x4a, 0xb4, 0x78, 630 0xbd, 0x49, 0xa4, 0x1c, 0x38, 0x2a, 0xe5, 0xf0, 0x5f, 0x00, 0x50, 0x37, 0x6b, 0xa5, 0x5c, 0xac, 631 0xb2, 0xb0, 0xf4, 0xd6, 0xa1, 0x4d, 0xb9, 0x84, 0xa8, 0x9b, 0xd5, 0x73, 0x3a, 0xc8, 0x80, 0xef, 632 0xd6, 0xba, 0x59, 0x3d, 0xa4, 0x03, 0x2d, 0x4e, 0xd3, 0x2f, 0x6e, 0x56, 0xcf, 0xe9, 0x40, 0xb6, 633 0xf7, 0x2e, 0xa1, 0x79, 0x89, 0xd9, 0xfb, 0xd7, 0x46, 0x37, 0x87, 0x74, 0x62, 0x7e, 0x65, 0xed, 634 0xad, 0x17, 0x6e, 0xf2, 0x3d, 0x71, 0x1d, 0xee, 0xd9, 0xdf, 0x3c, 0xcc, 0x64, 0x63, 0x1a, 0xe2, 635 0x68, 0xec, 0xd0, 0x64, 0xdc, 0x1e, 0x93, 0x48, 0x5e, 0x96, 0xdb, 0xd3, 0x77, 0x40, 0xc5, 0x7f, 636 0x9f, 0x77, 0x55, 0xeb, 0xf5, 0xdc, 0x85, 0xfb, 0xdd, 0xee, 0x9f, 0x73, 0xd7, 0xef, 0x83, 0xcb, 637 0xae, 0xcf, 0x1c, 0x68, 0x8a, 0xd6, 0xf1, 0xae, 0xe3, 0xe5, 0x23, 0xff, 0xce, 0xc7, 0x9c, 0x74, 638 0x7d, 0x76, 0xa2, 0xc6, 0x9c, 0x1c, 0xef, 0x9e, 0xa8, 0x31, 0x6f, 0xe6, 0x6e, 0x82, 0xa1, 0xd3, 639 0xe9, 0xfa, 0xac, 0xd3, 0x51, 0xa3, 0x3a, 0x9d, 0xe3, 0xdd, 0x4e, 0x47, 0x8d, 0x1b, 0x2c, 0xc8, 640 0x60, 0x77, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x7d, 0x27, 0x51, 0xa7, 0x15, 0x00, 0x00, 641} 642