Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ga_adwords_delete_linkid

Deletes a Google Analytics webProperty-Google Ads link


Description

Removes a link between and Adwords (Google ads) account and a Google Analytics property

Usage

ga_adwords_delete_linkid(accountId, webPropertyId, webPropertyAdWordsLinkId)

Arguments

accountId

Account Id

webPropertyId

Web Property Id

webPropertyAdWordsLinkId

webPropertyAdWordsLinkId

Value

HTTP Status Code 204 with empty response body, if successful

See Also

Other Google Ad management functions: ga_adwords_add_linkid(), ga_adwords_list(), ga_adwords()

Examples

## Not run: 

library(googleAnalyticsR)
ga_auth()

# get the ID of the Adwords- Google Analytics link that you want to delete 
# ID corresponding to the webPropertyAdWordsLinkId field
ga_adwords_list(65973592, "UA-65973592-1") 
 
ga_adwords_delete_linkid(65973592, "UA-65973592-1", "ezW2dyaiQcGheWRAo69nCw")


# check its gone
ga_adwords_list(65973592, "UA-65973592-1")

## End(Not run)

googleAnalyticsR

Google Analytics API into R

v1.0.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>), Artem Klevtsov [ctb], Johann deBoer [ctb], David Watkins [ctb], Olivia Brode-Roger [ctb], Jas Sohi [ctb], Zoran Selinger [ctb], Octavian Corlade [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.