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

Changing bid_amount on AAA campaign not working #327

Open uwemaurer opened 3 years ago

uwemaurer commented 3 years ago

Which SDK version are you using?

9.0.1

What's the issue?

Changing the bid_amount in the AdSet of AAA (Automated App Ads) campaigns gives an error instead of changing the bid_amount. It works fine on normal App Ads campaigns.

Steps/Sample code to reproduce the issue

 val adSet = AdSet(adSetId, context)
 adSet.update().setBidAmount(newBid).execute()

Code works when the adSetId belongs to a App Ads campaign, it fails when it belongs to a Automated App Ads (AAA) campaign.

Observed Results:

{"error":{"message":"(#200) Invalid ad account id XXXXX to perform this request for AAA ad.","type":"OAuthException","code":200,"fbtrace_id":"-------"}}

Expected Results:

It should just change the bid limit

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

uwemaurer commented 3 years ago

We stopped using the "Automated App Ads" and use the regular "App Ads" where changing the bid via API works.

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.