Skip to main content

Sync of an account

Each connected Yandex Direct account has its own sync settings: how often it is read, at which hour of the night the last days are recounted, how many days the recount rewrites and whether the spend includes VAT. The settings stand in a sheet that opens from the list of connected accounts on the Connection tab of the Yandex Direct window.

Open the settings​

  1. On the Connection tab, find the account in the group Connected accounts.
  2. Click the cell of the column Sync or any other place of the row. The tip of the cell reads ตั้งค่า.
  3. The sheet opens with the login of the account in its title: Sync of … (the dots stand for the login). For an agency, a line under the title says: These settings apply to every client of the agency.
  4. Change the settings, then click บันทึก (it reads กำลังบันทึก… during the save). ยกเลิก closes the sheet.

A changed sheet is guarded: a click outside the sheet or the Escape key asks คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก ออกโดยไม่บันทึกหรือไม่? and offers ละทิ้ง. A refusal of the server shows its reason in red in the sheet.

The settings​

SettingChoicesDefaultWhat it does
How often to syncEvery 15 and every 30 minutes, every hour, every 2, 4, 6 and 12 hours, once a dayEvery 30 minutesHow long after the previous pass the account is read again.
Recount hour, Moscow time00:00 to 23:0004:00From this hour each night the sync rewrites the last days with Direct's final figures.
Recount the last1, 2, 3, 5, 7, 14 or 30 days, each written … days (the dots stand for the number)3 daysThe night recount rewrites this many days; a newly connected account brings as many.
Include VATA switchOnApplies from the next sync: today and the recount days are rewritten, earlier days keep their sums.

An account keeps the defaults until its settings are saved. The column Sync of the list shows the settings in three lines: the interval, the hour and the number of days of the recount in Moscow time — the line reads Recount at … MSK, last … days (the dots stand for the hour and the number of days) — and the state of VAT — Spend with VAT or Spend without VAT.

How the numbers are made​

  • The first pass reads the account whole; the next passes read the changes.
  • Direct gives the spend by day. Qubix spreads the growth of a day over the hours between two passes, so the hourly figures of Qubix are the shape that the passes see.
  • Days are Moscow days.
  • From the night hour of the account, once a day, the pass rewrites the last days of the recount with the final figures of Direct. A newly connected account brings as many days at its first pass.
  • Spend is read in the currency of the account and stored in dollars. An hour keeps the rate of the moment when it was first written.
  • A change of the VAT switch applies from the next pass: today and the days of the recount are rewritten, and the earlier days keep their sums.
  • An agency refreshes the list of its clients at the night hour: new clients join the sync from that pass, and clients that left the agency leave the sync and stay in the records as disconnected.
  • When the points of the Direct API of the advertiser run out, the pass postpones the account, and it tries again within half an hour at the latest. A failed try repeats within the same time, even when the interval is longer.

The job in Services​

The job บริการและงาน → area Advertising → Yandex Direct sync does the passes. It ticks every minute and takes the accounts that are due by their own interval, so the frequency of an account lives in its settings and the interval of the job in Services stays at one minute. The job stands in the list of jobs; its page shows the status and the time of the last run, like any other job — see Services and jobs.

An administrator can run the job by hand with รัน. A run by hand reads all connected accounts at once, whatever their intervals. A manual run spends points of the advertiser's Direct API, which the advertiser's other programs share.

When Direct sends a row with an unreadable number, an empty date, or an empty ad and campaign, the run of the job ends with an error, and the log of the run names the rows.

What's next​