Thanks Josh,
We'll add that validation to our system. I'll assume the complete list of
variants is the 5 I included in my original post.
On Friday, May 22, 2015 at 2:14:49 AM UTC+10, Josh Radcliff (AdWords API
Team) wrote:
> Hi James,
>
> I spoke with our resident upgraded URLs expert, and it turns out that all
> "shared" templates require *{lpurl}* or one of its variants in the
> *trackingUrlTemplate*. By "shared", I mean all templates at the account,
> campaign, or ad group level. See the third bullet point in the Prepare
> for Upgraded URLs section of our guide
> <https://developers.google.com/adwords/api/docs/guides/upgraded-urls#prepare_for_upgraded_urls>
> .
>
> Sorry for the initial confusion on my part. Hope this clears things up.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, May 20, 2015 at 9:38:01 PM UTC-4, james wrote:
>>
>> Thanks for following up Josh.
>> The most recent request ID which failed is
>> 00051683883f9f180ab6c8c533004b1e
>>
>> The error is:
>> <errorString>UrlError.MISSING_TRACKING_URL_TEMPLATE_TAG</errorString>
>> <ApiError.Type>UrlError</ApiError.Type>
>> <reason>MISSING_TRACKING_URL_TEMPLATE_TAG</reason>
>> For comparision an update which worked on the same adgroup is:
>> 0005168d889cd2a10ab63c055e003214
>>
>> I have full SOAP request and response to if needed.
>>
>> Thanks
>>
>> On Thursday, May 21, 2015 at 6:57:48 AM UTC+10, Josh Radcliff (AdWords
>> API Team) wrote:
>>
>>> Hi,
>>>
>>> At the campaign and ad group level, you shouldn't have to include the
>>> *{lpurl}* parameter or one of its variants. In fact, I just tried
>>> creating a template without *{lpurl}* and it was successful.
>>>
>>> However, if you are setting the tracking template for a *Dynamic Search
>>> Ad* or *Product Ad*, you do have to include the *{lpurl}* parameter or
>>> one of its variants (see our Dynamic Search Ads guide
>>> <https://developers.google.com/adwords/api/docs/guides/dynamic-search-ads#creating_a_dynamic_search_ad>
>>> ).
>>>
>>> If you're getting this error when trying to set the template at the
>>> campaign or ad group level (or for an ad type besides *DynamicSearchAd* or
>>> *ProductAd*), could you send over the *requestId* from the failed
>>> request so I can investigate further?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, May 20, 2015 at 9:44:17 AM UTC-4, james wrote:
>>>>
>>>> Hi,
>>>> I am hoping that someone could point me to a clear set of rules as to
>>>> what is allowed in Campaign and Adgroup level tracking templates.
>>>> From our testing it looks as if they are required to contain the
>>>> {lpurl} token (or one of its variants).
>>>> I have tried other tokens: {keyword} {creative} {targetid}
>>>> {_customwhatever} but always fail with the
>>>> MISSING_TRACKING_URL_TEMPLATE_TAG error.
>>>>
>>>> So is this a definite rule that Adgroup/Campaign tracking templates
>>>> must contain {lpurl} (or one of its variants)?
>>>>
>>>> If so, is the complete list as shown here:
>>>> https://support.google.com/adwords/answer/2375447?hl=en-AU
>>>> {lpurl}
>>>> {lpurl+2}
>>>> {lpurl+3}
>>>> {unescapedlpurl}
>>>> {escapedlpurl}
>>>> or are there others that are also allowed?
>>>>
>>>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
---
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 [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/13b65b4b-b59d-4a23-a1a6-bf967ce3b8b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.