google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
87 lines (86 loc) • 3.44 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 { GoogleVoiceCallStatusEnum_GoogleVoiceCallStatus } from "../enums/google_voice_call_status";
import { CallTypeEnum_CallType } from "../enums/call_type";
import { CallTrackingDisplayLocationEnum_CallTrackingDisplayLocation } from "../enums/call_tracking_display_location";
/**
* A call view that includes data for call tracking of call-only ads or call
* extensions.
*
* @generated from protobuf message google.ads.googleads.v11.resources.CallView
*/
export interface CallView {
/**
* Output only. The resource name of the call view.
* Call view resource names have the form:
*
* `customers/{customer_id}/callViews/{call_detail_id}`
*
* @generated from protobuf field: string resource_name = 1;
*/
resourceName: string;
/**
* Output only. Country code of the caller.
*
* @generated from protobuf field: string caller_country_code = 2;
*/
callerCountryCode: string;
/**
* Output only. Area code of the caller. Null if the call duration is shorter than 15
* seconds.
*
* @generated from protobuf field: string caller_area_code = 3;
*/
callerAreaCode: string;
/**
* Output only. The advertiser-provided call duration in seconds.
*
* @generated from protobuf field: int64 call_duration_seconds = 4;
*/
callDurationSeconds: bigint;
/**
* Output only. The advertiser-provided call start date time.
*
* @generated from protobuf field: string start_call_date_time = 5;
*/
startCallDateTime: string;
/**
* Output only. The advertiser-provided call end date time.
*
* @generated from protobuf field: string end_call_date_time = 6;
*/
endCallDateTime: string;
/**
* Output only. The call tracking display location.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7;
*/
callTrackingDisplayLocation: CallTrackingDisplayLocationEnum_CallTrackingDisplayLocation;
/**
* Output only. The type of the call.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.CallTypeEnum.CallType type = 8;
*/
type: CallTypeEnum_CallType;
/**
* Output only. The status of the call.
*
* @generated from protobuf field: google.ads.googleads.v11.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9;
*/
callStatus: GoogleVoiceCallStatusEnum_GoogleVoiceCallStatus;
}
declare class CallView$Type extends MessageType<CallView> {
constructor();
create(value?: PartialMessage<CallView>): CallView;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallView): CallView;
internalBinaryWrite(message: CallView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.resources.CallView
*/
export declare const CallView: CallView$Type;
export {};