google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
163 lines (162 loc) • 6.14 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 describing possible billing setup errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.BillingSetupErrorEnum
*/
export interface BillingSetupErrorEnum {
}
/**
* Enum describing possible billing setup errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.BillingSetupErrorEnum.BillingSetupError
*/
export declare enum BillingSetupErrorEnum_BillingSetupError {
/**
* Enum unspecified.
*
* @generated from protobuf enum value: UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* The received error code is not known in this version.
*
* @generated from protobuf enum value: UNKNOWN = 1;
*/
UNKNOWN = 1,
/**
* Cannot specify both an existing payments account and a new payments
* account when setting up billing.
*
* @generated from protobuf enum value: CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2;
*/
CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2,
/**
* Cannot cancel an approved billing setup whose start time has passed.
*
* @generated from protobuf enum value: CANNOT_REMOVE_STARTED_BILLING_SETUP = 3;
*/
CANNOT_REMOVE_STARTED_BILLING_SETUP = 3,
/**
* Cannot perform a Change of Bill-To (CBT) to the same payments account.
*
* @generated from protobuf enum value: CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4;
*/
CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4,
/**
* Billing setups can only be used by customers with ENABLED or DRAFT
* status.
*
* @generated from protobuf enum value: BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5;
*/
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5,
/**
* Billing setups must either include a correctly formatted existing
* payments account id, or a non-empty new payments account name.
*
* @generated from protobuf enum value: INVALID_PAYMENTS_ACCOUNT = 6;
*/
INVALID_PAYMENTS_ACCOUNT = 6,
/**
* Only billable and third-party customers can create billing setups.
*
* @generated from protobuf enum value: BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7;
*/
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7,
/**
* Billing setup creations can only use NOW for start time type.
*
* @generated from protobuf enum value: INVALID_START_TIME_TYPE = 8;
*/
INVALID_START_TIME_TYPE = 8,
/**
* Billing setups can only be created for a third-party customer if they do
* not already have a setup.
*
* @generated from protobuf enum value: THIRD_PARTY_ALREADY_HAS_BILLING = 9;
*/
THIRD_PARTY_ALREADY_HAS_BILLING = 9,
/**
* Billing setups cannot be created if there is already a pending billing in
* progress.
*
* @generated from protobuf enum value: BILLING_SETUP_IN_PROGRESS = 10;
*/
BILLING_SETUP_IN_PROGRESS = 10,
/**
* Billing setups can only be created by customers who have permission to
* setup billings. Users can contact a representative for help setting up
* permissions.
*
* @generated from protobuf enum value: NO_SIGNUP_PERMISSION = 11;
*/
NO_SIGNUP_PERMISSION = 11,
/**
* Billing setups cannot be created if there is already a future-approved
* billing.
*
* @generated from protobuf enum value: CHANGE_OF_BILL_TO_IN_PROGRESS = 12;
*/
CHANGE_OF_BILL_TO_IN_PROGRESS = 12,
/**
* Requested payments profile not found.
*
* @generated from protobuf enum value: PAYMENTS_PROFILE_NOT_FOUND = 13;
*/
PAYMENTS_PROFILE_NOT_FOUND = 13,
/**
* Requested payments account not found.
*
* @generated from protobuf enum value: PAYMENTS_ACCOUNT_NOT_FOUND = 14;
*/
PAYMENTS_ACCOUNT_NOT_FOUND = 14,
/**
* Billing setup creation failed because the payments profile is ineligible.
*
* @generated from protobuf enum value: PAYMENTS_PROFILE_INELIGIBLE = 15;
*/
PAYMENTS_PROFILE_INELIGIBLE = 15,
/**
* Billing setup creation failed because the payments account is ineligible.
*
* @generated from protobuf enum value: PAYMENTS_ACCOUNT_INELIGIBLE = 16;
*/
PAYMENTS_ACCOUNT_INELIGIBLE = 16,
/**
* Billing setup creation failed because the payments profile needs internal
* approval.
*
* @generated from protobuf enum value: CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17;
*/
CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17,
/**
* Payments account has different currency code than the current customer
* and hence cannot be used to setup billing.
*
* @generated from protobuf enum value: PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19;
*/
PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19,
/**
* A start time in the future cannot be used because there is currently no
* active billing setup for this customer.
*
* @generated from protobuf enum value: FUTURE_START_TIME_PROHIBITED = 20;
*/
FUTURE_START_TIME_PROHIBITED = 20
}
declare class BillingSetupErrorEnum$Type extends MessageType<BillingSetupErrorEnum> {
constructor();
create(value?: PartialMessage<BillingSetupErrorEnum>): BillingSetupErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BillingSetupErrorEnum): BillingSetupErrorEnum;
internalBinaryWrite(message: BillingSetupErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.BillingSetupErrorEnum
*/
export declare const BillingSetupErrorEnum: BillingSetupErrorEnum$Type;
export {};