Description Usage Arguments Value References Examples
FB Search API Querying
1 2 3 4 | fbad_get_search(fbacc, q, type = c("adeducationschool", "adeducationmajor",
"adgeolocation", "adcountry", "adzipcode", "adgeolocationmeta",
"adradiussuggestion", "adinterest", "adinterestsuggestion", "adinterestvalid",
"adlocale", "adTargetingCategory", "adworkemployer", "targetingsearch"), ...)
|
fbacc |
(optional) |
q |
string that is being searched for |
type |
describes the type of search eg: adinterest, adeducationmajor etc |
... |
other optional parameters accepted by the endpoint as key = value pairs eg: |
data.frame
containing results
https://developers.facebook.com/docs/marketing-api/targeting-search
1 2 3 4 5 | ## Not run:
fbad_get_search(q = 'r programming language', type = 'adinterest')
fbad_get_search(q = c('dog', 'cat'), type = 'adinterestvalid')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.