All Projects → nk2ge5k → yandex-direct-api

nk2ge5k / yandex-direct-api

Licence: other
PHP library for Yandex.Direct API v5 (abandoned)

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to yandex-direct-api

yandex-direct-client
Lightweight and useful Yandex Direct API version 5 client
Stars: ✭ 16 (+33.33%)
Mutual labels:  yandex, yandex-direct
yandex-checkout-node
Node.js SDK for Yandex.Checkout (unofficial)
Stars: ✭ 64 (+433.33%)
Mutual labels:  yandex
butdr
Backup to Cloud( Google Drive, Dropbox ... ) use rclone
Stars: ✭ 49 (+308.33%)
Mutual labels:  yandex
docker-machine-driver-yandex
Yandex.Cloud driver for Docker Machine
Stars: ✭ 21 (+75%)
Mutual labels:  yandex
pyaspeller
Python text speller
Stars: ✭ 26 (+116.67%)
Mutual labels:  yandex
robots-txt-parser
PHP class for parse all directives from robots.txt files according to specifications
Stars: ✭ 38 (+216.67%)
Mutual labels:  yandex
yadisk
Download file from Yandex.Disk through share link
Stars: ✭ 33 (+175%)
Mutual labels:  yandex
YandexAlgorithms
Lecture notes, Code with comments.
Stars: ✭ 30 (+150%)
Mutual labels:  yandex
translate
A module grouping multiple translation APIs
Stars: ✭ 321 (+2575%)
Mutual labels:  yandex
yandex-disk-api
This library is built to use Yandex Disk API with PHP
Stars: ✭ 19 (+58.33%)
Mutual labels:  yandex
yametrikapy
Python library for Yandex Metrika API
Stars: ✭ 20 (+66.67%)
Mutual labels:  yandex
Awesome-meta-tags
📙 Awesome collection of meta tags
Stars: ✭ 18 (+50%)
Mutual labels:  yandex
YaSeeker
Yandex OSINT tool
Stars: ✭ 104 (+766.67%)
Mutual labels:  yandex
aioch
aioch - is a library for accessing a ClickHouse database over native interface from the asyncio
Stars: ✭ 145 (+1108.33%)
Mutual labels:  yandex
alice-renderer
Node.js библиотека для формирования ответов в навыках Яндекс Алисы.
Stars: ✭ 27 (+125%)
Mutual labels:  yandex
mapkit-android-demo
MapKit Android demo
Stars: ✭ 92 (+666.67%)
Mutual labels:  yandex
drupal 8 unset html head link
🤖 Module for unset any wrong HTML links (like rel="delete-form", rel="edit-form", etc.) from head on Drupal 8.x websites. This is trust way to grow up position in SERP Google, Yandex, etc.
Stars: ✭ 19 (+58.33%)
Mutual labels:  yandex
appmetrica-logsapi-loader
A tool for automatic data loading from AppMetrica LogsAPI into (local) ClickHouse
Stars: ✭ 18 (+50%)
Mutual labels:  yandex
Yandex.Music.Api
Client Yandex.Music.Api for Yandex.Music
Stars: ✭ 53 (+341.67%)
Mutual labels:  yandex
xy2xy
A list of technologies similar to inner Yandex technologies
Stars: ✭ 112 (+833.33%)
Mutual labels:  yandex

yandex-direct-api

Offical yandex direct API documentation

Installation

composer require nk2ge5k/yandex-direct-api

Usage

use directapi/DirectApiService;
use directapi/services/campaigns/criterias/CampaignsSelectionCriteria;
use directapi/services/campaigns/enum/CampaignStateEnum;
use directapi/services/campaigns/enum/CampaignFieldEnum;

$token = YOUR_TOKEN;
$login = CLIENT_LOGIN;

$client = new DirectApiService($token, $login);

$campaigns = $client
    ->getCampaignsService()
    ->get(
        new CampaignsSelectionCriteria(
            [   
                'States' => [
                    CampaignStateEnum::ON
                ]   
            ]   
        ),  
        CampaignFieldEnum::getValues()
    );  

foreach ( $campaigns as $campaign ) { 
    // do something
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].