How to get the assetId of an advertisement
From Legacy Roblox Wiki
- Note: This page is intended for more experienced ROBLOXians. The average ROBLOXian may not fully understand it.
Normally when you right-click a user-made ad and click Copy image URL, you'll get a cryptic URL that you can't use in games like http://t6ak.roblox.com/23a38cfb12c850d4d27affebf972e60f. But, when you follow these specific instructions, you can get the assetId of a user-made ad.
Steps
- Create your ad and save it wherever you please. If you want to get someone else's ad, just Right Click on the ad > Save image as... > Select file path and name > Save. I saved mine as "LuaLearners Ad" in my Pictures library.
- Go to The Decal creation page in a separate tab and select some random picture, but DO NOT UPLOAD IT YET.
- Go to one of your places, click Advertise this Place, and select your ad.
- Upload your ad, quickly change the tab and upload your decal.
- Now, go to your decals and click on the decal you just uploaded.
- Subtract one from the id value in the URL until you get to the page of your decal.
Now you can use the id in the URL as the id of any image-displaying object in any game, but keep in mind that it doesn't work like a decal: anyone can use an ad's image.
See also
Roblox Developers’ Journal - It’s the Economy…, scroll down to the section on User to User Advertising How Advertising Works ROBLOX Help Desk: How to make Ads