DeprecatrAI

v20

Released 2023-04-04Active
Migration Effort
Low
Estimated Hours
~4h
Primary risk if skipped: Inaccurate campaign settings and inability to manage certain hotel campaigns effectively.

Breaking Changes2

fieldMediumCampaign Management

campaign.hotel_ads_info.fallback_hotel_id

The `campaign.hotel_ads_info.fallback_hotel_id` field is removed as it is no longer supported for hotel campaigns.

Before
Use `campaign.hotel_ads_info.fallback_hotel_id` for hotel campaigns.
After
Remove usage of `campaign.hotel_ads_info.fallback_hotel_id` as it is deprecated and removed.

Remove references to `campaign.hotel_ads_info.fallback_hotel_id` in your API calls.

fieldMediumCampaign Management

campaign.hotel_setting.is_hotel_booking_enabled

The `campaign.hotel_setting.is_hotel_booking_enabled` field is renamed to `campaign.hotel_setting.is_prepaid_eligible` to better reflect its functionality.

Before
Use `campaign.hotel_setting.is_hotel_booking_enabled` to check if prepaid bookings are enabled.
After
Use `campaign.hotel_setting.is_prepaid_eligible` to check if prepaid bookings are enabled.

Update code to use `campaign.hotel_setting.is_prepaid_eligible` instead of `campaign.hotel_setting.is_hotel_booking_enabled`.

Never get blindsided by an API change again

Deprecatr AI monitors 150+ providers, maps changes to your codebase, and delivers migration checklists before your team hits a breaking change.

Join the Waitlist