Not able to update Campaign or update Ad Group using API
Using below library & Amazon Advertising API Documentation as reference.
Docs:
https://advertising.amazon.com/API
https://advertising.amazon.com/API/docs/reference/campaigns
Library:
In response I get is 422 with the request Id
Request Code sample
$client->updateCampaigns(
array(
array(
“campaignId” => 173284463890123,
“name” => “Update Campaign One”,
“state” => “enabled”,
“dailyBudget” => 10.99
)
)
);
Response sample
Array
(
[success] =>
[code] => 422
[response] => {“code”:“422”,“requestId”:“4HJ61RGVJWJT464K8FTC”}
[requestId] => 4HJ61RGVJWJT464K8FTC
)
Does anyone facing same issue?