Method: advertisers.lineItems.targetingTypes.assignedTargetingOptions.create
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
Display & Video 360 API v3 has sunset, and users should use v4 instead.
This endpoint assigns a targeting option to a line item and returns the assigned option upon success.
Requests to this endpoint cannot be made concurrently with certain other requests updating the same line item.
YouTube & Partners line items cannot be created or updated using the API.
[null,null,["Last updated 2025-10-08 UTC."],[],["This endpoint assigns a targeting option to a line item via a `POST` request. The URL includes path parameters for `advertiserId`, `lineItemId`, and `targetingType`. The request body contains an `AssignedTargetingOption` instance, and a successful response returns a new `AssignedTargetingOption` instance. Concurrent updates to the same line item using other specified endpoints are not allowed. The `targetingType` parameter defines the type of targeting which include, among other, `TARGETING_TYPE_AGE_RANGE` and `TARGETING_TYPE_LANGUAGE`.\n"]]