Apple Search Ads API Ad Group Bid Posting

I'm trying to update ad group bids for a Search Match campaign.


Sending this data:

{"id": 12345, "campaignId": 6789, "name": "search_match", "defaultCPCBid": {"amount": "0.58", "currency": "USD"}}


Getting this response:

{"data":null,"pagination":null,"error":{"errors":[{"messageCode":"INVALID_ATTRIBUTE_TYPE","message":"Invalid field","field":"id"},{"messageCode":"INVALID_ATTRIBUTE_TYPE","message":"Invalid field","field":"campaignId"},{"messageCode":"INVALID_ATTRIBUTE_TYPE","message":"Invalid field","field":"defaultCPCBid"}]}}


Do you know what's the issue?


Any help would be appreciated.