Deleting ad spending data

Note

Yandex Direct data cannot be deleted.

You can delete uploaded data from Yandex Metrica in several ways:

  1. In Yandex Metrica, go to Settings -> Upload data tab.
  2. In Advertising expenses, select Delete data.
  3. Select the method By date and UTM tags/sources.
  4. To delete all expense data, select a date or period. To delete data about a specific advertising source, select a date or period and fill in the necessary fields — TrafficSource, TrafficSourceDetail or UTMSource as the values were specified when uploading the data. Pay attention to the case in which the field values are specified.
  1. Create a CSV file and enter the information you want to delete.

    Field name

    Required

    Description

    Example

    Date

    Yes

    Period that data is transmitted for. It can be a day or an interval of time.

    In the Unix Time Stamp format according to the ISO 8601 standard (YYYY-MM-DD). To specify a date range, use /.

    2020-02-18

    2020-01-18/2020-02-18

    TrafficSource

    Yes*

    First-level traffic source.

    Acceptable values are given in the table.

    ad

    TrafficSourceDetail

    No

    Second-level traffic source.

    Acceptable values are given in the table.

    vk

    UTMSource

    Yes*

    Value of the UTM tag/source specified in the URL link in the ad.

    Note the case of the characters in the tag value. Use the same case as in the uploaded data.

    vk

    UTMCampaign

    No

    new

    UTMMedium

    No

    cpc

    UTMTerm

    No

    shirt-blue

    UTMContent

    No

    shirt

    * The UTMSource field is required if the TrafficSource field is not specified.

    Examples:

    Deleting data about a specific advertising source for a specific period

    For example, to delete data about an Instagram* ad campaign for the period from March 1 to March 15, fill in the file like this:

    Deleting all data for a period

    To delete all data for a certain period, only indicate the required dates in the Date field of the file:

    Example of deleting a file

  2. In Yandex Metrica, go to Settings -> Upload data tab.

  3. In Advertising expenses, select Delete data.

  4. Choose the Using a file method.

Note

If you uploaded data from multiple services to Yandex.Metrica (Provider) and want to delete data only from some of them, use the API. If you delete information in the Yandex Metrica web interface, data from all providers will be deleted for the specified period.

You can use the API to delete data in one of the following ways:

Chat with us

Write an email

Please note: Our support team will never initiate a call to you. Do not follow any instructions of people who call you and introduce themselves as the Yandex Metrica support team.


* The UTMSource field is required if the TrafficSource field is not specified.

Banned in Russia.