We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ba3145 commit 1c5e271Copy full SHA for 1c5e271
libs/core/garf/core/query_editor.py
@@ -212,7 +212,12 @@ def __init__(
212
args: Optional parameters to be dynamically injected into query text.
213
api_version: Version of Google Ads API.
214
"""
215
- self.args = args or GarfQueryParameters()
+ if not args:
216
+ self.args = GarfQueryParameters()
217
+ elif isinstance(args, GarfQueryParameters):
218
+ self.args = args
219
+ else:
220
+ self.args = GarfQueryParameters(**args)
221
self.query = BaseQueryElements(title=title, text=text)
222
223
@property
0 commit comments