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 6y 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 today

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 17% 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

[google/apiclient

Client library for Google APIs

9.8k186.9M875](/packages/google-apiclient)[stripe/stripe-php

Stripe PHP Library

4.0k139.3M411](/packages/stripe-stripe-php)[webonyx/graphql-php

A PHP port of GraphQL reference implementation

4.7k75.4M270](/packages/webonyx-graphql-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k90.6M248](/packages/twilio-sdk)[friendsofsymfony/jsrouting-bundle

A pretty nice way to expose your Symfony routing to client applications.

1.5k52.7M205](/packages/friendsofsymfony-jsrouting-bundle)[knplabs/github-api

GitHub API v3 client

2.2k15.3M170](/packages/knplabs-github-api)

PHPackages © 2026

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