Create targeting setCopy Pagepost https://api.kevel.co/v1/forecaster/ad-products/{adProductId}/targeting-setsCreate a Targeting Set in a Yield Forecast Ad Product.Path ParamsadProductIdintegerrequiredThe ad product ID.Body ParamsThe JSON object with the targeting set.A targeting set is an object which contains all the fields in a flight that are relevant and supported in the forecast planner.namestringrequiredThe name of the targeting set.enabledbooleanrequiredWhether the targeting set is enabled. Only enabled targeting sets are considered when calculating and displaying results.truefalsepriorityIdinteger | nullThe ID of the priority. It is required when the targeting set is enabled.rateobject | nullThe rate at which the advertiser pays you. It is required when the targeting set is enabled.rate object | nullkeywordTargetingstring | nullPlease head to Keyword Logic for more details.frequencyCapobject | nullConfiguration for limiting ad frequency to users.Frequency Cap object | nullsiteZoneTargetingarray of objects | nullsiteZoneTargetingADD objectgeoTargetingarray of objects | nullgeoTargetingADD objectdistanceTargetingarray of objects | nulldistanceTargetingADD objectcustomTargetingstring | nullA string for custom targeting using the Zerkel Language.duplicateModeinteger | nullenumWhen defined, enables no duplicates and defines the type of the duplicate mode: 1: Flight 2: Campaign 3: Advertiser 4: Creative 1234Allowed:1234adTypesThe ad type IDs to use in forecasts. It is required if the targeting set is enabled.arraystringadTypes array of numbersResponses 200The JSON object of the targeting set that was created successfully. 400The entity in the body is invalid.Updated 8 months ago