-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
On adding banner I get Invalid request error. Code is given below:
$bannerInfo = array( 'bannerId' => (int)$bannerId,
'campaignId' => (int)$campaignId,
'bannerName' => $bannerName,
// 'storageType' => 'string',
'imageURL' => $imageURL,
'htmlTemplate' => '',
'width' => 0,
'height' => 0,
'weight' => 0,
'target' => '_blank',
'url' => $url,
'bannerText' => $bannerText,
'status' => (int)$status,
// 'adserver' => 'string',
'transparent' => 0,
// 'capping' => 'integer',
// 'sessionCapping' => 'integer',
// 'block' => 'integer',
'aImage' => $aImage,
// 'aBackupImage' => 'custom',
'comments' => $comments,
'alt' => $alt,
'filename' => $filearray['name'],
// 'append' => 'string',
// 'prepend' => 'string',
);
It throws following exception:
Invalid request payload: xmlrpc element NIL cannot be child of VALUE
Metadata
Metadata
Assignees
Labels
No labels