get.service: Call an Adwords Service

Description Usage Arguments Value See Also Examples

View source: R/get.service.R

Description

Sends a request for a Google Adwords service.

Usage

1
2
3
get.service(request, cid, auth, user.agent, api.version = "latest",
  validate.only = FALSE, partial.failure = FALSE, verbose = FALSE,
  raw = FALSE)

Arguments

request

XMLNode for the body of an XML encoded Adwords service request.

cid

client customer id.

auth

Google authentification made with doAuth.

user.agent

User agent string for your script, read http://googleadsdeveloper.blogspot.ca/2013/11/please-set-user-agent-or-application.html for more information.

api.version

Version of the Adwords API to use, must be the same as in the request. If set to "latest" (the default), the latest version in the package is used.

validate.only

Test the API call without actually executing the call against real data. Default to FALSE.

partial.failure

If true service will carry out the operations that had no errors. Default to FALSE.

verbose

TRUE to turn on the verbose mode of the getURL call. Default to FALSE.

raw

TRUE to return the raw XML response. Default to FALSE.

Value

The XML response for the service request.

See Also

managed.customer.request

Examples

1
2
# For this exemple to work, you must supply a valid client customer id and your developper token
data <- get.service(request, cid = cid, auth = doAuth(), user.agent = user.agent)

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