News | Job Vacancy | Tv/Interviews | Scholarships | Educations | Entertainment | Biography | Got Talent's | Phones | Super Stories | Sports News | Comedies | Business | Relationship | Tech | Movies Series | Search
Posted by: Mr. Babatunde« on: July 22, 2022, 01:27:28 PM »We put a lot of effort into writing each article, therefore we can't make it much more difficult by manually inserting the Ads code into each Blogger blog post. How may AdSense advertising be added automatically in the middle of every Blogger blog post by Inserting AdSense ads code in every Blogger post automatically, using XML code? is the topic of this tutorial. Take the actions outlined below. Selecting AdSense Ad code from AdSense and adding it to every blog post takes a lot of effort and time. We may occasionally neglect to include the codes. Revenue is lost as a result of this. The answer is to once again add the AdSense advertisements code and unwind. Every blog post automatically inserts your AdSense advertisements code. STEP TO ADD ADS IN MIDDLE CONTENT ON BLOGSPOT Code: [Select] <b:if cond='data:view.isPost'> 1. Copy Above Code and Paste it in Notepad or any text editor application. 2. Open the Google Adsense Account 3. Generate Adsense Ads or any ads(Text and Image) code 4. Replace line <!–Place Your Prased Adsense Ad code here–> with the Adsense code. 5. Now Open blogger. com and select “Theme”. 6. Download the theme file for backup. 7. Now click on “Edit HTML”. 8. Now you’ll see XML of your blog. 9. And Now search <data:post.body/>. If you cannot find it, copy the whole file and edit it externally using any text editor. 10. Replace <data:post.body/> with the above code(I.e. the below copied code). 11. SAVED Note: In the latest Blogger theme, there is only one <data:post.body/> tag, but if you’re using older themes, there maybe 2 or 3 or more results for <data:post.body/>. In such an old version of the theme, you’ve to make hit and the trial method by checking all <data:post.body/>. In most of the templates, it works on the 3rd result of <data:post.body/>. Place Multiple AdSense ads Automatically in Every Post of Blogger Code: [Select] <b:if cond='data:view.isPost'> Note: Place the two different AdSense ads in the <!–Place Your Prased Adsense Ad code here–>. We recommend you to place a max of 2 ads if your article is 600 words long. If you place a higher number of ads, then invalid clicks may increase and lower the CPC. target.getElementsByTagName("br"); Declares the ads’ location. Here to default tag for Blogger post is br for the break . You can change it to p, h2, h3, h4 according to the need. If you don’t know what this is, then leave it as it is. insertAfter(adscont,linebreak[n]); Declared how many tags the ads should be visible. Where n=number of tags-1, i.e., for 4 tags, n will be 4-1=3. So if you want to display after 1 line break, then place 0 instead of 3, display an ad after 2 tags, then put 1 instead of 3, and so on. Source: Seoneurons
Osun Online Publishers hosts Osun Governor Spokesperson, Mallam Olawale Rasheed by Miss Ifeoluwa
[November 22, 2024, 06:12:50 PM] Governor Adeleke Represents South West on Ad Hoc Committee on National Electrifi by Miss Ifeoluwa [November 22, 2024, 05:55:13 PM] How 15 People Landed In Jail For Internet Fraud In Edo by Miss Ifeoluwa [November 22, 2024, 12:11:16 PM] UK Announces Change in Visa Centres in Nigeria by Miss Ifeoluwa [November 21, 2024, 04:27:36 PM] Reps Reject Bill Seeking Six Years Single Tenure For President, Governors by Miss Ifeoluwa [November 21, 2024, 01:49:48 PM]
|