You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. For those whom might get into similar situation:
I was getting cryptic WSDL errors (The string '' is not a valid AllXsd value) due to this 'inconsistency'. The \DateTime typehint is wrong. Use string representation of your date(time).
I used $offlineConversion->ConversionTime = $dateTimeObject->format('c');
This seems to be working. The whole SDK library/documentation/examples is not the greatest in the world. The online customer service is slow and not helpful at all.
The comment on
OfflineConversion->ConversionTime
indicates that the type should be aDateTime
object.BingAds-PHP-SDK/src/V13/CampaignManagement/OfflineConversion.php
Lines 26 to 30 in 68ca0f3
But the sample code implies that it should/can merely be a timestamp like
1657665961
.BingAds-PHP-SDK/samples/V13/OfflineConversions.php
Lines 119 to 121 in 24d028e
Is there a definitive type this should be?
The text was updated successfully, but these errors were encountered: