google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
130 lines (129 loc) • 4.48 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { MutateAdGroupAdsResponse } from "./ad_group_ad_service";
import type { MutateAdGroupAdsRequest } from "./ad_group_ad_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to manage ads in an ad group.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupAdService
*/
export interface IAdGroupAdServiceClient {
/**
* Creates, updates, or removes ads. Operation statuses are returned.
*
* List of thrown errors:
* [AdCustomizerError]()
* [AdError]()
* [AdGroupAdError]()
* [AdSharingError]()
* [AdxError]()
* [AssetError]()
* [AssetLinkError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [ContextError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [FeedAttributeReferenceError]()
* [FieldError]()
* [FieldMaskError]()
* [FunctionError]()
* [FunctionParsingError]()
* [HeaderError]()
* [IdError]()
* [ImageError]()
* [InternalError]()
* [ListOperationError]()
* [MediaBundleError]()
* [MediaFileError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperationAccessDeniedError]()
* [OperatorError]()
* [PolicyFindingError]()
* [PolicyValidationParameterError]()
* [PolicyViolationError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
* [UrlFieldError]()
*
* @generated from protobuf rpc: MutateAdGroupAds(google.ads.googleads.v11.services.MutateAdGroupAdsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupAdsResponse);
*/
mutateAdGroupAds(input: MutateAdGroupAdsRequest, options?: RpcOptions): UnaryCall<MutateAdGroupAdsRequest, MutateAdGroupAdsResponse>;
}
/**
* Service to manage ads in an ad group.
*
* @generated from protobuf service google.ads.googleads.v11.services.AdGroupAdService
*/
export declare class AdGroupAdServiceClient implements IAdGroupAdServiceClient, 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 ads. Operation statuses are returned.
*
* List of thrown errors:
* [AdCustomizerError]()
* [AdError]()
* [AdGroupAdError]()
* [AdSharingError]()
* [AdxError]()
* [AssetError]()
* [AssetLinkError]()
* [AuthenticationError]()
* [AuthorizationError]()
* [CollectionSizeError]()
* [ContextError]()
* [DatabaseError]()
* [DateError]()
* [DistinctError]()
* [FeedAttributeReferenceError]()
* [FieldError]()
* [FieldMaskError]()
* [FunctionError]()
* [FunctionParsingError]()
* [HeaderError]()
* [IdError]()
* [ImageError]()
* [InternalError]()
* [ListOperationError]()
* [MediaBundleError]()
* [MediaFileError]()
* [MutateError]()
* [NewResourceCreationError]()
* [NotEmptyError]()
* [NullError]()
* [OperationAccessDeniedError]()
* [OperatorError]()
* [PolicyFindingError]()
* [PolicyValidationParameterError]()
* [PolicyViolationError]()
* [QuotaError]()
* [RangeError]()
* [RequestError]()
* [ResourceCountLimitExceededError]()
* [SizeLimitError]()
* [StringFormatError]()
* [StringLengthError]()
* [UrlFieldError]()
*
* @generated from protobuf rpc: MutateAdGroupAds(google.ads.googleads.v11.services.MutateAdGroupAdsRequest) returns (google.ads.googleads.v11.services.MutateAdGroupAdsResponse);
*/
mutateAdGroupAds(input: MutateAdGroupAdsRequest, options?: RpcOptions): UnaryCall<MutateAdGroupAdsRequest, MutateAdGroupAdsResponse>;
}