Download the PHP package criteo/criteo-api-retailmedia-sdk without Composer

On this page you can find all versions of the php package criteo/criteo-api-retailmedia-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-api-retailmedia-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.

More information on how to use Criteo API and these SDKs can be found at: https://developers.criteo.com/.

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

Requirements

This project is tested with PHP 8.0. However it should work fine with PHP 7.4 too.

Installation & Usage

Composer

To install the bindings via Composer:

either run the following command: composer require criteo/criteo-api-retailmedia-sdk:0.0.241029

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:

Example

Please see test/ExampleApplication.php for an example on how to perform a simple call.

Documentation for API Endpoints

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

Class Method HTTP request Description
AccountsApi createPrivateMarketDemandSellerAccount POST /preview/retail-media/account-management/accounts/{accountId}/create-seller-account
AccountsApi getApiExternalV1AccountPrivateMarketChildAccountsByAccountId GET /preview/retail-media/account-management/accounts/{accountId}/private-market-child-accounts
AccountsApi getApiV1ExternalAccounts GET /preview/retail-media/accounts
AccountsApi grantConsent POST /preview/retail-media/accounts/{accountId}/grant-consent
AccountsApi updateSellers PUT /preview/retail-media/account-management/accounts/{accountId}/sellers
AnalyticsApi generateAsyncAccountsReport POST /preview/retail-media/reports/accounts
AnalyticsApi generateAsyncCampaignsReport POST /preview/retail-media/reports/campaigns
AnalyticsApi generateAsyncLineItemsReport POST /preview/retail-media/reports/line-items
AnalyticsApi generateSyncAttributedTransactionsReport POST /preview/retail-media/reports/sync/attributed-transactions
AnalyticsApi generateSyncCampaignsReport POST /preview/retail-media/reports/sync/campaigns
AnalyticsApi generateSyncLineItemsReport POST /preview/retail-media/reports/sync/line-items
AnalyticsApi getAsyncExportOutput GET /preview/retail-media/reports/{reportId}/output
AnalyticsApi getAsyncExportStatus GET /preview/retail-media/reports/{reportId}/status
AudienceApi bulkCreateAudienceSegments POST /preview/retail-media/accounts/{account-id}/audience-segments/create
AudienceApi bulkDeleteAudienceSegments POST /preview/retail-media/accounts/{account-id}/audience-segments/delete
AudienceApi bulkUpdateAudienceSegments PATCH /preview/retail-media/accounts/{account-id}/audience-segments
AudienceApi deleteContactListIdentifiers POST /preview/retail-media/audience-segments/{audience-segment-id}/contact-list/clear
AudienceApi getAudienceSegmentContactListStatistics GET /preview/retail-media/accounts/{account-id}/audience-segments/{audience-segment-id}/contact-list
AudienceApi searchAudienceSegments POST /preview/retail-media/accounts/{account-id}/audience-segments/search
AudienceApi searchAudiences POST /preview/retail-media/accounts/{account-id}/audiences/search
AudienceApi updateContactListIdentifiers POST /preview/retail-media/audience-segments/{audience-segment-id}/contact-list/add-remove
BalanceApi getApiV2ExternalAccountBalancesByAccountId GET /preview/retail-media/accounts/{account-id}/balances
BalanceApi getApiV2ExternalAccountByAccountIdBalancesbalanceId GET /preview/retail-media/accounts/{account-id}/balances/{balance-id}
BalanceApi getBalanceHistory GET /preview/retail-media/balances/{balanceId}/history
BalanceApi patchApiV2ExternalAccountByAccountIdBalancesbalanceId PATCH /preview/retail-media/accounts/{account-id}/balances/{balance-id}
BalanceApi postApiV2ExternalAccountAddFundsByAccountIdBalancesbalanceId POST /preview/retail-media/accounts/{account-id}/balances/{balance-id}/add-funds
BalanceApi postApiV2ExternalAccountBalancesByAccountId POST /preview/retail-media/accounts/{account-id}/balances
BalanceApi postApiV2ExternalAccountChangeDatesByAccountIdBalancesbalanceId POST /preview/retail-media/accounts/{account-id}/balances/{balance-id}/change-dates
CampaignApi addRemoveKeywords POST /preview/retail-media/line-items/{id}/keywords/add-remove
CampaignApi appendPromotedProducts POST /preview/retail-media/line-items/{line-item-id}/products/append
CampaignApi deleteApi202210ExternalLineItemProductButtonsByLineItemIdProductButtonId DELETE /preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}
CampaignApi deletePromotedProducts POST /preview/retail-media/line-items/{line-item-id}/products/delete
CampaignApi fetchKeywords GET /preview/retail-media/line-items/{id}/keywords
CampaignApi fetchPromotedProducts GET /preview/retail-media/line-items/{line-item-id}/products
CampaignApi fetchProposal GET /preview/retail-media/preferred-deal-line-items/{id}/proposal
CampaignApi getApi202210ExternalLineItemProductButtonsByLineItemId GET /preview/retail-media/line-items/{line-item-id}/product-buttons
CampaignApi getApi202210ExternalLineItemProductButtonsByLineItemIdProductButtonId GET /preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}
CampaignApi getApiV1ExternalAccountBrandsByAccountId GET /preview/retail-media/accounts/{accountId}/brands
CampaignApi getApiV1ExternalAccountRetailersByAccountId GET /preview/retail-media/accounts/{accountId}/retailers
CampaignApi getApiV1ExternalRetailerBrandsByRetailerId GET /preview/retail-media/retailers/{retailerId}/brands
CampaignApi getApiV1ExternalRetailerByRetailerIdSellerBySeller GET /preview/retail-media/retailers/{retailerId}/sellers/{seller}
CampaignApi getApiV1ExternalRetailerCategoryCpcRatesByRetailerId GET /preview/retail-media/retailers/{retailer-id}/cpc-rates
CampaignApi getApiV1ExternalRetailerPlacementsByRetailerId GET /preview/retail-media/retailers/{retailer-id}/placements
CampaignApi getApiV2ExternalAccountByAccountIdCreativescreativeId GET /preview/retail-media/accounts/{account-id}/creatives/{creative-id}
CampaignApi getApiV2ExternalCampaignPreferredLineItemsByCampaignId GET /preview/retail-media/campaigns/{campaign-id}/preferred-line-items
CampaignApi getApiV2ExternalLineItemBidMultipliersByLineItemId GET /preview/retail-media/line-items/{line-item-id}/bid-multipliers
CampaignApi getApiV2ExternalPreferredLineItemByLineItemId GET /preview/retail-media/preferred-line-items/{line-item-id}
CampaignApi getInsertionOrderHistoryChangeDataCaptureV2 GET /preview/retail-media/insertion-order-history/{insertionOrderId}/change-data-capture
CampaignApi getRecommendedKeywords GET /preview/retail-media/line-items/{externalLineItemId}/keywords/recommended
CampaignApi getSkuByProductId POST /preview/retail-media/catalogs/sku/search/accounts/{accountId}/retailers/{retailerId}/by-id
CampaignApi pausePromotedProducts POST /preview/retail-media/line-items/{line-item-id}/products/pause
CampaignApi postApi202110ExternalCampaignPreferredLineItemsByCampaignId POST /preview/retail-media/campaigns/{campaign-id}/preferred-line-items
CampaignApi postApi202210ExternalLineItemProductButtonsCreateByLineItemId POST /preview/retail-media/line-items/{line-item-id}/product-buttons/create
CampaignApi postApiV1ExternalAccountCatalogsSellersByAccountId POST /preview/retail-media/accounts/{accountId}/catalogs/sellers
CampaignApi postApiV1ExternalCatalogsSkuRetrieval POST /preview/retail-media/catalogs/sku-retrieval
CampaignApi postApiV1ExternalCatalogsSkuSearch POST /preview/retail-media/catalogs/sku-search
CampaignApi postApiV1ExternalCatalogsSkuSearchAccountIdAndRetailerId POST /preview/retail-media/catalogs/sku-search/accounts/{account-id}/retailers/{retailer-id}
CampaignApi postApiV1ExternalCatalogsSkuSearchRetailerByRetailerId POST /preview/retail-media/catalogs/sku/search/retailers/{retailer-id}
CampaignApi postApiV2ExternalAccountCreativesByAccountId POST /preview/retail-media/accounts/{account-id}/creatives
CampaignApi postApiV2ExternalAccountCreativesSearchByAccountId POST /preview/retail-media/accounts/{account-id}/creatives/search
CampaignApi putApi202110ExternalPreferredLineItemByLineItemId PUT /preview/retail-media/preferred-line-items/{line-item-id}
CampaignApi putApi202210ExternalLineItemProductButtonsByLineItemIdProductButtonId PUT /preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}
CampaignApi putApiV2ExternalAccountByAccountIdCreativescreativeId PUT /preview/retail-media/accounts/{account-id}/creatives/{creative-id}
CampaignApi putApiV2ExternalLineItemBidMultipliersByLineItemId PUT /preview/retail-media/line-items/{line-item-id}/bid-multipliers
CampaignApi setKeywordBids POST /preview/retail-media/line-items/{id}/keywords/set-bid
CampaignApi submitProposal POST /preview/retail-media/preferred-deal-line-items/{id}/proposal/submit
CampaignApi unpausePromotedProducts POST /preview/retail-media/line-items/{line-item-id}/products/unpause
CatalogApi previewRetailMediaCatalogProductsBatchPost POST /preview/retail-media/catalog/products/batch
CatalogApi previewRetailMediaCatalogProductsBatchReportOperationTokenGet GET /preview/retail-media/catalog/products/batch/report/{operation-token}
GatewayApi getCurrentApplication GET /preview/retail-media/me
OnSiteRecommendationApi chatbotProductRecommendations POST /preview/retail-media/chatbot-catalogs/{catalogid}/product-recommendations

Documentation For Models

Documentation For Authorization

oauth

oauth

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-api-retailmedia-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
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-api-retailmedia-sdk contains the following files

Loading the files please wait ....