Open ajitpawarink opened 6 years ago
Using following example to update the campaign, but always getting 422 in response. $client->updateCampaigns( array( array("campaignId" => 173284463890123, "name" => "Update Campaign One", "state" => "enabled", "dailyBudget" => 10.99 ) ) );
Response
Array ( [success] => [code] => 422 [response] => {"code":"422","requestId":"K07CM5C8BS3W78E1ZBAC"} [requestId] => K07CM5C8BS3W78E1ZBAC )
As per Doc this might use PUT request.
Using following example to update the campaign, but always getting 422 in response. $client->updateCampaigns( array( array("campaignId" => 173284463890123, "name" => "Update Campaign One", "state" => "enabled", "dailyBudget" => 10.99 ) ) );
Response
Array ( [success] => [code] => 422 [response] => {"code":"422","requestId":"K07CM5C8BS3W78E1ZBAC"} [requestId] => K07CM5C8BS3W78E1ZBAC )
As per Doc this might use PUT request.