MySQL

Learn how to enable MySQL for supported destinations.

On this page

Requirements

  • The MySQL database you want to use must be accessible over the internet. You can restrict access to the IP address ranges used by Google Cloud .
  • You must provide a username and password for an account in the database with access to the table containing the data you’d like to use.

Set up MySQL as a data source

Apply a use case now

The following sections walk you through a single procedure to link a data source to a use case, such as audience or Floodlight conversion creation. To link the data source only, and apply a use case later, you can refer to Apply a use case later .

Customer Match

Through the "Audience manager" page

  1. Sign in to your Search Ads 360  account.
  2. Navigate to a sub-manager account, and then to the Google Ads client account .
  3. In the page menu, select Audience managerunder Shared library.
  4. Select + Customer list.
  5. Under "Data source", select Connect a new data source, then search and select MySQLfrom the list of products.
  6. Select Direct connection, then select Continue.
    1. If you previously linked a data source from the Data manager screen that you want to use, choose  Select an existing source.
  7. Under "Select a data type", choose the data type, then select Continue.
  8. Provide the hostname, port, service name or SID, username, and password.
  9. Select the connection type.
  10. Optional: You can apply filters to define the audience segment that you’ll import. Learn more how to Define the scope of your data import using filters .
  11. To map fields, select the data source fields from the dropdown lists that match the Google fields, then select Continue.
  12. Enter a name for this connection.
  13. Optional: Edit connection details .
  14. Select Done.
  15. Enter a name for the segment, confirm policy compliance, then select Create.

Learn more about Customer Match and audience segments .

Offline conversion import

Through the "Conversions" page

  1. Sign in to your Search Ads 360  account.
  2. Navigate to a sub-manager account .
  3. Select Summaryunder Goals, then select + New floodlight activity.
  4. Select Import.
  5. Select CRMs, files, or other data sources.
  6. Select a tracking method.
  7. Under Data source, select Connect a new data source.
    1. If you previously linked a data source from the Data manager screen that you want to use, choose  Select an existing source.
  8. Search and select MySQLfrom the list of data sources.
  9. Select Direct connection.
  10. Read and accept the customer data policy, then select Continue
  11. Select a category from the conversion goal list, then select Set up.
  12. Enter your MySQL credentials, then select Connect.
  13. Select Next.
  14. Select the MySQL database and table that you want to use, then select Next.
  15. Optional: You can apply filters to define the conversion events that you’ll import. This is important especially if you have multiple different conversion goals in the file you will be importing. Learn more about how to Define the scope of your data import using filters .
  16. To map fields, select the data source fields from the dropdown lists that match the destination fields.
  17. Optional: Apply transformations to your data.
  18. Select Next.
  19. Enter a name for this connection.
  20. Optional: Edit connection details .
  21. Select Finish.
  22. Select Save and continue.

Learn more About offline conversion imports .

Implementation varies depending on what you're measuring and your capabilities. Follow Your guide to upgrading offline conversion imports to determine the method that best fits your needs.

Apply a use case later

In this type of setup, you complete each part of the connection at different times. This can be useful when you are ready to link a data source, but you are not ready to set up your use case, for example, you aren’t ready to create a customer list.

Example

Consider the following scenario:

  • Step 1: Dana is an engineer who manages data for your company. Dana sets up the data source to be used for activation in Search Ads 360. The data source is ready to be associated with a use case.
  • Step 2: Mahan is a media specialist who needs to measure audience activation. Mahan creates a customer list and then associates it to the data source that Dana has previously set up, to use that data for Customer Match.

Step 1. Initiate the connection to the data source

Note: It’s recommended that you add an audience segment or conversion goal to a connection that you created. You can either set up an audience segment or conversion goal before you link a data source or you can create an audience segment or conversion goal in the final step of setting up a data source.

Open Setup, select Data manager. Select the connection you just made from “Connected products” and under “Usage”, select  + Add audience segmentor + Add conversion action.

Set up a data source and create a connection to be associated with a use case later.

  1. Sign in to your Search Ads 360  account.
  2. Navigate to a sub-manager account .
  3. In the page menu, select Setupdrop-down, and then select Data manager.
  4. Select + Connect Product.
  5. Under Data source, search and select a data source from the list of products.
  6. If prompted, select Direct connection.
  7. Select your use case, read and accept the customer data policy, then select Continue. If you select Audiences, you are prompted to select the data type at this step.
  8. Enter your data source location and credentials*, then select Next.
  9. To map fields, select the data source fields from the dropdown lists that match the destination fields.
  10. Optional: Apply transformations to your data.
  11. Select Next.
  12. Enter a name for this connection.
  13. Optional: Edit connection details .
  14. Select Finish.
Note: If you already completed the instructions for initiating the data source connection, including the optional step, you can skip the remaining instructions for completing the connection.

* Use the same credentials and location details for this data source as described in the first part of this article.

Step 2. Complete the connection by applying a use case

  1. Open the destination you intend to use–for example, begin to create a new customer list or conversion goal using the steps from the previous sections. Return to these steps before completing the data source step.
  2. Under Data source, choose  Select an existing source.
  3. Select the data source that was initiated in Step 1 from the list of data sources.
  4. Continue to follow the remaining steps for your use case in the first part of this article. Note that you will skip further data source-related steps, such as entering credentials, because you completed these previously.

Troubleshoot errors

Setup errors

  • Ensure that your floodlight activity has successfully connected to the chosen connection. Otherwise, no data will come in.

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Google apps
Main menu
7051921143498039999
true
Search Help Center
false
true
true
true
true
true
5055977
true
false
false
false
Create a Mobile Website
View Site in Mobile | Classic
Share by: