What Macros does Cedato support?

Have more questions? Submit a request

When you create a Demand item, you must change the URL and SubID macros. Optionally, you can set additional macros.

Note: Cedato uses square brackets. Curly brackets {} cannot be used.

These macros are supported:

Macro Description
[URL] Full URL where the Supply is located
[DOMAIN] Domain where the Supply is located
[CONTAINER_WIDTH] or [WIDTH] Width of the Supply
[CONTAINER_HEIGHT] or [HEIGHT] Height of the Supply
[CACHE_BUSTER] Cache buster
[CB] Cache buster
[IP] User IP address
[UA] User agent 
[GDPR] Indicates whether the GDPR consent by the user is needed. if yes will pass 1, otherwise will pass 0 
[GDPR_CONSENT] Passes the IAS user consent for sharing data string
[US_PRIVACY]  US Privacy/CCPA string, e.g. "1YNN"
[SCHAIN]  Complete schain string as received by supply, e.g. "1.0,1!exchange1.com,1234,1,bid-request-1,publisher,publisher.com
[SCHAIN_SID]  First sid from the schain object received by supply, e.g. 1234 from "1.0,1!exchange1.com,1234,1,bid-request-1,publisher,publisher.com" 
[VIDEO_ID] Content video/image ID
[VIDEO_DESCRIPTION] Content video/image description
[VIDEO_DURATION] Content video/image duration
[VIDEO_KEYWORDS] Content video/image keywords
[VIDEO_FILE_URL] Content video/image file URL
[VIDEO_TITLE] Content video/image title
[VIDEO_CATEGORY] Content video/image category according to IAB
[VIDEO_LENGTH] Content video/image length
[DNT] Do not track settings: 0 for no, 1 for yes
[AUTOPLAY] Ad was autoplayed: 0 for no, 1 for yes
[MUTED] Ad was played muted: 0 for no, 1 for yes
[CONN_TYPE] Connection type
[DEVICE_CARRIER] Device carrier
[DEVICEOS] Device OS
[DEVICEOSV] Device OS version
[DEVICEMAKE] Device make
[DEVICEMODEL] Device model
[DEVICEID] Device ID 
[SUPPLY_ID] The ID of the Supply 
[DEMAND_ID]  The ID of the Demand 
[APP_NAME] App name
[APP_VER] App version
[APP_BUNDLE] App bundle, replaced by Supply parameter 'appb'
[APP_STORE_URL] App store URL
[APP_IDFA] iOS advertising ID
[APP_AID] Android advertising ID
[APP_IDFV] appidfv
[APP_ATTS] appatts
[IFA]  Advertising ID 
[IFA_HEX]  HEX hashed Advertising ID 
[IFA_MD5]  MD5 hashed Advertising ID 
[IFA_SHA1]  SHA1 hashed Advertising ID 
[APP_IDFA_MD5] iOS advertising ID, replaced by Supply parameter 'appidfa' and MD5 hashed
[APP_AID_MD5] Android advertising ID, replaced by Supply parameter 'appaid' and MD5 hashed
[APP_IDFA_SHA1] iOS advertising ID, replaced by Supply parameter 'appidfa' and SHA1 hashed
[APP_AID_SHA1] Android advertising ID, replaced by Supply parameter 'appaid' and SHA1 hashed
[APP_STORE_ID] App store ID
[APP_CATEGORY] App category
[COUNTRY_ID] Country
[LOCATION] Location
[LOCATION_LONG] Location longitude
[LOCATION_LAT] Location latitude
[AD_POSITION] Position of the Ad on users screen replaced by Supply parameter 'adposition'
[PAGE_CATEGORY] Page category according to IAB replaced by Supply parameter 'pagecat'
[SITE_TITLE] The title of the site replaced by Supply parameter 'sitetitle'
[SITE_CATEGORY] Site category according to IAB replaced by Supply parameter 'sitecat'
[SUBID] Value replaced by Supply parameter 'sid'
[REFERRER_URL] Referrer URL (URL of the webpage that redirected the user to the page of the Supply)
[CUSTOM1] - [CUSTOM20] Custom macro replaced by Supply parameter 'c1' to 'c20'

To learn more about configuring custom macros, see: How do I add custom macros?

Related articles

Was this article helpful?
0 out of 0 found this helpful