facebook / facebook-java-business-sdk

Java SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
397 stars 328 forks source link

Missing CALL_NOW as a valid type for AdCreativeLinkDataCallToAction.fieldType #338

Open daniel-lima opened 3 years ago

daniel-lima commented 3 years ago

Which SDK version are you using?

10.0.1

What's the issue?

Apparently, because there is no CALL_NOW between the allowed values of AdCreativeLinkDataCallToAction.EnumType, we are unable to create an AdCreativeObjectStorySpec with CALL_NOW as the CTA for AdCreativeLinkData.

We have already tried to use CALL and CALL_ME as replacements, but the Ads Manager fails to recognize them as valid ctas

Screenshot from 2021-05-12 07-50-45

What am I missing here?

Steps/Sample code to reproduce the issue

  1. Follow the instructions of any documentation or tutorial to create a campaign whose AdCreativeObjectStorySpec has a AdCreativeLinkData that uses GET_DIRECTIONS as CTA
  2. Change how AdCreativeLinkDataCallToAction object gets created, replacing its type with VALUE_CALL (or VALUE_CALL_ME) and its value with "tel:+551198765432"

Observed Results:

Expected Results:

Side notes:

FluencyMatt commented 3 years ago

I also reported this in the SDK Generator repo https://github.com/facebook/facebook-business-sdk-codegen/issues/33

andreygubarevich commented 3 years ago

SEE_MENU also does not exist in the latest version 11.0

stale[bot] commented 2 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.