Download the PHP package criteo/criteo-php-marketing-transition-sdk without Composer

On this page you can find all versions of the php package criteo/criteo-php-marketing-transition-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package criteo-php-marketing-transition-sdk

Criteo Marketing Transition SDK for PHP

This project is deprecated

We've built a new set of SDKs to help you use our Criteo's API.

You can find the new PHP SDKs repositories here : https://github.com/criteo/criteo-api-marketingsolutions-php-sdk and https://github.com/criteo/criteo-api-retailmedia-php-sdk

Introduction

API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. This Transition SDK will help you migrate from MAPI to Criteo API. We will support it until end of 2021 when we will decommission the /legacy endpoints. After that date we will only support our official versioned Client Libraries available in Q3 2021.

More information: https://developers.criteo.com/marketing-solutions/docs/php-api-client-library

This PHP package is automatically generated by the OpenAPI Generator project:

Requirements

PHP 7.1 and later

Installation & Usage

Composer

To install the bindings via Composer:

either run the following command: composer require criteo/criteo-php-marketing-transition-sdk

or add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Tests

To run the unit tests:

Getting Started

Please follow the installation procedure and then run the following:

You can find the full example here.

Documentation for API Endpoints

All URIs are relative to https://api.criteo.com

Class Method HTTP request Description
AdvertiserApi apiPortfolioGet GET /2021-04/advertisers/me
AdvertiserApi getCategories GET /legacy/marketing/v1/advertisers/{advertiserId}/categories Gets all advertiser's categories
AdvertiserApi getCategory GET /legacy/marketing/v1/advertisers/{advertiserId}/categories/{categoryHashCode} Gets a specific advertiser's category
AnalyticsApi getAdsetReport POST /2021-04/statistics/report
AnalyticsApi getTransactionsReport POST /2021-04/transactions/report
AudienceApi createAudience POST /2021-04/audiences
AudienceApi deleteIdentifiers DELETE /2021-04/audiences/{audience-id}/contactlist
AudienceApi getAudiences GET /2021-04/audiences
AudienceApi modifyAudience PATCH /2021-04/audiences/{audience-id}
AudienceApi modifyAudienceUsers PATCH /2021-04/audiences/{audience-id}/contactlist
AudienceApi removeAudience DELETE /2021-04/audiences/{audience-id}
CampaignApi getAdSet GET /2021-04/marketing-solutions/ad-sets/{adSetId}
CampaignApi getBids GET /legacy/marketing/v1/campaigns/bids Gets a the bids for campaigns and their categories
CampaignApi getCategories GET /legacy/marketing/v1/campaigns/{campaignId}/categories Gets categories
CampaignApi getCategory GET /legacy/marketing/v1/campaigns/{campaignId}/categories/{categoryHashCode} Gets a specific category
CampaignApi patchAdSets PATCH /2021-04/marketing-solutions/ad-sets
CampaignApi searchAdSets POST /2021-04/marketing-solutions/ad-sets/search
CampaignApi startAdSets POST /2021-04/marketing-solutions/ad-sets/start
CampaignApi stopAdSets POST /2021-04/marketing-solutions/ad-sets/stop
CampaignApi updateBids PUT /legacy/marketing/v1/campaigns/bids Update bids for campaigns and their categories
CategoryApi getCategories GET /legacy/marketing/v1/categories Gets categories
CategoryApi updateCategories PUT /legacy/marketing/v1/categories Enables/disables categories
OAuthApi createToken POST /oauth2/token

Documentation For Models

Documentation For Authorization

In order to ease usage of this client library, you might want to use the TokenAutoRefreshClient as explained in the example.

Authorization

Author

Criteo

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


All versions of criteo-php-marketing-transition-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package criteo/criteo-php-marketing-transition-sdk contains the following files

Loading the files please wait ....