I already solve my problem on cityTarget. But still previous call
should return proper error msg.

Thanks
--Ernnie
On Aug 27, 4:18 pm, ernnie <ernni...@gmail.com> wrote:
> Also I'm having problems setting a campaign to a cityTarget.
> Can you provide a list of values for cityName? or a valid xml request
> for w/ cityTarget.
> Btw this is on sandbox August 27. 2009 16:19 GMT+8
> Here's the soap request and response
>
> Request:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v200906";><SOAP-
> ENV:Header><RequestHeader xmlns="https://adwords.google.com/api/
> adwords/cm/
> v200906"><authToken>DQAAAH4AAAAGenJjfkektXHsFcrUCJLBfiGknZ8T_DoMKUKplePkX-
> gUSDHX40ZjYIlIPR-3Qwxq8mNkhn19VR0RgStnyaCYTMbjI33XZRkdRJr-
> npFW96xWgwnTo3ae_33a_Tolekbs_nblgVVzqgkkFGc9aJjPjOg0x51jbYfVr8FDslcq5g</
> authToken><clientEmail>client_1+ernni...@gmail.com</
> clientEmail><userAgent>Katana Agent</
> userAgent><developerToken>*********************</
> developerToken><applicationToken>*****************</applicationToken></
> 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>64446</
> campaignId><targets xsi:type="CityTarget"><cityName>Bishop's</
> cityName><provinceCode>Stortford</provinceCode><countryCode>ENG</
> countryCode><excluded>false</excluded></targets><targets
> xsi:type="CityTarget"><cityName>Dunstable</cityName><provinceCode>ENG</
> provinceCode><countryCode>GB</countryCode><excluded>false</excluded></
> targets><targets xsi:type="CityTarget"><cityName>Luton</
> cityName><provinceCode>ENG</provinceCode><countryCode>GB</
> countryCode><excluded>false</excluded></targets><targets
> xsi:type="CityTarget"><cityName>Milton</cityName><provinceCode>Keynes</
> provinceCode><countryCode>ENG</countryCode><excluded>false</excluded></
> targets></operand></operations></mutate></SOAP-ENV:Body></SOAP-
> ENV:Envelope>
>
> Response:
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</
> faultcode><faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> @ </faultstring><detail><ApiExceptionFault xmlns="https://
> adwords.google.com/api/adwords/cm/
> v200906"><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
> message><ApplicationException.Type>ApiException</
> ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:type="InternalApiError"><fieldPath></
> fieldPath><trigger></trigger><ApiError.Type>InternalApiError</
> ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
> ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> Thanks
> --Ernnie
>
> On Aug 26, 11:36 pm, AdWords API Advisor
>
> <adwordsapiadvi...@google.com> wrote:
> > Hi Ernnie,
>
> > This appears to be a new issue, even though the error code is the same
> > in the returned SOAP fault.  The core engineering team is looking into
> > the issue now, and I'll let you know when I get more information.
>
> > Best,
> > - Eric
>
> > On Aug 26, 4:46 am, ernnie <ernni...@gmail.com> wrote:
>
> > > Eric,
>
> > > Here's another call when retrieving active campaigns
> > > August 26, 2009 16:46 GMT+8
> > > btw i call this on sandbox.
> > > Request:
>
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> > > envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xmlns:ns1="https://adwords.google.com/api/adwords/cm/v200906";><SOAP-
> > > ENV:Header><RequestHeader xmlns="https://adwords.google.com/api/
> > > adwords/cm/
> > > v200906"><authToken>DQAAAH4AAACzSFjBeZjgMieNCfw12N0H8ePLGlTvgv3w94HLYEzMCXu
> > >  jH2m83s-
> > > QtCseVOFY_szVJ8IZhYZ9b6otE2SPzCwMc6Cn1R88DoY9Bvz5BiqSW0dSD3CykLEBhkhI0EwQXX
> > >  _4cT4PsxfEPajlGY42XxAZyfRt5vAfkGrcHlIkYoPScQ</
> > > authToken><clientEmail>client_1+ernni...@gmail.com</
> > > clientEmail><userAgent>Katana Agent</
> > > userAgent><developerToken>******************</
> > > developerToken><applicationToken>***************</applicationToken></
> > > RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><get xmlns="https://
> > > adwords.google.com/api/adwords/cm/
> > > v200906"><selector><campaignStatuses>ACTIVE</campaignStatuses></
> > > selector></get></SOAP-ENV:Body></SOAP-ENV:Envelope>
>
> > > Response:
>
> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> > > envelope/"><soap:Header><ResponseHeader xmlns="https://
> > > adwords.google.com/api/adwords/cm/
> > > v200906"><requestId>94c3feebe08d9caea1de2956080dca00</
> > > requestId><operations>1</operations><responseTime>951</
> > > responseTime><units>1</units></ResponseHeader></
> > > soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
> > > faultcode><faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > @ </faultstring><detail><ApiExceptionFault xmlns="https://
> > > adwords.google.com/api/adwords/cm/
> > > v200906"><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
> > > message><ApplicationException.Type>ApiException</
> > > ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
> > > XMLSchema-instance" xsi:type="InternalApiError"><fieldPath></
> > > fieldPath><trigger></trigger><ApiError.Type>InternalApiError</
> > > ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
> > > ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> > > Thanks
> > > --Ernnie
> > > On Aug 26, 2:42 pm, ernnie <ernni...@gmail.com> wrote:
>
> > > > Eric,
>
> > > > Again I'm experiencing the same error, Here's the soap request &
> > > > response btw. August 26, 2009 GMT+8 14:44
>
> > > > Request:
>
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> > > > envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
> > > > v200906"><SOAP-ENV:Header><RequestHeader xmlns="https://
> > > > adwords.google.com/api/adwords/cm/
> > > > v200906"><authToken>DQAAAH8AAADBdoSs3MVwq1ZupoTQ1C33LjvunegOCeIcsbdlsTNQLka
> > > >  
> > > > Uqxlp0i2SdZQJcfZoYbgLArHVa6eIIyvHdZ7rgk1zFKGC5ZRoTOX1d5aIsRR0xpK6BH8XfDpYMm
> > > >  -
> > > > ZsJ0QDj5jE5NtUN3D3YcxtUe5qC7NVgChEJsN2-TZyB8KVcq3sQ</
> > > > authToken><clientEmail>client_1+ernni...@gmail.com</
> > > > clientEmail><userAgent>Katana Agent</
> > > > userAgent><developerToken>****************</
> > > > developerToken><applicationToken>***************applicationToken></
> > > > RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><get xmlns="https://
> > > > adwords.google.com/api/adwords/cm/v200906"><selector></selector></
> > > > get></SOAP-ENV:Body></SOAP-ENV:Envelope>
>
> > > > Response:
>
> > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> > > > envelope/"><soap:Header><ResponseHeader xmlns="https://
> > > > adwords.google.com/api/adwords/cm/
> > > > v200906"><requestId>111c50ca6a2b3fe2c8f799e16bfe5d78</
> > > > requestId><operations>1</operations><responseTime>2029</
> > > > responseTime><units>1</units></ResponseHeader></
> > > > soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
> > > > faultcode><faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > > @ </faultstring><detail><ApiExceptionFault xmlns="https://
> > > > adwords.google.com/api/adwords/cm/
> > > > v200906"><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
> > > > message><ApplicationException.Type>ApiException</
> > > > ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
> > > > XMLSchema-instance" xsi:type="InternalApiError"><fieldPath></
> > > > fieldPath><trigger></trigger><ApiError.Type>InternalApiError</
> > > > ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
> > > > ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> > > > Thanks
> > > > --Ernnie
>
> > > > On Aug 20, 11:32 pm, AdWords API Advisor
>
> > > > <adwordsapiadvi...@google.com> wrote:
> > > > > Hi Tam,
>
> > > > > I've found your entries in the log, and the cause of your error is
> > > > > that you are setting the clientEmail header to your MCC account, not
> > > > > an AdWords client account.  MCC accounts cannot run campaigns, and
> > > > > that was causing the error.  In your example for instance, the
> > > > > clientEmail header should be something like
> > > > > client_1+j_...@google.com.  You can read more about the headers
> > > > > required in the sandbox 
> > > > > here:http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo....
>
> > > > > Best,
> > > > > - Eric
>
> > > > > On Aug 19, 11:24 am, Tam <tam.lani...@tradedoubler.com> wrote:
>
> > > > > > Hi Eric
>
> > > > > > I'm still getting UNEXPECTED_INTERNAL_API_ERROR @  responses to my
> > > > > > soap calls.  I have generated this using your add_campaign.php 
> > > > > > script
> > > > > > although I slightly moved the position of the <endDate> tag and
> > > > > > removed the <currencyCode> from your code so it exactly matches what
> > > > > > you showed in the example, (the one in the link below) just in case
> > > > > > this matters. I'm assuming the order of these fields doesn't matter
> > > > > > anyway, but swapped it to be on the safe side.
>
> > > > > >http://code.google.com/p/adwords-api-xml-samples/source/browse/trunk/...
>
> > > > > > So here is our header with the tags the order suggested in the link
> > > > > > above (authToken, userAgent,developerToken, applicationToken,
> > > > > > clientEmail)
>
> > > > > > (note that I've changed the email but everything else is the same)
>
> > > > > > <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/
> > > > > > v200906">
> > > > > > <authToken>DQAAAHUAAABmo4KIjOHn-
> > > > > > ytmhAg_j_ZqLtKnXUUOvvt6Sy3KIxamrvRPlQrOtP9L_ueEryLHmicXwe3KhSQ8gXw0hxqWR_6z
> > > > > >  dDdjuo-
> > > > > > TSnVW53RZV8LwudeRIRveU4dJK1BbM6mW5d4L08bVplDBpaH7MaKK_B9GMMOIAFL6b6MncgOkWi
> > > > > >  FgOg</
> > > > > > authToken>
> > > > > > <userAgent>blah</userAgent>
> > > > > > <developerToken>j_...@google.com++gbp</
> > > > > > developerToken><applicationToken>blah</applicationToken>
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
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