UNPKG

google-ads-node

Version:

Google Ads gRPC Client Library for Node

1 lines 184 kB
var jspb=require("google-protobuf"),goog=jspb,global=Function("return this")(),google_ads_googleads_v2_enums_age_range_type_pb=require("../../../../../google/ads/googleads/v2/enums/age_range_type_pb.js"),google_ads_googleads_v2_enums_app_payment_model_type_pb=require("../../../../../google/ads/googleads/v2/enums/app_payment_model_type_pb.js"),google_ads_googleads_v2_enums_content_label_type_pb=require("../../../../../google/ads/googleads/v2/enums/content_label_type_pb.js"),google_ads_googleads_v2_enums_day_of_week_pb=require("../../../../../google/ads/googleads/v2/enums/day_of_week_pb.js"),google_ads_googleads_v2_enums_device_pb=require("../../../../../google/ads/googleads/v2/enums/device_pb.js"),google_ads_googleads_v2_enums_gender_type_pb=require("../../../../../google/ads/googleads/v2/enums/gender_type_pb.js"),google_ads_googleads_v2_enums_hotel_date_selection_type_pb=require("../../../../../google/ads/googleads/v2/enums/hotel_date_selection_type_pb.js"),google_ads_googleads_v2_enums_income_range_type_pb=require("../../../../../google/ads/googleads/v2/enums/income_range_type_pb.js"),google_ads_googleads_v2_enums_interaction_type_pb=require("../../../../../google/ads/googleads/v2/enums/interaction_type_pb.js"),google_ads_googleads_v2_enums_keyword_match_type_pb=require("../../../../../google/ads/googleads/v2/enums/keyword_match_type_pb.js"),google_ads_googleads_v2_enums_listing_custom_attribute_index_pb=require("../../../../../google/ads/googleads/v2/enums/listing_custom_attribute_index_pb.js"),google_ads_googleads_v2_enums_listing_group_type_pb=require("../../../../../google/ads/googleads/v2/enums/listing_group_type_pb.js"),google_ads_googleads_v2_enums_location_group_radius_units_pb=require("../../../../../google/ads/googleads/v2/enums/location_group_radius_units_pb.js"),google_ads_googleads_v2_enums_minute_of_hour_pb=require("../../../../../google/ads/googleads/v2/enums/minute_of_hour_pb.js"),google_ads_googleads_v2_enums_parental_status_type_pb=require("../../../../../google/ads/googleads/v2/enums/parental_status_type_pb.js"),google_ads_googleads_v2_enums_preferred_content_type_pb=require("../../../../../google/ads/googleads/v2/enums/preferred_content_type_pb.js"),google_ads_googleads_v2_enums_product_bidding_category_level_pb=require("../../../../../google/ads/googleads/v2/enums/product_bidding_category_level_pb.js"),google_ads_googleads_v2_enums_product_channel_pb=require("../../../../../google/ads/googleads/v2/enums/product_channel_pb.js"),google_ads_googleads_v2_enums_product_channel_exclusivity_pb=require("../../../../../google/ads/googleads/v2/enums/product_channel_exclusivity_pb.js"),google_ads_googleads_v2_enums_product_condition_pb=require("../../../../../google/ads/googleads/v2/enums/product_condition_pb.js"),google_ads_googleads_v2_enums_product_type_level_pb=require("../../../../../google/ads/googleads/v2/enums/product_type_level_pb.js"),google_ads_googleads_v2_enums_proximity_radius_units_pb=require("../../../../../google/ads/googleads/v2/enums/proximity_radius_units_pb.js"),google_ads_googleads_v2_enums_webpage_condition_operand_pb=require("../../../../../google/ads/googleads/v2/enums/webpage_condition_operand_pb.js"),google_ads_googleads_v2_enums_webpage_condition_operator_pb=require("../../../../../google/ads/googleads/v2/enums/webpage_condition_operator_pb.js"),google_protobuf_wrappers_pb=require("google-protobuf/google/protobuf/wrappers_pb.js"),google_api_annotations_pb=require("../../../../../google/api/annotations_pb.js");goog.exportSymbol("proto.google.ads.googleads.v2.common.AdScheduleInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.AddressInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.AgeRangeInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.AppPaymentModelInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.CarrierInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ContentLabelInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.CustomAffinityInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.CustomIntentInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.DeviceInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.GenderInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.GeoPointInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelAdvanceBookingWindowInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelCheckInDayInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelCityInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelClassInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelCountryRegionInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelDateSelectionTypeInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelIdInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelLengthOfStayInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.HotelStateInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.IncomeRangeInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.InteractionTypeInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.IpBlockInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.KeywordInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.LanguageInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ListingBrandInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ListingCustomAttributeInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ListingDimensionInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ListingGroupInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ListingScopeInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.LocationGroupInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.LocationInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.MobileAppCategoryInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.MobileApplicationInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.MobileDeviceInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.OperatingSystemVersionInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ParentalStatusInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.PlacementInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.PreferredContentInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ProductBiddingCategoryInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ProductChannelExclusivityInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ProductChannelInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ProductConditionInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ProductItemIdInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ProductTypeInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.ProximityInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.TopicInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.UnknownListingDimensionInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.UserInterestInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.UserListInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.WebpageConditionInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.WebpageInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.YouTubeChannelInfo",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.common.YouTubeVideoInfo",null,global),proto.google.ads.googleads.v2.common.KeywordInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.common.KeywordInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.KeywordInfo.displayName="proto.google.ads.googleads.v2.common.KeywordInfo"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.KeywordInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.KeywordInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.KeywordInfo.toObject=function(includeInstance,msg){var f,obj={text:(f=msg.getText())&&google_protobuf_wrappers_pb.StringValue.toObject(includeInstance,f),matchType:jspb.Message.getFieldWithDefault(msg,2,0)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.KeywordInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.KeywordInfo;return proto.google.ads.googleads.v2.common.KeywordInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.KeywordInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 1:var value=new google_protobuf_wrappers_pb.StringValue;reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),msg.setText(value);break;case 2:value=reader.readEnum();msg.setMatchType(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.KeywordInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.KeywordInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.KeywordInfo.serializeBinaryToWriter=function(message,writer){var f=void 0;null!=(f=message.getText())&&writer.writeMessage(1,f,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter),0!==(f=message.getMatchType())&&writer.writeEnum(2,f)},proto.google.ads.googleads.v2.common.KeywordInfo.prototype.getText=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,1)},proto.google.ads.googleads.v2.common.KeywordInfo.prototype.setText=function(value){jspb.Message.setWrapperField(this,1,value)},proto.google.ads.googleads.v2.common.KeywordInfo.prototype.clearText=function(){this.setText(void 0)},proto.google.ads.googleads.v2.common.KeywordInfo.prototype.hasText=function(){return null!=jspb.Message.getField(this,1)},proto.google.ads.googleads.v2.common.KeywordInfo.prototype.getMatchType=function(){return jspb.Message.getFieldWithDefault(this,2,0)},proto.google.ads.googleads.v2.common.KeywordInfo.prototype.setMatchType=function(value){jspb.Message.setProto3EnumField(this,2,value)},proto.google.ads.googleads.v2.common.PlacementInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.common.PlacementInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.PlacementInfo.displayName="proto.google.ads.googleads.v2.common.PlacementInfo"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.PlacementInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.PlacementInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.PlacementInfo.toObject=function(includeInstance,msg){var f,obj={url:(f=msg.getUrl())&&google_protobuf_wrappers_pb.StringValue.toObject(includeInstance,f)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.PlacementInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.PlacementInfo;return proto.google.ads.googleads.v2.common.PlacementInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.PlacementInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 1:var value=new google_protobuf_wrappers_pb.StringValue;reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),msg.setUrl(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.PlacementInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.PlacementInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.PlacementInfo.serializeBinaryToWriter=function(message,writer){var f;null!=(f=message.getUrl())&&writer.writeMessage(1,f,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter)},proto.google.ads.googleads.v2.common.PlacementInfo.prototype.getUrl=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,1)},proto.google.ads.googleads.v2.common.PlacementInfo.prototype.setUrl=function(value){jspb.Message.setWrapperField(this,1,value)},proto.google.ads.googleads.v2.common.PlacementInfo.prototype.clearUrl=function(){this.setUrl(void 0)},proto.google.ads.googleads.v2.common.PlacementInfo.prototype.hasUrl=function(){return null!=jspb.Message.getField(this,1)},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.common.MobileAppCategoryInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.displayName="proto.google.ads.googleads.v2.common.MobileAppCategoryInfo"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.toObject=function(includeInstance,msg){var f,obj={mobileAppCategoryConstant:(f=msg.getMobileAppCategoryConstant())&&google_protobuf_wrappers_pb.StringValue.toObject(includeInstance,f)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.MobileAppCategoryInfo;return proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 1:var value=new google_protobuf_wrappers_pb.StringValue;reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),msg.setMobileAppCategoryConstant(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.serializeBinaryToWriter=function(message,writer){var f;null!=(f=message.getMobileAppCategoryConstant())&&writer.writeMessage(1,f,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter)},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.prototype.getMobileAppCategoryConstant=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,1)},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.prototype.setMobileAppCategoryConstant=function(value){jspb.Message.setWrapperField(this,1,value)},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.prototype.clearMobileAppCategoryConstant=function(){this.setMobileAppCategoryConstant(void 0)},proto.google.ads.googleads.v2.common.MobileAppCategoryInfo.prototype.hasMobileAppCategoryConstant=function(){return null!=jspb.Message.getField(this,1)},proto.google.ads.googleads.v2.common.MobileApplicationInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.common.MobileApplicationInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.MobileApplicationInfo.displayName="proto.google.ads.googleads.v2.common.MobileApplicationInfo"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.MobileApplicationInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.toObject=function(includeInstance,msg){var f,obj={appId:(f=msg.getAppId())&&google_protobuf_wrappers_pb.StringValue.toObject(includeInstance,f),name:(f=msg.getName())&&google_protobuf_wrappers_pb.StringValue.toObject(includeInstance,f)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.MobileApplicationInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.MobileApplicationInfo;return proto.google.ads.googleads.v2.common.MobileApplicationInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 2:var value=new google_protobuf_wrappers_pb.StringValue;reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),msg.setAppId(value);break;case 3:value=new google_protobuf_wrappers_pb.StringValue;reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),msg.setName(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.MobileApplicationInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.MobileApplicationInfo.serializeBinaryToWriter=function(message,writer){var f=void 0;null!=(f=message.getAppId())&&writer.writeMessage(2,f,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter),null!=(f=message.getName())&&writer.writeMessage(3,f,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.getAppId=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,2)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.setAppId=function(value){jspb.Message.setWrapperField(this,2,value)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.clearAppId=function(){this.setAppId(void 0)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.hasAppId=function(){return null!=jspb.Message.getField(this,2)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.getName=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,3)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.setName=function(value){jspb.Message.setWrapperField(this,3,value)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.clearName=function(){this.setName(void 0)},proto.google.ads.googleads.v2.common.MobileApplicationInfo.prototype.hasName=function(){return null!=jspb.Message.getField(this,3)},proto.google.ads.googleads.v2.common.LocationInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.common.LocationInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.LocationInfo.displayName="proto.google.ads.googleads.v2.common.LocationInfo"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.LocationInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.LocationInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.LocationInfo.toObject=function(includeInstance,msg){var f,obj={geoTargetConstant:(f=msg.getGeoTargetConstant())&&google_protobuf_wrappers_pb.StringValue.toObject(includeInstance,f)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.LocationInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.LocationInfo;return proto.google.ads.googleads.v2.common.LocationInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.LocationInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 1:var value=new google_protobuf_wrappers_pb.StringValue;reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),msg.setGeoTargetConstant(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.LocationInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.LocationInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.LocationInfo.serializeBinaryToWriter=function(message,writer){var f;null!=(f=message.getGeoTargetConstant())&&writer.writeMessage(1,f,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter)},proto.google.ads.googleads.v2.common.LocationInfo.prototype.getGeoTargetConstant=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,1)},proto.google.ads.googleads.v2.common.LocationInfo.prototype.setGeoTargetConstant=function(value){jspb.Message.setWrapperField(this,1,value)},proto.google.ads.googleads.v2.common.LocationInfo.prototype.clearGeoTargetConstant=function(){this.setGeoTargetConstant(void 0)},proto.google.ads.googleads.v2.common.LocationInfo.prototype.hasGeoTargetConstant=function(){return null!=jspb.Message.getField(this,1)},proto.google.ads.googleads.v2.common.DeviceInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.common.DeviceInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.DeviceInfo.displayName="proto.google.ads.googleads.v2.common.DeviceInfo"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.DeviceInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.DeviceInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.DeviceInfo.toObject=function(includeInstance,msg){var obj={type:jspb.Message.getFieldWithDefault(msg,1,0)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.DeviceInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.DeviceInfo;return proto.google.ads.googleads.v2.common.DeviceInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.DeviceInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 1:var value=reader.readEnum();msg.setType(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.DeviceInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.DeviceInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.DeviceInfo.serializeBinaryToWriter=function(message,writer){var f;0!==(f=message.getType())&&writer.writeEnum(1,f)},proto.google.ads.googleads.v2.common.DeviceInfo.prototype.getType=function(){return jspb.Message.getFieldWithDefault(this,1,0)},proto.google.ads.googleads.v2.common.DeviceInfo.prototype.setType=function(value){jspb.Message.setProto3EnumField(this,1,value)},proto.google.ads.googleads.v2.common.PreferredContentInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.common.PreferredContentInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.PreferredContentInfo.displayName="proto.google.ads.googleads.v2.common.PreferredContentInfo"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.PreferredContentInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.PreferredContentInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.PreferredContentInfo.toObject=function(includeInstance,msg){var obj={type:jspb.Message.getFieldWithDefault(msg,2,0)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.PreferredContentInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.PreferredContentInfo;return proto.google.ads.googleads.v2.common.PreferredContentInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.PreferredContentInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 2:var value=reader.readEnum();msg.setType(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.PreferredContentInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.PreferredContentInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.PreferredContentInfo.serializeBinaryToWriter=function(message,writer){var f;0!==(f=message.getType())&&writer.writeEnum(2,f)},proto.google.ads.googleads.v2.common.PreferredContentInfo.prototype.getType=function(){return jspb.Message.getFieldWithDefault(this,2,0)},proto.google.ads.googleads.v2.common.PreferredContentInfo.prototype.setType=function(value){jspb.Message.setProto3EnumField(this,2,value)},proto.google.ads.googleads.v2.common.ListingGroupInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.common.ListingGroupInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.ListingGroupInfo.displayName="proto.google.ads.googleads.v2.common.ListingGroupInfo"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.ListingGroupInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.ListingGroupInfo.toObject=function(includeInstance,msg){var f,obj={type:jspb.Message.getFieldWithDefault(msg,1,0),caseValue:(f=msg.getCaseValue())&&proto.google.ads.googleads.v2.common.ListingDimensionInfo.toObject(includeInstance,f),parentAdGroupCriterion:(f=msg.getParentAdGroupCriterion())&&google_protobuf_wrappers_pb.StringValue.toObject(includeInstance,f)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.ListingGroupInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.ListingGroupInfo;return proto.google.ads.googleads.v2.common.ListingGroupInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.ListingGroupInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 1:var value=reader.readEnum();msg.setType(value);break;case 2:value=new proto.google.ads.googleads.v2.common.ListingDimensionInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ListingDimensionInfo.deserializeBinaryFromReader),msg.setCaseValue(value);break;case 3:value=new google_protobuf_wrappers_pb.StringValue;reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),msg.setParentAdGroupCriterion(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.ListingGroupInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.ListingGroupInfo.serializeBinaryToWriter=function(message,writer){var f=void 0;0!==(f=message.getType())&&writer.writeEnum(1,f),null!=(f=message.getCaseValue())&&writer.writeMessage(2,f,proto.google.ads.googleads.v2.common.ListingDimensionInfo.serializeBinaryToWriter),null!=(f=message.getParentAdGroupCriterion())&&writer.writeMessage(3,f,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.getType=function(){return jspb.Message.getFieldWithDefault(this,1,0)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.setType=function(value){jspb.Message.setProto3EnumField(this,1,value)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.getCaseValue=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.ListingDimensionInfo,2)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.setCaseValue=function(value){jspb.Message.setWrapperField(this,2,value)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.clearCaseValue=function(){this.setCaseValue(void 0)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.hasCaseValue=function(){return null!=jspb.Message.getField(this,2)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.getParentAdGroupCriterion=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,3)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.setParentAdGroupCriterion=function(value){jspb.Message.setWrapperField(this,3,value)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.clearParentAdGroupCriterion=function(){this.setParentAdGroupCriterion(void 0)},proto.google.ads.googleads.v2.common.ListingGroupInfo.prototype.hasParentAdGroupCriterion=function(){return null!=jspb.Message.getField(this,3)},proto.google.ads.googleads.v2.common.ListingScopeInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,proto.google.ads.googleads.v2.common.ListingScopeInfo.repeatedFields_,null)},goog.inherits(proto.google.ads.googleads.v2.common.ListingScopeInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.ListingScopeInfo.displayName="proto.google.ads.googleads.v2.common.ListingScopeInfo"),proto.google.ads.googleads.v2.common.ListingScopeInfo.repeatedFields_=[2],jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.ListingScopeInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.ListingScopeInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.ListingScopeInfo.toObject=function(includeInstance,msg){var obj={dimensionsList:jspb.Message.toObjectList(msg.getDimensionsList(),proto.google.ads.googleads.v2.common.ListingDimensionInfo.toObject,includeInstance)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.ListingScopeInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.ListingScopeInfo;return proto.google.ads.googleads.v2.common.ListingScopeInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.ListingScopeInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 2:var value=new proto.google.ads.googleads.v2.common.ListingDimensionInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ListingDimensionInfo.deserializeBinaryFromReader),msg.addDimensions(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.ListingScopeInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.ListingScopeInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.ListingScopeInfo.serializeBinaryToWriter=function(message,writer){var f;0<(f=message.getDimensionsList()).length&&writer.writeRepeatedMessage(2,f,proto.google.ads.googleads.v2.common.ListingDimensionInfo.serializeBinaryToWriter)},proto.google.ads.googleads.v2.common.ListingScopeInfo.prototype.getDimensionsList=function(){return jspb.Message.getRepeatedWrapperField(this,proto.google.ads.googleads.v2.common.ListingDimensionInfo,2)},proto.google.ads.googleads.v2.common.ListingScopeInfo.prototype.setDimensionsList=function(value){jspb.Message.setRepeatedWrapperField(this,2,value)},proto.google.ads.googleads.v2.common.ListingScopeInfo.prototype.addDimensions=function(opt_value,opt_index){return jspb.Message.addToRepeatedWrapperField(this,2,opt_value,proto.google.ads.googleads.v2.common.ListingDimensionInfo,opt_index)},proto.google.ads.googleads.v2.common.ListingScopeInfo.prototype.clearDimensionsList=function(){this.setDimensionsList([])},proto.google.ads.googleads.v2.common.ListingDimensionInfo=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_)},goog.inherits(proto.google.ads.googleads.v2.common.ListingDimensionInfo,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.common.ListingDimensionInfo.displayName="proto.google.ads.googleads.v2.common.ListingDimensionInfo"),proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_=[[1,2,3,4,5,6,7,13,8,9,10,11,12,14]],proto.google.ads.googleads.v2.common.ListingDimensionInfo.DimensionCase={DIMENSION_NOT_SET:0,LISTING_BRAND:1,HOTEL_ID:2,HOTEL_CLASS:3,HOTEL_COUNTRY_REGION:4,HOTEL_STATE:5,HOTEL_CITY:6,LISTING_CUSTOM_ATTRIBUTE:7,PRODUCT_BIDDING_CATEGORY:13,PRODUCT_CHANNEL:8,PRODUCT_CHANNEL_EXCLUSIVITY:9,PRODUCT_CONDITION:10,PRODUCT_ITEM_ID:11,PRODUCT_TYPE:12,UNKNOWN_LISTING_DIMENSION:14},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getDimensionCase=function(){return jspb.Message.computeOneofCase(this,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0])},jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.common.ListingDimensionInfo.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.toObject=function(includeInstance,msg){var f,obj={listingBrand:(f=msg.getListingBrand())&&proto.google.ads.googleads.v2.common.ListingBrandInfo.toObject(includeInstance,f),hotelId:(f=msg.getHotelId())&&proto.google.ads.googleads.v2.common.HotelIdInfo.toObject(includeInstance,f),hotelClass:(f=msg.getHotelClass())&&proto.google.ads.googleads.v2.common.HotelClassInfo.toObject(includeInstance,f),hotelCountryRegion:(f=msg.getHotelCountryRegion())&&proto.google.ads.googleads.v2.common.HotelCountryRegionInfo.toObject(includeInstance,f),hotelState:(f=msg.getHotelState())&&proto.google.ads.googleads.v2.common.HotelStateInfo.toObject(includeInstance,f),hotelCity:(f=msg.getHotelCity())&&proto.google.ads.googleads.v2.common.HotelCityInfo.toObject(includeInstance,f),listingCustomAttribute:(f=msg.getListingCustomAttribute())&&proto.google.ads.googleads.v2.common.ListingCustomAttributeInfo.toObject(includeInstance,f),productBiddingCategory:(f=msg.getProductBiddingCategory())&&proto.google.ads.googleads.v2.common.ProductBiddingCategoryInfo.toObject(includeInstance,f),productChannel:(f=msg.getProductChannel())&&proto.google.ads.googleads.v2.common.ProductChannelInfo.toObject(includeInstance,f),productChannelExclusivity:(f=msg.getProductChannelExclusivity())&&proto.google.ads.googleads.v2.common.ProductChannelExclusivityInfo.toObject(includeInstance,f),productCondition:(f=msg.getProductCondition())&&proto.google.ads.googleads.v2.common.ProductConditionInfo.toObject(includeInstance,f),productItemId:(f=msg.getProductItemId())&&proto.google.ads.googleads.v2.common.ProductItemIdInfo.toObject(includeInstance,f),productType:(f=msg.getProductType())&&proto.google.ads.googleads.v2.common.ProductTypeInfo.toObject(includeInstance,f),unknownListingDimension:(f=msg.getUnknownListingDimension())&&proto.google.ads.googleads.v2.common.UnknownListingDimensionInfo.toObject(includeInstance,f)};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.common.ListingDimensionInfo.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.common.ListingDimensionInfo;return proto.google.ads.googleads.v2.common.ListingDimensionInfo.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){switch(reader.getFieldNumber()){case 1:var value=new proto.google.ads.googleads.v2.common.ListingBrandInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ListingBrandInfo.deserializeBinaryFromReader),msg.setListingBrand(value);break;case 2:value=new proto.google.ads.googleads.v2.common.HotelIdInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.HotelIdInfo.deserializeBinaryFromReader),msg.setHotelId(value);break;case 3:value=new proto.google.ads.googleads.v2.common.HotelClassInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.HotelClassInfo.deserializeBinaryFromReader),msg.setHotelClass(value);break;case 4:value=new proto.google.ads.googleads.v2.common.HotelCountryRegionInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.HotelCountryRegionInfo.deserializeBinaryFromReader),msg.setHotelCountryRegion(value);break;case 5:value=new proto.google.ads.googleads.v2.common.HotelStateInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.HotelStateInfo.deserializeBinaryFromReader),msg.setHotelState(value);break;case 6:value=new proto.google.ads.googleads.v2.common.HotelCityInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.HotelCityInfo.deserializeBinaryFromReader),msg.setHotelCity(value);break;case 7:value=new proto.google.ads.googleads.v2.common.ListingCustomAttributeInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ListingCustomAttributeInfo.deserializeBinaryFromReader),msg.setListingCustomAttribute(value);break;case 13:value=new proto.google.ads.googleads.v2.common.ProductBiddingCategoryInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ProductBiddingCategoryInfo.deserializeBinaryFromReader),msg.setProductBiddingCategory(value);break;case 8:value=new proto.google.ads.googleads.v2.common.ProductChannelInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ProductChannelInfo.deserializeBinaryFromReader),msg.setProductChannel(value);break;case 9:value=new proto.google.ads.googleads.v2.common.ProductChannelExclusivityInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ProductChannelExclusivityInfo.deserializeBinaryFromReader),msg.setProductChannelExclusivity(value);break;case 10:value=new proto.google.ads.googleads.v2.common.ProductConditionInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ProductConditionInfo.deserializeBinaryFromReader),msg.setProductCondition(value);break;case 11:value=new proto.google.ads.googleads.v2.common.ProductItemIdInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ProductItemIdInfo.deserializeBinaryFromReader),msg.setProductItemId(value);break;case 12:value=new proto.google.ads.googleads.v2.common.ProductTypeInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.ProductTypeInfo.deserializeBinaryFromReader),msg.setProductType(value);break;case 14:value=new proto.google.ads.googleads.v2.common.UnknownListingDimensionInfo;reader.readMessage(value,proto.google.ads.googleads.v2.common.UnknownListingDimensionInfo.deserializeBinaryFromReader),msg.setUnknownListingDimension(value);break;default:reader.skipField()}}return msg},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.common.ListingDimensionInfo.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.common.ListingDimensionInfo.serializeBinaryToWriter=function(message,writer){var f=void 0;null!=(f=message.getListingBrand())&&writer.writeMessage(1,f,proto.google.ads.googleads.v2.common.ListingBrandInfo.serializeBinaryToWriter),null!=(f=message.getHotelId())&&writer.writeMessage(2,f,proto.google.ads.googleads.v2.common.HotelIdInfo.serializeBinaryToWriter),null!=(f=message.getHotelClass())&&writer.writeMessage(3,f,proto.google.ads.googleads.v2.common.HotelClassInfo.serializeBinaryToWriter),null!=(f=message.getHotelCountryRegion())&&writer.writeMessage(4,f,proto.google.ads.googleads.v2.common.HotelCountryRegionInfo.serializeBinaryToWriter),null!=(f=message.getHotelState())&&writer.writeMessage(5,f,proto.google.ads.googleads.v2.common.HotelStateInfo.serializeBinaryToWriter),null!=(f=message.getHotelCity())&&writer.writeMessage(6,f,proto.google.ads.googleads.v2.common.HotelCityInfo.serializeBinaryToWriter),null!=(f=message.getListingCustomAttribute())&&writer.writeMessage(7,f,proto.google.ads.googleads.v2.common.ListingCustomAttributeInfo.serializeBinaryToWriter),null!=(f=message.getProductBiddingCategory())&&writer.writeMessage(13,f,proto.google.ads.googleads.v2.common.ProductBiddingCategoryInfo.serializeBinaryToWriter),null!=(f=message.getProductChannel())&&writer.writeMessage(8,f,proto.google.ads.googleads.v2.common.ProductChannelInfo.serializeBinaryToWriter),null!=(f=message.getProductChannelExclusivity())&&writer.writeMessage(9,f,proto.google.ads.googleads.v2.common.ProductChannelExclusivityInfo.serializeBinaryToWriter),null!=(f=message.getProductCondition())&&writer.writeMessage(10,f,proto.google.ads.googleads.v2.common.ProductConditionInfo.serializeBinaryToWriter),null!=(f=message.getProductItemId())&&writer.writeMessage(11,f,proto.google.ads.googleads.v2.common.ProductItemIdInfo.serializeBinaryToWriter),null!=(f=message.getProductType())&&writer.writeMessage(12,f,proto.google.ads.googleads.v2.common.ProductTypeInfo.serializeBinaryToWriter),null!=(f=message.getUnknownListingDimension())&&writer.writeMessage(14,f,proto.google.ads.googleads.v2.common.UnknownListingDimensionInfo.serializeBinaryToWriter)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getListingBrand=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.ListingBrandInfo,1)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setListingBrand=function(value){jspb.Message.setOneofWrapperField(this,1,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearListingBrand=function(){this.setListingBrand(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasListingBrand=function(){return null!=jspb.Message.getField(this,1)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getHotelId=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.HotelIdInfo,2)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setHotelId=function(value){jspb.Message.setOneofWrapperField(this,2,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearHotelId=function(){this.setHotelId(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasHotelId=function(){return null!=jspb.Message.getField(this,2)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getHotelClass=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.HotelClassInfo,3)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setHotelClass=function(value){jspb.Message.setOneofWrapperField(this,3,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearHotelClass=function(){this.setHotelClass(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasHotelClass=function(){return null!=jspb.Message.getField(this,3)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getHotelCountryRegion=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.HotelCountryRegionInfo,4)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setHotelCountryRegion=function(value){jspb.Message.setOneofWrapperField(this,4,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearHotelCountryRegion=function(){this.setHotelCountryRegion(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasHotelCountryRegion=function(){return null!=jspb.Message.getField(this,4)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getHotelState=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.HotelStateInfo,5)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setHotelState=function(value){jspb.Message.setOneofWrapperField(this,5,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearHotelState=function(){this.setHotelState(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasHotelState=function(){return null!=jspb.Message.getField(this,5)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getHotelCity=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.HotelCityInfo,6)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setHotelCity=function(value){jspb.Message.setOneofWrapperField(this,6,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearHotelCity=function(){this.setHotelCity(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasHotelCity=function(){return null!=jspb.Message.getField(this,6)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getListingCustomAttribute=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.ListingCustomAttributeInfo,7)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setListingCustomAttribute=function(value){jspb.Message.setOneofWrapperField(this,7,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearListingCustomAttribute=function(){this.setListingCustomAttribute(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasListingCustomAttribute=function(){return null!=jspb.Message.getField(this,7)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getProductBiddingCategory=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.ProductBiddingCategoryInfo,13)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setProductBiddingCategory=function(value){jspb.Message.setOneofWrapperField(this,13,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearProductBiddingCategory=function(){this.setProductBiddingCategory(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasProductBiddingCategory=function(){return null!=jspb.Message.getField(this,13)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getProductChannel=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.ProductChannelInfo,8)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setProductChannel=function(value){jspb.Message.setOneofWrapperField(this,8,proto.google.ads.googleads.v2.common.ListingDimensionInfo.oneofGroups_[0],value)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.clearProductChannel=function(){this.setProductChannel(void 0)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.hasProductChannel=function(){return null!=jspb.Message.getField(this,8)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.getProductChannelExclusivity=function(){return jspb.Message.getWrapperField(this,proto.google.ads.googleads.v2.common.ProductChannelExclusivityInfo,9)},proto.google.ads.googleads.v2.common.ListingDimensionInfo.prototype.setProductChannelExclusivity=function