google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
60 lines (59 loc) • 2.21 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";
/**
* A currency constant.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CurrencyConstant
*/
export interface CurrencyConstant {
/**
* Output only. The resource name of the currency constant.
* Currency constant resource names have the form:
*
* `currencyConstants/{code}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. ISO 4217 three-letter currency code, for example, "USD"
*
* @generated from protobuf field: optional string code = 6;
*/
code?: string;
/**
* Output only. Full English name of the currency.
*
* @generated from protobuf field: optional string name = 7;
*/
name?: string;
/**
* Output only. Standard symbol for describing this currency, for example, '$' for US
* Dollars.
*
* @generated from protobuf field: optional string symbol = 8;
*/
symbol?: string;
/**
* Output only. The billable unit for this currency. Billed amounts should be multiples of
* this value.
*
* @generated from protobuf field: optional int64 billable_unit_micros = 9;
*/
billableUnitMicros?: bigint;
}
declare class CurrencyConstant$Type extends MessageType<CurrencyConstant> {
constructor();
create(value?: PartialMessage<CurrencyConstant>): CurrencyConstant;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CurrencyConstant): CurrencyConstant;
internalBinaryWrite(message: CurrencyConstant, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CurrencyConstant
*/
export declare const CurrencyConstant: CurrencyConstant$Type;
export {};