AdGroup.Targeting
The comprehensive audience and placement configuration for an ad group.
Declaration
object AdGroup.TargetingProperties
| Name | Type | Description |
|---|---|---|
country | AdGroupTargeting.Country | Country targeting. Include a country ID returned by the Geo Search API. Include only. Used with App Store campaigns. See TargetingData. Mutable. |
adminArea | AdGroupTargeting.AdminArea | State or province targeting. Include admin area IDs returned by the Geo API. Include only. Used with App Store and Apple Maps campaigns. See TargetingData. Mutable. |
locality | AdGroupTargeting.Locality | City targeting. Include locality IDs returned by the Geo API. Include only. Used with App Store and Apple Maps campaigns. See TargetingData. Mutable. |
postalCode | AdGroupTargeting.PostalCode | Postal code targeting. Include postal code IDs returned by the Geo API. Include only. Used with Apple Maps campaigns. See TargetingData. Mutable. |
radius | AdGroupTargeting.Radius | Radius targeting, used with Apple Maps campaigns to restrict delivery to users within a given proximity of the brand’s locations. Valid values: |
deviceClass | AdGroupTargeting.DeviceClass | Device class targeting. Valid values: |
minAge | AdGroupTargeting.MinAge | Minimum age targeting. Sets the lower bound of the target age range. Minimum value is 18, maximum value is 64. Include only. Used with App Store campaigns. See TargetingData. Mutable. |
maxAge | AdGroupTargeting.MaxAge | Maximum age targeting. Sets the upper bound of the target age range. Minimum value is 18, maximum value is 64. To target users 65 and older, omit |
gender | AdGroupTargeting.Gender | Gender targeting, used with App Store campaigns. Valid values: |
appCategory | AdGroupTargeting.AppCategory | App category targeting. Category ID |
appDownloader | AdGroupTargeting.AppDownloader | Reach or suppress users based on whether they’ve downloaded specific apps. Use |
daypart | AdGroupTargeting.Daypart | Hour-of-day targeting. Include slot integers (0–167) to restrict delivery to those hours. Include only. Used with App Store and Apple Maps campaigns. Values represent one-hour windows in a 7-day week grid starting on Sunday. See AdGroupTargeting.Daypart for the full slot reference. See TargetingData. Mutable. |
locationGroup | AdGroupTargeting.LocationGroup | Location group targeting. Include location group IDs to restrict delivery to the business locations in those groups. Include only. Used with Apple Maps campaigns. For creating and managing groups, see Managing Location Groups. See TargetingData. Mutable. |
Discussion
Defines the audience dimensions, such as geography, demographics, device, and behavior, that this ad group targets. Each dimension supports an include list, an exclude list, or both, depending on the field.
Example
{
"targeting": {
"deviceClass": {
"include": [
"IPHONE"
]
},
"minAge": {
"include": [
"18"
]
},
"maxAge": {
"include": [
"34"
]
},
"appDownloader": {
"include": [
"123456789"
]
}
}
}See AdGroupTargeting for the full field reference.