Description Usage Arguments Value Examples
View source: R/keyword.estimate.request.R
Creates or coerces S3 objects of type keyword.estimate.request
for the Adwords API.
is.keyword.estimate.request
will test if an object is interpretable as a keyword.estimate.request
1 2 3 4 5 6 7 8 9 10 11 12 | keyword.estimate.request(keyword, max.cpc = NULL, is.negative = NULL)
as.keyword.estimate.request(x, ...)
## S3 method for class 'estimate.request.data.frame'
as.keyword(x, max.cpc = NULL,
is.negative = NULL, ...)
## S3 method for class 'estimate.request.default'
as.keyword(x, ...)
is.keyword.estimate.request(x)
|
keyword |
The keyword objects to prepare into a keyword.estimate.request. |
max.cpc |
The bid for the keyword. |
is.negative |
When TRUE, no current ad group ads will appear for searches containing this keyword. |
A S3 of type keyword.estimate.request.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Minimal example
k1 <- keyword("Example")
request1 <- keyword.estimate.request(k1)
# More complex example
k2 <- keyword(c("Example", "Sample", "Test", "Only a test"), match.type = "PHRASE")
request2 <- keyword.estimate.request(k2, max.cpc = max.cpc(c(1, 2, 1, 3), use.micro = TRUE))
# Coercing to a keyword.estimate.request
k3 <- as.keyword.estimate.request("Convert", is.negative = TRUE, match.type = "EXACT")
# Checking a keyword.estimate.request
is.keyword.estimate.request(k3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.