Stay organized with collections
Save and categorize content based on your preferences.
This guide is intended for developers who want to use the GameSnacks Partner API
to get games for their game centers. This guide assumes that you're familiar
with web programming concepts and web data formats.
Prerequisites
Before you can start, there are a few things you need to do:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-24 UTC."],[[["\u003cp\u003eThis guide helps developers integrate GameSnacks games into their game centers using the GameSnacks Partner API.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should have an AdSense account and be familiar with AdSense and the GameSnacks Partner console before starting.\u003c/p\u003e\n"],["\u003cp\u003eTo use the API, developers need to allowlist their Google Cloud project and email via a provided form to avoid permission errors.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers must generate an API key in the Google Cloud console and use it in HTTP calls to retrieve and integrate games.\u003c/p\u003e\n"],["\u003cp\u003eAccount ID and Game Center ID are needed for API calls and can be found in the GameSnacks Partner console when creating a game center.\u003c/p\u003e\n"]]],[],null,["# Get started\n\nThis guide is intended for developers who want to use the GameSnacks Partner API\nto get games for their game centers. This guide assumes that you're familiar\nwith web programming concepts and web data formats.\n\nPrerequisites\n-------------\n\nBefore you can start, there are a few things you need to do:\n\n- **You need an AdSense account** \n\n [Sign up for AdSense](https://adsense.google.com/adsense/signup)\n or\n [sign in to your AdSense\n account](https://adsense.google.com/adsense/login).\n\n- **Familiarize yourself with AdSense** \n\n If you're not familiar with AdSense concepts, read the\n [introductory information on AdSense](https://support.google.com/adsense/topic/1319753)\n and experiment with\n [the AdSense interface](https://support.google.com/adsense/answer/7107733)\n before starting to code.\n\n- **Familiarize yourself with the GameSnacks Partner console** \n\n Learn more about\n [GameSnacks](https://support.google.com/adsense/answer/13403573)\n and\n [the GameSnacks Partner console](https://support.google.com/adsense/answer/13469071).\n\nQuick start tutorial\n--------------------\n\nFollow these steps to register your application:\n\n1. Sign in to the [Google Cloud console](https://cloud.google.com/cloud-console).\n2. Select or create a project.\n3. Allowlist your Google Cloud project and your email as described [below](#allowlist).\n4. In the API Library, find and select \"GameSnacks Partner API\".\n5. Click **APIs \\& Services \\\u003e Credentials**.\n6. Click **CREATE CREDENTIALS \\\u003e API key**.\n7. Use the API key to make an HTTP call. Note, if you skip this step, you will\n get a `403 PERMISSION_DENIED` error when you try to make the API call.\n\n \u003cbr /\u003e\n\n HTTP call example: \n\n `https://gamesnackspartner.googleapis.com/v1/accounts/${ACCOUNT_ID}/gamecenters/${GAME_CENTER_ID}/games?key=${API_KEY}`\n\n \u003cbr /\u003e\n\n Where:\n - `ACCOUNT_ID` is your GameSnacks account ID.\n - `GAME_CENTER_ID` is your game center ID.\n - `API_KEY` is the API key you generated at step 5.\n\n To retrieve the `ACCOUNT_ID` and `GAME_CENTER_ID` see [create a game center](https://support.google.com/adsense/answer/13471195).\n\nAllowlist your Google Cloud project\n-----------------------------------\n\nTo use the GameSnacks Partner API you must allowlist your Google Cloud project\nand your email. To do this, complete the [GameSnacks interest form](https://docs.google.com/forms/d/e/1FAIpQLSfzXjtlrTwtOLwHNBkDrwvGVWWTRgMv2IQoA8dlQe3aAHy_OQ/viewform?resourcekey=0--nMH83CpU0LKiF4HIA8obg).\n| **Note:** skipping the action will result in a `403 PERMISSION_DENIED` error."]]