Yahoo! Ads

Yahoo! Ads Help

Tracking Parameters

You can add tracking parameters to your landing page URL or tracking URL. Tracking parameters can be used separately from the custom parameters, and this can give you more choice of tracking methods.

Note
Tracking parameters can be used only for primary usage of measurement purpose in your company. Secondary usage such as to provide, transfer and sell the given data is not allowed.

Available tracking parameters for Search Ads

Parameter Given value URL format sample
{creative}

Ad Tracking ID

An ID assigned to each ad for tracking purposes. Different from Ad ID.

Landing page URL
http://www.example.com/?creative={creative}

Tracking URL
http://www.example.com/?lp={lpurl}&creative={creative}

{keyword} Bidding keyword

Landing page URL
http://www.example.com/?keyword={keyword}

Tracking URL
http://www.example.com/?lp={lpurl}&keyword={keyword}

{matchtype}

Match type of the keyword

e: Exact match
p: Phrase match
b: Broad match

Landing page URL
http://www.example.com/?matchtype={matchtype}

Tracking URL
http://www.example.com/?lp={lpurl}&matchtype={matchtype}

{device}

Device type

m: Smartphone and mobile
t: Tablet
c: PC

Landing page URL
http://www.example.com/?device={device}

Tracking URL
http://www.example.com/?lp={lpurl}&device={device}

{targetid}

Target setting tracking ID

Keyword ID for ad delivery (kwd), target list ID for site retargeting (aud), and target setting ID for Dynamic Ads for Search (dsa) appear.

Example:
When Target ID is '456' and keyword ID is '123', {targetid} is "aud-456:kwd-123."

Landing page URL
http://www.example.com/?targetid={targetid}

Tracking URL
http://www.example.com/?lp={lpurl}&targetid={targetid}

{campaignid}

Campaign tracking ID

An ID assigned to each campaign for tracking purpose. Differs from Campaign ID.

Landing page URL
http://www.example.com/?campaignid={campaignid}

Tracking URL
http://www.example.com/?lp={lpurl}&campaignid={campaignid}

{adgroupid}

Ad group tracking ID

An ID assigned to each Ad group for tracking purpose. Differs from Ad group ID.

Landing page URL
http://www.example.com/?adgroupid={adgroupid}

Tracking URL
http://www.example.com/?lp={lpurl}&adgroupid={adgroupid}

{feeditemid}

Ad display option tracking ID

An ID assigned to each Ad display option such as QuickLinks, Callout, etc. for tracking purpose. Differs from Ad display option ID.

Example

For ads with Ad display option, when QuickLink1 is clicked,the tracking ID for QuickLink1 will be added to {feeditemid}.

  • QuickLink1
  • QuickLink2
  • Callout1

 

Landing page URL
http://www.example.com/?feeditemid={feeditemid}

Tracking URL
http://www.example.com/?lp={lpurl}&feeditemid={feeditemid}

{ifmobile:[optional value]} An optional value is given for the access from mobile devices such as smartphone.
(* 1)
(* 1)
{ifnotmobile:[optional value]} An optional value is given for the access from PC / Tablet.
(* 1)
(* 1)
{lpurl} Add landing page URL to the {lpurl} to set as Tracking URL.
(* 2)

Example for landing page URL http://www.example.com /?param=1

  • Tracking URL:
    http://www.example.com /?lp={lpurl}
  • The URL after ad click:
    http://www.example.com /?lp=http://www.example.com /%3Fparam%3D1

(* 2)

{lpurl+2}
Used when encoding symbols (?, =, “, #, t, ‘,) and a blank space twice is needed in the tracking URL that includes "lpurl" (Landing page URL).

Example for landing page URL http://www.example.com/?param=1

  • Tracking URL:
    http://www.example.com/?lp={lpurl+2}
  • The URL after ad click:
    http://www.example.com/?lp=http://www.example.com/%253Fparam%253D1
{lpurl+3}
Used when encoding symbols (?, =, “, #, t, ‘,) and a blank space three times is needed in the tracking URL that includes "lpurl" (Landing page URL).

Example for landing page URL http://www.example.com /?param=1

  • Tracking URL:
    http://www.example.com/?lp={lpurl+3}
  • The URL after ad click:
    http://www.example.com/?lp=http://www.example.com/%25253Fparam%25253D1
{unescapedlpurl}
Used when no encoding is needed in the tracking URL that includes "lpurl" (Landing Page URL). Available only in the beginning of URL.

Example for landing page URL http://www.example.com /?param=1

  • Tracking URL:
    {unescapedlpurl}&param2=2
  • The URL after ad click:
    http://www.example.com/?param=1&param2=2
{escapedlpurl}
Used when encoding of symbols (:, /, ?, =, %,) is needed in the tracking URL which includes "lpurl" (Landing Page URL).

Example for landing page URL http://www.example.com /?param=1

  • Tracking URL:
    http://www.example.com/?lp={escapedlpurl}
  • The URL after ad click:
    http://www.example.com/?lp=http:%3A%2F%2Fwww.example.com%2F%3Fparam%3D
{escapedlpurl+2}
Used when encoding of symbols (:, /, ?, =, %,) twice is needed in the tracking URL which includes "lpurl" (Landing Page URL).

Example for landing page URL http://www.example.com /?param=1

  • Tracking URL:
    http://www.example.com/?lp={escapedlpurl+2}
  • The URL after ad click:
    http://www.example.com/?lp=http:%253A%252F%252Fwww.example.com%252F%253Fparam%253D1
{escapedlpurl+3}
Used when encoding of symbols (:, /, ?, =, %,) three times is needed in the tracking URL which includes "lpurl" (Landing Page URL).

Example for landing page URL http://www.example.com /?param=1

  • Tracking URL:
    http://www.example.com/?lp={escapedlpurl+3}
  • The URL after ad click:
    http://www.example.com/?lp=http:%25253A%25252F%25252Fwww.example.com%25252F%25253Fparam%25253D1

*1 Difference between {ifmobile:} and {ifnotmobile:}

{ifmobile: any value}:

You can add optional value for smartphone access by setting this parameter. Converting to a smartphone-optimized URL and adding parameters will become available.

{ifnotmobile: any value} :

You can add optional value for PC or tablet access by setting this parameter. Converting to PC or tablet-optimized URL and adding parameters will become available.

Example 1) Using {ifmobile:}_
Case sample 1

Example 2) Combination of parameters
Case sample 2

Available setting

'ifmobile' and 'ifnotmobile' are available for landing page URL, tracking URL and custom parameters. However, they are not available for the smartphone landing page URL.

Available URL formats when creating ads

URL sample Available? Descriptions
http://{ifmobile:m.}xxxxx.co.jp Yes Drives correctly for PC/Tablet and Smartphone pages
http://{ifmobile:m}.xxxxx.co.jp No Doesn't drive correctly for PC/Tablet pages because the "." (dot) isn't included in the parameter
http://{ifnotmobile:www.}{ifmobile:m.}xxxxx.co.jp Yes Drives correctly for PC/Tablet and smartphone pages
http://{ifmobile:m.xxxxx.co.jp} No Not allowed when there is only "ifmobile" or "ifnotmobile" after http://
http://{ifmobile:m.xxxxx.co.jp}{ifnotmobile:yyyyy.co.jp} No Not allowed when the domains of URL don't match.(*1)
{ifnotmobile:http://www.xxxxx.co.jp} No Not allowed when only consists with the parameter
http://www.{ifmobile:xxxxx}{ifnotmobile:yyyyy}.co.jp No Not allowed when the domains of URL don't match.(*1)
http://xxxxx.co.jp/?o={ifmobile:00000} Yes Adding parameter at the end of URL for tracking is available

*Using these URL formats for "Extended Text Ad" will be out of Editorial Guideline's scope even if the domains of URL don't match. Learn more on Guidelines.

*2 More about {lpurl}

When you set this parameter, landing page URL is automatically added in the place where tracking URL is set.
Include {lpurl} when using "Tracking URL" at account, campaign or ad group level.
Adding '?' symbol after {lpurl} is recommended. In this case, the '?' symbol may be replaced with '&' (ampersand) or other string.

Example of using '?' symbol and replaced URL

Cases Item Put {lpurl} at start Put {lpurl} at anywhere except start
Not including '?' symbol in Landing Page URL Landing page URL
http://example.com/
Tracking URL {lpurl}?param=xxx http://rd.example.com/?lp={lpurl}%3F&param=xxx
The URL after ad click http://example.com/?param=xxx http://rd.example.com/?lp=http://www.example.com/%3F&param=xxx
Including '?' symbol in Landing Page URL Landing page URL
http://example.com/?
Tracking URL {lpurl}?param=xxx http://rd.example.com/?lp={lpurl}%3F&param=xxx
The URL after ad click http://example.com?&param=xxx http://rd.example.com/?lp=http://www.example.com/%3F%26&param=xxx