advertisers

POST /v4/advertisers/{advertisersId}/lineItems:bulkEditAssignedTargetingOptions

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.

Request

Path parameters

advertisersIdstring required

Request body

lineItemIdsstring[]

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

Response

Successful response

failedLineItemIdsstring[]

Output only. The IDs of the line items which failed.

updatedLineItemIdsstring[]

Output only. The IDs of the line items which successfully updated.

Changes

No recorded changes to this operation across all 7 revisions of this API.