Hello, 

We recently realized that {lpurl} and it +2, +3 variants *do not* encode 
forward slashes or colons and therefore leave http:// un-encoded. This is 
an issue because we regularly deal with redirects chains or 2 or 3 sites 
and some of those sites appear confused when http:// is not 
http%25%3A%252F%252F (encoded twice).

To remedy this we were going to switch to {escapedlpurl} and it's +2, +3 
variants as documented 
here: https://support.google.com/adwords/answer/6305348?hl=en&ref_topic=6031980

However, we seem unable to set a tracking template with this field using 
the UI or the API:
<https://lh3.googleusercontent.com/-Hkgsu1sozLo/VvKvcDckNCI/AAAAAAAAAAs/wD1Q0v2xin02lX4WwH8qyvrAgpcn9mMTw/s1600/escapedlpurl.png>


SOAP Request/Response pair:

<?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";>
   <SOAP-ENV:Header>
      <RequestHeader xmlns="https://adwords.google.com/api/adwords/mcm/v201601";>
         <clientCustomerId 
xmlns="https://adwords.google.com/api/adwords/cm/v201601";>REDACTED</clientCustomerId>
         <developerToken 
xmlns="https://adwords.google.com/api/adwords/cm/v201601";>REDACTED</developerToken>
         <userAgent 
xmlns="https://adwords.google.com/api/adwords/cm/v201601";>REDACTED</userAgent>
         <validateOnly 
xmlns="https://adwords.google.com/api/adwords/cm/v201601";>false</validateOnly>
         <partialFailure 
xmlns="https://adwords.google.com/api/adwords/cm/v201601";>false</partialFailure>
      </RequestHeader>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
      <mutate xmlns="https://adwords.google.com/api/adwords/mcm/v201601";>
         <customer>
            <customerId>8132517581</customerId>
            <currencyCode>USD</currencyCode>
            <dateTimeZone>America/New_York</dateTimeZone>
            <descriptiveName>SE - Retail - AdWords</descriptiveName>
            <testAccount>false</testAccount>
            <trackingUrlTemplate>REDACTED</trackingUrlTemplate>
         </customer>
      </mutate>
   </SOAP-ENV:Body></SOAP-ENV:Envelope>


<?xml version="1.0" encoding="UTF-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Header>
      <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/mcm/v201601"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201601";>
         <ns2:requestId>00052eb8ad9d81100a81304671065329</ns2:requestId>
         <ns2:serviceName>CustomerService</ns2:serviceName>
         <ns2:methodName>mutate</ns2:methodName>
         <ns2:operations>1</ns2:operations>
         <ns2:responseTime>43</ns2:responseTime>
      </ResponseHeader>
   </soap:Header>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>[UrlError.MISSING_TRACKING_URL_TEMPLATE_TAG @ 
customer.trackingUrlTemplate; trigger:'REDACTED']</faultstring>
         <detail>
            <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/mcm/v201601"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201601";>
               <ns2:message>[UrlError.MISSING_TRACKING_URL_TEMPLATE_TAG @ 
customer.trackingUrlTemplate; trigger:REDACTED']</ns2:message>
               
<ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
               <ns2:errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ns2:UrlError">
                  <ns2:fieldPath>customer.trackingUrlTemplate</ns2:fieldPath>
                  <ns2:trigger>REDACTED/ns2:trigger>
                  
<ns2:errorString>UrlError.MISSING_TRACKING_URL_TEMPLATE_TAG</ns2:errorString>
                  <ns2:ApiError.Type>UrlError</ns2:ApiError.Type>
                  <ns2:reason>MISSING_TRACKING_URL_TEMPLATE_TAG</ns2:reason>
               </ns2:errors>
            </ApiExceptionFault>
         </detail>
      </soap:Fault>
   </soap:Body></soap:Envelope>


Any advice on why this happens? I can provide any more needed information.

Thanks. 
Hunter. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eea2f10b-1199-48c2-910d-61450d0e1d27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to