Google Ads link with Analytics, importing site metrics via API

28 views
Skip to first unread message

Dirk Heijnen

unread,
Jul 28, 2020, 2:03:15 AM7/28/20
to AdWords API and Google Ads API Forum
Hi everybody,

I'm writing a program which uses the Google Ads and Google Analytics API to create links between Google Ads accounts and Google Analytics views.

The following rules apply:
  1. The user chooses an analytics accounts, webproperty and view.
  2. The user then sends this data to our backend which does the following:
    1. Find the google ads account for the user
    2. Enable autotagging if it's not already done.
    3. Create the link between the view and the analytics account.
    4. Enabled "import site metrics" for the specific view, in the specific link.
Im currently stuck on step 2.4, since I cannot find upon which resource I must call the API to enable this toggle.

The import site metrics toggle I would like to mutate via API call:
Ads 1.PNG









The API's which I use;



I would be happy if somebody could help me out!

Google Ads API Forum Advisor Prod

unread,
Jul 28, 2020, 1:01:03 PM7/28/20
to dirkhe...@gmail.com, adwor...@googlegroups.com
Hi Dirk,

Thank you for reaching out. My team only deals with AdWord API and Google Ads API related issues. Since you are making the link in Analytics API, I would recommend contacting their team here.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5004Q22ZaKk:ref
Reply all
Reply to author
Forward
0 new messages