Learn R Programming

adwordsR (version 0.3.1)

buildXmlHeader: Build XML Header

Description

Build the XML Header for the XML Envelope.

Usage

buildXmlHeader(myMcc, userAgent, developerToken, apiVersion)

Arguments

myMcc

The Manager Account (MCC) needed to access the Adwords API

userAgent

The user agent required for the header of the XML request

developerToken

The developerToken required for accessing the API. Found in the API settings of the Adwords Account.

apiVersion

Version of the API being used.

Value

Returns the XML Header for the Envelope

Examples

Run this code
# NOT RUN {
buildXmlHeader("123-456-7890", "myUserAgent", "myD3v3l0p3r70k3n", "v201806")
# }

Run the code above in your browser using DataLab