Java导入v10与否?我糊涂了。 [英] Java import v10 or not? I'm confused.
问题描述
我正在从Bing Ads API v9迁移到v10。我应该导入
I'm migrating from the Bing Ads API v9 to v10. Should I import
导入com.microsoft.bingads.v10.campaignmanagement.ArrayOfKeyword;
或
Import com.microsoft.bingads.v10.campaignmanagement.ArrayOfKeyword;
or
import com.microsoft.bingads.campaignmanagement.ArrayOfKeyword;
import com.microsoft.bingads.campaignmanagement.ArrayOfKeyword;
我很困惑。有什么区别?
I'm confused. What's the difference?
推荐答案
是的,对于版本10,您应该导入com.microsoft.bingads.v10.campaignmanagement类。理想情况下,SDK也会为版本9类使用v9,以使其更清晰。在任何情况下,您都可以使用com.microsoft.bingads.campaignmanagement版本
9.请参阅关键字和广告示例(v10
|
v9 )和
客户端库命名空间以获取更多信息。
Yes, for version 10 you should import com.microsoft.bingads.v10.campaignmanagement classes. Ideally the SDK would have also used v9 for the version 9 classes, to make it more clear. In any case you would use com.microsoft.bingads.campaignmanagement for version 9. Please see Keywords and Ads samples (v10 | v9) and Client Library Namespaces for more information.
我希望这有帮助!
这篇关于Java导入v10与否?我糊涂了。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!