How to get targeted adsense ads on Facebook app page requiring authentication -


i have facebook iframe application monetizing via google adsense. on pages not require facebook authentication, ads served fine , reflect content on page. pages require facebook session have ads rendered fine, generic. reflect user's geography , not page content (for example, groupon ads user's city, , ads random things photo uploading services).

i adsense render targeted ads based on page content. there plenty of content on pages in question. not "content-free" pages pure logon pages.

i using approach similar 1 in accepted answer other question: google adsense in facebook application . adsense javascript in separate file gets loaded iframe in canvas page, in turn loaded facebook iframe (like other facebook iframe app). file adsense code has bunch of relevant content provide adsense context targeting ads. content not visible user set iframe have no scrollbars , limited height.

is problem adsense bot (user agent mediapartners-google) gets blocked facebook logon , can't indexing page?

or problem when user accesses page, facebook tacks on long querystring, resulting in adsense treating different page every user? again, has no impact on iframe url.

the solution recommended in other stack overflow question calls loading file adsense code , keywords using frameset rather iframe. make difference?

i aware of potential conflict adsense terms prohibits loading adsense via iframe. facebook app there no other way it, , since app iframe has legitimate content ad targeting , "owned" publisher (me) seems consistent spirit if not letter of adsense terms of use.

i have toyed idea of changing pages require facebook session open, , disable controls , present facebook login button users visit pages , not logged facebook already. use javascript client library manage login , enabling of controls page not refresh, adsense read content , delivery relevant targeted ads. significant change pages however, if there simpler solution i'd avoid work.

well did nothing wait week or , ads started context-tuned , relevant, using approach of putting ads in iframe has masked-off context content (setting iframe height , width show ads, no scroll bars or border) matches app's subject.

i'm not sure why took week google tune context , produce targeted ads on page, won't gift horse in mouth guess.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -