简体   繁体   English

iOS:适用于通用应用的adMob?

[英]iOS: adMob for universal App?

I am implementing adMob ads into my Universal App. 我正在将adMob广告投放到我的通用应用中。 In the www.admob.com, it has two options for ads: one for iPad app and one for iPhone app. 在www.admob.com中,它有两个广告选项:一个用于iPad应用,一个用于iPhone应用。 My question is that do I have to make to two different ads with two different publisher IDs for my universal app or just make one ads with one publisher ID for my app and then change the ads size inside the code? 我的问题是,我是否必须使用两个不同的发布商ID为我的通用应用制作两个不同的广告,或者只为我的应用制作一个具有一个发布商ID的广告,然后更改代码中的广告尺寸? Thank you 谢谢

I believe that you can do either. 我相信你也可以做到。 If you want finer level tracking to easily see what's coming in from your iPhone version compared to your iPad version you may want to use 2 ID's, but using just a universal one that you change in code should work fine. 如果你想要更精细的水平跟踪来轻松地看到你的iPhone版本与你的iPad版本相比你可能想要使用2个ID,但只使用你在代码中更改的通用版本应该可以正常工作。

2 separate side/app's will give you more flexibility, like mediation settings. 2个单独的侧/应用程序将为您提供更多灵活性,如中介设置。

Tip: Create 2 separate side/app's. 提示:创建2个单独的侧/应用程序。 You will now have 2 publisher id's. 您现在将拥有2个发布者ID。 Make sure you select the correct publisher id in Sites & AppsAd > Network Mediation > Edit: AdMob Network 请务必在网站与应用广告>网络中介>修改:AdMob广告网络中选择正确的发布商ID

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM