google-ads-node
Version:
Google Ads gRPC Client Library for Node
147 lines (123 loc) • 6.95 kB
TypeScript
// package: google.ads.googleads.v2.services
// file: google/ads/googleads/v2/services/campaign_shared_set_service.proto
import * as jspb from "google-protobuf";
import * as google_ads_googleads_v2_resources_campaign_shared_set_pb from "../../../../../google/ads/googleads/v2/resources/campaign_shared_set_pb";
import * as google_api_annotations_pb from "../../../../../google/api/annotations_pb";
import * as google_rpc_status_pb from "../../../../../google/rpc/status_pb";
import * as google_api_client_pb from "../../../../../google/api/client_pb";
export class GetCampaignSharedSetRequest extends jspb.Message {
getResourceName(): string;
setResourceName(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetCampaignSharedSetRequest.AsObject;
static toObject(includeInstance: boolean, msg: GetCampaignSharedSetRequest): GetCampaignSharedSetRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GetCampaignSharedSetRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GetCampaignSharedSetRequest;
static deserializeBinaryFromReader(message: GetCampaignSharedSetRequest, reader: jspb.BinaryReader): GetCampaignSharedSetRequest;
}
export namespace GetCampaignSharedSetRequest {
export type AsObject = {
resourceName: string,
}
}
export class MutateCampaignSharedSetsRequest extends jspb.Message {
getCustomerId(): string;
setCustomerId(value: string): void;
clearOperationsList(): void;
getOperationsList(): Array<CampaignSharedSetOperation>;
setOperationsList(value: Array<CampaignSharedSetOperation>): void;
addOperations(value?: CampaignSharedSetOperation, index?: number): CampaignSharedSetOperation;
getPartialFailure(): boolean;
setPartialFailure(value: boolean): void;
getValidateOnly(): boolean;
setValidateOnly(value: boolean): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MutateCampaignSharedSetsRequest.AsObject;
static toObject(includeInstance: boolean, msg: MutateCampaignSharedSetsRequest): MutateCampaignSharedSetsRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MutateCampaignSharedSetsRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MutateCampaignSharedSetsRequest;
static deserializeBinaryFromReader(message: MutateCampaignSharedSetsRequest, reader: jspb.BinaryReader): MutateCampaignSharedSetsRequest;
}
export namespace MutateCampaignSharedSetsRequest {
export type AsObject = {
customerId: string,
operationsList: Array<CampaignSharedSetOperation.AsObject>,
partialFailure: boolean,
validateOnly: boolean,
}
}
export class CampaignSharedSetOperation extends jspb.Message {
hasCreate(): boolean;
clearCreate(): void;
getCreate(): google_ads_googleads_v2_resources_campaign_shared_set_pb.CampaignSharedSet | undefined;
setCreate(value?: google_ads_googleads_v2_resources_campaign_shared_set_pb.CampaignSharedSet): void;
hasRemove(): boolean;
clearRemove(): void;
getRemove(): string;
setRemove(value: string): void;
getOperationCase(): CampaignSharedSetOperation.OperationCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CampaignSharedSetOperation.AsObject;
static toObject(includeInstance: boolean, msg: CampaignSharedSetOperation): CampaignSharedSetOperation.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: CampaignSharedSetOperation, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CampaignSharedSetOperation;
static deserializeBinaryFromReader(message: CampaignSharedSetOperation, reader: jspb.BinaryReader): CampaignSharedSetOperation;
}
export namespace CampaignSharedSetOperation {
export type AsObject = {
create?: google_ads_googleads_v2_resources_campaign_shared_set_pb.CampaignSharedSet.AsObject,
remove: string,
}
export enum OperationCase {
OPERATION_NOT_SET = 0,
CREATE = 1,
REMOVE = 3,
}
}
export class MutateCampaignSharedSetsResponse extends jspb.Message {
hasPartialFailureError(): boolean;
clearPartialFailureError(): void;
getPartialFailureError(): google_rpc_status_pb.Status | undefined;
setPartialFailureError(value?: google_rpc_status_pb.Status): void;
clearResultsList(): void;
getResultsList(): Array<MutateCampaignSharedSetResult>;
setResultsList(value: Array<MutateCampaignSharedSetResult>): void;
addResults(value?: MutateCampaignSharedSetResult, index?: number): MutateCampaignSharedSetResult;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MutateCampaignSharedSetsResponse.AsObject;
static toObject(includeInstance: boolean, msg: MutateCampaignSharedSetsResponse): MutateCampaignSharedSetsResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MutateCampaignSharedSetsResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MutateCampaignSharedSetsResponse;
static deserializeBinaryFromReader(message: MutateCampaignSharedSetsResponse, reader: jspb.BinaryReader): MutateCampaignSharedSetsResponse;
}
export namespace MutateCampaignSharedSetsResponse {
export type AsObject = {
partialFailureError?: google_rpc_status_pb.Status.AsObject,
resultsList: Array<MutateCampaignSharedSetResult.AsObject>,
}
}
export class MutateCampaignSharedSetResult extends jspb.Message {
getResourceName(): string;
setResourceName(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MutateCampaignSharedSetResult.AsObject;
static toObject(includeInstance: boolean, msg: MutateCampaignSharedSetResult): MutateCampaignSharedSetResult.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MutateCampaignSharedSetResult, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MutateCampaignSharedSetResult;
static deserializeBinaryFromReader(message: MutateCampaignSharedSetResult, reader: jspb.BinaryReader): MutateCampaignSharedSetResult;
}
export namespace MutateCampaignSharedSetResult {
export type AsObject = {
resourceName: string,
}
}