1. Home
  2. Knowledge Base
  3. Mobile Built Services
  4. Crosswalk
  5. Crosswalk – Add Banner & Fullscreen Ads

Crosswalk – Add Banner & Fullscreen Ads

Intel XDK

Please note that Intel XDK has been deprecated! See the statement of Intel below,

Important

Intel® XDK has been discontinued. Below are alternative resources for building mobile HTML5 applications with Apache Cordova* software. Intel offers a portfolio of tools to help IoT developers go from rapid prototyping to production. Try Arduino Create* for a streamlined prototyping experience and Intel® System Studio for an all-in-one development tool suite.

Read the full statement here.

https://software.intel.com/en-us/xdk

AdMob Plugin (included in the beta version 180)

You need at least the beta version 180 of construct 2 in order to use the new AdMob Plugin.

If you have installed the latest beta version of Construct 2 and inserted the plugin successfully to your project you can create ads for your game like this.

cw_scirra_admob_insert

Note: This only wokrs for Intel XDK and/or PhoneGap!

Insert Banner and Fullscreen ID’s

In order to add the ID’s of your ads to your game click on the ‘Phonegap Admob’ plugin in the ‘project bar’ at the right side of the editor and you can see the plugin settings in the ‘properties bar’ at the left side.

cw_scirra_admob_insert_id     cw_scirra_admob_insert_id2

There you can insert your ID’s from your admob account.

AdMob Account

Your ID’s will look like this (click on the ‘Monetize’ tab and select your Game to see the ID’s)

cw_admob_ads_id

Now you can build the events and actions to show banner & Fullscreen ads. These actions are available.

cw_scirra_admob_actions

Now you can setup your function like:

cw_scirra_admob_c2_actions

It’s recommended to use the auto-size for banners. Looks the best on mobile games (Much better then with CocoonJS).

levicat_ads

Updated on May 6, 2018
Was this article helpful?

Related Articles

Not the solution you were looking for?
Click the link below to submit a support ticket
Visist our Forum!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.