Gudio Tutorial

    Social Items


Upload Images To Mysql With PHP

Hello everyone, see me again on this tutorial blog, Gudio Tutorial. And thanks to those of you who have visited my blog and if this is your first visit to my blog, this Gudio Tutorial is a blog that discusses programming, tips and tricks on blogs, android and others related to technology.

If you don't want to miss the article update from Gudio Tutorial, you can subscribe by entering your email address in the subscription box on the menu beside. So if there is an article update that I made on this blog, then you will get a notification email from Gudio Tutorial.

In this article I will give you a tutorial on How To Upload Images To Mysql With PHP. Where there are 3 steps we will do, namely:

  1. Creating a Database on MySQL
  2. Make HTML
  3. Creating a PHP Code

How? are you interested? I will go straight to the point of discussion.

Creating a Database on MySQL

To save images we need to create a database to store the images you upload. In this article I created a simple database. Create a database like below:

CREATE TABLE `tutorial_upload_picture`.`tbpic` ( `number` INT NOT NULL AUTO_INCREMENT , `filename` VARCHAR(100) NOT NULL , `imagetype` VARCHAR(20) NOT NULL , `image` MEDIUMBLOB NOT NULL , PRIMARY KEY (`number`)) ENGINE = InnoDB;


Make HTML

Now we will make the HTML, I will not design HTML with lots of CSS code, because in this tutorial, I will explain the basics. Please add CSS as you wish. Please, type the code below:


<!DOCTYPE html>
<html>
<head>
 <title></title>
</head>
<body>
<h2>Upload Image</h2>
<span>Please select your image by click button bellow:</span>
<br><br>
<form name="forminput" method="POST" enctype="multipart/form-data" action="saveimg.php">
<input type="file" name="upimg" id="upimg" accept=".jpg,.jpeg,.png" onchange="loadFile(event)">
<br><br>
<img id="show" name="show" width="200" height="200" >
<br><br>
<input type="submit" name="saveImg" id="saveImg" value="Upload Image">
</form>
<script>
var loadFile = function(event) {
 var image = document.getElementById('show');
 image.src = URL.createObjectURL(event.target.files[0]);
};
</script>
</body>
</html>

and save the code above with the name index.html

Creating a PHP Code

Create Connection Code
before we make the code to upload the image, we will make the connection code first so that the php that we created can connect to mysql.

<?php
   $hostname  = "localhost";
   $username  = "root";
   $password  = "";
   $dbname  = "tutorial_upload_picture";
   $db = new mysqli($hostname, $username, $password, $dbname);
?>

and save the code above with the name db.php


Creating a Code for Saving Images
After you create the database and HTML, now we will create the main code so that you can upload images to the database. Please, type the code below:

<?php
 include "db.php";

 if(isset($_POST['saveImg'])) {
  if($_FILES['upimg']['error'] == 0) {
   $filename = $_FILES['upimg']['name'];
   $imgtype = $_FILES['upimg']['type'];
   $tmpFile = fopen($_FILES['upimg']['tmp_name'], 'rb');
   $fileData = fread($tmpFile,filesize($_FILES['upimg']['tmp_name']));
   $fileData = addslashes($fileData);

   $query = "INSERT INTO tbpic (id,filename,imagetype,image) VALUES ('','$filename','$imgtype','$fileData')";
   $process = mysqli_query($db,$query);
   if($process) {
    //header('location:index.html');
    echo "
    <script type='text/javascript'>
     alert('Your image has been uploaded successfully');
     window.location.href = 'index.html'
    </script>";
   }else {
    echo "
    <script type='text/javascript'>
     alert('Your image failed to upload');
     window.location.href = 'index.html'
    </script>";
   }
  }
 }
?>

and save the code above with the name saveimg.php

If you want to download the source code in the tutorial above, please click on the link below


Tutorial Video

If you are not clear about this article, you can watch the video so that you can understand better.

Conclusion

How? Isn't it easy to make it? Hopefully the article How To Upload Images To Mysql With PHP that I made can give you benefits. And if my article is useful, you can share my article to social media that you have and don't forget to follow me on social media to get the latest updates from Gudio Tutorial.

We meet again at other times and with other interesting articles.

Regards,

How To Upload Images To Mysql With PHP


Only Numbers or Alphabetical In HTML Input


Hello welcome back to this tutorial blog, Gudio Blog. Thank you for visiting my blog and if this is your first visit to this blog, Gudio Blog is a blog tutorial that discusses programming such as the web, desktop and mobile app. This blog also discusses blogger tips and tricks.

If you don't want to miss the article update on this blog, please leave your email in the newsletter subscription box on the menu beside. So every time there is a new article that I post on this blog, you will get a notification on your email.

If you often create web applications that contain menus to input numbers, then this tutorial Make Only Numbers or Alphabetical In HTML Input will really help you, so users will not be able to enter alphabets on input numbers and cannot enter numbers on alphabetical input.

Okay, we will stick to the topic of the discussion.

How To Make Only Numbers in HTML Input

In this first discussion, we will make input in HTML only a number, no alphabet.

Only Negative Integer in HTML Input


First, please make your HTML code first as in the code below:


<h3>
Only Negative Integer
</h3>
<span>Input your negative integer. Example (-1)</span>
<input id="negative">

<h5>
Read Complete Tutorial Only On <a href="https://www.gudioblog.com/2019/03/only-numbers-or-alphabetical-in-HTML-input.html" title="Tutorial" target="_blank">Gudio Blog</a>
</h5>


Then for the jquery you type the code below:


<script type="text/javascript">
function setInputFilter(textbox, inputFilter) {
  ["input", "keydown", "keyup", "mousedown", "mouseup", "select", "contextmenu", "drop"].forEach(function(event) {
    textbox.addEventListener(event, function() {
      if (inputFilter(this.value)) {
        this.oldValue = this.value;
        this.oldSelectionStart = this.selectionStart;
        this.oldSelectionEnd = this.selectionEnd;
      } else if (this.hasOwnProperty("oldValue")) {
        this.value = this.oldValue;
        this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd);
      }
    });
  });
}

setInputFilter(document.getElementById("negative"), function(value) {
  return /^-?\d*$/.test(value); });
</script>


Click the button below, to see the demo


Only Positive Integer in HTML Input

First, please make your HTML code first as in the code below:


<h3>
Only Positive Integer
</h3>
<span>Input your negative integer. Example (-1)</span>
<input id="negative">

<h5>
Read Complete Tutorial Only On <a href="https://www.gudioblog.com/2019/03/only-numbers-or-alphabetical-in-HTML-input.html" title="Tutorial" target="_blank">Gudio Blog</a>
</h5>


Then for the jquery you type the code below:


<script type="text/javascript">
function setInputFilter(textbox, inputFilter) {
  ["input", "keydown", "keyup", "mousedown", "mouseup", "select", "contextmenu", "drop"].forEach(function(event) {
    textbox.addEventListener(event, function() {
      if (inputFilter(this.value)) {
        this.oldValue = this.value;
        this.oldSelectionStart = this.selectionStart;
        this.oldSelectionEnd = this.selectionEnd;
      } else if (this.hasOwnProperty("oldValue")) {
        this.value = this.oldValue;
        this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd);
      }
    });
  });
}

setInputFilter(document.getElementById("positive"), function(value) {
  return /^\d*$/.test(value); });
</script>


Click the button below, to see the demo


Only Decimal Number in HTML Input

First, please make your HTML code first as in the code below:


<h3>
Only Decimal Number
</h3>
<span>Input your decimal number. Example (1.2)</span>
<input id="decimal">

<h5>
Read Complete Tutorial Only On <a href="https://www.gudioblog.com/2019/03/only-numbers-or-alphabetical-in-HTML-input.html" title="Tutorial" target="_blank">Gudio Blog</a>
</h5>


Then for the jquery you type the code below:


function setInputFilter(textbox, inputFilter) {
  ["input", "keydown", "keyup", "mousedown", "mouseup", "select", "contextmenu", "drop"].forEach(function(event) {
    textbox.addEventListener(event, function() {
      if (inputFilter(this.value)) {
        this.oldValue = this.value;
        this.oldSelectionStart = this.selectionStart;
        this.oldSelectionEnd = this.selectionEnd;
      } else if (this.hasOwnProperty("oldValue")) {
        this.value = this.oldValue;
        this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd);
      }
    });
  });
}

setInputFilter(document.getElementById("decimal"), function(value) {
  return /^-?\d*[.,]?\d*$/.test(value); });


Click the button below, to see the demo


Currency Number in HTML Input

First, please make your HTML code first as in the code below:


<h3>
Currency Number
</h3>
<span>Input your number. Example (0.25)</span>
<input id="currency">

<h5>
Read Complete Tutorial Only On <a href="https://www.gudioblog.com/2019/03/only-numbers-or-alphabetical-in-HTML-input.html" title="Tutorial" target="_blank">Gudio Blog</a>
</h5>


Then for the jquery you type the code below:


function setInputFilter(textbox, inputFilter) {
  ["input", "keydown", "keyup", "mousedown", "mouseup", "select", "contextmenu", "drop"].forEach(function(event) {
    textbox.addEventListener(event, function() {
      if (inputFilter(this.value)) {
        this.oldValue = this.value;
        this.oldSelectionStart = this.selectionStart;
        this.oldSelectionEnd = this.selectionEnd;
      } else if (this.hasOwnProperty("oldValue")) {
        this.value = this.oldValue;
        this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd);
      }
    });
  });
}

setInputFilter(document.getElementById("currency"), function(value) {
  return /^-?\d*[.,]?\d{0,2}$/.test(value); });


Click the button below, to see the demo


Only Hexadecimal in HTML Input

First, please make your HTML code first as in the code below:


<h3>
Only Hexadecimal
</h3>
<span>Input your hexadecimal. Which includes hexadecimal is: 1234567890ABCDEF</span><br>
<input id="hexa">

<h5>
Read Complete Tutorial Only On <a href="https://www.gudioblog.com/2019/03/only-numbers-or-alphabetical-in-HTML-input.html" title="Tutorial" target="_blank">Gudio Blog</a>
</h5>


Then for the jquery you type the code below:


<script type="text/javascript">
function setInputFilter(textbox, inputFilter) {
  ["input", "keydown", "keyup", "mousedown", "mouseup", "select", "contextmenu", "drop"].forEach(function(event) {
    textbox.addEventListener(event, function() {
      if (inputFilter(this.value)) {
        this.oldValue = this.value;
        this.oldSelectionStart = this.selectionStart;
        this.oldSelectionEnd = this.selectionEnd;
      } else if (this.hasOwnProperty("oldValue")) {
        this.value = this.oldValue;
        this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd);
      }
    });
  });
}

setInputFilter(document.getElementById("hexa"), function(value) {
  return /^[0-9a-f]*$/i.test(value); });
</script>


Click the button below, to see the demo


How To Make Only Alphabetically on The HTML Input


To make input from HTML only the alphabet is very easy. You don't need a javascript code here. For more details, please see the html below.


<h3>
Only Letters
</h3>
<span>Input your letters. Example (a-z)</span>
<input id="letters" onkeypress="return /[a-z]/i.test(event.key)">

<h5>
Read Complete Tutorial Only On <a href="https://www.gudioblog.com/2019/03/only-numbers-or-alphabetical-in-HTML-input.html" title="Tutorial" target="_blank">Gudio Blog</a>
</h5>


Click the button below, to see the demo



Video Tutorial

If you still don't clearly understand the explanation above, you can watch the video below : (Coming Soon)

Conclusion

That's a tutorial about Make Only Numbers or Alphabetical In HTML Input. Hopefully the tutorial I made can help you solve your problems.

And if this article is useful, please share this article with all the social media that you have. And don't forget to follow me on social media, so you don't miss out on updated information about this blog.

We meet again at other times and of course with other interesting articles.

Regards,

Gudio Blog

Make Only Numbers or Alphabetical In HTML Input


Sign Up Adcash - Logo

Hello blogger, wherever you are, come back with me in this Gudio Blog . And for those of you who have just visited this blog for the first time, and are still confused about what this blog is. Okay, so Gudio Blog is a blog that discusses programming, tips and tricks on blogger, android and other topics that are still related to technology. So for those of you who don't want to miss the article from Gudio Blog, please subscribe to the news letter via email, so if there is an updated article from us, then you will get a notification via email.

As in the title above about How to Register Adcash, this article will discuss about an advertising service and may be an alternative to Google Adsense if you often get rejection from Google Adsense. Maybe you are still there who do not know what violations should not be done for adsense users, you can read my article about All About Adsense. There are a lot of actual advertising services that we can use to earn money in this blogger, and one of them is what I will discuss this time. And if possible, I will discuss all existing advertising services.

But, before I go to the topic of article discussion, I will explain first, what is Adcash, history and others related to Adcash, so you will know Adcash as a whole.

What is Adcash.com

Adcash is a company founded in 2007 and headquartered in Tallin, Estonia. The company was founded by Christophe Avignon, Thomas Padovani. In 2014, the Adcash platform successfully displayed ad content to hundreds of millions of unique visitors every day through various media including more than 100,000 websites and mobile applications.

This company (Adcash) serves many different companies, even though the biggest client of Adcash is an online game development company. In total, Adcash operates in 249 countries and regions throughout the world.

And according to the official website, Adcash serves advertising services in 196 countries around the world. Where there are more than 600 billion ad requests every month, with more than 10,000 advertisements and having 200 million unique visitors every day. Not so bad when compared to Google Adsense.


History

As I explained above, Adcash was founded in 2007 where the founders were Christophe Avignon and also Thomas Padovani, where they were one of the founders and owners of the US Webinfluence Group.

As I quoted from Wikipedia where Padovani is a person from France who accidentally came to Estonia to establish a new company which until now was named Adcash.

Did you know: He (Padovani), running his company, started with a kitchen in his apartment in Tallinn
This Adcash company was built from the bottom where there was no direct funding. And with the first sales agreement obtained from direct sales.


Adcash Payment System

Those of you who register as ad publishers on Adcash, will get revenue from:

  1. CPC (Cost Per Click), you will get income from ad clicks made by visitors to your blog.
  2. CPM (Cost Per Mile), you will get income from 1000 ads displayed on your blog.

And unlike Google Adsense, where you can only withdraw funds or your balance if you have reached $ 100, on Adcash, you can withdraw your balance if it reaches 25 USD, a quarter of Google Adsense.

For the payment system, you can use several methods including:
  1. Bank Transfer
  2. Paypal
  3. BitCoin
  4. Payoneer
  5. Skrill
  6. Web money


Adcash Ad Type

For this type of advertisement, Adcash is quite complete by supporting various types of advertisements, ranging from popup, native, leaderboard and more. Below I will explain one by one, so that you know, the ad is suitable for you to place on your blog.

Push Notification
Push Notification is a powerful enough method you use on your blog and is also very effective. For the shape as shown below:


Adcash - Push Notification
How To Sign Up Adcash - Push Notification


This Push Notification will be sent directly to the user's device or browser which provides high visibility, engagement and CTR.



Native Ads

Native Ads is the type of advertisement that we can place in the middle of the article. The potential to get clicks from visitors is also quite high. So, using this type of advertisement is quite effective to apply to your blog



Adcash - Native Ad
How To Sign Up Adcash - Native



Pop-Under

This type of ad is the type of ad that appears behind the main browser window.

Of course this type of advertisement will not interfere with visitors because it is behind the main window.



Adcash - Pop-Under
How To Sign Up Adcash - PopUnder



Interstitial Ads

This type of ad is an ad that will appear and cover your entire screen. This type of advertisement is also able to increase income for ad publishers.


Adcash - Interstitial
How To Sign Up Adcash - Interstitial



Skyscraper

Is a type of advertisement that extends downward which is usually placed on the side of your blog page. This type of ad is a banner type ad with a size: 160x600. Of course you have imagined this type of advertisement that has dimensions of 160 pixels wide and 600 pixels long



Adcash - Skyscraper
How To Sign Up Adcash - Skyscraper



Rectangle

This rectangle ad format is an ad format with a standard display which is of course highly adapted to desktop and mobile-web display. This type of ad placement is very flexible. You can place wherever you like, for example in the middle of the text.


Adcash - Rectangle
How To Sign Up Adcash - Rectangle


Leaderboard

This type of ad is usually placed at the top or header on a blog. This banner type ad has a size of 728x90 pixels.


Adcash - Leaderboard
How To Sign Up Adcash - Leaderboard


And for the placement suggested at the top before the content. And this type of advertisement is responsive which means it can adjust to the display on the desktop or on the mobile.



How To Register

First, please access the website adcash on the following link: Adcash ,then you select the "Register Now" button.

Adcash - Register
How To Sign Up Adcash - Register Button
And as in the usual registration, you will be asked to fill in data such as:

  1. Email: use the email that you will register and which you will use later for the adcash account login.
  2. Password: input the password that you will use for adcash login.
  3. Select preferred currency: in this section, you select the type of currency that you will display on your dashboard later. All ad revenue will be displayed in the type of currency you choose.
  4. Select Account Type: in this section, you select the type of account that you will use. Because you will be an ad publisher, then select "Publisher".
Adcash - Register
How To Sign Up Adcash - Register



Then if it's finished, please click the "Register" button. Then the registration notification will go to the email you registered above.
Please check your e-mail address that you registered above, then there will be an e-mail from Adcash to confirm your e-mail. As in the picture below:

Adcash - Confirm
How To Sign Up Adcash - Confirm

Click the "Confirm Your Account" button to verify ownership of the email that you have registered. Then you will be directed to the page from adcash.
After confirming the email, please login using the email and password that you created in the registration process.


Registering Site

After you log in and enter the dashboard of your adcash account, the first thing you do is register the site that you will use to show ads. Please you register your blog address and specify the type of your blog, whether about education, health or others.

After completing registering your site, your site will wait for Adcash's approval, take it easy, this won't take a long time.


Make Zone


after you successfully register your site, it is time to make a zone. The zone here means the type of ad that you will create and that you will use on your site.

Adcash - Create Zone
How To Sign Up Adcash - Create Zone

In the picture above, please select the site that you have registered, and select the type of ad you will use.

In the explanation above I have explained the types of ads that are on this adcash, if you don't understand, please read again. 



Example of Creating a Zone

In this article, I will exemplify the creation of one ad, namely an ad with the type of leaderboard.

Please select "Display Ads (Banners)" and select the size "728x90" and at the bottom click the "Create New Zone" button. Then it will appear as shown below.

Adcash - Make Zone
How To Sign Up Adcash - Make Zone
In the picture above, you adjust whether your site uses "http" or "https". And you copy the code given by adcash. This code will be posted on your blog.
And done. You have succeeded in creating an ad that you will post on your site. One final step is to paste the ad code on your blog.


Creating an Ad Widget on the Blog

now go to the dashboard page of your blog and select "Layout" and select "Add Widget", select the type "HTML / Javascript". And paste the ad code from adcash.

Adcash - Ad Code
How To Sign Up Adcash - Ad Code

Tutorial video




Conclusion

How about my article How To Sign Up This AdCash? Hopefully you can understand and can easily use this Adcash to increase your income from the blog.

If there are still unclear, you can watch the video tutorial above I have provided. Please leave a comment below to ask questions related to adcash. I will try to answer as much as I can.

Hopefully this article can be useful for all of you and please share this article with all your social media and don't forget to follow me on social media to get the latest updates. We meet again at other times and with other interesting articles.

Regards,
Gudio Blog

How To Sign Up Adcash



Hello blogger wherever you are, meet me again in this Gudio Blog. And for those of you who are just visiting this blog for the first time, Gudio Blog is a blog that discusses programming, blog tips and tricks and others that are still related to technology. So, for those of you who have not subscribed to a news letter from me, please click on subscription, so you don't miss the latest article from Gudio Blog.

This article will probably be the shortest article I have ever made on this blog. Because there is no explanation of definitions, tutorials and so on. And there is only my story about, My Sadness with Google Adsense. And I just want to share with you, about the experience that I experienced, and I hope that after you read my article, you will not make mistakes as I experienced. Don't do it, if you don't want to feel sad.

The Beginning of The Story

until since this article was published, the age of my blog is only about 2 months. Still very baby right? And I'm not hypocritical, I create a blog with my main goal is to make money from Google Adsense. And maybe, there are some of you who have the same goal as me. Is it really like that?

Maybe for some people, I am someone who is too ambitious with Google Adsense. Yes, Google Adsense is like a beautiful girl that many people are interested in in this world. Although there are also many alternatives to Google Adsense, but I don't know, why Google Adsense is so "charming".

And when my blog is exactly 1 month old, my desire to register for Google Adsense is getting higher. For that, I bought a domain, so that my blog does not use subdomains from other bloggers, like "blogspot.com". Because according to the information that I got from the forums, that the submission of Google Adsense will be more quickly accepted if we use the TLD domain. Is it really like that? Maybe it's true and maybe not.

And when I bought a domain, I immediately made an article tutorial, namely How To Connect a Custom Domain With Blogger, and it was the first time I bought a domain. I feel a little proud of myself when my blog has its own domain, lol. And I thought at that time that my chance to join Google Adsense partners was getting bigger. But I have not been able to register for Google Adsense because there is no "Earnings" menu, on my blogger dashboard.

Register for Google Adsense
And, a few days after I bought a domain and added to the number of my articles on the blog, finally what I've been waiting for came too. A menu appears on my dashboard, a menu that will start my story with Google Adsense.

I don't think for a long time, even though the number of my articles is still small, I ventured to register for Google Adsense, because of my curiosity with this "Beautiful Girl". What I mean by beautiful girls is Google Adsense, don't think of real girls.

On March 4, 2019 with only 10 articles, I registered Google Adsense through the "Earnings" menu on my blogger dashboard. Like registering a normal account, I created an account on Google Adsense until it's finished, and after registration is complete, I log in to Google Adsense using the account I just created. And I was asked to install a javascript code to be installed in the HTML blog that I have. So, the status of my Adsense account becomes "Review". At the moment, I can't use the existing features on the Google Adsense dashboard, because I have to wait until my account is active and ready to show ads. I kept waiting for days, and in my mind only "God, When Is My Google Adsense Account Approved?", I continued to read and discuss in Google Adsense forums, they said, while waiting for the account submission process to finish, we must diligently update the article . And I did it.

On March 9, 2019 It was a historic day for me, because what I dreamed of came true. My account is approved by Google Adsense and my blog is ready to show ads.

Google Adsense - Account Approved
[Sharing Experience] A Real Story About Google Adsense - Account Approved

And at that time I thought, my success on Google Adsense had begun to open. Since my account was approved, I started to advertise on this blog, I posted several ads on the main page and articles on this blog. And my new hope is, "I hope I get a lot of income from these advertisements".
The nature of humans who will never feel satisfied, for what they have achieved. After one hope is fulfilled, he will have new hopes, and so on.

Sad Story

After a few days I used Google Adsense, I saw the account dashboard from Google Adsense, my balance was still 0.3 dollars. But at that time I was still thinking positively, because the traffic from my blog was still low which resulted in my income being low. At that time, traffic was only around 100 per day (based on data from blogger).

On March 15, 2019 When I checked the speed of the page from my blog, the speed was very low. For that I try to do optimization, because the possibility that causes the speed of my blog is slow is the google adsense ad code. So I made changes and optimizations on the HTML of my blog, I checked Google Page Speed ​​Insight and GTMetrix repeatedly until finally when I logged in to Google Adsense account, I got a notification from Google Adsense that my account was disabled.

Google Adsense - Account Disabled
[Sharing Experience] A Real Story About Google Adsense - Account Disabled


Have you ever fallen from a height? Do you feel pain? That's what I feel. When I hope to become a successful person with income from Google Adsense, now I have to be a person who is nothing.
Sometimes, hope that will make us rise, but hope also makes us fragile.
by Gudio 

That same day, I tried to appeal to Google Adsense. I tell the real chronology by giving the data that I have. After I sent the appeal via email, I hope again, that my appeal will be approved and my account will be activated again.

On March 16, 2019 I get an incoming email from Google Adsense, before I open the email, I hope that my appeal is accepted. And after I open the email.

Google Adsense - appeal rejected
[Sharing Experience] A Real Story About Google Adsense - appeal rejected


Can you imagine what I experienced? Do I have to bury my hopes with Google Adsense? I do not know. But after the appeal was rejected, my enthusiasm made the article a little.

End of story

Maybe with this refusal I will try to use alternative adsense, but I don't know when. And I will continue to make the article, because writing is one of my hobbies. Although now making articles without income.

So, what caused my adsense account to be deactivated, the possibility is because I checked using Google Page Speed Insight and GTMetrix with the ad code still attached to the blog. Maybe that was the cause, because I did not know for sure and Google also did not tell for sure via email.
And I don't know the exact reason. Because when I log in my Adsense account and I see it in the address bar, there is the word "invalid click". Of course I don't feel like I click on my own ad on my blog.

Conclusion:

From my story above, maybe there are some things that I can conclude:

  1. Having a Google Adsense account doesn't mean you are safe. You can experience problems if you don't comply with the policies of Google Adsense.
  2. If you already have an adsense account, and want to make changes or optimize the HTML of your blog, please release the adsense code in the HTML of your blog. If the optimization you have done is complete, please re-install the adsense code on your blog.

And that's my experience, maybe for those of you who are experts in Google Adsense, I will assume that my post is meaningless. But believe me, this is the first time I have been accepted by Google Adsense, where previously my submission was often rejected and even though my Google Adsense account is now disabled.

And this is just my real story, which might be able to help those of you who are using Google Adsense for the first time and you don't repeat the things I did that resulted in your account being disabled.

At least the two things above will make your Google Adsense account safe. You can read more about Adsense, in the article All About Google Adsense That You Should To Know. In the article, explained what you must obey the Google Adsense policy.

Maybe you have a suggestion for me? please leave a comment below this post. I would really appreciate if you give me advice.

Maybe that's all for this article. Hopefully you don't experience the same thing that I experienced. We meet another time and with another interesting article.

Regards,
Gudio Blog

[Sharing Experience] A Real Story About Google Adsense


How To Use Bing Webmaster Tools


Hello friend, wherever you are, come back with me in this Gudio Blog. And for those of you who have just visited this blog for the first time, I will explain a little, Gudio Blog is a blog that discusses programming, tips and tricks on blogging, android and other articles related to technology. And don't forget to subscribe to the newsletter on this blog, so that you will get the latest article updates directly through your email.

In this article, I will still discuss Webmaster Tools. Where before, I have given an article about How To Use Google Search Console, if you haven't read the article, please read the article first. And this time, turn to the webmaster made by Microsoft. Microsoft has a search engine called Bing, and the tool is called Bing Webmaster Tools.

And in this article, I will discuss everything in detail, so it's likely that this article will be a long article, don't skip and don't stop, read this article to completion, so you will understand How To Use Bing Webmaster Tools.

Before I go to this method of using Webmaster Tools, I will explain first, what is Bing Webmaster Tool.

What is Bing Webmaster Tools

Just like Google Webmaster Tools, Bing is a tool developed by a world company called Microsoft. Who is not familiar with Microsoft, almost everyone in the world might already know Microsoft, especially on its Windows products. But maybe few know, that Microsoft also has a search engine like Google called Bing Search Engine.

Bing is an update from Live Search, Windows Live Search or MSN Live Search owned by Microsoft. Many people who pursue technology, flatter Bing in terms of their ability to extract keywords.

But, although many are flattered, the level of popularity of Bing is still inferior to the level of Google's popularity. But, what you need to know, the level of Bing users is increasing over time.

Bing Webmaster Tools is a tool developed by Microsoft that is provided free of charge to webmasters to add the websites they manage to the crawling index of Bing Search Engine. For menus on the dashboard of Bing Webmaster Tools, this is more than Google Webmaster Tools. I'll explain later about the features of this tool.

Bing Webmaster Tools was created by Microsoft in 2009 and some of the well-known features of this tool are as follows:
  1. Crawls Issues, this feature makes it possible to find problems with the site crawl done by Bing on your site.
  2. Sitemap, this feature is used to notify the Bot of Bing to crawl the site that you have.
  3. Outbound links, displaying the links that come out of your site.
  4. And many more.

Maybe if you see, actually the main features of Bing Webmaster Tools are almost the same as the features of the Google Search Console.

How to Register with Bing Webmaster Tools

Okay, after you know about Bing Webmaster Tools, now we will continue with how to register the sites that you have on this tool.

First you can access the following link to go directly to the Bing Webmaster Tools Website.
Then, a page will appear from Bing. If you don't have a Bing account, you can register first.

Bing Webmaster Tools - Signin/Signup
How To Use Bing Webmaster Tools - Sign In

In the picture above, you can choose several ways that you can use to enter Bing. In this article, I will enter using the Google account that I have.
But if you use an account like Microsoft, of course you have to have a Microsoft account first, I won't explain how to register at Microsoft because I'm sure, all of you will already know how to register an account.
You can also enter Bing by using your Facebook account? And of course I'm sure, you definitely already have a Facebook account. All you have to do is click the Facebook button like in the picture above, then you will be directed to the Facebook page and please login to your Facebook account.
 And if successful, the dashboard page will appear as shown below:

Bing Webmaster Tools - Dashboard
How To Use Bing Webmaster Tools -Dashboard

How to Add Sites to Bing Webmaster Tools

After you have successfully logged in and entered the Bing Website, now you have to add the sites that you have to be able to be recognized by Bing. Click the Add Sites button as shown below:

Bing Webmaster Tools - Add Sites
How To Use Bing Webmaster Tools - Add Sites

After that a page will appear to add your site, where there is a URL and Sitemap column.
  1. URL, input your domain, for example www.yourdomain.com
  2. Sitemap, input the sitemap from your site, for example www.yourdomain.com/sitemap.xml
Bing Webmaster Tools - Add Your Site
How To Use Bing Webmaster Tools - Add Your Site
If you have inputed the URL of your site and Sitemap, then the next step is to click the Add button, then you will be directed to the page to verify ownership of the URL you have inputed.

Bing Webmaster Tools Verification

The thing you have to do after you add the site is verification. The aim is to ensure that you really have a site that you have inputed before and you have full access to the sites you have inputed.

If you look at the picture above, there are three ways that Bing gives to verify, such as:
  1. Place XML on Web Server
  2. Add Meta Tags to your site
  3. Add a CNAME record to DNS.
From the three methods above, the easiest thing for you to do is to add a meta tag to your site. And here I will explain how to add meta tags to the site and how to add cname record.

Add Meta Tags (msvalidate.01)

Copy the meta tag code provided by Bing Webmaster Tools as shown below:

Bing Webmaster Tools - Meta Tag Code
How To Use Bing Webmaster Tools - Meta Tag Code
Then paste the code on your website page. If you use blogger, you go to the Theme Menu - Edit HTML, and paste the meta tag code under the code <head> as in the picture below :

Bing Webmaster Tools - Add Meta Tag
How To Use Bing Webmaster Tools - Add Meta Tag

If you have pasted the Meta Tag code, the next step is to click the Verify button at the bottom. So congratulations, you have successfully verified ownership of your site. But if some of you are unsuccessful, try to pay attention again, have you followed the way I explained above. If you have, everything should go smoothly, but if it still doesn't work, please leave a comment below this post.

Add a CNAME record to DNS

In addition to verifying by adding the meta tag as above, you can also verify ownership of your site by adding CNAME to your DNS settings. Or even though you have verified using the meta tag, you can still verify the others, so that your site ownership becomes very safe.

Because on my blog, I use CDN from Cloudflare, so I will do DNS settings on Cloudflare, but if you use anything else, please adjust it, usually the settings will not be much different.

Please copy the CNAME provided by Bing Webmaster Tools as shown below:

Bing Webmaster Tools - CNAME
How To Use Bing Webmaster Tools - CNAME

then please go to your DNS settings and paste the data from Bing Webmaster Tools, as shown below:

Bing Webmaster Tools - DNS Settings
How To Use Bing Webmaster Tools - DNS Settings

Click the Add Record button in your DNS settings and if it is, click the verify button on the Bing Webmaster Tools page. And as long as, you have succeeded in verifying site ownership using the CNAME method. But if any of you do not succeed in verifying, please leave a comment below this post.


Add Sitemaps to Bing Webmaster Tools

After you have successfully verified ownership of your site, now you add the sitemap from your site so that the Bot from Bing can crawl the site that you have.

On the menu, select the sitemap and input your sitemap as in the example image below:

Bing Webmaster Tools - Add Sitemap
How To Use Bing Webmaster Tools - Add Sitemap
this crawl process takes time, so please be patient. And maybe it can take up to one or two days or maybe even longer.

Actually, after you have successfully added the site to the addition of the sitemap, it is a common thing that is often done by webmasters. But as you can see on the Bing Webmaster Tools dashboard, there are many menus available, what are the functions? I will explain below the functions of the menu but do not contain images.

Bing Webmaster Tools Features

Bing Webmaster Tools contains a large selection of menus, which might confuse users a little. Here I will try to explain more briefly about the menus available on Bing Webmaster Tools.

Site Activity

This menu will display a summary of all site activities that you have listed on Bing. The data displayed on the activity of this site is from the date this site was registered to Bing. In this menu there are data:
  1. Click From Search, is data from the number of clicks that go to your site based on data searches performed by users using Bing Search Engine.
  2. Appeared in Search, is data that displays the number of sites or articles that you have appearing on searches on the Bing Search Engine.
  3. Page Crawled, is the number of pages that Bot has crawled on your site.
  4. Crawl Error, is the number of errors that occur when the Bot crawls on the site you have.
  5. Indexed Pages, is the number of pages indexed by Bing, so that pages on your site can appear on searches using Bing Search Engine.

Sitemap

By using this sitemap feature, you can send the sitemap to Bing directly so that the Bot from Bing will be able to crawl the sitemap you have provided and index it so that your article or your site can appear on the Bing Search Engine.

You can also submit your site map feed to notify Bot of Bing about the structure of the pages of your site with the supported formats (sitemap, rss 2.0, atom 0.3, atom 1.0 and text files)

Example of writing a sitemap:
https://www.yoursite.com/sitemap.xml
https://www.yoursite.com/rss.xml?redirect=false
https://www.yoursite.com/feeds/posts/default?redirect=false
https://www.yoursite.com/feeds/posts/default?orderby=updated
https://www.yoursite.com/atom.xml?redirect=false&start-index=1&max-results=500

Search Keyword

This represents keywords that are associated with your site when a user searches on Bing. For each keyword displayed, you will be displayed in the search results, which are recorded as Appearing in Search and each click that results in a visit to your website will be recorded as a Click from Search.

This keyword search is a keyword related to the site that you have when a user searches using Bing Search Engine. In this section you can see which keywords on your site are the most searched by users.
Tips:
you can increase your number of visitors by using the most searched keyword capital by the users associated with your site. For example, the keywords that are most searched by users and related to your site are keywords about liver health, so make an article that reviews other liver health in more detail, but don't make the same article. Do you understand what I mean? 

Inbound Link

This feature is useful for displaying all the links that point to the site that you have


Submit URLs

You can use this feature to send the URL of the site you have, and request a bot from Bing to crawl and be able to index Bing directly. Usually this is done, if you have new content or a new URL on your site, and want the indexing process directly without having to rely on crawling on the sitemap, where crawling on the sitemap takes time. But for this feature, Bing limits up to 50 URLs per month.

Ignore URLs Parameters

By using this feature, you can input URLs that will be ignored by the Bing crawler. So Bing will not crawl the URL and will not index it. You can use this feature to prevent duplicate content from happening on the Bing index.

Bingbot Crawl Control

By using this feature you can determine the crawling process that is done by Bingbot on the site you have. You can tell Bingbot to do the scanning process at the hours you want and also can adjust the speed process or slow down the crawling process. You can set and order BingBot not to crawl during rush hour or high traffic on your site. Why? because of course it will save bandwidth more effectively. If not, then when the traffic on your site is high and BingBot also crawls, then you can be sure it will consume a lot of bandwidth.

Deep Links

You can block some of the URLs on your site from appearing as links to Bing searches. This block will expire in 90 days.

Block URLs

Use this feature to block the URL that you have in order not to appear on Bing search. You can choose whether the directory or page to be blocked. Same as before, the directory or page that is blocked is only for 90 days, and after that everything will be normal again.

Disavow Links

This feature is also available on Google Webmaster Tools, where you can make requests for removal of links that you think are not good or even unnatural that lead to sites that you have. You should pay attention to this case, because if there are links from sites that have low quality, then that will make your site unable to compete and if there are lots of quality links, it might be your site or URL that gets links low quality will be removed from the Bing index, because it might be considered spam. In this feature, you can choose whether it's a page, domain, or directory that points to your site that you want to delete.

Geo Targeting

I really like this feature. In this feature, you can choose the target country for all domains, subdomains, directories or even the pages you want to target. Similarly, if you use Google Adwords to advertise your product, then you will be asked to determine the target of the ad, so that the product you are marketing can be targeted.
You only need to choose this setting, where there is a choice of Domain, Subdomain, Directory or Page, then input the URL, and select the target country you want, submit and please sit back and let Bing work.

Verify Ownership

For this menu I will not explain more in detail, because in the article above, you have verified ownership on the site that you have.

Connected Pages

Through this menu, you can connect all types of social media that you have to your site that has been verified by Bing. And you will get a report from Bing about performance in Bing's search results.

Users

On this menu, you can add users who you will give the right to enter your Bing Webmaster Tools account. Where there are three roles on this menu, namely:
Administrators: accounts with this type of role, have full access rights to your Bing Webmaster Tool account.

  1. Read / Modify: accounts with this type of role, do not have full access, but there are some parts or features that can be changed with this type of account.
  2. Read Only: accounts with this role type, can only log in to Bing Webmaster Tools account, without being able to make any changes to your Bing Webmaster Tools account


Bing Webmaster Tools Report & Data

In this feature, you are provided with various information about your site that is listed on Bing, including the following:

Page Traffic

In this menu, you will be given information about the keywords used by users, so you can visit your site. There are several columns that display information including:
  1. Page: is the site URL or content of the site you have
  2. Click Form Search: is the amount of content clicked by the user who appears in Bing search.
  3. Appeared in Search: is the amount of content from your site that appears on the Bing search engine.
  4. Click-Through Rate: is the percentage of the amount of content you display on the Bing search engine until the user clicks so that the user visits your site.
  1. Keywords: contains information about keywords entered by users in the Bing search engine.
  2. Clicks from Search: the number of clicks a user makes on the content on your site that appears on the Bing search engine.
  3. Appeared in Search: is the display of url content from your site that appears in the Bing search engine.
  4. Click-Through Rate: is the percentage of the total url display of your site's content on the search engine until the user clicks the url of the content.

SEO Reports

On this menu, you will be given information about SEO (Search Engine Optimization) on your verified site on Bing. If an SEO error occurs, you can fix it, because Bing will inform you about what is the problem with your site.

Bing Webmaster Tools - SEO Problems
How To Use Bing Webmaster Tools - SEO Problems
In the picture above, there are some SEO problems that occur on the site that I have. If you experience the same problem, all you have to do is follow the problem in this report, click the available link, and make improvements.

Inbound Links

Inbound Links are information provided by Bing which will display the URL of your site. These inbound links are links that are outside your site that point to your site. Links that are outside this site can be links from your own content posts, links from your own homepage or links from other people's sites that point to your site. For example, if site A, puts a link on your site, then it can be said if site A has an outbound link and you have inbound links from site A. Already understand? if you don't understand, you can read my article about How to Make Backlinks, in this article, it is discussed in full about the types of links to how to make backlinks.

Crawl Information

In this menu, you will be given information in the form of crawling done by BingBot. That information can be crawl errors, items blocked by your robots.txt, DNS errors, page moved temporarily, pages moved permanently and so on. All information about crawling done by BingBot will appear on this menu.

Bing Webmaster Tools Diagnostics & Tools

In this submenu, Webmaster Tools has features to diagnose and various tools you need to manage your site, as below:

Mobile Friendliness Test

By using this feature, you will be able to test your site, whether your site is mobile friendly or not. I recommend that your site be mobile friendly, because many users now, more and more often use their smartphone or tablet to surf the internet. So, if the appearance of your site is not mobile friendly, visitors will not feel at home on your site.

Keyword Research

This menu, you can use for SEO content that you create on your site. Where usually before doing content writing, an author usually searches for keywords first, a writer also conducts keyword research on the target country, where the content will be targeted and so forth.

Bing Webmaster Tools - Keyword Research.png
How To Use Bing Webmaster Tools - Keyword Research

as in the picture above, I did an example of researching keywords with the keyword "webmaster tool" in the "United States" country in the last 3 months. Then you will display information in the form of graphics, how many users are looking for these keywords on the Bing search engine. It's easy right?

Fetch as Bingbot

This feature is also available in the Google Search Console with the name Inspect URL. This Fetch as Bingbot is used to display the page you want to see as a crawler. You will see the page code as seen by Bingbot in crawling.

Markup Validator

By using this feature, you can check the markup code that is on your site, just by typing the URL you want to see the markup code and clicking validate. Maybe you need to try this feature, because you will know whether in your site, there is an error markup code? and if there is, you will be able to fix it immediately.

SEO Analyzer

Still with SEO, by using this feature, you can check SEO on your site or on your page. The method is very easy, you only need to type the URL that will be checked by SEO and click Analyze, the results will appear. And if your page has errors in terms of SEO, this tool will give you suggestions for improvements.

Those are the features available in Bing Webmaster Tools. Very many and actually there are still other features.

Conclusion

If you compare with Google Search Console, this is Bing Webmaster Tools, which has quite complete features. Everything in one web. Starting from SEO, Site Acitivty and others.

Using bing and google search console and verifying it on your site, will increase your site traffic because Bing and Google are search engines that are widely used by users in the world.

Hopefully this article about How to Use Bing Webmaster Tools can be useful for all of you and please share my article with all the social media that you have and don't forget to follow me on social media to get the latest information updates.

We meet again, at other times and with other interesting articles.

Regards,

How To Use Bing Webmaster Tools