Hi Green Leaf,
As far as I can see, you're not using the .format() method correctly. You
either have to put the string to be formatted in quotes or double quotes.
Example (as an oneliner, to make it clearer):
*"*SELECT Id, Criteria, AdGroupName FROM SEARCH_QUERY_PERFORMANCE_REPORT
WHERE somecondition AND KeywordTextMatchingQuery IN [{}]*"*.format(
keyword_list_as_string)
You can find more examples in the Python reference:
https://docs.python.org/3.8/library/string.html#format-examples
To help you further I'd need to have a look at the whole AWQL string you
are using as well as the error messages it produces.
Regards
Mat
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/786799fe-ee89-40f4-a52f-6e2a35c77459o%40googlegroups.com.