>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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260228
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to