ga_adwords_delete_linkid: Deletes a Google Analytics webProperty-Google Ads link

Description Usage Arguments Value See Also Examples

View source: R/adwords.R

Description

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

Usage

1
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

Google documentation

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## 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)

MarkEdmondson1234/googleAnalyticsR_public documentation built on Oct. 22, 2020, 4:04 a.m.