In some cases, you may want to manually trigger a user sync without waiting for the automatic flow. This can be useful if you want to ensure that your users have the appropriate ID mappings early in their session.
To manually initiate a user sync with Gamoshi's platform, you can load the following iframe:
<iframe
src="https://resources.gamoshi.io/user_sync/load-cookie.html"
style="display:none;"
width="0"
height="0">
</iframe>
width="0" height="0"
and display:none
styling).
You can customize the behavior of the user sync by passing optional
URL parameters when constructing the iframe src
URL.
Parameter | Description |
---|---|
bidder | If specified, restricts the sync to the given bidder(s). Comma-separated for multiple bidders. |
gdpr |
Set to 0 (not subject to GDPR) or
1 (subject to GDPR).
|
gdpr_consent | A base64-encoded GDPR consent string (TCF v2.0 format). |
us_privacy |
A string representing the CCPA/USP consent (us_privacy
string).
|
gpp | A base64-encoded GPP string (Global Privacy Platform). |
gpp_sid | A comma-separated list of GPP Section IDs. |
max_sync_count | Limits the maximum number of bidders to sync in one call (integer value). |
Note: You do not need to specify
an endpoint
— the endpoint is already fixed to
https://resources.gamoshi.io/user_sync/load-cookie.html
.
<iframe
src="https://resources.gamoshi.io/user_sync/load-cookie.html?bidder=33across,adform,ix&gdpr=1&gdpr_consent=CONSENT_STRING_HERE"
style="display:none;"
width="0"
height="0">
</iframe>
(function() {
var iframe = document.createElement('iframe');
iframe.style.display = 'none';
iframe.width = '0';
iframe.height = '0';
iframe.src = 'https://resources.gamoshi.io/user_sync/load-cookie.html?bidder=33across,adform,ix&gdpr=1&gdpr_consent=CONSENT_STRING_HERE';
document.body.appendChild(iframe);
})();
When using the bidder
parameter, you can choose from
the following supported bidder codes:
152media | 33across | aax | aceex |
acuityads | addigi | adelement | adf |
adform | adgeneration | adhese | adinify |
adkernel | adkernelAdn | adman | admatic |
admaticde | admixer | adnuntius | adocean |
adoppler | adot | adpone | adport |
adprime | adquery | adrino | ads_interactive |
adsinteractive | adsyield | adt | adtarget |
adtelligent | adtonos | adtrgtme | aduptech |
advangelists | adverxo | adview | adxcg |
adyoulike | aidem | aja | algorix |
alkimi | amx | apacdex | appnexus |
appstock | appush | artechnology | aso |
audienceNetwork | automatad | avocet | axis |
axonix | bcmint | beachfront | beintoo |
bematterfull | between | beyondmedia | bidgency |
bidmachine | bidmatic | bidmyadz | bidscube |
bidsmind | bidstack | bidtheatre | bigoad |
blasto | bliink | blue | bluesea |
bmtm | boldwin | brave | bwx |
cadent_aperture_mx | ccx | cointraffic | coinzilla |
colossus | compass | concert | connatix |
connectad | connektai | consumable | conversant |
copper6 | copper6ssp | cpmstar | criteo |
Note: For the full bidder list, please refer to the complete documentation or contact Gamoshi support or check out this list Bidders.