google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
221 lines (220 loc) • 8.36 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 ad group criterion errors.
*
* @generated from protobuf message google.ads.googleads.v11.errors.AdGroupCriterionErrorEnum
*/
export interface AdGroupCriterionErrorEnum {
}
/**
* Enum describing possible ad group criterion errors.
*
* @generated from protobuf enum google.ads.googleads.v11.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError
*/
export declare enum AdGroupCriterionErrorEnum_AdGroupCriterionError {
/**
* 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,
/**
* No link found between the AdGroupCriterion and the label.
*
* @generated from protobuf enum value: AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2;
*/
AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2,
/**
* The label has already been attached to the AdGroupCriterion.
*
* @generated from protobuf enum value: AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3;
*/
AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3,
/**
* Negative AdGroupCriterion cannot have labels.
*
* @generated from protobuf enum value: CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4;
*/
CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4,
/**
* Too many operations for a single call.
*
* @generated from protobuf enum value: TOO_MANY_OPERATIONS = 5;
*/
TOO_MANY_OPERATIONS = 5,
/**
* Negative ad group criteria are not updateable.
*
* @generated from protobuf enum value: CANT_UPDATE_NEGATIVE = 6;
*/
CANT_UPDATE_NEGATIVE = 6,
/**
* Concrete type of criterion (keyword v.s. placement) is required for ADD
* and SET operations.
*
* @generated from protobuf enum value: CONCRETE_TYPE_REQUIRED = 7;
*/
CONCRETE_TYPE_REQUIRED = 7,
/**
* Bid is incompatible with ad group's bidding settings.
*
* @generated from protobuf enum value: BID_INCOMPATIBLE_WITH_ADGROUP = 8;
*/
BID_INCOMPATIBLE_WITH_ADGROUP = 8,
/**
* Cannot target and exclude the same criterion at once.
*
* @generated from protobuf enum value: CANNOT_TARGET_AND_EXCLUDE = 9;
*/
CANNOT_TARGET_AND_EXCLUDE = 9,
/**
* The URL of a placement is invalid.
*
* @generated from protobuf enum value: ILLEGAL_URL = 10;
*/
ILLEGAL_URL = 10,
/**
* Keyword text was invalid.
*
* @generated from protobuf enum value: INVALID_KEYWORD_TEXT = 11;
*/
INVALID_KEYWORD_TEXT = 11,
/**
* Destination URL was invalid.
*
* @generated from protobuf enum value: INVALID_DESTINATION_URL = 12;
*/
INVALID_DESTINATION_URL = 12,
/**
* The destination url must contain at least one tag (for example, {lpurl})
*
* @generated from protobuf enum value: MISSING_DESTINATION_URL_TAG = 13;
*/
MISSING_DESTINATION_URL_TAG = 13,
/**
* Keyword-level cpm bid is not supported
*
* @generated from protobuf enum value: KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14;
*/
KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14,
/**
* For example, cannot add a biddable ad group criterion that had been
* removed.
*
* @generated from protobuf enum value: INVALID_USER_STATUS = 15;
*/
INVALID_USER_STATUS = 15,
/**
* Criteria type cannot be targeted for the ad group. Either the account is
* restricted to keywords only, the criteria type is incompatible with the
* campaign's bidding strategy, or the criteria type can only be applied to
* campaigns.
*
* @generated from protobuf enum value: CANNOT_ADD_CRITERIA_TYPE = 16;
*/
CANNOT_ADD_CRITERIA_TYPE = 16,
/**
* Criteria type cannot be excluded for the ad group. Refer to the
* documentation for a specific criterion to check if it is excludable.
*
* @generated from protobuf enum value: CANNOT_EXCLUDE_CRITERIA_TYPE = 17;
*/
CANNOT_EXCLUDE_CRITERIA_TYPE = 17,
/**
* Partial failure is not supported for shopping campaign mutate operations.
*
* @generated from protobuf enum value: CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27;
*/
CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27,
/**
* Operations in the mutate request changes too many shopping ad groups.
* Split requests for multiple shopping ad groups across multiple
* requests.
*
* @generated from protobuf enum value: OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28;
*/
OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28,
/**
* Not allowed to modify url fields of an ad group criterion if there are
* duplicate elements for that ad group criterion in the request.
*
* @generated from protobuf enum value: CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29;
*/
CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29,
/**
* Cannot set url fields without also setting final urls.
*
* @generated from protobuf enum value: CANNOT_SET_WITHOUT_FINAL_URLS = 30;
*/
CANNOT_SET_WITHOUT_FINAL_URLS = 30,
/**
* Cannot clear final urls if final mobile urls exist.
*
* @generated from protobuf enum value: CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31;
*/
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31,
/**
* Cannot clear final urls if final app urls exist.
*
* @generated from protobuf enum value: CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32;
*/
CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32,
/**
* Cannot clear final urls if tracking url template exists.
*
* @generated from protobuf enum value: CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33;
*/
CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33,
/**
* Cannot clear final urls if url custom parameters exist.
*
* @generated from protobuf enum value: CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34;
*/
CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34,
/**
* Cannot set both destination url and final urls.
*
* @generated from protobuf enum value: CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35;
*/
CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35,
/**
* Cannot set both destination url and tracking url template.
*
* @generated from protobuf enum value: CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36;
*/
CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36,
/**
* Final urls are not supported for this criterion type.
*
* @generated from protobuf enum value: FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37;
*/
FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37,
/**
* Final mobile urls are not supported for this criterion type.
*
* @generated from protobuf enum value: FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38;
*/
FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38
}
declare class AdGroupCriterionErrorEnum$Type extends MessageType<AdGroupCriterionErrorEnum> {
constructor();
create(value?: PartialMessage<AdGroupCriterionErrorEnum>): AdGroupCriterionErrorEnum;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdGroupCriterionErrorEnum): AdGroupCriterionErrorEnum;
internalBinaryWrite(message: AdGroupCriterionErrorEnum, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message google.ads.googleads.v11.errors.AdGroupCriterionErrorEnum
*/
export declare const AdGroupCriterionErrorEnum: AdGroupCriterionErrorEnum$Type;
export {};