fbad_copy_adset {fbRads}R Documentation

Create a copy of an ad set. You can copy a maximum of 3 entities between ad set and ads.

Description

Create a copy of an ad set. You can copy a maximum of 3 entities between ad set and ads.

Usage

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,
  ...
)

Arguments

fbacc

(optional) FB_Ad_account object, which defaults to the last returned object of fbad_init.

adset_id

(numeric string or integer) id adset you want to create a copy of

campaign_id

(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

start_time

(datetime) The start time of the ad set. If not set, the copied adset will inherit the start time from the original set

end_time

(datetime) The end time of the ad set

deep_copy

(boolean) Default value: false. Whether to copy all the child ads

status_option

(string) enum ACTIVE, PAUSED, INHERITED_FROM_SOURCE

rename_strategy

(string) enum DEEP_RENAME, ONLY_TOP_LEVEL_RENAME, NO_RENAME

rename_prefix

(string) a prefix to copy names. Defaults to null if not provided

rename_suffix

(string) a suffix to copy names. Defaults to null if not provided

...

further arguments passed to the API endpoint

References

https://developers.facebook.com/docs/marketing-api/reference/ad-campaign/copies/


[Package fbRads version 17.0.0 Index]