Create a copy of an ad set. You can copy a maximum of 3 entities between ad set and ads.
fbad_copy_adset(
fbacc,
adset_id,
campaign_id = NULL,
start_time = NULL,
end_time = NULL,
deep_copy = NULL,
status_option = NULL,
rename_strategy = NULL,
rename_prefix = NULL,
rename_suffix = NULL,
...
)
(optional) FB_Ad_account
object, which defaults to the last returned object of fbad_init
.
(numeric string or integer) id adset you want to create a copy of
(numeric string or integer) Single ID of a campaign to make parent of the copy. Ignore if you want to keep the copy under the original campaign parent
(datetime) The start time of the ad set. If not set, the copied adset will inherit the start time from the original set
(datetime) The end time of the ad set
(boolean) Default value: false. Whether to copy all the child ads
(string) enum ACTIVE, PAUSED, INHERITED_FROM_SOURCE
(string) enum DEEP_RENAME, ONLY_TOP_LEVEL_RENAME, NO_RENAME
(string) a prefix to copy names. Defaults to null if not provided
(string) a suffix to copy names. Defaults to null if not provided
further arguments passed to the API endpoint
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign/copies/