Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: Logging on Removable Device Pin
wenlong8822-Oct-10 17:22
wenlong8822-Oct-10 17:22 
QuestionReference a method from one user control from within another user control? Pin
Ian Durward21-Oct-10 15:17
Ian Durward21-Oct-10 15:17 
AnswerRe: Reference a method from one user control from within another user control? [modified] Pin
Karthik. A21-Oct-10 16:46
Karthik. A21-Oct-10 16:46 
AnswerRe: Reference a method from one user control from within another user control? Pin
Ravi Bhavnani21-Oct-10 17:19
professionalRavi Bhavnani21-Oct-10 17:19 
AnswerRe: Reference a method from one user control from within another user control? Pin
_Erik_22-Oct-10 4:50
_Erik_22-Oct-10 4:50 
GeneralRe: Reference a method from one user control from within another user control? Pin
Ian Durward22-Oct-10 8:18
Ian Durward22-Oct-10 8:18 
GeneralRe: Reference a method from one user control from within another user control? Pin
_Erik_22-Oct-10 23:39
_Erik_22-Oct-10 23:39 
QuestionGWT-RPC call from c# .net (google keywords tool external) help Pin
sodevrom21-Oct-10 14:39
sodevrom21-Oct-10 14:39 
Hello guys,
I have an app made that worked with the old Google Keywords Tool External. It worked perfectly until a few days ago when they dropped the new interface. Now I can't seem to crack this myself, and I need some help.
Using opera dragonfly (helps debug http requests) I managed to see how everything looks "in the background" but I don't understand a thing now. With the old site,everything was crystal clear, but now it's not.
The new website is located here:https://adwords.google.com/o/Targeting/Explorer?__u=1000000000&__c=1000000000&ideaRequestType=KEYWORD_IDEAS#search.none

When you want to get keyword results (enter a keyword and press enter), google makes a POST request here:
https://adwords.google.com/o/Targeting/g?__u=1000000000&__c=1000000000

The request headers are:
Host	adwords.google.com
User-Agent	Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11
Accept	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language	en-us,en;q=0.5
Accept-Encoding	gzip,deflate
Accept-Charset	ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive	115
Connection	keep-alive
Content-Type	text/x-gwt-rpc; charset=utf-8
X-GWT-Permutation	BB8DF70B3A151B0F88DA836D4D8117AD
X-GWT-Module-Base	https://adwords.google.com/o/Targeting/
Referer	https://adwords.google.com/o/Targeting/Explorer?__u=1000000000&__c=1000000000&ideaRequestType=KEYWORD_IDEAS
Content-Length	1401
Cookie	PREF=ID=be4a951075eeeb11:U=58b39e637fa5af6e:TM=1278871506:LM=1278876883:S=-9tdR3vSj5IZPe5e; NID=36=j_lqfxFokemN-
,.,,,,,,,__utmc=229779660
Pragma	no-cache
Cache-Control	no-cache


Now I don't understand what X-GWT-Permutation is (anx all the other x-gwt). I know it's google web toolkit ... but how the hell can I make a "call"to this website from c# .net (using httprequest) ?

The post content sent is:
6|1|69|https://adwords.google.com/o/Targeting/|807E86DA5783D73090609BC8C75E16F6|_|invoke|3|147|18o|142|143|g|TiAction (Search.SearchInput.KEYWORD_IDEAS.RelatedToKeywordSearchParameter)|stQmQu4bHA07VgYuJlYqcKD9eRU:1287707728771|18i|14o|14a|14c|c|h|i|161|18g|ADVANCED_OPTIONS|CountryTargetSearchParameter|TiImpression|ParameterInQuery|LanguageTargetSearchParameter|DeviceTypeSearchParameter|yi|y8|178|s8|en_US|t4|zh|yr|16z|ys|IDEA_IN_ADGROUP|NEGATIVE_KEYWORDS|KEYWORD|COMPETITION|GLOBAL_MONTHLY_SEARCHES|AVERAGE_TARGETED_MONTHLY_SEARCHES|TARGETED_MONTHLY_SEARCHES|IDEA_TYPE|AD_SHARE|EXTRACTED_FROM_WEBPAGE|SEARCH_SHARE|KEYWORD_CATEGORY|NGRAM_GROUP|10b|175|b5|zw|18p|115|United States|US|10c|117|English|en|zy|zz|10j|16b|173|b4|games|1|2|3|4|1|5|5|6|Ty5tT5xTo|2|7|1|8|0|9|A|10|2|7msoA|7msoA|11|12|13|4|14|15|16|-4|0|0|0|17|5|A|0|0|0|0|0|0|0|18|0|19|1|0|0|0|0|0|0|0|0|0|0|0|7|0|0|0|20|21|2|22|23|1|24|21|1|25|14|15|16|-4|0|0|0|-11|A|0|0|0|0|0|0|0|-12|-13|0|0|0|0|0|0|0|0|0|0|0|7|0|0|0|20|21|2|22|26|1|24|-17|14|15|16|-4|0|0|0|-11|A|0|0|0|0|0|0|0|-12|-13|0|0|0|0|0|0|0|0|0|0|0|7|0|0|0|20|21|2|22|27|1|24|-17|28|15|16|-4|0|0|0|-11|A|0|0|0|0|0|0|0|-12|-13|0|0|0|0|0|0|0|0|0|0|0|7|0|0|0|29|30|235|31|0|32|33|50|0|34|0|0|35|0|36|11|37|38|37|39|37|40|37|41|37|42|37|43|37|44|37|45|37|46|37|47|37|48|36|3|-43|37|49|37|50|36|5|51|52|53|2|54|55|1|56|57|0|1|58|0|59|55|1|60|61|62|63|64|4|65|66|67|68|-58|69|0|0|0|0|


How should I send this? Like "uploading" a file? It's not a normal http post, because it has no variables, it's a simple text that it's sent.

So to make things short, I want to "download" the google keyword tool external page, and get the results in C# .net so I can process them.

Can anybody help?

Thanks in advance,
Vlad
AnswerRe: GWT-RPC call from c# .net (google keywords tool external) help Pin
Luc Pattyn21-Oct-10 15:22
sitebuilderLuc Pattyn21-Oct-10 15:22 
GeneralRe: GWT-RPC call from c# .net (google keywords tool external) help Pin
sodevrom22-Oct-10 4:05
sodevrom22-Oct-10 4:05 
GeneralRe: GWT-RPC call from c# .net (google keywords tool external) help Pin
jobs200120-Dec-10 23:16
jobs200120-Dec-10 23:16 
GeneralRe: GWT-RPC call from c# .net (google keywords tool external) help Pin
jobs200120-Dec-10 23:24
jobs200120-Dec-10 23:24 
QuestionEvent handling Pin
Tichaona J21-Oct-10 5:39
Tichaona J21-Oct-10 5:39 
AnswerRe: Event handling Pin
OriginalGriff21-Oct-10 5:51
mveOriginalGriff21-Oct-10 5:51 
AnswerRe: Event handling Pin
Luc Pattyn21-Oct-10 5:55
sitebuilderLuc Pattyn21-Oct-10 5:55 
AnswerRe: Event handling Pin
_Erik_21-Oct-10 6:05
_Erik_21-Oct-10 6:05 
GeneralRe: Event handling Pin
OriginalGriff21-Oct-10 8:21
mveOriginalGriff21-Oct-10 8:21 
GeneralRe: Event handling Pin
_Erik_21-Oct-10 9:46
_Erik_21-Oct-10 9:46 
GeneralRe: Event handling Pin
OriginalGriff21-Oct-10 9:50
mveOriginalGriff21-Oct-10 9:50 
QuestionX / OK intercetption Pin
neverpleat21-Oct-10 3:08
neverpleat21-Oct-10 3:08 
QuestionString split? Pin
SRKSHOME21-Oct-10 2:55
SRKSHOME21-Oct-10 2:55 
AnswerRe: String split? Pin
Abhinav S21-Oct-10 2:58
Abhinav S21-Oct-10 2:58 
GeneralRe: String split? Pin
SRKSHOME21-Oct-10 3:22
SRKSHOME21-Oct-10 3:22 
GeneralRe: String split? Pin
Abhinav S21-Oct-10 8:30
Abhinav S21-Oct-10 8:30 
AnswerRe: String split? Pin
PIEBALDconsult21-Oct-10 3:11
mvePIEBALDconsult21-Oct-10 3:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.