Hello,
 
i want to set a campaign targets. 
 
I use my php library and sandbox
 
My array:
$operations = array('operations'=>array('operator'=>'SET', 
operand=>array('campaignId'=>$this->campaignId, 
targets=>array('languageCode'=>'tr')));
 
SoapFault Object
(
    [message:protected] => *Unmarshalling Error: cvc-type.2: The type 
definition cannot be abstract for element ns1:operand. *
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => 
F:\servers\httpdocs\ocp7\modules\adwords\adwordsApi\adwordsCampaignTarget.php
    [line:protected] => 19
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [function] => __call
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mutate
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [operations] => Array
                                                (
                                                    [operator] => SET
                                                    [operand] => Array
                                                        (
                                                            [campaignId] => 
85742
                                                            [0] => SoapVar 
Object
                                                                (
                                                                    
[enc_type] => 999998
                                                                    
[enc_value] => tr
                                                                    
[enc_stype] => languageCode
                                                                    [enc_ns] 
=> https://adwords.google.com/api/adwords/cm/v201008
                                                                )

                                                        )

                                                )

                                        )

                                )

                        )

                )

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to