.. index:: Advertisement, AdvertisementFeatures AdvertisementFeature .. _advertisement_feature: Advertisement feature ===================== A single advertisement feature. For more information about the type of features that can be bought look at the documentation on the :ref:`advertisement-features ` resource. Fields ------ .. apifields:: .. apifield:: :name: name :type: string :constraints: one of the supported feature names :required: true :writable: false :updateable: false Name of the feature. .. apifield:: :name: price :type: int :constraints: -- :required: false :writable: false :updateable: false Price of the feature including VAT. If you have a contract that involves retrospective billing this price might not be the price that is charged to you .. apifield:: :name: active :type: boolean :constraints: either ``true`` or ``false`` :required: true :writable: false :updateable: false If the feature is currently active. .. apifield:: :name: available :type: boolean :constraints: either ``true`` or ``false`` :required: false :writable: false :updateable: false If the feature can be bought. Relations --------- .. relations:: .. relation:: :name: buy-advertisement-feature :availability: Logged in user can buy this feature Reference --------- .. endpoint:: GET /v1/advertisements/{itemId}/features/{featureName} Get a single feature. Errors ------ .. errors:: .. error:: :http: 404 :code: feature-not-found :description: the requested feature does not exist. Only returned when one try to GET a single feature.