Macros Needed for Adtag Creation

Step 1: Confirm Platform Support for Third-Party Ads

Before proceeding with integration, please confirm whether your platform supports third-party ads. If third-party ad serving is supported, provide the necessary ad-serving macros to ensure seamless integration.

Example 1: Macros for DV360

  • ${CAMPAIGN_ID} – Returns the ID of the line item that served the impression.
  • ${CLICK_URL_ENC} – Inserts the Display & Video 360 click tracking URL.
  • ${CACHEBUSTER} – Inserts a random number into the ad request URL to prevent cached ads from being served.

Source: Google Support - DV360 Macros

Example 2: Macros for DFP (Google Ad Manager)

  • %ecid! – Returns the creative ID.
  • %%CLICK_URL_ESC%% – Expands to a special URL for tracking clicks in Ad Manager for third-party creatives.
  • %%CACHEBUSTER%% – Returns a random value to prevent caching of the ad request.

Source: Google Support - Ad Manager Macros

Macros Required by HockeyCurve

To integrate ads effectively, HockeyCurve requires the following macros:

  • Click Macro – To track clicks and redirect users correctly.
  • Cachebuster – To ensure fresh ad impressions are served.

Please provide these macros in the same format or share a document containing the details.


Step 2: Sample Ad Tag & Sandbox Review

Once the required macros are received, HockeyCurve will generate a sample ad tag for testing. During this phase, we will verify whether the ad is placed inside a sandboxed iframe. If a sandboxed iframe is detected, click tracking may not function correctly, requiring further adjustments.


Step 3: Final Ad Tag Submission

Upon successful testing and approval, HockeyCurve will proceed with sharing the final ad tags for deployment.