---
schema_version: "1"
id: 404e592fe98e2e0a601a8b972c80d1143c1c5ff7bc1919e981754376947e6275
title: Example
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/rtr_example_promotion_measures.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_example_promotion_measures.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7e1af6e06b5331b6cdb87dcfe47a05bef777b68d4a342d278f5175590b034297
description: This example provides details on the integration metadata JSON with data source.
---
# Example

This example provides details on the integration metadata JSON with data source.

**PromotionMeasures**

{
  "datasources": \[
    {
      "name": "PromotionMeasures"
    }
  \],
  "dimensions": {
    "accountdimension": {
      "attributes": \[
        {
          "label": "ExternalId",
          "name": "externalid"
        },
        {
          "label": "Name",
          "name": "name"
        },
        {
          "label": "AccountNUmber",
          "name": "accountnumber"
        }
      \],
      "key": "externalid",
      "level": ""
    },
    "productdimension": {
      "attributes": \[
        {
          "label": "Description",
          "name": "description"
        },
        {
          "label": "ExternalId",
          "name": "externalid"
        },
        {
          "label": "Category",
          "name": "category"
        }
      \],
      "key": "externalid",
      "level": "Product"
    },
    "timedimension": {
      "includetotal": false,
      "splitweeks": false,
      "periodtype": "custom"
    },
    "kpidimension": {
      "measures": \[
        {
          "name": "ProPlanIncrVolume",
          "label": "Incremental Volume"
        }
      \]
    },
    "promotiondimension": {
      "attributes": \[
        {
          "label": "id",
          "name": "id"
        },
        {
          "label": "datefrom",
          "name": "datefrom"
        },
        {
          "label": "templateName",
          "name": "templateName"
        },
        {
          "label": "accountid",
          "name": "accountid"
        },
        {
          "label": "accountplanrelevant",
          "name": "accountplanrelevant"
        },
        {
          "label": "accountexternalid",
          "name": "accountexternalid"
        }
      \],
      "key": "id",
      "level": ""
    }
  },
  "exportsettings": {
    "columns": \[
      "accountdimension.externalid",
      "promotiondimension.id",
      "promotiondimension.datefrom",
      "promotiondimension.templateName",
      "productdimension.externalid",
      "productdimension.category",
      "productdimension.description",
      "kpidimension.label",
      "kpidimension.measurecode",
      "...timedimension.label"
    \],
    "csvseparator": ","
  },
  "exportfilters": {
    "conditions": \[
      {
        "operator": "includes",
        "value": \[
          "Kroger\_Atlanta"
        \],
        "attribute": "externalid",
        "dimension": "accountdimension",
        "name": "cond1"
      }
    \]
  }
}