Deleting ad spending data
备注
Yandex Direct data cannot be deleted.
You can delete uploaded data from Yandex Metrica in several ways:
- In Yandex Metrica, go to Settings -> Upload data tab.
- In Advertising expenses, select Delete data.
- Select the method By date and UTM tags/sources.
- 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,TrafficSourceDetailorUTMSourceas the values were specified when uploading the data. Pay attention to the case in which the field values are specified.
-
Create a CSV file and enter the information you want to delete.
Field name
Required
Description
Example
DateYes
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
TrafficSourceYes*
First-level traffic source.
Acceptable values are given in the table.
ad
TrafficSourceDetailNo
Second-level traffic source.
Acceptable values are given in the table.
vk
UTMSourceYes*
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
UTMCampaignNo
new
UTMMediumNo
cpc
UTMTermNo
shirt-blue
UTMContentNo
shirt
* The
UTMSourcefield is required if theTrafficSourcefield 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
Datefield of the file:
-
In Yandex Metrica, go to Settings -> Upload data tab.
-
In Advertising expenses, select Delete data.
-
Choose the Using a file method.
备注
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:
* The UTMSource field is required if the TrafficSource field is not specified.
Banned in Russia.