I have noticed that on many of my ads the ad parameters are not
updating and the default parameter is being used, but I can see no
reason for it.

I get no errors when setting the new parameters (soap details below).

One thing I am suspecting is that there is a problem with the currency
symbol (in my case £). Say I set the price to £1000. That is 5
characters long. When I look at the xml response I see that this is
translated to £1000 (&#xA3 ;1000 in case it hasn't displayed
properly) which is 11 characters long.

Is this 11 characters getting counted towards the overall length of
the ad headline, and because it is too long drops back to the default
setting? Or any other ideas?

[Jul 15 2010 17:55:36.000000 - INFO] POST /api/adwords/cm/v200909/
AdParamService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.12, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 750

<?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/
v200909" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader xsi:type="ns1:RequestHeader">
      <ns1:applicationToken>******uA</ns1:applicationToken>
      <ns1:authToken>*****</ns1:authToken>
      <ns1:clientEmail>ke...@****.co.uk</ns1:clientEmail>
      <ns1:developerToken>*****</ns1:developerToken>
      <ns1:userAgent>PHP v5.2.12 - AdWords API PHP Client Library -
v2.0.0 - Kevins Scripts</ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:mutate>
      <ns1:operations>
        <ns1:operator>SET</ns1:operator>
        <ns1:operand>
          <ns1:adGroupId>1911126676</ns1:adGroupId>
          <ns1:criterionId>18623363596</ns1:criterionId>
          <ns1:insertionText>£1215</ns1:insertionText>
          <ns1:paramIndex>1</ns1:paramIndex>
        </ns1:operand>
      </ns1:operations>
      <ns1:operations>
        <ns1:operator>SET</ns1:operator>
        <ns1:operand>
          <ns1:adGroupId>1911126676</ns1:adGroupId>
          <ns1:criterionId>18623363596</ns1:criterionId>
          <ns1:insertionText>5</ns1:insertionText>
          <ns1:paramIndex>2</ns1:paramIndex>
        </ns1:operand>
      </ns1:operations>
    </ns1:mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Encoding: gzip
Transfer-Encoding: chunked
Date: Thu, 15 Jul 2010 17:55:36 GMT
Expires: Thu, 15 Jul 2010 17:55:36 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
v200909">
      <requestId>91cb4ff7f25522e78b25cb300d6a08d9</requestId>
      <operations>2</operations>
      <responseTime>179</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <mutateResponse xmlns="https://adwords.google.com/api/adwords/cm/
v200909">
      <rval>
        <adGroupId>1911126676</adGroupId>
        <criterionId>18623363596</criterionId>
        <insertionText>&#xA3;1215</insertionText>
        <paramIndex>1</paramIndex>
      </rval>
      <rval>
        <adGroupId>1911126676</adGroupId>
        <criterionId>18623363596</criterionId>
        <insertionText>5</insertionText>
        <paramIndex>2</paramIndex>
      </rval>
    </mutateResponse>
  </soap:Body>
</soap:Envelope>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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