答案 0 :(得分:3)
Audience Network目前仅适用于iOS和Android(以及Unity):)
答案 1 :(得分:3)
现在它也在移动网络上!您可以像任何其他Facebook网络插件一样集成它。详情见: https://developers.facebook.com/docs/audience-network/mobileweb
以下是代码的样子:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
window.fbAsyncInit = function() {
FB.Event.subscribe(
'ad.loaded',
function(placementId) {
console.log('Audience Network ad loaded');
}
);
FB.Event.subscribe(
'ad.error',
function(errorCode, errorMessage, placementId) {
console.log('Audience Network error (' + errorCode + ') ' + errorMessage);
}
);
FB.XFBML.parse();
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk/xfbml.ad.js#xfbml=1&version=v2.5&appId=[APP_ID]";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-ad" data-format="320x50" data-placementid="[PLACEMENT_ID]" data-testmode="false"></div>
</body>
</html>
&#13;