Skip to main content

This type defines the fields returned when you create an ad by inventory reference ID.

Type that uses CreateAdsByInventoryReferenceResponse

BulkCreateAdsByInventoryReferenceResponse

Calls that use CreateAdsByInventoryReferenceResponse

Fields

Field
Type
Description
ads
array of AdReference
A list of ad IDs (based on their inventory reference IDs) and the URIs that point to them.
errors
array of ErrorDetailV3
An array of errors or warnings associated with the create-ads request.
inventoryReferenceId
An ID that identifies an a single-item listing or multiple-variation listing that is managed with the Inventory API.

The inventory reference ID is a seller-defined value that can be either an SKU for a single-item listing or an inventoryItemGroupKey for a multiple-value listing.

inventoryReferenceType
Indicates the type of item the inventoryReferenceId references. The item can be either an INVENTORY_ITEM or INVENTORY_ITEM_GROUP.
statusCode
An HTTP status code that indicates the response-status of the request. Check this code to see if the ads were successful created.