> ## Documentation Index
> Fetch the complete documentation index at: https://developers.criteo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /experimental/retail-media/accounts/{account-id}/creatives/search-enriched

> Get account creatives enriched with the product collection constraints of their template.
            The returned id is the first parent external id of the creative (stable across versions).



## OpenAPI

````yaml https://api.criteo.com/experimental/retailmedia/open-api-specifications.json post /experimental/retail-media/accounts/{account-id}/creatives/search-enriched
openapi: 3.0.1
info:
  title: Criteo API
  description: Criteo API - RetailMedia
  version: Experimental
servers:
  - url: https://api.criteo.com
security:
  - oauth: []
tags:
  - name: Accounts
  - name: Analytics
  - name: Audience
  - name: Balance
  - name: Campaign
  - name: Catalog
  - name: Gateway
  - name: OnSiteRecommendation
  - name: ThirdPartyAccounts
paths:
  /experimental/retail-media/accounts/{account-id}/creatives/search-enriched:
    post:
      tags:
        - Campaign
      summary: >-
        /experimental/retail-media/accounts/{account-id}/creatives/search-enriched
      description: "Get account creatives enriched with the product collection constraints of their template.\r\n            The returned id is the first parent external id of the creative (stable across versions)."
      operationId: SearchAccountCreativesEnriched
      parameters:
        - name: account-id
          in: path
          description: External account id to retrieve creatives for
          required: true
          schema:
            type: string
        - name: limit
          in: query
          description: limit to paginated result
          schema:
            maximum: 500
            minimum: 1
            type: integer
            format: int32
            default: 50
        - name: offset
          in: query
          description: offset to paginated result
          schema:
            maximum: 2147483647
            minimum: 0
            type: integer
            format: int32
            default: 0
      requestBody:
        description: search request filter
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/EntityResourceInputCreativeSearchEnrichedRequest
        required: true
      responses:
        '200':
          description: Creatives found
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/EntityResourceCollectionOutcomeCreativeSearchEnrichedResponseAndMetadata
      security:
        - oauth:
            - RetailMedia_Campaign_Read
components:
  schemas:
    EntityResourceInputCreativeSearchEnrichedRequest:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/EntityResourceCreativeSearchEnrichedRequest'
      additionalProperties: false
      description: >-
        A top-level object that encapsulates a Criteo API request for a single
        entity.
    EntityResourceCollectionOutcomeCreativeSearchEnrichedResponseAndMetadata:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/EntityResourceCreativeSearchEnrichedResponse'
          nullable: true
        errors:
          type: array
          items:
            $ref: '#/components/schemas/SdkApiRestCommonProblem'
          description: Errors that occured during this call.
          nullable: true
          readOnly: true
        metadata:
          $ref: '#/components/schemas/Metadata'
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/SdkApiRestCommonProblem'
          description: Warnings that occured during this call.
          nullable: true
          readOnly: true
      additionalProperties: false
      description: >-
        A top-level object that encapsulates a Criteo API response for several
        entities and metadata.
    EntityResourceCreativeSearchEnrichedRequest:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/CreativeSearchEnrichedRequest'
        id:
          type: string
          description: Unique id of the entity.
          nullable: true
        type:
          type: string
          description: Type of the resource.
          nullable: true
      additionalProperties: false
      description: A domain entity exposed by the API, identified by a unique id.
    EntityResourceCreativeSearchEnrichedResponse:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/CreativeSearchEnrichedResponse'
        id:
          type: string
          description: Unique id of the entity.
          nullable: true
        type:
          type: string
          description: Type of the resource.
          nullable: true
      additionalProperties: false
      description: A domain entity exposed by the API, identified by a unique id.
    SdkApiRestCommonProblem:
      type: object
      properties:
        code:
          type: string
          description: A machine-readable error code, expressed as a string value.
          nullable: true
        detail:
          type: string
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          nullable: true
        instance:
          type: string
          description: A URI that identifies the specific occurrence of the problem.
          nullable: true
        source:
          type: object
          additionalProperties:
            type: string
          description: >-
            A machine-readable structure to reference to the exact location(s)
            causing the error(s).
          nullable: true
        stackTrace:
          type: string
          description: ''
          nullable: true
        title:
          type: string
          description: A short human-readable description of the problem type.
          nullable: true
        traceId:
          type: string
          description: The request correlation ID this problem comes from.
          nullable: true
        type:
          enum:
            - unknown
            - access-control
            - authentication
            - authorization
            - availability
            - deprecation
            - quota
            - validation
          type: string
          description: The problem's category.
          nullable: true
      additionalProperties: false
      description: Common problem object.
    Metadata:
      required:
        - limit
        - offset
      type: object
      properties:
        count:
          type: integer
          format: int64
          nullable: true
        limit:
          type: integer
          description: The number of elements to be returned.
          format: int32
        offset:
          type: integer
          description: The (zero-based) starting offset in the collection.
          format: int32
      additionalProperties: false
      description: Metadata related to the current request.
      nullable: true
    CreativeSearchEnrichedRequest:
      type: object
      properties:
        creativeIds:
          maxItems: 500
          type: array
          items:
            type: string
          description: Search Id
          nullable: true
        creativeName:
          type: string
          description: Name to search
          nullable: true
        creativeTypes:
          type: array
          items:
            enum:
              - CommerceDisplay
              - CommerceVideo
              - StandardVideo
              - StandardDisplay
            type: string
          description: Creative type
          nullable: true
        pageTypes:
          type: array
          items:
            enum:
              - Unknown
              - Search
              - Home
              - Browse
              - Checkout
              - Category
              - ProductDetail
              - Confirmation
              - Merchandising
              - Deals
              - Favorites
              - SearchBar
              - CategoryMenu
            type: string
          description: Page type
          nullable: true
        retailerIds:
          maxItems: 100
          type: array
          items:
            type: string
          description: RetailerId of the search filter
          nullable: true
        templateIds:
          maxItems: 100
          type: array
          items:
            type: string
          description: Id of the template this creative was created on
          nullable: true
      additionalProperties: false
      description: Creative search-enriched request model
    CreativeSearchEnrichedResponse:
      type: object
      properties:
        createdAt:
          type: string
          description: Time search is created
          format: date-time
          nullable: true
        creativeType:
          enum:
            - Unknown
            - CommerceDisplay
            - CommerceVideo
            - StandardVideo
            - StandardDisplay
          type: string
          description: Creative type
          nullable: true
        displayableProductsMax:
          type: integer
          description: Maximum number of displayable products allowed by the template
          format: int32
          nullable: true
        modifiedAt:
          type: string
          description: Time it's modified
          format: date-time
          nullable: true
        name:
          type: string
          description: Name of the creative
          nullable: true
        pageType:
          type: array
          items:
            enum:
              - Unknown
              - Search
              - Home
              - Browse
              - Checkout
              - Category
              - ProductDetail
              - Confirmation
              - Merchandising
              - Deals
              - Favorites
              - SearchBar
              - CategoryMenu
            type: string
          description: Page type
          nullable: true
        preview:
          type: string
          description: Preview url of the creative
          nullable: true
        productCollectionsHaveImages:
          type: boolean
          description: Whether the template's product collections carry an image
          nullable: true
        productCollectionsHaveText:
          type: boolean
          description: Whether the template's product collections carry a text
          nullable: true
        productCollectionsMax:
          type: integer
          description: Maximum number of product collections allowed by the template
          format: int32
          nullable: true
        productCollectionsMin:
          type: integer
          description: Minimum number of product collections required by the template
          format: int32
          nullable: true
        productsPerCollectionMax:
          type: integer
          description: Maximum number of products per collection allowed by the template
          format: int32
          nullable: true
        productsPerCollectionMin:
          type: integer
          description: Minimum number of products per collection required by the template
          format: int32
          nullable: true
        retailerId:
          type: string
          description: RetailerId of the search filter
          nullable: true
        status:
          enum:
            - Ready
            - In Use
            - Archived
          type: string
          description: The search status
          nullable: true
        templateId:
          type: string
          description: Template Id
          nullable: true
      additionalProperties: false
      description: "Creative search-enriched response model. Same attributes as Criteo.RetailMedia.Creatives.Api.ExternalApi.Models.Creatives.V3.CreativeSearchResponse\r\nplus the product collection constraints of the creative's template (retailer overrides applied).\r\nThe resource id is the first parent external id of the creative."
      nullable: true
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes:
            RetailMedia_Accounts_Read: >-
              Grants Read access to the capabilities from the Accounts domain,
              for RetailMedia applications
            RetailMedia_Analytics_Read: >-
              Grants Read access to the capabilities from the Analytics domain,
              for RetailMedia applications
            RetailMedia_Audience_Manage: >-
              Grants Manage access to the capabilities from the Audience domain,
              for RetailMedia applications
            RetailMedia_Balance_Read: >-
              Grants Read access to the capabilities from the Balance domain,
              for RetailMedia applications
            RetailMedia_Campaign_Manage: >-
              Grants Manage access to the capabilities from the Campaign domain,
              for RetailMedia applications
            RetailMedia_Campaign_Read: >-
              Grants Read access to the capabilities from the Campaign domain,
              for RetailMedia applications
            RetailMedia_Catalog_Manage: >-
              Grants Manage access to the capabilities from the Catalog domain,
              for RetailMedia applications
            RetailMedia_Catalog_Read: >-
              Grants Read access to the capabilities from the Catalog domain,
              for RetailMedia applications
            RetailMedia_OnSiteRecommendation_Read: >-
              Grants Read access to the capabilities from the
              OnSiteRecommendation domain, for RetailMedia applications
            RetailMedia_ThirdPartyAccounts_Manage: >-
              Grants Manage access to the capabilities from the
              ThirdPartyAccounts domain, for RetailMedia applications
        authorizationCode:
          authorizationUrl: https://api.criteo.com/oauth2
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes:
            RetailMedia_Accounts_Read: >-
              Grants Read access to the capabilities from the Accounts domain,
              for RetailMedia applications
            RetailMedia_Analytics_Read: >-
              Grants Read access to the capabilities from the Analytics domain,
              for RetailMedia applications
            RetailMedia_Audience_Manage: >-
              Grants Manage access to the capabilities from the Audience domain,
              for RetailMedia applications
            RetailMedia_Balance_Read: >-
              Grants Read access to the capabilities from the Balance domain,
              for RetailMedia applications
            RetailMedia_Campaign_Manage: >-
              Grants Manage access to the capabilities from the Campaign domain,
              for RetailMedia applications
            RetailMedia_Campaign_Read: >-
              Grants Read access to the capabilities from the Campaign domain,
              for RetailMedia applications
            RetailMedia_Catalog_Manage: >-
              Grants Manage access to the capabilities from the Catalog domain,
              for RetailMedia applications
            RetailMedia_Catalog_Read: >-
              Grants Read access to the capabilities from the Catalog domain,
              for RetailMedia applications
            RetailMedia_OnSiteRecommendation_Read: >-
              Grants Read access to the capabilities from the
              OnSiteRecommendation domain, for RetailMedia applications
            RetailMedia_ThirdPartyAccounts_Manage: >-
              Grants Manage access to the capabilities from the
              ThirdPartyAccounts domain, for RetailMedia applications

````