Martialdelastic / google-api-adwords-php

Automatically exported from code.google.com/p/google-api-adwords-php
Apache License 2.0
0 stars 0 forks source link

SoapFault Object ( [message:protected] => InternalApiError.UNEXPECTED_INTERNAL_API_ERROR #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of the library are you using?

we are using 2.1.0(aw_api_php_lib_2.1.0.tar.gz       AdWords API PHP Client
Library 2.1.0    Featured        Apr 26  was used)

Which version of PHP are you using?

5.2.5

What steps will reproduce the problem?

We are using live site environment. and we need to live site environment not 
sandbox.
Details for live site 
DEFAULT_SERVER = "https://adwords.google.com" in setting.ini.
and
email = "myemailaddress@gmail.com"
password = "mypass"
userAgent = "myname"
applicationToken = "ignored"
developerToken = "validtokenfrommccaccount"

; Uncomment to make requests against a client account.
clientId = "***-***-****"

in auth.ini 

What is the expected output? What do you see instead?

This is what we get.

SoapFault Object ( [message:protected] => 
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ [string:private] => 
[code:protected] => 0 [file:protected] => 
/home/content/n/b/awlib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php 
[line:protected] => 179 [trace:private] => Array ( [0] => Array ( [file] => 
/home/content/n/b/awlib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php [line] 
=> 179 [function] => __soapCall [class] => SoapClient [type] => ->  [args] => 
Array ( [0] => get [1] => Array ( [0] => TargetingIdeaServiceGet Object ( 
[selector] => TargetingIdeaSelector Object ( [searchParameters] => Array ( [0] 
=> RelatedToKeywordSearchParameter Object ( [keywords] => Array ( [0] => 
Keyword Object ( [text] => oscommerce [matchType] => BROAD [id] => 
[CriterionType] => [_parameterMap:private] => Array ( [Criterion.Type] => 
CriterionType ) ) ) [SearchParameterType] => [_parameterMap:private] => Array ( 
[SearchParameter.Type] => SearchParameterType ) ) ) [ideaType] => KEYWORD 
[requestType] => IDEAS [requestedAttributeTypes] => Array ( [0] => KEYWORD ) 
[paging] => Paging Object ( [startIndex] => 0 [numberResults] => 4 ) 
[localeCode] => [currencyCode] =>  ) ) ) [2] => [3] => Array ( [0] => 
SoapHeader Object ( [namespace] => 
https://adwords.google.com/api/adwords/o/v200909 [name] => RequestHeader [data] 
=> SoapVar Object ( [enc_type] => 301 [enc_value] => SoapRequestHeader Object ( 
[applicationToken] => ignored [authToken] => 
DQAAAKEAAABcB41h3YTR3Jl2uPa-GqCNfvKbX6Q_2knn9dzOvKVTKkfoJ9im_IM_9xFZEWVNkI_KC0FV
CQg88VpJuVnoKbC96QDzJiY3SO74-tdgpo2b8_0nwyoeUCMJjTWjpg-WKQkFQJ_LS6NLeN7r2pWS1JNJ
4hpSvH3T9k8BYNtMHYk16NULoPEXjy_aPp6xCDNTeCKknzgIeAR4WNWyep6-aMHE1ShPNiHmV8ikUNrc
ogxStg [clientCustomerId] => 843-731-0978 [clientEmail] => [developerToken] => 
OHqCruQR2sXPDFpxaDpLxw [userAgent] => AwApi-PHP-2.1.0-ensys [validateOnly] => ) 
[enc_stype] => RequestHeader [enc_ns] => 
https://adwords.google.com/api/adwords/cm/v200909 ) [mustUnderstand] => ) ) [4] 
=> Array ( ) ) ) [1] => Array ( [file] => 
/home/content/n/b/awlib/src/Google/Api/Ads/AdWords/v200909/o/TargetingIdeaServic
e.php [line] => 6511 [function] => __soapCall [class] => AdsSoapClient [type] 
=> ->  [args] => Array ( [0] => get [1] => Array ( [0] => 
TargetingIdeaServiceGet Object ( [selector] => TargetingIdeaSelector Object ( 
[searchParameters] => Array ( [0] => RelatedToKeywordSearchParameter Object ( 
[keywords] => Array ( [0] => Keyword Object ( [text] => oscommerce [matchType] 
=> BROAD [id] => [CriterionType] => [_parameterMap:private] => Array ( 
[Criterion.Type] => CriterionType ) ) ) [SearchParameterType] => 
[_parameterMap:private] => Array ( [SearchParameter.Type] => 
SearchParameterType ) ) ) [ideaType] => KEYWORD [requestType] => IDEAS 
[requestedAttributeTypes] => Array ( [0] => KEYWORD ) [paging] => Paging Object 
( [startIndex] => 0 [numberResults] => 4 ) [localeCode] => [currencyCode] => ) 
) ) ) ) [2] => Array ( [file] => /home/content/n/b/getrelatedkey.php [line] => 
94 [function] => get [class] => TargetingIdeaService [type] => ->  [args] => 
Array ( [0] => TargetingIdeaSelector Object ( [searchParameters] => Array ( [0] 
=> RelatedToKeywordSearchParameter Object ( [keywords] => Array ( [0] => 
Keyword Object ( [text] => oscommerce [matchType] => BROAD [id] => 
[CriterionType] => [_parameterMap:private] => Array ( [Criterion.Type] => 
CriterionType ) ) ) [SearchParameterType] => [_parameterMap:private] => Array ( 
[SearchParameter.Type] => SearchParameterType ) ) ) [ideaType] => KEYWORD 
[requestType] => IDEAS [requestedAttributeTypes] => Array ( [0] => KEYWORD ) 
[paging] => Paging Object ( [startIndex] => 0 [numberResults] => 4 ) 
[localeCode] => [currencyCode] => ) ) ) ) [faultstring] => 
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ [faultcode] => soap:Server 
[detail] => stdClass Object ( [ApiExceptionFault] => stdClass Object ( 
[message] => InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
[ApplicationException.Type] => ApiException [errors] => SoapVar Object ( 
[enc_type] => 0 [enc_value] => InternalApiError Object ( [reason] => 
UNEXPECTED_INTERNAL_API_ERROR [fieldPath] => [trigger] => [ApiErrorType] => 
InternalApiError [_parameterMap:private] => Array ( [ApiError.Type] => 
ApiErrorType ) ) [enc_stype] => InternalApiError [enc_ns] => 
https://adwords.google.com/api/adwords/cm/v200909 ) ) ) ) 

Please provide any additional information below.

SOAP support exists.
We are using live site environment (https://adwords.google.com) for testing and 
running the getrelatedkey file but i am gettin error..

Original issue reported on code.google.com by mcc.oscp...@gmail.com on 2 Aug 2010 at 11:17

GoogleCodeExporter commented 8 years ago
I have attached log file

Original comment by mcc.oscp...@gmail.com on 2 Aug 2010 at 11:39

Attachments:

GoogleCodeExporter commented 8 years ago
This error is coming from the TargetingIdeaService and is not related to the 
PHP client library.  For help with general API issue please visit the forum: 
http://groups.google.com/group/adwords-api

Original comment by api.ekol...@gmail.com on 2 Aug 2010 at 5:46