PHPackages                             jootop/amazon-advertising-api-php-sdk - 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. jootop/amazon-advertising-api-php-sdk

ActiveLibrary

jootop/amazon-advertising-api-php-sdk
=====================================

Amazon Advertising API Client Library

2.0(6y ago)283Apache OSL-2PHPPHP &gt;=5.3.0

Since Aug 28Pushed 5y agoCompare

[ Source](https://github.com/jootop/amazon-advertising-api-php-sdk)[ Packagist](https://packagist.org/packages/jootop/amazon-advertising-api-php-sdk)[ Docs](https://advertising.amazon.com/)[ RSS](/packages/jootop-amazon-advertising-api-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)

Synopsis
--------

[](#synopsis)

Official Amazon Advertising API PHP client library.

This repository has been deprecated and will no longer receive updates.

Requirements
------------

[](#requirements)

PHP &gt;= 5.3.0
cURL &gt;= 7.18

Documentation
-------------

[](#documentation)

[API Reference](https://advertising.amazon.com/API/docs)
[Access Request](https://advertising.amazon.com/API)
[Getting Started](https://advertising.amazon.com/API/docs/v2/guides/get_started)

Tutorials
---------

[](#tutorials)

[Register Sandbox Profile](https://git.io/vPKMl) - This tutorial will show you how to register a profile in sandbox using CURL.
[Generate and download a report using CURL](https://git.io/vPKPW) - You will need to complete registering a profile in sandbox prior to doing this tutorial.

Sandbox self-service
--------------------

[](#sandbox-self-service)

If you would like to test the API in sandbox you will need to register a profile for the region in which you would like to test. The `registerProfile` API call can be made to do this. Make sure you instantiate the client in `sandbox` mode before making this call or it will fail.

The following country codes are available for testing.

> US, CA, UK, DE, FR, ES, IT, IN, CN, JP

```
$client->registerProfile(array("countryCode" => "IT"));
```

>

```
{
  "registerProfileId": "5cf1aca5-4ab8-4489-8c33-013d1f85c586JP",
  "status": "IN_PROGRESS",
  "statusDetails": "Registration workflow has been started"
}

```

Quick Start
-----------

[](#quick-start)

#### Instantiate the client

[](#instantiate-the-client)

> You can pass in `accessToken` if you do not have a refresh token.

```
