Ads APIReferences / measurement-datasets / Remove Integration From Dataset

Remove Integration From Dataset

Remove integration from dataset - moves integration to its own new dataset.

Request

  • business_idstring [uuid]
    Required

    A unique identifier for the entity.

    Example: ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a
  • dataset_idstring [uuid]
    Required

    A unique identifier for the dataset.

    Example: 0d86b9e9-70f0-4700-a725-3417ba8786f6
  • integration_idstring [uuid]
    Required

    A unique identifier for the integration.

    Example: ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a

Response

The new dataset the removed integration now belongs to.

  • idstring [uuid]
    Read only

    A unique identifier for the dataset.

    Supported content-type(s): Example: "0d86b9e9-70f0-4700-a725-3417ba8786f6"
  • namestring

    The name of the dataset.

    Example: "US Advertising"
    • idstring
      Read only

      A unique identifier for a pixel.

      Supported content-type(s): Example: "cd2f1480ba3d4f9b9c5a39893c0def91"
    • integration_idstring [uuid]
      Read only

      A unique identifier for the integration.

      Supported content-type(s): Example: "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
    • domainstring [uri]

      The URL you would like to track. Only HTTP and HTTPS schemes are allowed.

      Example: "https://www.spotify.com"
    • namestring

      The name of the pixel.

      Example: "Spotify"
    • created_atstring [date-time]
      Read only

      Date the entity was created. Time should be in ISO 8601 format using Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ

      Supported content-type(s): Example: "2026-01-23T04:56:07Z"
    • Read only
      • idstring
        Read only

        A unique identifier for an event.

        Supported content-type(s): Example: "23815327f0c64cf9811516c53c465f37"
      • typestring

        The type of event.

        Allowed values: "PAGE_VIEW", "LEAD", "PURCHASE", "ADD_TO_CART"Example: "LEAD"
      • created_atstring [date-time]
        Read only

        Date the entity was created. Time should be in ISO 8601 format using Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ

        Supported content-type(s): Example: "2026-01-23T04:56:07Z"
      • last_activity_atstring [date-time]
        Read only

        Date the event was last used. Time should be in ISO 8601 format using Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ

        Example: "2021-01-23T04:56:07Z"
    • Read only
      • typestring

        The type of event.

        Allowed values: "PAGE_VIEW", "LEAD", "PURCHASE", "ADD_TO_CART"Example: "LEAD"
      • hour_partitionstring [date-time]
        Read only

        The hour the event counts pertain to, in ISO 8601 format using Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ

        Example: "2023-08-02T10:00:00Z"
      • countinteger
        Read only

        Count of historical events, aggregated for the hour.

        Example: 42
    • dataset_idstring [uuid]

      A unique identifier for the dataset.

      Example: "0d86b9e9-70f0-4700-a725-3417ba8786f6"
    • aam_opt_inboolean

      Whether AAM is enabled for this pixel. If false, no fields will be used for matching, even if they are present in the AamFields column.

      Example: false
    • aam_fieldsarray of strings

      List of AAM fields to enable for matching.

      Array length between 0 and 11Example: ["EMAIL","PHONE","FIRST_NAME"]

      User info field for advanced matching.

      Allowed values: "EMAIL", "PHONE", "FIRST_NAME", "LAST_NAME", "DATE_OF_BIRTH", "GENDER", "CITY", "STATE", "ZIP", "COUNTRY", "EXTERNAL_ID"
    • capi_connection_idstring [uuid]
      Read only

      A unique identifier for the CAPI integration.

      Supported content-type(s): Example: "2fd920ed-a111-43d4-bee2-74d078c479a5"
    • integration_idstring [uuid]
      Read only

      A unique identifier for the integration.

      Supported content-type(s): Example: "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
    • namestring

      The name of the CAPI integration.

      Example: "Retail Sales"
    • dataset_idstring [uuid]

      A unique identifier for the dataset.

      Example: "0d86b9e9-70f0-4700-a725-3417ba8786f6"
  • ad_set_countinteger

    The number of active or scheduled ad sets using the dataset.

    Example: 0
  • is_archivedboolean

    Whether the dataset has been archived.

    Default: false
  • is_receiving_eventsboolean

    Whether any integrations in the dataset are currently sending events.

    Default: false
  • An ad account a dataset has been shared to.

    • idstring [uuid]

      A unique identifier for an Ad Account.

      Example: "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
    • namestring

      Name of the Ad Account.

      Example: "Spotify"
  • is_receiving_lead_eventsboolean

    Whether any integrations in the dataset are currently sending lead events.

    Default: false

Response sample

{  "id": "0d86b9e9-70f0-4700-a725-3417ba8786f6",  "name": "US Advertising",  "pixel": {    "id": "cd2f1480ba3d4f9b9c5a39893c0def91",    "integration_id": "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a",    "domain": "https://www.spotify.com",    "name": "Spotify",    "created_at": "2026-01-23T04:56:07Z",    "events": [      {        "id": "23815327f0c64cf9811516c53c465f37",        "type": "LEAD",        "created_at": "2026-01-23T04:56:07Z",        "last_activity_at": "2021-01-23T04:56:07Z"      }    ],    "historical_events": [      {        "type": "LEAD",        "hour_partition": "2023-08-02T10:00:00Z",        "count": 42      }    ],    "dataset_id": "0d86b9e9-70f0-4700-a725-3417ba8786f6",    "aam_opt_in": false,    "aam_fields": ["EMAIL", "PHONE", "FIRST_NAME"]  },  "capi_integration": {    "capi_connection_id": "2fd920ed-a111-43d4-bee2-74d078c479a5",    "integration_id": "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a",    "name": "Retail Sales",    "dataset_id": "0d86b9e9-70f0-4700-a725-3417ba8786f6"  },  "ad_set_count": 0,  "is_archived": false,  "is_receiving_events": false,  "shared_ad_accounts": [    {      "id": "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a",      "name": "Spotify"    }  ],  "is_receiving_lead_events": false}