Google Ads API integration in CPV Lab | CPV One
Google Ads API integration with CPV Lab click tracker allows to automatically get data about your costs from Google Ads into the tracker.
Here are the steps required in order to setup the Google Advertising Integration.
- In CPV tracker go to API integrations
- Add a new integration for Google Ads and follow the steps
TIP
NOTE: the setup is the same for both CPV Lab (opens new window) (self-hosted ad tracker) and CPV One (opens new window) (cloud-hosted tracker). The CPV Lab integration has an extra step which is not required for CPV One. That is the only difference.
1. Go to API integrations page
- Access the API Integrations page under the Sources menu from your CPV tracker.
2. Click New integration
- Click to add the new integration on the Google Ads image:
3. Google Login
- You will be redirected to the Google website and ask to login in order to allow the integration. Enter your Google Advertising login details in the box below:
- the email
- and then the password
4. Confirm the integration
CPV tracker was approved by Google to use the API integration, and below are the steps you need to follow:
- Select all the permissions and continue
5. Verify that the integration is saved
- Once this is complete, you will be redirected back to your CPV tracker where you will see that the integration has been setup.
6. Setup Cron Job (only for CPV Lab)
WARNING
This step is required if you are using the self-hosted tracker, CPV Lab.
If you are using CPV One, then skip this step.
- Setup a CRON job that will run the actual integration like this:
- Frequency: once per hour
- Command:
cd /home/<server-name>/public_html/; php cron-api-integrations.php
- Now the setup is complete and the CRON job will automatically synchronize CPC values for each keyword once per hour.
Additional Notes
Same Campaign Name
- Campaigns are matched between the tracker and your Google Ads account based on their name.
- So make sure that you set the same campaign name both in CPV Lab Pro or CPV One and Google Ads in order to match the campaign.
- If needed, you can change the campaign name in CPV ad tracker using the campaign setup page.
Number of matched campaigns
You can see the number of matched campaigns and imported keywords in the API integrations page by clicking on the Details button next to your already created integration:
Pass Conversions to Google Ads
- In CPV tracker there are 2 methods to pass conversions from the tracker to Google Ads
- By using the API integration described above
- By using the passing conversion to Google Ads method described here
- Please note that this mehod is not using your API credentials.
You may also find useful: