webely / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 1 forks source link

Unable to determine nid from appId #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I already have AdWhirl account
2. I already setup 2 ad networks, Admob and Quatro
3. I tried to access Custom Ad Request using web browser, to test the 
protocol V2: http://cus.adwhirl.com/custom.php?
appid=3bc2acddc48249519dc2025b8e2e3e82&uuid=0000000000000000522c0e0b1fa7894
d&country_code=en_US&location=11.325432,-
42.787399&location_timestamp=1265154619.172145&appver=200&client=4

What is the expected output? What do you see instead?
Expected: JSON of result, at least there should be Admob and Quatro
I see: Unable to determine nid from appId

What version of the product are you using? On what operating system?
2

Please provide any additional information below.

Original issue reported on code.google.com by amri.sho...@gmail.com on 19 May 2010 at 4:04

GoogleCodeExporter commented 8 years ago
Hi,

The /custom.php endpoint is only for house ads. You should be using the 
/getInfo.php endpoint.

http://code.google.com/p/adwhirl/wiki/ProtocolV2#Configuration_Request

Original comment by JustinPincar on 19 May 2010 at 5:15

GoogleCodeExporter commented 8 years ago
Hi Justin,
Thanks for the attention. Ok, so the getInfo is for supported network ads, and 
custom 
is for house ads. I see. But then I'm confused how to use the informations 
fetched 
from getInfo. I have nid, type, nname from rations node. What should I do with 
them 
in order to show the ads on my application? How do I get what image should I 
show and 
to what URL do my app should redirect a user?

Should I use Admob's and Quattro's API then maintain their weight in my own 
application? Or you have implemented an API that you have not mentioned them in 
the 
Protocol V2?

Thanks.

Original comment by amri.sho...@gmail.com on 20 May 2010 at 4:50

GoogleCodeExporter commented 8 years ago
I'm not sure I understand what you are trying to do. If you just want to show 
ads on iPhone or Android, you can 
use the SDKs we published in the "Downloads" tab. The protocol document is 
meant for developers who wish to 
implement their own SDK for a different platform.

Original comment by JustinPincar on 20 May 2010 at 4:55

GoogleCodeExporter commented 8 years ago
Hi Justin,
Thanks again for the response. Yes, you're right. I'm trying to implement this 
protocol 
in my blackberry project. Don't you see it from my query at the first post? I 
mentioned: client=4. 

Original comment by amri.sho...@gmail.com on 21 May 2010 at 2:27

GoogleCodeExporter commented 8 years ago
Ah, I missed that. You should probably keep the same structure that the Android 
and iPhone projects have. After 
receiving the configuration info, the adwhirl SDK picks and ad network, and 
then calls the APIs of the individual 
ad networks through the adapter layer. Looking at the Android source will 
probably help you a lot. 

Original comment by JustinPincar on 21 May 2010 at 5:15

GoogleCodeExporter commented 8 years ago
Did you ever figure this out? I'm trying to do something similar. Trying to 
piece together info from http://code.google.com/p/adwhirl/wiki/ProtocolV2 , but 
it doesn't seem to work out too well. Basically I just want to know how to use 
the rations returned from getInfo to get ads to show.

Original comment by rrbramb...@gmail.com on 4 Aug 2010 at 5:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hello. I'm trying to implement protocolV2  
(http://code.google.com/p/adwhirl/wiki/ProtocolV2) in my air-mobile app. Can 
somebody explain me how it works:
first step: I get info by "Configuration Request".  
Next step parsing information from it i get adversting (from any ad-network) 
info by "Custom Ad Request" with info i have parsed before? 
And finaly send "metrics requset" on views and clicks?
Is this variant correct for monetizing my flash-app?

Original comment by Elion...@gmail.com on 6 Aug 2012 at 1:19

GoogleCodeExporter commented 8 years ago
Yep, that's correct.  Like Justin said, looking through the Android source 
should help you fill out the particulars.

Original comment by wesgood...@google.com on 9 Aug 2012 at 8:13

GoogleCodeExporter commented 8 years ago
But, why I can't get "real" advertising? Server every time responses "house 
ad". There is my project 
(http://code.google.com/p/adwhirl-flash/source/browse/) ^_^

Original comment by Elion...@gmail.com on 12 Aug 2012 at 12:06