Some Problem about api : /sp/rules/campaignOptimization,the res always :”Invalid request body'“ #428
Unanswered
CoderWeiAden
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Change threshold from numeric 3.7 to string "3.7" in your request body—the API expects threshold values as strings, not numbers. let me know if this works ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,May I ask why my request is getting an error message: 'Invalid request body',this is my detail info about request.
my request body is :
{ "recurrence": "DAILY", "ruleAction": "ADOPT", "ruleCondition": [ { "metricName": "ROAS", "comparisonOperator": "GREATER_THAN", "threshold": 3.7 } ], "ruleType": "BID", "ruleName": "sp-53874-RULE_BID", "campaignIds": [ "351808859999999999" ] }my resp is :
{ "message": "Invalid request body" }From the parameter structure and actual values, no issues were found, but why is there still an error reporting that my parameters are problematic
Beta Was this translation helpful? Give feedback.
All reactions