google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
95 lines (94 loc) • 3.78 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";
/**
* Container for enum representing the attribution model that describes how to
* distribute credit for a particular conversion across potentially many prior
* interactions.
*
* @generated from protobuf message google.ads.googleads.v11.enums.AttributionModelEnum
*/
export interface AttributionModelEnum {
}
/**
* The attribution model that describes how to distribute credit for a
* particular conversion across potentially many prior interactions.
*
* @generated from protobuf enum google.ads.googleads.v11.enums.AttributionModelEnum.AttributionModel
*/
export declare enum AttributionModelEnum_AttributionModel {
/**
* Not specified.
*
* @generated from protobuf enum value: UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* Used for return value only. Represents value unknown in this version.
*
* @generated from protobuf enum value: UNKNOWN = 1;
*/
UNKNOWN = 1,
/**
* Uses external attribution.
*
* @generated from protobuf enum value: EXTERNAL = 100;
*/
EXTERNAL = 100,
/**
* Attributes all credit for a conversion to its last click.
*
* @generated from protobuf enum value: GOOGLE_ADS_LAST_CLICK = 101;
*/
GOOGLE_ADS_LAST_CLICK = 101,
/**
* Attributes all credit for a conversion to its first click using Google
* Search attribution.
*
* @generated from protobuf enum value: GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102;
*/
GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102,
/**
* Attributes credit for a conversion equally across all of its clicks using
* Google Search attribution.
*
* @generated from protobuf enum value: GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103;
*/
GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103,
/**
* Attributes exponentially more credit for a conversion to its more recent
* clicks using Google Search attribution (half-life is 1 week).
*
* @generated from protobuf enum value: GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104;
*/
GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104,
/**
* Attributes 40% of the credit for a conversion to its first and last
* clicks. Remaining 20% is evenly distributed across all other clicks. This
* uses Google Search attribution.
*
* @generated from protobuf enum value: GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105;
*/
GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105,
/**
* Flexible model that uses machine learning to determine the appropriate
* distribution of credit among clicks using Google Search attribution.
*
* @generated from protobuf enum value: GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106;
*/
GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106
}
declare class AttributionModelEnum$Type extends MessageType<AttributionModelEnum> {
constructor();
create(value?: PartialMessage<AttributionModelEnum>): AttributionModelEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AttributionModelEnum): AttributionModelEnum;
internalBinaryWrite(message: AttributionModelEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.enums.AttributionModelEnum
*/
export declare const AttributionModelEnum: AttributionModelEnum$Type;
export {};