How to get an AdSense code


To get an AdSense code, follow the following points:

  1. Register your Google AdSense account at, providing all the required information.

  2. Once your account has been validated, you can create your Ad Unit.

  3. Create your "Mobile Web ID" by clicking on the right column Mobile content.

  4. Clicking on "Get Code" you will get the AdSense SlotName/ID.

In order to create an AdSense based advertising campaign on Advertising, it is necessary to note and use the field entered as data-ad-client, as shown in the image below.

You can learn more about the application by reading the article Advertising: set up and manage your advanced advertising campaign,

Have more questions? Submit a request