google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
37 lines (36 loc) • 1.37 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";
/**
* Represents a price in a particular currency.
*
* @generated from protobuf message google.ads.googleads.v11.common.Money
*/
export interface Money {
/**
* Three-character ISO 4217 currency code.
*
* @generated from protobuf field: optional string currency_code = 3;
*/
currencyCode?: string;
/**
* Amount in micros. One million is equivalent to one unit.
*
* @generated from protobuf field: optional int64 amount_micros = 4;
*/
amountMicros?: bigint;
}
declare class Money$Type extends MessageType<Money> {
constructor();
create(value?: PartialMessage<Money>): Money;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Money): Money;
internalBinaryWrite(message: Money, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.common.Money
*/
export declare const Money: Money$Type;
export {};