google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
61 lines (60 loc) • 2.33 kB
TypeScript
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { CampaignGroupStatusEnum_CampaignGroupStatus } from "../enums/campaign_group_status";
/**
* A campaign group.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CampaignGroup
*/
export interface CampaignGroup {
/**
* Immutable. The resource name of the campaign group.
* Campaign group resource names have the form:
*
* `customers/{customer_id}/campaignGroups/{campaign_group_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the campaign group.
*
* @generated from protobuf field: int64 id = 3;
*/
id: bigint;
/**
* The name of the campaign group.
*
* This field is required and should not be empty when creating new campaign
* groups.
*
* It must not contain any null (code point 0x0), NL line feed
* (code point 0xA) or carriage return (code point 0xD) characters.
*
* @generated from protobuf field: string name = 4;
*/
name: string;
/**
* The status of the campaign group.
*
* When a new campaign group is added, the status defaults to ENABLED.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5;
*/
status: CampaignGroupStatusEnum_CampaignGroupStatus;
}
declare class CampaignGroup$Type extends MessageType<CampaignGroup> {
constructor();
create(value?: PartialMessage<CampaignGroup>): CampaignGroup;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CampaignGroup): CampaignGroup;
internalBinaryWrite(message: CampaignGroup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CampaignGroup
*/
export declare const CampaignGroup: CampaignGroup$Type;
export {};