batch_strata_ads: Create Facebook ads for a batch of strata

Description Usage Arguments Value References

Description

Create Facebook ads for a batch of strata

Usage

1
2
3
4
5
6
7
8
batch_strata_ads(fbacc, strata_targeting, optimization_goal = c("NONE",
  "APP_INSTALLS", "CLICKS", "ENGAGED_USERS", "EXTERNAL", "EVENT_RESPONSES",
  "IMPRESSIONS", "LINK_CLICKS", "OFFER_CLAIMS", "OFFSITE_CONVERSIONS",
  "PAGE_ENGAGEMENT", "PAGE_LIKES", "POST_ENGAGEMENT", "REACH",
  "SOCIAL_IMPRESSIONS", "VIDEO_VIEWS"), billing_event = c("APP_INSTALLS",
  "CLICKS", "IMPRESSIONS", "LINK_CLICKS", "OFFER_CLAIMS", "PAGE_LIKES",
  "POST_ENGAGEMENT", "VIDEO_VIEWS"), promoted_object, campaign_id,
  wait_interval = 100, show_wait, ...)

Arguments

fbacc

FB_Ad_account object that identifies your Facebook Ad account. Note this is not your Ad account number.

strata_targeting

list. Information about each strata that you plan to target.

optimization_goal

character. Optimization goal.

billing_event

character. The billing event.

promoted_object

list. See at https://developers.facebook.com/docs/marketing-api/reference/ad-campaign/promoted-object.

campaign_id

character. Parent Ad Campaign ID.

wait_interval

integer. Number of seconds to wait between creation of each ad to avoid exceeding the API rate limit.

show_wait

logical. If TRUE, the console will display a wait time progress bar.

...

further arguments passed to the API endpoint

Value

A data.frame with Strata IDs, Ad Set IDs, Ad IDs for ads that have been successfully created.

References

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


13bzhang/fbsample documentation built on May 5, 2019, 10:39 a.m.