Repository navigation
1.0.103
Fix CALL_NOW phone_number serialization on create_ad_creative.
Meta Marketing API v24 rejects a literal phone_number key inside call_to_action.value with error 100 ("Invalid keys phone_number were found in param call_to_action[value]"). The supported shape for click-to-call creatives is call_to_action.value.link = "tel:<E.164 number>".
- Updates all six CALL_NOW serialization paths in create_ad_creative: existing-post + asset_customization_rules, existing-post simple, DOF/PLACEMENT asset_feed_spec image, simple image link_data, simple video video_data, and a second asset_feed_spec branch.
- Refreshes the phone_number docstring and regression tests in tests/test_call_now_phone_number.py to assert the tel: URI shape and forbid the deprecated key.
Ships PR #116.