max.cpc: Adwords Maximum Cost per Click

Description Usage Arguments Value Examples

View source: R/max.cpc.R

Description

Creates or coerces S3 objects of type max.cpc for the Adwords API. is.max.cpc will test if an object is interpretable as a max.cpc.

Usage

1
2
3
4
5
6
## S3 method for class 'cpc'
max(bid, use.micro = FALSE)

as.max.cpc(bid, ...)

is.max.cpc(x)

Arguments

bid

Amount to bid for the maximum cost per click.

use.micro

TRUE to specify that the amount x must be converted to a microamount, FALSE to avoid any conversion for bids that are already micromounts. Default to FALSE.

Value

A S3 object of type max.cpc.

Examples

1
2
3
4
bid1 <- max.cpc(0.99)
bid2 <- max.cpc(990000, use.micro = TRUE)
bid3 <- as.max.cpc("0.99")
is.max.cpc(bid3)

adviso/RAdwordsPlus documentation built on Dec. 5, 2019, 3:11 a.m.