Hi,
getting the below error when deleting campaign ad extensions
SoapFault Object
(
[message:protected] => Call to undefined method
stdClass::getNamespace()
[string:private] =>
[code:protected] => 0
[file:protected] => /var/www/FTLunnati/bidapi/application/libs/
Google/Api/Common/Util/SoapRequestXmlFixer.php
[line:protected] => 153
[trace:private] => Array
(
[0] => Array
(
[file] => /var/www/FTLunnati/bidapi/application/
libs/Google/Api/Common/Util/SoapRequestXmlFixer.php
[line] => 153
[function] => AddXsiType
[class] => SoapRequestXmlFixer
[type] => ->
)
[1] => Array
(
[file] => /var/www/FTLunnati/bidapi/application/
libs/Google/Api/Common/Util/SoapRequestXmlFixer.php
[line] => 112
[function] => AddXsiType
[class] => SoapRequestXmlFixer
[type] => ->
[args] => Array
(
[0] => DOMElement Object
(
)
[1] => stdClass Object
(
[id] => 5628368
)
)
)
[2] => Array
(
[file] => /var/www/FTLunnati/bidapi/application/
libs/Google/Api/Common/Util/SoapRequestXmlFixer.php
[line] => 139
[function] => FixXmlNode
[class] => SoapRequestXmlFixer
[type] => ->
[args] => Array
(
[0] => DOMElement Object
(
)
[1] => stdClass Object
(
[id] => 5628368
)
[2] => DOMXPath Object
(
)
)
)
[3] => Array
(
[file] => /var/www/FTLunnati/bidapi/application/
libs/Google/Api/Common/Util/SoapRequestXmlFixer.php
[line] => 139
[function] => FixXmlNode
[class] => SoapRequestXmlFixer
[type] => ->
[args] => Array
(
[0] => DOMElement Object
(
)
[1] => CampaignAdExtension Object
(
[campaignId] => 71482718
[adExtension] => stdClass Object
(
[id] => 5628368
)
[status] =>
[approvalStatus] =>
)
[2] => DOMXPath Object
(
)
)
)
[4] => Array
(
[file] => /var/www/FTLunnati/bidapi/application/
libs/Google/Api/Common/Util/SoapRequestXmlFixer.php
[line] => 98
[function] => FixXmlNode
[class] => SoapRequestXmlFixer
[type] => ->
[args] => Array
(
[0] => DOMElement Object
(
)
[1] => CampaignAdExtensionOperation Object
(
[operand] => CampaignAdExtension
Object
(
[campaignId] => 71482718
[adExtension] => stdClass
Object
(
[id] => 5628368
)
[status] =>
[approvalStatus] =>
)
[operator] => REMOVE
[OperationType] =>
[_parameterMap:private] => Array
(
[Operation.Type] =>
OperationType
)
)
[2] => DOMXPath Object
(
)
)
)
[5] => Array
(
[file] => /var/www/FTLunnati/bidapi/application/
libs/Google/Api/Common/Util/SoapRequestXmlFixer.php
[line] => 137
[function] => FixXmlNodes
[class] => SoapRequestXmlFixer
[type] => ->
[args] => Array
(
[0] => DOMNodeList Object
(
)
[1] => Array
(
[0] =>
CampaignAdExtensionOperation Object
(
[operand] =>
CampaignAdExtension Object
(
[campaignId] =>
71482718
[adExtension] =>
stdClass Object
(
[id] =>
5628368
)
[status] =>
[approvalStatus]
=>
)
[operator] => REMOVE
[OperationType] =>
[_parameterMap:private] =>
Array
(
[Operation.Type]
=> OperationType
)
)
)
[2] => DOMXPath Object
(
)
)
)
On Mar 30, 7:25 pm, AdWords API Advisor <[email protected]>
wrote:
> Hi,
>
> The SET operator isn't supported for CampaignAdExtentions or
> AdExtensionOverrides. If you want to delete one you need to use the
> REMOVE operator.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Mar 29, 7:41 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > when i delete the campaign ad extension it's giving error
>
> > SoapFault Object ( [message:protected] =>
> > [OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]]
> > [string:private] => [code:protected] => 0 [file:protected] => C:\wamp
> > \www\aw_api_php_lib_1.2.2\libs\Google\Api\Common\Lib\AdsSoapClient.php
> > [line:protected] => 177 [trace:private] => Array ( [0] => Array
> > ( [file] => C:\wamp\www\aw_api_php_lib_1.2.2\libs\Google\Api\Common\Lib
> > \AdsSoapClient.php [line] => 177 [function] => __soapCall [class] =>
> > SoapClient [type] => -> [args] => Array ( [0] => mutate [1] => Array
> > ( [0] => CampaignAdExtensionServiceMutate Object ( [operations] =>
> > Array ( [0] => CampaignAdExtensionOperation Object ( [operand] =>
> > CampaignAdExtension Object ( [campaignId] => 50506791 [adExtension] =>
> > stdClass Object ( [id] => 77077581 ) [status] => DELETED
> > [approvalStatus] => ) [operator] => SET [OperationType] =>
> > [_parameterMap:private] => Array ( [Operation.Type] =>
> > OperationType ) ) ) ) ) [2] => [3] => Array ( [0] => SoapHeader Object
> > ( [namespace] =>https://adwords.google.com/api/adwords/cm/v200909
> > [name] => RequestHeader [data] => SoapVar Object ( [enc_type] => 301
> > [enc_value] => SoapRequestHeader Object ( [applicationToken] =>
> > tW0w2hzzjsP30FgzrFFeyA [authToken] => DQAAAJYAAAAiB1m2H2cqqCPF75hVT_-
> > RsN7BtpRQZW02rSEQHC55JUJNQw5vKBoFtveDH0WhZKPkdG9GJ0sCo4f2GcnxqorocKVLy8GKpT
> > 2UyBFK7CeT7lx3SHhNviF2zNIsn9TqCu2OeFwhP7lA47B0E40N9p4fE6i4yxZnqeojUdGsXJ8Ak
> > fesOQTzdk20K4Xbtq-
> > koJIVe8V4wH14slPTSlavew_Q [clientCustomerId] => [clientEmail] =>
> > [email protected] [developerToken] => 6HmYvsYV_AorEKNf25t-FA
> > [userAgent] => PHP v5.2.7 - AdWords API PHP Client Library - v2.0.0 -
> > Freesystems Technologies Labs Pvt. Ltd. [validateOnly] => )
> > [enc_stype] => RequestHeader [enc_ns]
> > =>https://adwords.google.com/api/adwords/cm/v200909
> > ) [mustUnderstand] => ) ) [4] => Array ( ) ) ) [1] => Array ( [file]
> > => C:\wamp\www\aw_api_php_lib_1.2.2\libs\Google\Api\AdWords\v200909\cm
> > \CampaignAdExtensionService.php [line] => 3175 [function] =>
> > __soapCall [class] => AdsSoapClient [type] => -> [args] => Array
> > ( [0] => mutate [1] => Array ( [0] => CampaignAdExtensionServiceMutate
> > Object ( [operations] => Array ( [0] => CampaignAdExtensionOperation
> > Object ( [operand] => CampaignAdExtension Object ( [campaignId] =>
> > 50506791 [adExtension] => stdClass Object ( [id] => 77077581 )
> > [status] => DELETED [approvalStatus] => ) [operator] => SET
> > [OperationType] => [_parameterMap:private] => Array ( [Operation.Type]
> > => OperationType ) ) ) ) ) ) ) [2] => Array ( [file] => C:\wamp\www
> > \aw_api_php_lib_1.2.2\examples\v200909\AddCampaignAdExtension.php
> > [line] => 115 [function] => mutate [class] =>
> > CampaignAdExtensionService [type] => -> [args] => Array ( [0] =>
> > Array ( [0] => CampaignAdExtensionOperation Object ( [operand] =>
> > CampaignAdExtension Object ( [campaignId] => 50506791 [adExtension] =>
> > stdClass Object ( [id] => 77077581 ) [status] => DELETED
> > [approvalStatus] => ) [operator] => SET [OperationType] =>
> > [_parameterMap:private] => Array ( [Operation.Type] =>
> > OperationType ) ) ) ) ) ) [faultstring] =>
> > [OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]] [faultcode] =>
> > soap:Server [detail] => stdClass Object ( [ApiExceptionFault] =>
> > stdClass Object ( [message] => [OperatorError.OPERATOR_NOT_SUPPORTED @
> > operations[0]] [ApplicationException.Type] => ApiException [errors] =>
> > SoapVar Object ( [enc_type] => 0 [enc_value] => OperatorError Object
> > ( [reason] => OPERATOR_NOT_SUPPORTED [fieldPath] => operations[0]
> > [trigger] => [ApiErrorType] => OperatorError [_parameterMap:private]
> > => Array ( [ApiError.Type] => ApiErrorType ) ) [enc_stype] =>
> > OperatorError [enc_ns] =>https://adwords.google.com/api/adwords/cm/v200909
> > ) ) ) )
>
> > reply me solution
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.
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
To unsubscribe, reply using "remove me" as the subject.