import { AdwordsOperationService, SoapService } from '../../core'; import { ISelector, ILocation, IProximity, IOperation } from '../../../types/adwords'; import { Criterion } from '../../../types/enum'; import { ICampaignCriterion, INegativeCampaignCriterion } from './CampaignCriterion'; import { IListReturnValue, IPage } from '../../../types/abstract'; interface ICampaignCriterionServiceOpts { soapService: SoapService; } declare class CampaignCriterionService extends AdwordsOperationService { static setType(campaignCriterion: ICampaignCriterion): ICampaignCriterion; static isProximity(criterion: ILocation | IProximity): criterion is IProximity; static isLocation(criterion: ILocation | IProximity): criterion is ILocation; private static readonly selectorFields; private soapService; constructor(options: ICampaignCriterionServiceOpts); getAllByCampaignIds(campaignIds: string[]): Promise>; getAllLocationCriterionByCampaignIds(campaignIds: string[]): Promise>; /** * add location to campaign, location criterion id can be found here: * https://docs.google.com/spreadsheets/d/1FIB1WP3OHbjoe0AQ8oNuzY--NnHeuen-W7EWY6uupnA/edit#gid=1905266229 * * * @author dulin * @param {ICampaignCriterion[]} campaignCriterionOperations * @returns * @memberof CampaignCriterionService */ add(campaignCriterionOperations: ICampaignCriterion[]): Promise>; protected mutate, Rval = IListReturnValue>(opertions: Operaiton[]): Promise; protected get>(serviceSelector: ServiceSelector): Promise; } export { CampaignCriterionService, ICampaignCriterion, ICampaignCriterionServiceOpts, Criterion }; export * from './enum/CampaignCriterion';