Create targeting setAsk AIpost 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.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:1234adTypesarraystringThe ad type IDs to use in forecasts. It is required if the targeting set is enabled.adTypes array of numbersResponses 200The JSON object of the targeting set that was created successfully. 400The entity in the body is invalid.Updated 7 months ago