speed-opportunity-finder

Landing Page Speed Opportunity Finder

Gathering the required credentials

There are a number of credentials required to use the agency dashboard solution.

Finding your MCC ID

Your management account ID can be found on the Google Ads website once you have logged in. At the top of the page next to the name of the account is a 10-digit number in the format DDD-DDD-DDDD. This is the MCC ID.
MCC ID location

Creating the Client ID & Secret

The Client ID and Secret are specific to the Google Cloud project you are hosting the solution on and can be created in the API & Services panel of the Cloud Console. The process is documented on the Google developers site.

You will need to follow the instructions for a web app. The steps should be:

  1. Configure the consent screen by clicking the button at the top-right of the pane and filling out the form.
    Configure the OAuth consent screen

  2. Return to the Credentials page and select Create credentials and then OAuth client ID
  3. Choose Web application as the application type.
  4. Name the client ID
  5. Add the URL to the config service end_config page to the list of authorized redirect URIs. The URI will have the form https://control-service-dot- <defaultHostname>.appspot.com/config_end If you’re not sure of your default hostname, you can use the command gcloud app describe to find it.
  6. Create the Client ID and Client Secret.
  7. Copy the ID and secret for use in the solution configuration.

Getting a Google Ads Developer Token

You will require a production developer token to be able to use the Opportunity Finder with real accounts.

You can find your developer token in the Google Ads frontend. Select the API Center option from the Tools & Settings menu.
API Center menu item
The Developer token should be the first item on the page. If the access level is Test Account, please click the link to apply for basic access. The solution will not work without a developer token with access to production accounts.
Ads developer token

Requesting a PageSpeed Insights API Key

To make bulk requests to the Google PageSpeed Insights (PSI) API, you will require an API key. This is free, and allows you to make a maximum of 25k requests per day. The key is connected to a Google Cloud project, so you will need to create one before getting the PSI API key.

To create an API key, follow the following steps:

  1. From the cloud console side menu, open the APIs & Services -> Credentials page.
  2. Click the CREATE CREDENTIALS button and select API Key
  3. On the resulting dialog, click RESTRICT KEY
  4. On the resutling page, rename the API key to something memorable.
  5. Under API restrictions, choose the radio button labeled Restrict key
  6. Using the dropdown, select the PageSpeed Insights API.
    Restrict the PSI API key
  7. Save the changes made to the API key, and copy the key for use with the tool.