Patch targeting setAsk AIpatch https://api.kevel.co/v1/forecaster/ad-products/{adProductId}/targeting-sets/{targetingSetId}Update one or more fields of a Targeting Set in a Yield Forecast Ad Product.Path ParamsadProductIdintegerrequiredtargetingSetIdintegerrequiredBody ParamsA JSON object with one or more of the targeting set fields that are updatable.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 numbersHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsontext/plainAllowed:application/jsontext/plainResponses 200Normal response, containing the full updated JSON object with the ad product, if successful. 400The entity in the body is invalid. 404The entity doesn't exist.Updated 7 months ago