facebook / facebook-java-business-sdk

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

Cannot use Lookalike Audience Expansion option with SDK #336

Open riteshghodrao opened 3 years ago

riteshghodrao commented 3 years ago

Which SDK version are you using?

SDK v10.0

What's the issue?

When using lookalike audiences in targeting, we have an option to enable expansion from UI. This enables us to reach wider audiences if it's likely to improve performance, however this field option isn't documented anywhere and not part of SDK Targeting specs either.

Steps/Sample code to reproduce the issue

Try to create adset with lookalike audience and lookalike audience expansion enabled.

Observed Results:

There's no such specs, however I found the value by intercepting the network calls from facebook UI. The setting is present under "targeting" key as

"targeting_relaxation_types": {
            "lookalike": 0
        },

But I cannot find any details on "targeting_relaxation_types" key in documentation, and can't find a way to do this with the Java SDK.

Expected Results:

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.