PHPackages                             tprog/yii2-adwords-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. tprog/yii2-adwords-api

ActiveYii2-extension[API Development](/categories/api)

tprog/yii2-adwords-api
======================

Extension for use API ADWords

081PHP

Since Apr 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tprog/yii2-adwords-api)[ Packagist](https://packagist.org/packages/tprog/yii2-adwords-api)[ RSS](/packages/tprog-yii2-adwords-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Extension for use API ADWords
=============================

[](#extension-for-use-api-adwords)

Extension for use API ADWords

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist tprog/yii2-adwords-api "*"

```

or add

```
"tprog/yii2-adwords-api": "*"

```

to the require section of your `composer.json` file.

Configuration
-------------

[](#configuration)

```
    'components' => [
    ...
        'ADwords'   => [
            'class'            => 'tprog\adwordsapi\ADwords',
            'developerToken'   => '***************',
            'server_version'   => 'v201506',
            'userAgent'        => 'You Adwords API client',
            'clientCustomerId' => '***-***-****',
            'client'           => [
                'client_id'     => '***************',
                'client_secret' => '***************',
                'refresh_token'    => '***************',
            ],
        ],
    ...

```

Usage
-----

[](#usage)

Example create new account :

```
        $ADwordsUser = Yii::$app->ADwords->user;

        // Get the service, which loads the required classes.
        $managedCustomerService =
            $ADwordsUser->GetService('ManagedCustomerService');

        // Create customer.
        $customer = new \ManagedCustomer();
        $customer->name = 'Account #' . uniqid();
        $customer->currencyCode = 'EUR';
        $customer->dateTimeZone = 'Europe/London';

        // Create operation.
        $operation = new \ManagedCustomerOperation();
        $operation->operator = 'ADD';
        $operation->operand = $customer;

        $operations = [$operation];

        // Make the mutate request.
        $result = $managedCustomerService->mutate($operations);

        // Display result.
        $customer = $result->value[0];
        printf("Account with customer ID '%s' was created.\n",
            $customer->customerId);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8242802831c5b505318e485266bd032c473e1f1f2ab5382f770d8a6ac92b0ef?d=identicon)[taxist08](/maintainers/taxist08)

---

Top Contributors

[![taxist08](https://avatars.githubusercontent.com/u/9194842?v=4)](https://github.com/taxist08 "taxist08 (5 commits)")

### Embed Badge

![Health badge](/badges/tprog-yii2-adwords-api/health.svg)

```
[![Health](https://phpackages.com/badges/tprog-yii2-adwords-api/health.svg)](https://phpackages.com/packages/tprog-yii2-adwords-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
