Need info Getting adsence to work

  • bas van den Dikkenberg
  • Topic Author
  • Offline
More
1 week 3 days ago - 1 week 3 days ago #3299 by bas van den Dikkenberg
Getting adsence to work was created by bas van den Dikkenberg
Hi i am migrate an old site and i dont have much info 

i have these scripts from old site

This message contains confidential information

wat do need to enter in to ochaddads to get my advertisments ?
 
Last edit: 1 week 3 days ago by Ruud van Lent. Reason: hide key information

Please Log in to join the conversation.

More
1 week 3 days ago - 1 week 3 days ago #3300 by Ruud van Lent
Replied by Ruud van Lent on topic Getting adsence to work
Hello Bas,
thank you for subscribing to ochAddAds, let me walk you through the process.

in the plugin you need to [plugin tab]:
  1. Enable the plugin
  2. Enable Google AdSense = yes
then in [Ad Codes tab], you need to configure one (or more) ad codes. These are basically the codes you get from the Google AdSense portal (assuming you have that validated and configured):
  1. login to Google AdSence
  2. in left sidebar select 'Ads'
  3. switch to tab 'By Ad Unit'
  4. under heading 'Existing ad units' click on the <> and copy the code snippet (this has content of '<script>...</script><ins>...</ins><script>...</script>'
  5. Goto ochAddAds configuration [Ad Codes tab]
  6. Enter a unique Ad Code ID, e.g. 'in-article-01'
  7. in field Ad Code paste the <ins>....</ins> part for the code copied in step 4. So do not copy the <script> parts, only the <ins>
Manual Placement of ads in your content:
You can now add the following tag in e.g. an article or custom html module: {ochaddads id="in-article-01"} and when visiting the article or page this tag will be replaced with the Google ad that is served by AdSence (note: it can take a while for Google to start serving an ad), the id in the tag is the id set in step 6.

Auto Placement:
Here you can add the tag in one of the Joomla predefined positions, the tag will then be automatically injected in the position (in articles).

In advanced settings you can turn on debug, this will show verbose information in the browser console and will also add (additional) log information in the plugins logfile.

My advice is to start with the manual placement on a (test) article and get that to work, if that works you can work with other features.

Does this help to get you started?

If you run into issues please provide me with a front-end url (and turn debug on) so I can see if I can troubleshoot for you.

regards,
Ruud.
Last edit: 1 week 3 days ago by Ruud van Lent.

Please Log in to join the conversation.

  • bas van den Dikkenberg
  • Topic Author
  • Offline
More
1 week 3 days ago - 1 week 3 days ago #3301 by bas van den Dikkenberg
Replied by bas van den Dikkenberg on topic Getting adsence to work
even snel in nederlands,


Ik moet het migeren van de oude site pcactive.nl
Het reclame bureau heeft de login adsense account

maar ik het wel kunnen verzamelen, maar werkt niet 
dev.pcactive.nl/ (heb tijdelijk htaccess verwijderd)
de oude joomla site draait nog www.pcactive.nl
Last edit: 1 week 3 days ago by bas van den Dikkenberg.

Please Log in to join the conversation.

More
1 week 3 days ago #3302 by Ruud van Lent
Replied by Ruud van Lent on topic Getting adsence to work
Hoi bas,

voor de te injecteren HTML heb je echt google adsense toegang nodig.

Dit is de code die google adsense genereert:
Code:
<ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="xxxxxxxxxx" data-ad-client="ca-pub-xxxxxxxx" data-ad-slot="5515283464"></ins>


je hebt nu alleen de data-ad-client, en mist dus de data-ad-layout-key en de data-ad-slot. Dit is dus niet de 'migreren', je zult hier toch echt moeten inloggen op adsense en daar een nieuwe ad unit aanmaken. Dit is advies gegeven door Google zelf.

Het reclame bureau kan je autoriseren op adsense waardoor je er zelf kunt inloggen

Please Log in to join the conversation.