v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13177414729.5 KB
advertisers

Bulk edits targeting options under multiple line items. The operation will delete the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.create_requests. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkUpdate * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.

post/v4/advertisers/{+advertiserId}/lineItems:bulkEditAssignedTargetingOptions

Path parameters

advertiserIdstring required

Required. The ID of the advertiser the line items belong to.

Request body

lineItemIdsstring[]

Required. The ID of the line items whose targeting is being updated.

Response

Successful response