定制 criteo/criteo-api-commercegrid-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

criteo/criteo-api-commercegrid-sdk

最新稳定版本:2026.01.0.260427

Composer 安装命令:

composer require criteo/criteo-api-commercegrid-sdk

包简介

PHP SDK for Criteo API 0.0.260427 version

README 文档

README

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:

  • Package version: 0.0.260427
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

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-commercegrid-sdk:0.0.260427

or add the following to composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/criteo/criteo-api-commercegrid-php-sdk.git"
    }
  ],
  "require": {
    "criteo/criteo-api-commercegrid-php-sdk": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/criteo-api-commercegrid-sdk/vendor/autoload.php');

Tests

To run the unit tests:

composer run-script test

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
GatewayApi getCurrentApplication GET /preview/commerce-grid/me
SegmentApi addRemoveContactListByAudienceSegment POST /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/add-remove
SegmentApi bulkCreateAudienceSegments POST /preview/commerce-grid/audience-segments/create
SegmentApi bulkDeleteAudienceSegments POST /preview/commerce-grid/audience-segments/delete
SegmentApi bulkUpdateAudienceSegments PATCH /preview/commerce-grid/audience-segments
SegmentApi clearContactListByAudienceSegment POST /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/clear
SegmentApi getAudienceSegmentContactListStatistics GET /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/statistics
SegmentApi searchAudienceSegments POST /preview/commerce-grid/audience-segments/search

Documentation For Models

Documentation For Authorization

oauth

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

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.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-02-10