A
A
Artem Morozov2018-05-18 16:32:04
Yandex.Direct
Artem Morozov, 2018-05-18 16:32:04

Do landfills work in a city where there is no directive?

Hello. There is a site in the city of Primorsko-Akhtarsk, which is in the Krasnodar Territory, which needs to be advertised. But the problem is that direct and wordstat do not work in this city. Is it possible to set up advertising not through the choice of the region, but through Yandex polygons?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Denisov, 2018-05-18
@artem-morozov

The geolocation audience using polygons or map radius is set in the Yandex.Audience section. You can't use a custom audience to target search ads.
But you can create an ad targeting the Krasnodar Territory, and in the bid adjustment settings, set the created target audience for Primorsko-Akhtarsk and assign a bid increase factor of +1200% to it. Accordingly, in the campaign itself, for the rest of the audience, you should have bids 13 times less than desired.
Or you can simply use the created audience for advertising in YAN, but without using keywords.
I also recommend not using polygons for targeting, since they are limited by a total area of ​​​​only 10m2, but by a radius - it is limited to 10km from the center point, that is, up to 314m2.

S
stas, 2014-07-03
@galynsky

Of course from the base! It is also worth thinking about storing scripts and styles in separate labels.
Benefit: colossal, just imagine in your index.php there will be as a result only a few requests to the database - to connect the markup / template, scripts and styles, and not just any noodle code from html, js, css and php mixed

C
cloud-habr, 2014-07-05
@cloud-habr

I store some output from the database in cache files (for example, settings or SEO or articles)

$myrow[$i] = $cache->read($server.'cache/'.$var.'.tmp');
if (empty($myrow[$i])) {
запрос к базе
$cache->write($server.'cache/'.$var'.tmp', $myrow[$i]);
}

the class itself
class Cache {

    function read($fileName) {
  if (file_exists($fileName)) {
      $handle = fopen($fileName, 'rb');
      $variable = fread($handle, filesize($fileName));
      fclose($handle);
      return unserialize($variable);
  } else {
      return null;
  }
}

    function write($fileName,$variable) {
        $handle = fopen($fileName, 'a');
        fwrite($handle, serialize($variable));
        fclose($handle);
    }

    function delete($fileName) {
        @unlink($fileName);
    }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question