criteo / criteo-api-retailmedia-sdk
PHP SDK for Criteo API 0.0.241029 version
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.12
- jchook/phpunit-assert-throws: ^1.0
- mockery/mockery: ^1.3
- phpunit/phpunit: >=7.4 <10.0
- squizlabs/php_codesniffer: ~2.6
- dev-preview
- 2024.10.x-dev
- 2024.10.0.241029
- 2024.07.x-dev
- 2024.07.0.241029
- 2024.07.0.240808
- 2024.07.0.240731
- 2024.04.x-dev
- 2024.04.0.241029
- 2024.04.0.240808
- 2024.04.0.240731
- 2024.04.0.240626
- 2024.04.0.240618
- 2024.04.0.240515
- 2024.01.x-dev
- 2024.01.0.241029
- 2024.01.0.240808
- 2024.01.0.240731
- 2024.01.0.240626
- 2024.01.0.240618
- 2024.01.0.240515
- 2024.01.0.240404
- 2024.01.0.240207
- 2023.10.x-dev
- 2023.10.0.241029
- 2023.10.0.240808
- 2023.10.0.240731
- 2023.10.0.240626
- 2023.10.0.240618
- 2023.10.0.240515
- 2023.10.0.240404
- 2023.10.0.240207
- 2023.10.0.240118
- 2023.10.0.231113
- 2023.07.x-dev
- 2023.07.0.240808
- 2023.07.0.240731
- 2023.07.0.240626
- 2023.07.0.240618
- 2023.07.0.240515
- 2023.07.0.240404
- 2023.07.0.240207
- 2023.07.0.240118
- 2023.07.0.231113
- 2023.07.0.230831
- 2023.07.0.230811
- 2023.07.0.230726
- 2023.04.x-dev
- 2023.04.0.240626
- 2023.04.0.240618
- 2023.04.0.240515
- 2023.04.0.240404
- 2023.04.0.240207
- 2023.04.0.240118
- 2023.04.0.231113
- 2023.04.0.230831
- 2023.04.0.230811
- 2023.04.0.230726
- 2023.04.0.230601
- 2023.04.0.230427
- 2023.01.x-dev
- 2023.01.0.240404
- 2023.01.0.240207
- 2023.01.0.240118
- 2023.01.0.231113
- 2023.01.0.230831
- 2023.01.0.230811
- 2023.01.0.230726
- 2023.01.0.230601
- 2023.01.0.230427
- 2023.01.0.230411
- 2023.01.0.230405
- 2023.01.0.230224
- 2023.01.0.230216
- 2022.10.x-dev
- 2022.10.0.230831
- 2022.10.0.230811
- 2022.10.0.230726
- 2022.10.0.230601
- 2022.10.0.230427
- 2022.10.0.230411
- 2022.10.0.230405
- 2022.10.0.230224
- 2022.10.0.230216
- 2022.10.0.221102
- 2022.10.0.221026
- 2022.07.x-dev
- 2022.07.0.230831
- 2022.07.0.230811
- 2022.07.0.230726
- 2022.07.0.230601
- 2022.07.0.230427
- 2022.07.0.230411
- 2022.07.0.230405
- 2022.07.0.230224
- 2022.07.0.230216
- 2022.07.0.221102
- 2022.07.0.221026
- 2022.07.0.220927
- 2022.07.0.220926
- 2022.07.0.220725
- 2022.04.x-dev
- 2022.04.0.230411
- 2022.04.0.230405
- 2022.04.0.230224
- 2022.04.0.230216
- 2022.04.0.221102
- 2022.04.0.221026
- 2022.04.0.220927
- 2022.04.0.220926
- 2022.04.0.220725
- 2022.04.0.220624
- 2022.04.0.220520
- 2022.04.0.220426
- 2022.01.x-dev
- 2022.01.0.221102
- 2022.01.0.221026
- 2022.01.0.220927
- 2022.01.0.220926
- 2022.01.0.220725
- 2022.01.0.220624
- 2022.01.0.220520
- 2022.01.0.220426
- 2022.01.0.220120
- 2021.10.x-dev
- 2021.10.0.221102
- 2021.10.0.221026
- 2021.10.0.220927
- 2021.10.0.220926
- 2021.10.0.220725
- 2021.10.0.220624
- 2021.10.0.220520
- 2021.10.0.220426
- 2021.10.0.220120
- 2021.10.0.220118
- 2021.10.0.220106
- 2021.10.0.220103
- 2021.10.0.211223
- 2021.07.x-dev
- 2021.07.0.220927
- 2021.07.0.220926
- 2021.07.0.220725
- 2021.07.0.220624
- 2021.07.0.220520
- 2021.07.0.220426
- 2020.10.x-dev
- 0.0.241029
- 0.0.240808
- 0.0.240731
- 0.0.240626
- 0.0.240618
- 0.0.240515
- 0.0.240404
- 0.0.240207
- 0.0.240118
- 0.0.231113
- 0.0.230831
- 0.0.230811
- 0.0.230726
- 0.0.230601
- 0.0.230427
- 0.0.230411
- 0.0.230405
- 0.0.230224
- 0.0.230216
- 0.0.221102
- 0.0.221026
- 0.0.220927
- 0.0.220926
- 0.0.220725
- 0.0.220624
- 0.0.220520
- 0.0.220426
- 0.0.220120
- 0.0.220118
- 0.0.220106
- 0.0.220103
- 0.0.211223
This package is auto-updated.
Last update: 2024-10-29 10:49:11 UTC
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.241029
- 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-retailmedia-sdk:0.0.241029
or add the following to composer.json
:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/criteo/criteo-api-retailmedia-php-sdk.git" } ], "require": { "criteo/criteo-api-retailmedia-php-sdk": "*@dev" } }
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/criteo-api-retailmedia-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
Documentation For Models
- AddFundsToBalanceV2
- AddFundsToBalanceV2Request
- AddRemoveKeywordModel
- AddRemoveKeywordsModel
- AddRemoveKeywordsModelRequest
- AddRemoveKeywordsModelResource
- ApplicationSummaryModel
- ApplicationSummaryModelResource
- ApplicationSummaryModelResponse
- ApprovalStatusModel
- AsyncAccountsReport
- AsyncAccountsReportRequest
- AsyncAccountsReportResource
- AsyncCampaignsReport
- AsyncCampaignsReportRequest
- AsyncCampaignsReportResource
- AsyncLineItemsReport
- AsyncLineItemsReportRequest
- AsyncLineItemsReportResource
- AsyncReportResponse
- AudienceError
- AudienceWarning
- BalanceHistoryChangeDataCaptureV1
- BalanceResponseV2
- BalanceResponseV2Response
- BatchAcceptedResponse
- BotMessage
- Botmessage
- Brand
- BrandPreview
- BrandPreviewListResponse
- Category
- Category202204
- ChangeDatesOfBalanceV2
- ChangeDatesOfBalanceV2Request
- ChangeDetailsV1
- ChangeDetailsV2
- CommonError
- CommonProblem
- CommonWarning
- CpcRateCardPreview
- CpcRateCardPreviewResponse
- CreateBalanceV2
- CreateBalanceV2Request
- CreativeV2ListResponse
- CreativeV2Response
- CustomAttribute
- EntityResourceCollectionOutcomeOfRetailMediaAccount
- EntityResourceOfRetailMediaAccount
- ErrorCodeResponse
- ExportReportColumn
- ExportReportMetaData
- ExternalAccount
- ExternalBrand
- ExternalCatalogStatus
- ExternalChoiceVariableValue
- ExternalColorVariableValue
- ExternalCreativeCreateModelV2
- ExternalCreativeUpdateModelV2
- ExternalCreativeV2
- ExternalFilesVariableValue
- ExternalHyperlinkVariableValue
- ExternalLineItemBidMultipliersV2
- ExternalLineItemCappingV2
- ExternalLineItemPageCategoryV2
- ExternalLineItemPageV2
- ExternalPageTypeEnvironment
- ExternalPreferredLineItemCreateModelV2
- ExternalPreferredLineItemUpdateModelV2
- ExternalPreferredLineItemV2
- ExternalProductButtonRequest
- ExternalProductButtonResponse
- ExternalRetailMediaAccount
- ExternalRetailer
- ExternalTemplateVariableValue
- ExternalTextVariableValue
- ExternalVideoVariableValue
- FailResponse
- GrantConsentInput
- GrantConsentModel
- GrantConsentModelValueResource
- HttpValidationError
- InbotDiscussion
- InbotDiscussionBodyModel
- InbotDiscussionDataInstanceModel
- InputKeywords
- InputKeywordsModel
- InputResourceOfPreferredLineItemCreateModelV2
- InsertionOrderHistoryChangeDataCaptureV2
- Installment
- JsonApiBodyWithIdOfInt64AndAccountAndAccount
- JsonApiBodyWithIdOfInt64AndBrandAndBrand
- JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus
- JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2
- JsonApiBodyWithIdOfInt64AndRetailerAndRetailer
- JsonApiBodyWithoutIdOfSellerCatalogRequestAndSellerCatalogRequest
- JsonApiPageResponseOfAccount
- JsonApiPageResponseOfBrand
- JsonApiPageResponseOfRetailer
- JsonApiRequestOfSellerCatalogRequest
- JsonApiSingleResponseOfCatalogStatus
- JsonApiSingleResponseOfLineItemBidMultipliersV2
- KeywordDataModel
- Keywords
- KeywordsModel
- KeywordsModelResource
- KeywordsModelResponse
- LineItemBidMultipliersV2Request
- LineItemBidMultipliersV2Response
- LineItemProductStatus
- LocationInner
- LoyaltyPoints
- MatchTypeModel
- Message
- MessageBodyModel
- MessageDataInstanceModel
- MessageError
- Metadata
- NegotiationStateModel
- NillableString
- PageMetadata
- PageOfBalanceHistoryChangeDataCaptureV1
- PageOfInsertionOrderHistoryChangeDataCaptureV2
- PagedResourceCollectionOutcomeOfBalanceResponseV2
- PlacementPreview
- PlacementPreviewListResponse
- PreferredLineItemCreateModelV2Request
- PreferredLineItemUpdateModelV2Request
- PreferredLineItemV2PagedListResponse
- PreferredLineItemV2Response
- Price
- ProblemDetails
- Product
- ProductButtonListRequest
- ProductButtonListResponse
- ProductButtonRequest
- ProductImporterError
- ProductImporterWarning
- ProductMetadata
- ProductRecommendation
- ProductResourceOutcome
- ProductShipping
- ProductShippingDimension
- ProductShippingWeight
- ProductTax
- ProductUnitPricingBaseMeasure
- ProductUnitPricingMeasure
- ProductsCustomBatchRequest
- ProductsCustomBatchRequestEntry
- PromotedProduct
- PromotedProductResource
- PromotedProductResourceCollectionInput
- PromotedProductResourceCollectionOutcome
- ProposalStatusModel
- ProposalStatusModelResource
- ProposalStatusModelResponse
- RecommendedKeywordsResult
- ReportDataResponseResource
- ReportDetailError
- ReportDetailErrors
- ReportDetailWarning
- ReportDetailWarnings
- ReportOkResponse
- ReportOutcome
- ReportResponse
- ResourceCollectionOutcomeOfSkuSearchResult
- ResourceOfAddFundsToBalanceV2
- ResourceOfBalanceResponseV2
- ResourceOfBrandPreview
- ResourceOfChangeDatesOfBalanceV2
- ResourceOfCpcRateCardPreview
- ResourceOfCreateBalanceV2
- ResourceOfCreativeV2
- ResourceOfLineItemBidMultipliersV2
- ResourceOfPlacementPreview
- ResourceOfPreferredLineItemUpdateModelV2
- ResourceOfPreferredLineItemV2
- ResourceOfProductButtonRequest
- ResourceOfProductButtonResponse
- ResourceOfRetailMediaAccount
- ResourceOfSellerPreview
- ResourceOfSkuDataPreview
- ResourceOfSkuSearchRequestPreview
- ResourceOfSkuSearchRequestSlimPreview
- ResourceOfSkuSearchRequestSlimV2Preview
- ResourceOfSkuSearchResult
- ResourceOfSkuSlimDataPreview
- ResourceOfSkuSlimDataV2
- ResourceOfUpdateBalanceModelV2
- ResourceOutcome
- ResourceOutcomeOfRetailMediaAccount
- RetailMediaAccount
- RetailMediaContactlistAmendment
- RetailMediaContactlistAmendmentAttributes
- RetailMediaContactlistAmendmentRequest
- RetailMediaContactlistOperation
- RetailMediaContactlistOperationResponseAttributes
- RetailMediaContactlistOperationResponseAttributesAttributes
- RetailMediaSeller
- RetailMediaSellerAccountCreation
- ReviewStateModel
- RmAlgebraNodeV1
- RmAudienceEntityV1
- RmAudienceEntityV1Resource
- RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse
- RmAudienceSearchEntityV1
- RmAudienceSearchEntityV1Resource
- RmAudienceSearchInputV1
- RmAudienceSearchMetadataV1
- RmAudienceSegmentBulkCreateInputV1
- RmAudienceSegmentBulkDeleteInputV1
- RmAudienceSegmentBulkUpdateInputV1
- RmAudienceSegmentCreateEntityV1
- RmAudienceSegmentCreateEntityV1Resource
- RmAudienceSegmentDeleteEntityV1Resource
- RmAudienceSegmentEntityV1
- RmAudienceSegmentEntityV1ListResponse
- RmAudienceSegmentEntityV1Resource
- RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse
- RmAudienceSegmentIdEntityV1ListResponse
- RmAudienceSegmentIdEntityV1Resource
- RmAudienceSegmentSearchEntityV1
- RmAudienceSegmentSearchEntityV1Resource
- RmAudienceSegmentSearchInputV1
- RmAudienceSegmentSearchMetadataV1
- RmAudienceSegmentUpdateEntityV1
- RmAudienceSegmentUpdateEntityV1Resource
- RmContactListCreateV1
- RmContactListStatisticsEntityV1
- RmContactListStatisticsEntityV1Resource
- RmContactListStatisticsEntityV1Response
- RmContactListV1
- RmEventsV1
- RmcaCommonProblem
- SellerCatalogRequest
- SellerIdentifier
- SellerPreview
- SellerPreviewResponse
- SetBidModel
- SetBidsModel
- SetBidsModelRequest
- SetBidsModelResource
- SkuDataPreview
- SkuDataPreviewListResponse
- SkuSearchRequest
- SkuSearchRequestBody
- SkuSearchRequestPreview
- SkuSearchRequestPreviewRequest
- SkuSearchRequestSlimPreview
- SkuSearchRequestSlimPreviewRequest
- SkuSearchRequestSlimV2Preview
- SkuSearchRequestSlimV2PreviewRequest
- SkuSearchResult
- SkuSlimDataPreview
- SkuSlimDataPreviewListResponse
- SkuSlimDataV2
- SkuSlimDataV2ListResponse
- StatusResponse
- StatusResponseResource
- SyncAttributedTransactionsReport
- SyncAttributedTransactionsReportRequest
- SyncAttributedTransactionsReportResource
- SyncCampaignsReport
- SyncCampaignsReportRequest
- SyncCampaignsReportResource
- SyncLineItemsReport
- SyncLineItemsReportRequest
- SyncLineItemsReportResource
- UpdateBalanceModelV2
- UpdateBalanceModelV2Request
- ValidationError
- ValueResourceCollectionInputOfRetailMediaSeller
- ValueResourceCollectionOutcomeOfRetailMediaSeller
- ValueResourceInputOfRetailMediaSellerAccountCreation
- ValueResourceOfRecommendedKeywordsResult
- ValueResourceOfRetailMediaSeller
- ValueResourceOfRetailMediaSellerAccountCreation
- ValueResourceOutcomeOfRecommendedKeywordsResult
Documentation For Authorization
oauth
- Type: OAuth
- Flow: application
- Authorization URL:
- Scopes: N/A
oauth
- Type: OAuth
- Flow: accessCode
- Authorization URL: https://api.criteo.com/oauth2
- Scopes: N/A
Author
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.