Description Usage Arguments Value References
Create Facebook ads for a batch of strata
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, ...)
|
fbacc |
|
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 |
... |
further arguments passed to the API endpoint |
A data.frame with Strata IDs, Ad Set IDs, Ad IDs for ads that have been successfully created.
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign#Creating
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.