Admob & Facebook

Admob

Here's how to set up your AdMob account and create an Ad Unit:

Step 1: Sign Up for AdMob

  1. Go to the AdMob website: Navigate to admob.google.com and click on Get Started.

  2. Sign in with your Google account: Use your existing Google account or create a new one.

  3. Complete the registration: Fill in your personal information, such as your country, time zone, and payment details, so you can receive payments for ad revenue.

  4. Accept the terms: Read and accept the AdMob program policies and terms of service.

Step 2: Create an AdMob App

  1. Create a new app in AdMob: Once you have completed the account setup, you'll need to create an app in AdMob.

    • On the Apps page, click Add App.

    • Choose whether your app is already published on the Google Play Store/App Store or if it’s still under development.

    • Enter the app name, choose the platform (Android or iOS), and click Add.

  2. Get your App ID: After creating your app, you’ll be given an App ID. Copy this because you'll need it later when integrating AdMob into your app's code.

Step 3: Create Ad Units

Ad units are the ad placements within your app (e.g., banner, interstitial, or rewarded ads).

  1. Select the app: From the AdMob dashboard, click on the app you just created.

  2. Add Ad Unit:

    • In the app dashboard, click on Ad units and then click Create Ad Unit.

    • Choose the type of ad you want to create:

      • Banner Ad: Small rectangular ads at the top or bottom of the screen.

      • Interstitial Ad: Full-screen ads that cover the app's interface.

      • Rewarded Ad: Ads that provide users with in-app rewards after viewing.

      • Native Ad: Ads that match the look and feel of your app.

  3. Configure your Ad Unit:

    • Give the ad unit a name (something descriptive for easy identification).

    • Set up any additional ad unit options, such as refresh rates (for banners) or reward values (for rewarded ads).

  4. Save and get Ad Unit ID: Once the ad unit is created, you’ll be provided with an Ad Unit ID. Copy it for later use when you implement it in your Flutter code.

Facebook Ads

Step 1: Set Up a Facebook Developer Account

  1. Go to the Facebook Developers Portal: Visit Facebook Developers.

  2. Log in or sign up: Sign in using your Facebook account or create one if you don’t already have an account.

  3. Create a New App:

    • Click My Apps in the top-right corner.

    • Click Create App.

    • Choose For Everything Else as the app type and click Next.

    • Fill in the App Name, Email Address, and Purpose, then click Create App ID.


Step 2: Set Up Facebook Audience Network

  1. Go to Facebook Audience Network: Navigate to the Audience Network section of the Facebook Developers website.

  2. Create a Business Account:

    • If you don’t have a business account, you’ll be prompted to create one.

    • Fill in the required information about your business (such as business name, address, and payment details).

  3. Add Audience Network to Your App:

    • In the Audience Network dashboard, click Add Property.

    • Select your app and integrate it with Facebook Audience Network.


Step 3: Generate a Placement (Ad Unit)

  1. Create a New Ad Placement:

    • In the Audience Network dashboard, click Placements and then click Create Ad Placement.

    • Select your app (or property) from the dropdown list.

  2. Choose the Ad Format: Facebook offers several ad formats:

    • Banner Ad: A rectangular ad that appears at the top or bottom of the app screen.

    • Interstitial Ad: A full-screen ad that appears at natural breaks or transitions.

    • Rewarded Video Ad: Ads that reward users for watching them, often with in-app rewards.

    • Native Ad: Ads that match the look and feel of your app.

    Choose the format you want and click Next.

  3. Name and Configure the Ad Unit:

    • Give the placement a descriptive name (e.g., "Banner_Ad_Home_Screen").

    • Configure any additional options, such as frequency capping and bidding strategies.

    • Click Save to create the ad unit.

  4. Get the Placement ID:

    • After creating the ad unit, you’ll be provided with a Placement ID.

    • Copy this Placement ID as you’ll need it when integrating Facebook Audience Network into your app code.


Last updated