Skip to content

leonardteo/google-ads-test-angularjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Adsense Angular JS Test

This is a demo of getting Google Adsense to work with AngularJS

View it here

For more information, please contact Leonard Teo.

Description of the problem

AngularJS (created by Google) is a single-page-application framework. It loads in content dynamically without a full refresh of the DOM (Document Object Model). This appears to be incompatible with Adsense and DFP.

To fix this, pass in a random value to the ad-region parameter. See the source code for more details.

About

Test to debug issues with Google Adsense and AngularJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors