Add missing CTA enum types (SEE_DETAILS, GET_ACCESS, GET_UPDATES, SEE_MENU, VIEW_INSTAGRAM_PROFILE)
Summary: These CTA types are returned by the Marketing API on GET but missing from the SDK codegen enum definitions. Gson converts unknown enums to null, corrupting creative payloads on POST (subcode 1373054). Affects partners like HubSpot who clone creatives via copyFrom().
Related: T272580941
https://wiki.internalmeta.com/wiki/Ads_API/Marketing_API/Business_SDK/Release_New_Version
Reviewed By: satwikareddy3
Differential Revision: D112605072
fbshipit-source-id: baa402db7e352786b6b4f15b5fcde65a43d07907
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Facebook Business SDK Codegen
Introduction
This project contains all the code to auto generate Facebook Business SDKs (php, python, nodejs, ruby, java). There are three parts of this project :
Pre-requisites
Install Node.js
Install all dependencies by npm :
npm installCodegen SDK
Debug
During debug, if you want to compare with the generated SDK to our current SDK code, you can specific the output folder by using
-o:If you want to keep git config in
outputDir, you can specific only cleanup source code by using-c, for example:License
Facebook Codegen for Business SDKs is licensed under the LICENSE file in the root directory of this source tree.