I am having an issue with the Bing Ads Offline Conversion data import when I am trying to send offline conversion data using BING-PHP-SDK. Accoorting to the response there is on **empty** PartialErros but data not visible on the Bing Ad UI. But everything Ok when I am using the CSV offline conversion upload feature.

**Response from Bing API call:**

```
stdClass Object
(
    [PartialErrors] => stdClass Object
        (
        )
)

```

**Code I Used:**

```
AuthHelper::AuthenticateWithOAuth();
$GLOBALS['CustomerProxy'] = new ServiceClient(ServiceClientType::CustomerManagementVersion11,
$GLOBALS['AuthorizationData'], AuthHelper::GetApiEnvironment());
$user = CustomerManagementHelper::GetUser(null)->User;

#AccountId and CustomerId parsing code goes here

//parse $user to set AccountId 
$GLOBALS['AuthorizationData']->AccountId = $obj->Id; 

//parse $user to set CustomerId header
$GLOBALS['AuthorizationData']->CustomerId = $obj->ParentCustomerId; 

$GLOBALS['CampaignProxy'] = new ServiceClient(ServiceClientType::CampaignManagementVersion11, $GLOBALS['AuthorizationData'], AuthHelper::GetApiEnvironment());

 //send offline conversion
$offline =[];
 $offline = new OfflineConversion();
 $offline->ConversionCurrencyCode = 'USD';
 $offline->ConversionName = 'OfflineConversionSellOfRentals';
 $offline->ConversionTime =  date('Y-m-d\TH:i:s', strtotime('-7 days'));
 $offline->ConversionValue = 2.5;
 $offline->MicrosoftClickId = '8349a6501442491186ce602ca56881fe';
 $request[] = $offline;
 $offline_response = CampaignManagementHelper::ApplyOfflineConversions($request);

 print_r($offline_response);

```

Created a method inside **CampaignManagementHelper.php** file 

```
static function AddOfflineConversions($offline){  
  $GLOBALS['Proxy'] = $GLOBALS['CampaignProxy'];  
  $request = new ApplyOfflineConversionsRequest(); 
   $request->OfflineConversions = $offline;    
return $GLOBALS['CampaignProxy']->GetService()->ApplyOfflineConversions($request);
}

```

**N.B:** After you send Bing Ads the offline conversions, it can take up to five hours to view conversion data(from api documentation, is this the reason?)

**Edit:**

**Request:**

```
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v11">
    <SOAP-ENV:Header>
        <ns1:CustomerAccountId>#########</ns1:CustomerAccountId>
        <ns1:CustomerId>#########</ns1:CustomerId>
        <ns1:DeveloperToken>#########</ns1:DeveloperToken>
        <ns1:UserName/>
        <ns1:Password/>
        <ns1:AuthenticationToken>
            #########
        </ns1:AuthenticationToken>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <ns1:ApplyOfflineConversionsRequest>
            <ns1:OfflineConversions>
                <ns1:OfflineConversion>
                    <ns1:ConversionCurrencyCode>USD</ns1:ConversionCurrencyCode>
                    <ns1:ConversionName>Offline Conversion Goal</ns1:ConversionName>
                    <ns1:ConversionTime>2017-08-01T14:00:24</ns1:ConversionTime>
                    <ns1:ConversionValue>1</ns1:ConversionValue>
                    <ns1:MicrosoftClickId>#########</ns1:MicrosoftClickId>
                </ns1:OfflineConversion>
            </ns1:OfflineConversions>
        </ns1:ApplyOfflineConversionsRequest>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

```

**Response:**

```
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header>
        <h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v11">
            ##########
        </h:TrackingId>
    </s:Header>
    <s:Body>
        <ApplyOfflineConversionsResponse xmlns="https://bingads.microsoft.com/CampaignManagement/v11">
            <PartialErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
        </ApplyOfflineConversionsResponse>
    </s:Body>
</s:Envelope>

```