Hi there 

I'm trying to understand the length restrictions of the destination URL but 
I'm finding very conflicting results.

The documentation says the API supports 2083 bytes in UTF-8
https://developers.google.com/adwords/api/docs/appendix/limits 

But when submitting the following request:

<soap:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
      <operations>
        <operator>ADD</operator>
        <operand xsi:type="BiddableAdGroupCriterion">
          <adGroupId>8110491145</adGroupId>
          <criterion xsi:type="Keyword">
            <text>mars cruise</text>
            <matchType>BROAD</matchType>
          </criterion>
          <userStatus>PAUSED</userStatus>
          
<destinationUrl>http://example.com/mars/cruise/23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456123456789034567890123456789012345678901234567890123456789012345678901234567890123456789023456789012345678905678901234567890123456789089012345678901234561234567890123456789072789012323456789012345678901234567890123456789012345/789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234561234567890345678901234567890789012345678901234567890890123456778901234567890123456789089012345677890123456789012345678908901234567789012345678901234567890890123456778901234567890123456789089012345677890123456789012345678908901234567123456789012345678901234567890123456787890123456789012345678908901234567789012345678901234567890890123456778901234567890123456789089012345679017890123456789012345678908901234567789012345678901234567890890123456778901234567890123456789089012345672345678901234567890234567890123456789056789012345678901234567890890123456778901234567890178901234567890123456789089012345677890123456789012345678908901778901234567890123456789089012345677890123456789012345678908901234567890123456789012345678908901234567234567234567890890123456778901234567890123456789089567890123401234561234567890123456789027123813Darren2048</destinationUrl>
        </operand>
      </operations>
    </mutate>
  </soap:Body>

This URL is clearly 2048 bytes in UTF-8

And then this article says 2048 characters.
https://support.google.com/adwords/answer/2404246?hl=en

Then when i tried in the ad words editor I was able to successfully post a 
URL that's 2083 characters. 

So what's the exact behavior that is supported?

Thanks,
Darren

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to