Linking Google Ads account with Analytics - how to turn on views

31 views
Skip to first unread message

Daniel Fogt

unread,
Oct 21, 2019, 2:40:08 AM10/21/19
to AdWords API and Google Ads API Forum

Hello, 


I know this is a Google Ads API forum, not an analytics API forum, but the problem below concerns a part of the project mainly related to Google Ads API. Additionally, I didn't find the forum for the analytics API.

Is there a way to TURN ON the View in Google Ads Linking using API?

Zrzut ekranu 2019-10-21 o 08.16.50.png









My code:
service.management().webPropertyAdWordsLinks().insert(
 accountId
=account_id,
 webPropertyId
=web_property_id,
 body
={
   
'adWordsAccounts': [
     
{
       
'customerId': google_ads_id
     
}
   
],
   
'name': 'Google Ads Link',
   
'profileIds': []
 
}
).execute()


I tried to retrieve profileIds for Views by:
adWordsLinks = service.management().webPropertyAdWordsLinks().list(
    accountId
=account_id,
    webPropertyId
=web_property_id
).execute()

but there were no profileIds, until I manually turned on them in the analytics panel after linking the Google Ads account.

Any ideas?

Google Ads API Forum Advisor Prod

unread,
Oct 21, 2019, 4:12:13 AM10/21/19
to adwor...@googlegroups.com

Hi Daniel,

Thank you for posting your concern.

However, unfortunately, we can't comment on the Google Analytics API as this is out of scope for our team. With this, I would suggest you to reach out to their team via this email alias, analyticsa...@google.com.

Feel free to get back to us once you have any concerns related to the AdWords API or Google Ads API.

Regards,
Hiroyuki
Google Ads API Team



ref:_00D1U1174p._5001UKNwAf:ref

Naresh Kumar

unread,
Sep 5, 2020, 12:46:03 PM9/5/20
to AdWords API and Google Ads API Forum
@Daniel Fogt

Did you find any solution to this issue?


Google Ads API Forum Advisor Prod

unread,
Sep 8, 2020, 10:02:04 AM9/8/20
to naresh.we...@gmail.com, adwor...@googlegroups.com
Hi Naresh,

I'd suggest reaching out to the Analytics Team through the email that Hiroyuki mentioned. You can also reach out to the team through their support page here.

Regards,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 
 

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