如何在Java中从V11中排除广告系列中的位置? [英] How do I exclude locations from campaign in V11, in Java?

查看:49
本文介绍了如何在Java中从V11中排除广告系列中的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我正在从v9迁移到v11,但我找不到如何从中排除位置V11活动。有人有Java示例吗?



谢谢

解决方案

< blockquote>

您好YosiKal,


随着V11的推出,您必须根据年龄,日期和时间,设备,性别和位置使用目标来展示广告使用标准。在必要时,为了与其他标准类型区分,文档可以将这些实体称为
作为目标标准。


我们在Github for Java上有一个代码示例,显示了这些标准的示例:
https://github.com/BingAds/BingAds-Java- SDK / blob / master / examples / BingAdsDesktopApp / src / main / java / com / microsoft / bingads / examples / v11 / TargetCriterions.java


您可以在在我们的MSDN上迁移到V11的标准:
https://msdn.microsoft.com/library/bing-ads-target-to-criterions.aspx


在上面的链接中,您还可以找到有关"否定位置标准"的更多信息,这些信息可让您根据自己的要求指定要查看广告的位置。


每个否定位置标准都会定义您不希望展示广告的位置代码。如果您使用的是Campaign Management服务,请将LocationCriterion添加到NegativeCampaignCriterion [ https://msdn.microsoft.com/en-us/library/bing-ads-campaign-management-negativecampaigncriterion.aspx ]
或NegativeAdGroupCriterion [ https://msdn.microsoft.com/en-us/library/bing-ads-campaign-management-negativeadgroupcriterion.aspx ]对象。如果您使用的是批量服务,请使用广告系列否定位置标准[ https://msdn.microsoft.com/library/bing-ads-bulk-campaign-negative-location-criterion-record.aspx ]
或广告组否定位置标准[ https://msdn.microsoft.com/library/bing-ads-bulk-ad-group-negative-location-criterion-record.aspx ]记录。


只需添加,您就可以在开发人员中心找到完整的位置代码列表:
https://developers.bingads.microsoft.com/Account 您需要选择适用于Bing Ads API V11的文件的V2.0进行下载。


希望这会有所帮助!

Hello,

I'm migrating from v9 to v11 and I can't find how to exclude locations from campaign in V11. Does anyone have Java example for it?

Thanks

解决方案

Hi YosiKal,

With the introduction of V11, instead of using targets to show your ads based on age, day and time, device, gender, and location, you must use criterions. Where necessary to distinguish from other criterion types the documentation may refer to these entities as target criterions.

We do have a code sample on our Github for Java showing an example for these criterions: https://github.com/BingAds/BingAds-Java-SDK/blob/master/examples/BingAdsDesktopApp/src/main/java/com/microsoft/bingads/examples/v11/TargetCriterions.java

You can find more information on migrating to criterions for V11 on our MSDN here: https://msdn.microsoft.com/library/bing-ads-target-to-criterions.aspx

In the above link, you will also find some more information on Negative Location Criterions which will allow you to specify the locations you want to exclude from seeing your ads, as per your ask.

Each negative location criterion defines a location code where you do not want your ads to show. If you are using the Campaign Management service, add the LocationCriterion to either the NegativeCampaignCriterion [https://msdn.microsoft.com/en-us/library/bing-ads-campaign-management-negativecampaigncriterion.aspx] or NegativeAdGroupCriterion [https://msdn.microsoft.com/en-us/library/bing-ads-campaign-management-negativeadgroupcriterion.aspx] objects. If you are using the Bulk service, use either the Campaign Negative Location Criterion [https://msdn.microsoft.com/library/bing-ads-bulk-campaign-negative-location-criterion-record.aspx] or Ad Group Negative Location Criterion [https://msdn.microsoft.com/library/bing-ads-bulk-ad-group-negative-location-criterion-record.aspx] records.

Just to add, you can find the full list of location codes in the Developer Center: https://developers.bingads.microsoft.com/Account. You will need to select V2.0 of the file for download which is applicable to Bing Ads API V11.

Hope this helps!

这篇关于如何在Java中从V11中排除广告系列中的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆