Hi, You can set any strings you want as userAgent it's mainly used for logging purpose. Can you please run any of the examples in the client library such as GetRefreshToken.php<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/Auth/GetRefreshToken.php>?
Best, - Takeshi, AdWords API Team On Tuesday, September 24, 2013 12:24:48 AM UTC+9, [email protected] wrote: > > i did it as following: > *at first,* I need to create a MCC test account and then apply for a API; > and i also need to get a *API Access* from https:// > code.google.com/apis/console/#project:#####:access<http://code.google.com/apis/console/#project:%23%23%23%23%23:access> > > like "Client ID: Client secret: " > > *second*,i must open auth.ini and insert *developerToken userAgent* * > client_id* *client_secret* to get refresh_token but what's *userAgent > *?* > > **after that**, *i run *GetAccountAlerts.php** * it says* **{ Notice**: > Failed to load response into DOM: DOMDocument::loadXML() on > adwords\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line **248 } > and echo **An error has occurred: SOAP-ERROR: Encoding: string '\xc9...' > is not a valid utf-8 string > > *am i wrong in whitch step ?* > > *ask for help ,thx* > ** ** * * > * * > * > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
