Contents

Get Location Group

Retrieve a single location group by its unique identifier.

URL

GET https://api.ads.apple.com/v1/location-groups/{id}

Path Parameters

NameTypeDescription
id Requiredstring

Header Parameters

NameTypeDescription
X-Ap-Context Requiredstring

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
LocationGroupResponse
400Bad Request
Content-Type: application/json
Error
401Unauthorized
Content-Type: application/json
Error
403Forbidden
Content-Type: application/json
Error
404Not Found
Content-Type: application/json
ErrorResponse
429Too Many Requests
Content-Type: application/json
Error
500Internal Server Error
Content-Type: application/json
Error

Discussion

This endpoint returns the full state of a location group, including its membership definition, current systemStatus, groupTotal, and eligibility. To confirm a group was created correctly, or to inspect its current membership before attaching it to an ad group’s targeting configuration, use this endpoint.

The response’s systemStatus field can take any of the following values:

Status

Meaning

VALID

The group is fully evaluated and eligible for use in targeting. groupTotal reflects the current matched-location count.

PENDING

The system is evaluating the group’s dynamic rules. groupTotal may be 0. Check again after a short interval.

INVALID

One or more issues prevent the group from serving. Inspect eligibility for details.

DELETED

The group has been soft-deleted and is no longer available for targeting.

The PENDING status appears immediately after a DYNAMIC group is created or after its rules are updated. The STATIC groups transition directly to VALID because membership is explicit and requires no evaluation.

Fetching a group by ID differs from a bulk query in a couple of ways:

Constraint

Detail

Single group only

Retrieves one group by ID. Use Query Location Groups to retrieve multiple groups with filters.

Deleted groups

Soft-deleted groups are still retrievable by ID. They appear in the response with systemStatus: DELETED.

Payload Examples

See Also