facebook / facebook-python-business-sdk

Python SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
1.29k stars 635 forks source link

AdAccount.get_campaigns missing time_range param option #514

Closed litan1106 closed 6 years ago

litan1106 commented 6 years ago

AdAccount.get_campaigns missing time_range param option

    param_types = {
        ...
        'time_range': 'Object',
        ...
    }
jingping2015 commented 6 years ago

if you check our reference doc https://developers.facebook.com/docs/marketing-api/reference/ad-account/campaigns/, we don't have this field.

litan1106 commented 6 years ago

Thanks for the clarification.

Why no custom time_range allow in the campaigns? We want to aggregate insights in the AdAccount - campaigns too.

Use Case:

AdAccount - AdSet has time_range for custom dates.

https://developers.facebook.com/docs/marketing-api/reference/ad-account/adsets/ https://developers.facebook.com/docs/marketing-api/reference/ad-account/adsets/

Thanks

On Aug 24, 2018, at 4:53 PM, Jing Ping notifications@github.com wrote:

if you check our reference doc https://developers.facebook.com/docs/marketing-api/reference/ad-account/campaigns/ https://developers.facebook.com/docs/marketing-api/reference/ad-account/campaigns/, we don't have this field.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/facebook/facebook-python-business-sdk/issues/514#issuecomment-415910678, or mute the thread https://github.com/notifications/unsubscribe-auth/ABP_S-qHv0nfhORati4Nfzdp6xH9D20lks5uUJHvgaJpZM4WLoHw.

jingping2015 commented 6 years ago

Hey, thanks for your comment! This is actually an api issue. Please report the issue on Devsite Bug Report channel: https://developers.facebook.com/support/bugs/ Thanks!

litan1106 commented 6 years ago

Can you add the time_range into the adaccount - campaigns in the python sdk for now?

Thanks,

Li Tan

On Aug 24, 2018, at 5:23 PM, Jing Ping notifications@github.com wrote:

Hey, thanks for your comment! This is actually an api issue. Please report the issue on Devsite Bug Report channel: https://developers.facebook.com/support/bugs/ Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.