Closed SinhB closed 1 year ago
@SinhB Thank you for bringing this issue up. The team is looking into getting this fixed and we will post it in the next release, soon.
@rushabhvaria Hello, could you please release a new version of SDK to include the fix? We are using the latest version pinterest-api-sdk 0.2.1. Thanks.
Hello,
I'm experiencing an issue while using the Python SDK for ads. I typically instantiate a client using the create_client_with_refresh_token method without relying on
config.json
orenvironment variables
. Most methods of theAudience
andCustomerList
objects work fine using this approach, except for the create method.The problem arises from the fact that the
cls._create
method within the create method doesn't utilize the client passed to theAudience
object. Instead, it searches for a default client elsewhere. The same issue occurs with theCustomerList
object. :My question is whether this behavior is intended. Is it mandatory to use config.json or environment variables in order to use these methods effectively?
I would appreciate any insights or suggestions to resolve this issue. Thank you!