google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
110 lines (109 loc) • 4.02 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateAdGroupCriteriaResponse } from "./ad_group_criterion_service";
import type { MutateAdGroupCriteriaRequest } from "./ad_group_criterion_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage ad group criteria.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupCriterionService
*/
export interface IAdGroupCriterionServiceClient {
/**
* Creates, updates, or removes criteria. Operation statuses are returned.
*
* List of thrown errors:
* [AdGroupCriterionError]()
* [AdxError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [BiddingError]()
* [BiddingStrategyError]()
* [CollectionSizeError]()
* [ContextError]()
* [CriterionError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [MultiplierError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperationAccessDeniedError]()
* [OperatorError]()
* [PolicyViolationError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
* [UrlFieldError]()
*
* @generated from protobuf rpc: MutateAdGroupCriteria(google.ads.googleads.v11.services.MutateAdGroupCriteriaRequest) returns (google.ads.googleads.v11.services.MutateAdGroupCriteriaResponse);
*/
mutateAdGroupCriteria(input: MutateAdGroupCriteriaRequest, options?: RpcOptions): UnaryCall<MutateAdGroupCriteriaRequest, MutateAdGroupCriteriaResponse>;
}
/**
* Service to manage ad group criteria.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupCriterionService
*/
export declare class AdGroupCriterionServiceClient implements IAdGroupCriterionServiceClient, ServiceInfo {
private readonly _transport;
typeName: string;
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
options: {
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
};
constructor(_transport: RpcTransport);
/**
* Creates, updates, or removes criteria. Operation statuses are returned.
*
* List of thrown errors:
* [AdGroupCriterionError]()
* [AdxError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [BiddingError]()
* [BiddingStrategyError]()
* [CollectionSizeError]()
* [ContextError]()
* [CriterionError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [FieldError]()
* [FieldMaskError]()
* [HeaderError]()
* [IdError]()
* [InternalError]()
* [MultiplierError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperationAccessDeniedError]()
* [OperatorError]()
* [PolicyViolationError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
* [UrlFieldError]()
*
* @generated from protobuf rpc: MutateAdGroupCriteria(google.ads.googleads.v11.services.MutateAdGroupCriteriaRequest) returns (google.ads.googleads.v11.services.MutateAdGroupCriteriaResponse);
*/
mutateAdGroupCriteria(input: MutateAdGroupCriteriaRequest, options?: RpcOptions): UnaryCall<MutateAdGroupCriteriaRequest, MutateAdGroupCriteriaResponse>;
}