google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
81 lines (80 loc) • 3.1 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 { GeoTargetConstantStatusEnum_GeoTargetConstantStatus } from "../enums/geo_target_constant_status";
/**
* A geo target constant.
*
* @generated from protobuf message google.ads.googleads.v11.resources.GeoTargetConstant
*/
export interface GeoTargetConstant {
/**
* Output only. The resource name of the geo target constant.
* Geo target constant resource names have the form:
*
* `geoTargetConstants/{geo_target_constant_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. The ID of the geo target constant.
*
* @generated from protobuf field: optional int64 id = 10;
*/
id?: bigint;
/**
* Output only. Geo target constant English name.
*
* @generated from protobuf field: optional string name = 11;
*/
name?: string;
/**
* Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.
*
* @generated from protobuf field: optional string country_code = 12;
*/
countryCode?: string;
/**
* Output only. Geo target constant target type.
*
* @generated from protobuf field: optional string target_type = 13;
*/
targetType?: string;
/**
* Output only. Geo target constant status.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7;
*/
status: GeoTargetConstantStatusEnum_GeoTargetConstantStatus;
/**
* Output only. The fully qualified English name, consisting of the target's name and that
* of its parent and country.
*
* @generated from protobuf field: optional string canonical_name = 14;
*/
canonicalName?: string;
/**
* Output only. The resource name of the parent geo target constant.
* Geo target constant resource names have the form:
*
* `geoTargetConstants/{parent_geo_target_constant_id}`
*
* @generated from protobuf field: optional string parent_geo_target = 9;
*/
parentGeoTarget?: string;
}
declare class GeoTargetConstant$Type extends MessageType<GeoTargetConstant> {
constructor();
create(value?: PartialMessage<GeoTargetConstant>): GeoTargetConstant;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeoTargetConstant): GeoTargetConstant;
internalBinaryWrite(message: GeoTargetConstant, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.GeoTargetConstant
*/
export declare const GeoTargetConstant: GeoTargetConstant$Type;
export {};