To get an AdSense code, follow the following points:
- Register your Google AdSense account at www.google.com/adsense, providing all the required information.
- Once your account has been validated, you can create your Ad Unit.
- Create your "Mobile Web ID" by clicking on the right column Mobile content.
- 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,