facebook / facebook-ruby-business-sdk

Ruby SDK for Meta Marketing API
https://developers.facebook.com/docs/business-sdk
Other
208 stars 161 forks source link

Cant edit nested values in an Adset, ex. adset.targeting.age_min #65

Closed iamricks closed 4 years ago

iamricks commented 5 years ago

Which SDK version are you using?

Latest

What's the issue?

When editing an AdSet that is fetched from Facebook, this works.

adset = FacebookAds::AdSet.get(id)
adset.name = 'This is a test value'
adset.save

But if you try updating something nests, such as the age_min, it does not set the value.

adset = FacebookAds::AdSet.get(id)
adset.targeting.age_min = 20
adset.save

Expected Results:

It should set the value and update the AdSet

stale[bot] commented 4 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.

stale[bot] commented 4 years ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.