google-ads-node
Version:
Google Ads gRPC Client Library for Node
1 lines • 2.39 kB
JavaScript
var jspb=require("google-protobuf"),goog=jspb,global=Function("return this")(),google_api_annotations_pb=require("../../../../../google/api/annotations_pb.js");goog.exportSymbol("proto.google.ads.googleads.v2.errors.LabelErrorEnum",null,global),goog.exportSymbol("proto.google.ads.googleads.v2.errors.LabelErrorEnum.LabelError",null,global),proto.google.ads.googleads.v2.errors.LabelErrorEnum=function(opt_data){jspb.Message.initialize(this,opt_data,0,-1,null,null)},goog.inherits(proto.google.ads.googleads.v2.errors.LabelErrorEnum,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v2.errors.LabelErrorEnum.displayName="proto.google.ads.googleads.v2.errors.LabelErrorEnum"),jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v2.errors.LabelErrorEnum.prototype.toObject=function(opt_includeInstance){return proto.google.ads.googleads.v2.errors.LabelErrorEnum.toObject(opt_includeInstance,this)},proto.google.ads.googleads.v2.errors.LabelErrorEnum.toObject=function(includeInstance,msg){var obj={};return includeInstance&&(obj.$jspbMessageInstance=msg),obj}),proto.google.ads.googleads.v2.errors.LabelErrorEnum.deserializeBinary=function(bytes){var reader=new jspb.BinaryReader(bytes),msg=new proto.google.ads.googleads.v2.errors.LabelErrorEnum;return proto.google.ads.googleads.v2.errors.LabelErrorEnum.deserializeBinaryFromReader(msg,reader)},proto.google.ads.googleads.v2.errors.LabelErrorEnum.deserializeBinaryFromReader=function(msg,reader){for(;reader.nextField()&&!reader.isEndGroup();){reader.getFieldNumber();reader.skipField()}return msg},proto.google.ads.googleads.v2.errors.LabelErrorEnum.prototype.serializeBinary=function(){var writer=new jspb.BinaryWriter;return proto.google.ads.googleads.v2.errors.LabelErrorEnum.serializeBinaryToWriter(this,writer),writer.getResultBuffer()},proto.google.ads.googleads.v2.errors.LabelErrorEnum.serializeBinaryToWriter=function(message,writer){},proto.google.ads.googleads.v2.errors.LabelErrorEnum.LabelError={UNSPECIFIED:0,UNKNOWN:1,CANNOT_APPLY_INACTIVE_LABEL:2,CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION:3,CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION:4,EXCEEDED_LABEL_LIMIT_PER_TYPE:5,INVALID_RESOURCE_FOR_MANAGER_LABEL:6,DUPLICATE_NAME:7,INVALID_LABEL_NAME:8,CANNOT_ATTACH_LABEL_TO_DRAFT:9,CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER:10},goog.object.extend(exports,proto.google.ads.googleads.v2.errors);