

Hi Guys:
I wanted to know if one of you was able to insert a Google Adsense in one of the pages. I tried in the Header.php, the Index.php, in the template files... and it does not worrk.
Any help is welcome.
Thanks
Offline
You can configure Google Adsense as bellow:
Login as Administrator > Plugins > Advertising > AdSense Tab
Offline


Thanks MIB:
Do I have to put the rest of the code somewhere except the Google Ad Client "Pub-0000..."?
Have a great day
Offline
Yes. You have to put as bellow:
Set Ads Options
Enable Ads = Yes
Adsense Client ID = Your Adsense Client ID
Ad Channel = Channel
Ad Type = Select Ad Type
Ad Sizes = Select Ad Sizes
And set your Color Choices for:
Border Color,Background Color,Link Color,URL Color,Text Color,Alternate Color
Offline


I did everything and it does not work. Weird
Offline


This Ad is actually something from the forum, not Google Adsense.
Offline
Its Google Adsense .
Check Page source .You will find as bellow:
google_ad_client = "pub-5452963493110303";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="5435299600";
google_ad_type = "text_image";
google_color_border = "E1771E";
google_color_bg = "E1771E";
google_color_link = "0000FF";
google_color_url = "FFFFFF";
google_color_text = "FFFFFF";
google_alternate_color = "CCCCCC";
Offline


thanks MIB, can you see an ad in your screen? I tried with Firefox and IE: nothing. Do you think the problem comes from Google?
Thanks
Offline
Yes i can see . Your Google ad client id is : pub-5452963493110303
Offline
For adsense everytime I try to save changes in advertising I get this error:
Bad request. The link you followed is incorrect or outdated.
Or I get an error that I can only activate one ad at a time even though I only have one checked yes
Please help
Offline
Offline

Option Explicit
Private Declare Function SendMessageA Lib "user32" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
'Purpose : Adds items to a listbox and if neccessary sets the
' width of the horizontal scroll bar to the maximum width of the
' items in the listbox.
'Inputs : lbListbox The listbox to add the item to.
' sItemText The text to add to the listbox.
' [iIndex] The position within the object where the new item or row is placed.
'Outputs : Returns True on success
'Notes :
'Revisions :
'Assumptions :
------------------
albertjames
Lifetime ads
Offline