---
title: ConstraintGroup
framework: Apple Ads Platform API
role: symbol
role_heading: Object
platforms: [apple ads platform api 1.0+]
path: apple-ads-platform-api/constraintgroup
---

# ConstraintGroup

A constraint group defining the supply placements and countries or regions where a location is blocked or allowed to serve ads.

## Declaration

```data
object ConstraintGroup
```

## Properties

supplyPlacement: Supply placement identifiers scoped by this constraint. A generic string array with no enumerated values. Example values: SEARCH_TAB, TODAY_TAB, APPSTORE_SEARCH_RESULTS, APPSTORE_TODAY_TAB. countryOrRegion: ISO 3166-1 alpha-2 country or region codes scoped by this constraint. Example values: US, GB.

## Discussion

Discussion The ConstraintGroup object defines a pairing of supply placements and geographic markets that collectively describe where an eligibility rule applies. The Eligibility objects embed it to specify the exact scope of blocking or allowing a business entity from serving ads. When you populate both supplyPlacement and countryOrRegion, the constraint applies to the intersection of those placements and markets. Example {   "supplyPlacement": [     "SEARCH_TAB",     "TODAY_TAB"   ],   "countryOrRegion": [     "US",     "GB"   ] }

## See Also

- [Brand](apple-ads-platform-api/brand.md)
- [BrandResponse](apple-ads-platform-api/brandresponse.md)
- [BrandQueryResponse](apple-ads-platform-api/brandqueryresponse.md)
- [BrandRejectionReasonResponse](apple-ads-platform-api/brandrejectionreasonresponse.md)
- [BusinessCategory](apple-ads-platform-api/businesscategory.md)
- [BusinessCategoryResponse](apple-ads-platform-api/businesscategoryresponse.md)
- [BusinessCategoryQueryResponse](apple-ads-platform-api/businesscategoryqueryresponse.md)
- [Location](apple-ads-platform-api/location.md)
- [LocationResponse](apple-ads-platform-api/locationresponse.md)
- [LocationGroup](apple-ads-platform-api/locationgroup.md)
- [LocationGroupCreate](apple-ads-platform-api/locationgroupcreate.md)
- [LocationGroupUpdate](apple-ads-platform-api/locationgroupupdate.md)
- [LocationGroupResponse](apple-ads-platform-api/locationgroupresponse.md)
- [LocationGroupQueryResponse](apple-ads-platform-api/locationgroupqueryresponse.md)
- [LocationQueryResponse](apple-ads-platform-api/locationqueryresponse.md)
