Closed joshuamkim closed 3 years ago
Hello All, I have the same issue with the "fbad_init" function/command. Is there a solution in place already? Thanks and kind regards, Alexander
I was experiencing this issue earlier in the week. Today I noticed that the function appears to be working.
Has this been resolved on by facebook? or by @daroczig?
I have not made any updates on this and did not have a chance to replicate the problem either yet.
@sayac007 @joshuamkim can you please confirm if this is still an ongoing issue on your end with the most recent version of the packages (installed from GH)?
Hello, daroczig, you are right, now it works again. It can be that Facebook reacted to my message that they should restore the status quo. More likely is that large ad agencies experienced the same problem in the meanwhile. Thank you very much in any case!
Great news, thanks! I'm closing this now, but let me know if it becomes an issue that needs to be addressed from the R client.
Hi,
I've been using this package for a while now with no problems with two of my ad accounts, but when I tried to get insights from another account I encountered this error when doing:
I've also tried:
fbad_init(accountid = 'XXXXXXXXXX', token = token, version = '10.0') and get the same error message below
ERROR [2021-02-26 14:07:35] URL: https://graph.facebook.com/v10.0/act_XXXXXXXXXX/ ERROR [2021-02-26 14:07:35] Method: GET ERROR [2021-02-26 14:07:35] Params: List of 1 $ fields: chr "name,account_id,account_status,age,amount_spent,end_advertiser,funding_source,spend_cap,timezone_id,users" ERROR [2021-02-26 14:07:35] Header: {"x-ad-account-usage":["{\"acc_id_util_pct\":0}"],"x-app-usage":["{\"call_count\":0,\"total_cputime\":0,\"total_time\":0}"],"x-fb-rlafr":["0"],"www-authenticate":["OAuth \"Facebook Platform\" \"invalid_request\" \"(#3018) The start date of the time range cannot be beyond 37 months from the current date\""],"expires":["Sat, 01 Jan 2000 00:00:00 GMT"],"content-type":["application/json; charset=UTF-8"],"facebook-api-version":["v10.0"],"x-fb-request-id":["AkRz0nD95nA10NEO7R_diaS"],"strict-transport-security":["max-age=15552000; preload"],"x-fb-trace-id":["CARxa/nUKbV"],"x-fb-rev":["1003368097"],"cache-control":["no-store"],"pragma":["no-cache"],"access-control-allow-origin":["*"],"x-fb-insights-stability-throttle":["{\"throttled\":false,\"backend_qps\":{\"actual_score\":0,\"limit\":300000},\"complexity_score\":{\"actual_score\":0,\"limit\":16000}}"],"x-fb-debug":["Jp3KSUCb8SZpGICAu7v2JXwER+R/OtZZjh7MoKm2X+pv/mrSDWWBlL1h7eWy6sMDWhuGLIToM/TSb0cwNpjq0A=="],"content-length":["188"],"date":["Fri, 26 Feb 2021 20:07:35 GMT"],"alt-svc":["h3-29=\":443\"; ma=3600,h3-27=\":443\"; ma=3600"],"status":["400"],"statusMessage":[""]} ERROR [2021-02-26 14:07:35] Body: {"error":{"message":"(#3018) The start date of the time range cannot be beyond 37 months from the current date","type":"OAuthException","code":3018,"fbtrace_id":"AkRz0nD95nA10NEO7R_diaS"}} Error in fbad_request(path = paste0("act_", accountid, "/"), method = "GET", : (#3018) The start date of the time range cannot be beyond 37 months from the current date
My other ad accounts are still working fine but this ad account seems to have an issue with the whole 37 months and deprecation of metrics even though I'm just trying to do the initial step of initiating this account.
Came across this while doing some digging: https://www.facebook.com/business/help/1695754927158071?id=354406972049255
Thanks in advance!