Repository navigation
Sync with public swagger 1.4.0 - #2
Merged
Merged
Conversation
- Add fields and enums from swagger 1.1.0–1.4.0: *Kopeks money fields, budgetFrequency, statusReasons/topStatusReason, frequencyRules, kktuFields, new campaign/creative statuses, sandbox warnings, 409 conflict error. - Nullable campaign budget; legalInfo and legacy frequency fields deprecated. - Tolerate unknown enum values in responses (tests added). - SDK version = swagger version (1.4.0): openapi.json in repo, API_VERSION constant, CI check that package version matches openapi.json. - User-Agent: avito-ads-sdk-<lang>/<version>; a custom User-Agent is now extended with the SDK label instead of replacing it. - CHANGELOG (with Breaking section) and README updated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Синхронизация SDK с публичным swagger Avito Ads API 1.4.0. Версия SDK теперь равна версии swagger.
Что изменилось
*Kopeks,budgetFrequency,statusReasons/topStatusReason,frequencyRules,kktuFields, новые статусы кампаний и креативов,warningsв sandbox, отдельная ошибка для 409 (ConflictError).mixed).legalInfoи старые поля частоты помечены как устаревшие.openapi.jsonлежит в репозитории, добавлена константаAPI_VERSION. CI проверяет, что версия пакета совпадает сinfo.versionвopenapi.json.avito-ads-sdk-python3/1.4.0. Если задан свой User-Agent, метка SDK дописывается к нему, а не заменяется.Breaking
См. раздел Breaking в CHANGELOG.md.
Проверки
Локально проходят все шаги
ci.yml.Релиз (тег
v1.4.0и публикация) — отдельно, после слияния.