addedInput schema / properties / targeting_spec / properties / flexible_spec
Added value: +{
+ "description": "Detailed targeting groups, the same shape adsap_create_ad_sets takes: OR inside a group, AND between groups. [{\"interests\":[A],\"behaviors\":[B]},{\"family_statuses\":[C]}] sizes people who match (A or B) and C. Group keys are Meta segment types: take each item's type and id from adsap_search_detailed_targeting. Max 25 groups. If interests / behaviors are also given, each becomes an extra group (ANDed).",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behaviors": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "college_years": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "education_majors": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "education_schools": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "education_statuses": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "family_statuses": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "income": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "industries": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "interests": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^\\d+$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "life_events": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "relationship_statuses": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "user_adclusters": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "work_employers": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ },
+ "work_positions": {
+ "items": {
+ "$ref": "#/properties/targeting_spec/properties/flexible_spec/items/properties/interests/items"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 25,
+ "type": "array"
+}