File size: 3.17Kb
<?php
// AdMob Publisher Code
// Language: PHP (curl)
// Version: 20081105
// Copyright AdMob, Inc., All rights reserved
// Documentation at http://developer.admob.com/wiki/Main_Page
$admob_params = array(
'PUBLISHER_ID' => 'a14dd08579b6e06', // Required to request ads. To find your Publisher ID, log in to your AdMob account and click on the "Sites & Apps" tab.
'ANALYTICS_ID' => 'a14de6f0d0d0bb0', // Required to collect Analytics data. To find your Analytics ID, log in to your Analytics account and click on the "Edit" link next to the name of your site.
'AD_REQUEST' => true, // To request an ad, set to TRUE.
'ANALYTICS_REQUEST' => true, // To enable the collection of analytics data, set to TRUE.
'TEST_MODE' => false, // While testing, set to TRUE. When you are ready to make live requests, set to FALSE.
// Additional optional parameters are available at: http://developer.admob.com/wiki/AdCodeDocumentation
'OPTIONAL' => array()
);
// Optional parameters for AdMob Analytics (http://analytics.admob.com)
//$admob_params['OPTIONAL']['title'] = "Enter Page Title Here"; // Analytics allows you to track site usage based on custom page titles. Enter custom title in this parameter.
//$admob_params['OPTIONAL']['event'] = "Enter Event Name Here"; // To learn more about events, log in to your Analytics account and visit this page: http://analytics.admob.com/reports/events/add
/* This code supports the ability for your website to set a cookie on behalf of AdMob
* To set an AdMob cookie, simply call admob_setcookie() on any page that you call admob_request()
* The call to admob_setcookie() must occur before any output has been written to the page (http://www.php.net/setcookie)
* If your mobile site uses multiple subdomains (e.g. "a.example.com" and "b.example.com"), then pass the root domain of your mobile site (e.g. "example.com") as a parameter to admob_setcookie().
* This will allow the AdMob cookie to be visible across subdomains
*/
//admob_setcookie();
/* AdMob strongly recommends using cookies as it allows us to better uniquely identify users on your website.
* This benefits your mobile site by providing:
* - Improved ad targeting = higher click through rates = more revenue!
* - More accurate analytics data (http://analytics.admob.com)
*/
// Send request to AdMob. To make additional ad requests per page, copy and paste this function call elsewhere on your page.
echo "<p align=\"center\">";
echo admob_request($admob_params);
//echo "<br/><a href=\"http://click.buzzcity.net/click.php?partnerid=53993\"><img src=\"http://ads.buzzcity.net/show.php?partnerid=53993\" alt=\"\"></a>";
//echo "<br/><a href=\"http://c.mobpartner.mobi/?s=112244\">Search Video And Game</a>";
echo "</p>";
/////////////////////////////////
// Do not edit below this line //
/////////////////////////////////
// This section defines AdMob functions and should be used AS IS.
// We recommend placing the following code in a separate file that is included where needed.
function admob_request($admob_params) {
}
$funvilla=admob_request($admob_params);
$funvila=explode('"',$funvilla);
$funvilla4m=$funvila[1];
?>