Skip to content

Signals

Amazon 1P Signals is a valuable feature that allows publishers to share first-party data with advertisers through OpenRTB specifications. By using 1P Signals, advertisers can enhance their targeting capabilities and deliver personalized and relevant ads to their intended audience.

While it's important to include relevant data, keep in mind that a larger request payload may cause longer request latency. Avoid duplicating the same data in multiple fields, such as having identical information in both site.keywords and site.ext.data.keywords.

If you have custom site data that doesn't follow the OpenRTB specification, you can still send it using the site.ext.data object.

NOTE

The initial version of this feature will not support sending these signals in the bid stream to configured TAM bidders. Future iterations of this product will allow bidder recipients to be configured in the APS Publisher Portal.

Implementation

To implement 1P Signals, add the first-party data as a parameter to the ad/signals/define method.

Parameters

ParameterRequiredTypeDescription
contextrequiredobjectcontainer for site object
siteoptionalobjectdetails of the website calling for the impression

Highly recommended signals

site.cat - site category
site.pagecat - page category
site.sectioncat - section category
site.keywords - site keywords

Example

js
// define signals
aps.record("ad/signals/define", {
  context: {
    // site details
    site: {
      name: "APS Integration Toolbox",
      domain: "aps-sandbox.net",
      page: "https://aps-sandbox.net/test-pages/signals.html",
      cattax: 7,
      cat: ["596", "599", "602"],
      pagecat: ["596", "599", "602"],
      sectioncat: ["596", "599", "602"],
      keywords: "ad tech, ad tools, javascript, documentation",
    },
  },
});
// define signals
aps.record("ad/signals/define", {
  context: {
    // site details
    site: {
      name: "APS Integration Toolbox",
      domain: "aps-sandbox.net",
      page: "https://aps-sandbox.net/test-pages/signals.html",
      cattax: 7,
      cat: ["596", "599", "602"],
      pagecat: ["596", "599", "602"],
      sectioncat: ["596", "599", "602"],
      keywords: "ad tech, ad tools, javascript, documentation",
    },
  },
});

OpenRTB parameters

site

ParameterRequiredTypeDescription
cattaxrequiredintegerThe taxonomy in use. Refer to the AdCOM list List: Category Taxonomies for values.
catrequiredstring arrayArray of IABTL content categories of the site. The taxonomy to be used is defined by the cattax field.
sectioncatrecommendedstring arrayArray of IABTL content categories that describe the current section of the site. The taxonomy to be used is defined by the cattax field.
pagecatrecommendedstring arrayArray of IABTL content categories that describe the current page or view of the site. The taxonomy to be used is defined by the cattax field.
keywordsrecommendedstringComma separated list of keywords about the site. Only one of ‘keywords’ or ‘kwarray’ may be present.
nameoptionalstringSite name (may be aliased at the publisher’s request).
domainoptionalstringDomain of the site (e.g., “mysite.foo.com”).
pageoptionalstringURL of the page where the impression will be shown.
refoptionalstringReferrer URL that caused navigation to the current page.
searchoptionalstringSearch string that caused navigation to the current page.
mobileoptionalintegerIndicates if the site has been programmed to optimize layout when viewed on mobile devices, where 0 = no, 1 = yes.
privacypolicyoptionalintegerIndicates if the site has a privacy policy, where 0 = no, 1 = yes.
publisheroptionalobjectDetails about the Publisher (Section 3.2.15) of the site.
contentoptionalobjectDetails about the Content (Section 3.2.16) within the site.
kwarrayoptionalstring arrayArray of keywords about the site. Only one of ‘keywords’ or ‘kwarray’ may be present.
extoptionalobjectPlaceholder for exchange-specific extensions to OpenRTB.