Hi Mauro,

The example you referenced was for the CampaignTargetService, but from
looking in the logs it seems that you were making requests against the
CampaignService.  Change the endpoint URL in your code to
https://adwords-sandbox.google.com/api/adwords/cm/v200906/CampaignTargetService
to make requests against the correct service.

Best,
- Eric Koleda, AdWords API Team

On Aug 19, 11:33 am, Mauro <[email protected]> wrote:
> Hi there,
>
> Finally passed by the internal error (really don't know if it my fault
> or yours :P), I'm now getting what follows:
>
> Following the example XML 
> inhttp://code.google.com/p/adwords-api-xml-samples/source/browse/trunk/...
> it looks pretty much the same.
>
> Faultstring: [RequiredError.REQUIRED @ operations[0].operand.id,
> RequiredError.REQUIRED @ operations[1].operand.id,
> RequiredError.REQUIRED @ operations[2].operand.id]
>
> Request (auth stuff hidden):
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-
> ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1318="http://
> tempuri.org">
>         <SOAP-ENV:Header>
>                 <RequestHeader 
> xmlns="https://adwords.google.com/api/adwords/cm/
> v200906">
>                         <authToken>[[[authToken]]]</authToken>
>                         <userAgent>Mauro</userAgent>
>                         <developerToken>[email protected]++usd</developerToken>
>                         <applicationToken/>
>                         <clientEmail>[email protected]</clientEmail>
>                 </RequestHeader>
>         </SOAP-ENV:Header>
>         <SOAP-ENV:Body>
>                 <mutate 
> xmlns="https://adwords.google.com/api/adwords/cm/v200906";>
>                         <operations>
>                                 <operator>SET</operator>
>                                 <operand xsi:type="GeoTargetList">
>                                         <campaignId>82343</campaignId>
>                                         <targets xsi:type="CountryTarget">
>                                                 <countryCode>US</countryCode>
>                                                 <excluded>false</excluded>
>                                         </targets>
>                                 </operand>
>                         </operations>
>                         <operations>
>                                 <operator>SET</operator>
>                                 <operand xsi:type="LanguageTargetList">
>                                         <campaignId>82343</campaignId>
>                                         <targets>
>                                                 
> <languageCode>en</languageCode>
>                                         </targets>
>                                 </operand>
>                         </operations>
>                         <operations>
>                                 <operator>SET</operator>
>                                 <operand xsi:type="NetworkTargetList">
>                                         <campaignId>82343</campaignId>
>                                         <targets>
>                                                 
> <networkCoverageType>GOOGLE_SEARCH</networkCoverageType>
>                                         </targets>
>                                 </operand>
>                         </operations>
>                 </mutate>
>         </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to