Neal, I was wondering if you've figured this out. I am planning to start doing some work with the Adwords API soon, and would like to know if there are any gotcha's.
Russ -----Original Message----- From: Bailey, Neal [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 1:52 PM To: CF-Talk Subject: Google Adwords API Does anyone have any experience with Google Adwords API service? I trying to figure out some of the sample code provided on the Goggle Groups and in the Documentation, so far I have not been able to get any of the examples to work. I can make the connection to the service but beyond that, like modifying ad settings or adding keywords I can't seem to get anything working. If anyone here has any working examples or could provide some info that would be great. So far all I have that kind of works but generates an error is this: ------------------------------------------------------- <cfset myEMail = "[EMAIL PROTECTED]"> <cfset myPassword = "xxxx"> <cfset myToken = "xxxx_xxxxxx"> <cfset myClient = "[EMAIL PROTECTED]"> <cfscript> getGoogleWSDL = CreateObject("webservice","https://adwords.google.com/api/adwords/v2/Criteri onService?wsdl"); addSOAPRequestHeader(getGoogleWSDL,"https://adwords.google.com/api/adwords/v 2","email",myEMail); addSOAPRequestHeader(getGoogleWSDL,"https://adwords.google.com/api/adwords/v 2","password",myPassword); addSOAPRequestHeader(getGoogleWSDL,"https://adwords.google.com/api/adwords/v 2","token",myToken); addSOAPRequestHeader(getGoogleWSDL,"https://adwords.google.com/api/adwords/v 2","useragent","ColdFusion AdWords"); addSOAPRequestHeader(getGoogleWSDL,"https://adwords.google.com/api/adwords/v 2","clientEmail",myClient); aKeywordRequest = structnew(); aKeywordRequest.adGroupId="-- AD_ID goes here --"; aKeywordRequest.type="broad"; aKeywordRequest.text="music"; xmloutput = getGoogleWSDL.addCriteria(aKeywordRequest); </cfscript> <cfdump var="#xmloutput#"> ------------------------------------------------------ Neal Bailey ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228520 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

