PHPackages                             creatissimo/amazon-advertising - 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. creatissimo/amazon-advertising

ActiveLibrary[API Development](/categories/api)

creatissimo/amazon-advertising
==============================

Amazon Advertising API Client Library

01PHP

Since Oct 19Pushed 8y agoCompare

[ Source](https://github.com/creatissimo/amazon-advertising)[ Packagist](https://packagist.org/packages/creatissimo/amazon-advertising)[ RSS](/packages/creatissimo-amazon-advertising/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Synopsis
--------

[](#synopsis)

Official Amazon Advertising API PHP client library.

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

[](#requirements)

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

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

[](#documentation)

[API Reference](https://images-na.ssl-images-amazon.com/images/G/01/AdProductsWebsite/downloads/Amazon_Advertising_API_Reference.pdf)
[Access Request](https://advertising.amazon.com/API)
[Getting Started](https://images-na.ssl-images-amazon.com/images/G/01/AdProductsWebsite/downloads/Amazon_Advertising_API_Getting_Started_Guide.pdf)

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.

```
