Description Usage Arguments Value Note Examples
This function copies items in Xaxis for Publishers.
1 2 3 4 |
credentials |
a character string as returned by oas_build_credentials |
request_type |
a character string in one of the supported object types for the API database list action |
copy_attributes |
a named character vector of attributes to add to the Copy node. The only acceptable parameter is "recurring". |
copy_data |
an XML document specifying the data to copy when creating the request_type |
verbose |
a boolean indicating whether messages should be printed while making the request |
A logical
being TRUE if the copy was successful
See the documentation about creating recurring copies
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
my_credentials <- oas_build_credentials('myaccount',
'myusername',
'mypassword')
campgn_copy <- oas_copy(credentials=credentials,
request_type='Campaign',
copy_data=list(newXMLNode('Id', 'oldCampaignId'),
newXMLNode('NewId', 'newCampaignId'),
newXMLNode('CopyCreatives', 'Y'),
newXMLNode('CopyNotifications', 'Y'),
newXMLNode('CopyScheduling', 'Y'),
newXMLNode('CopyTargeting', 'Y'),
newXMLNode('CopyBilling', 'Y'),
newXMLNode('CopyPages', 'Y'),
newXMLNode('CopySiteTiers', 'Y'),
newXMLNode('CopyConversionProcesses', 'Y')))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.