Need info Getting adsence to work
- bas van den Dikkenberg
-
Topic Author
- Offline
Less
More
- Posts: 2
- Thank you received: 0
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
wat do need to enter in to ochaddads to get my advertisments ?
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.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1715
- Thank you received: 111
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]:
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.
thank you for subscribing to ochAddAds, let me walk you through the process.
in the plugin you need to [plugin tab]:
- Enable the plugin
- Enable Google AdSense = yes
- login to Google AdSence
- in left sidebar select 'Ads'
- switch to tab 'By Ad Unit'
- under heading 'Existing ad units' click on the <> and copy the code snippet (this has content of '<script>...</script><ins>...</ins><script>...</script>'
- Goto ochAddAds configuration [Ad Codes tab]
- Enter a unique Ad Code ID, e.g. 'in-article-01'
- 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>
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
Less
More
- Posts: 2
- Thank you received: 0
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
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.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1715
- Thank you received: 111
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:
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
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.