Hello,
I am trying to use the Inneractive Mobile Ad service. They have an M2M interface that is web-based. They say they have better payout rates. I thought I would give them a try.
If I use the B4A HTTP library –
I get a response from Inneractive, but the response is always "No Ad".
If I use a WebView and LoadURL -
I also get a response, and the response shows what looks like a valid banner ad.
This leads me to believe the HTTP Get is not sending what I think it should be sending. The LoadURL gives me an ad, but I need to parse the response for a "sequence" parameter to use when I make the next ad request.
Q's:
1. Is there a way to see the actual string that the HTTP Get sends out. It looks like it's not sending the right thing, but I can see no way to view what it is actually sending.
2. Is there a way to look at the returned string using LoadURL? It displays in the WebView, but I can see no way to get access to the returned string so that I can parse it for the "sequence" parameter.
3. Anybody use Inneractive? They claim to be good and they have quite a bit of web discussion activity.
And Happy New Year!
Thanks,
Barry.
I am trying to use the Inneractive Mobile Ad service. They have an M2M interface that is web-based. They say they have better payout rates. I thought I would give them a try.
If I use the B4A HTTP library –
B4X:
t = "http://m2m1.inner-active.com/simpleM2M/clientRequestHtmlAd"
req.InitializeGet(t)
hc.SetHttpParameter("aid", "MyAppID")
hc.SetHttpParameter("v", "Sm2m-1.5.3")
hc.SetHttpParameter("po", "559")
hc.Execute(req, 1)
I get a response from Inneractive, but the response is always "No Ad".
If I use a WebView and LoadURL -
B4X:
t = "http://m2m1.inner-active.com/simpleM2MclientRequestHtmlAd?aid=MyAppID" & _
"&v=Sm2m-1.5.3&po=559"
wvAd.LoadUrl(t)
I also get a response, and the response shows what looks like a valid banner ad.
This leads me to believe the HTTP Get is not sending what I think it should be sending. The LoadURL gives me an ad, but I need to parse the response for a "sequence" parameter to use when I make the next ad request.
Q's:
1. Is there a way to see the actual string that the HTTP Get sends out. It looks like it's not sending the right thing, but I can see no way to view what it is actually sending.
2. Is there a way to look at the returned string using LoadURL? It displays in the WebView, but I can see no way to get access to the returned string so that I can parse it for the "sequence" parameter.
3. Anybody use Inneractive? They claim to be good and they have quite a bit of web discussion activity.
And Happy New Year!
Thanks,
Barry.
Last edited: