-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: soap:Server: [PublisherQueryLanguageSyntaxError.UNPARSABLE @ Unable to parse query: 'Where ' #33
Comments
I think this problem steps from this commit where we removed the ad unit name from the formatting. I think To test if that would work, @brianibok could you add this line below this code:
Note that the library will look up that ad unit in DFP, so it needs to already exist |
Thanks for the update Juan, this stopped the error from popping up, but no lines were actually pushed to DFP. Will review the commit to see whether there is anything else missing that needs to be added. |
Disregard my last note. I am still getting the same error. |
Hi JuanCaicedo, Im still really stuck here, any ideas? What was the reason for making the changes to the commit you specified? I am considering adding these back in, but want to make sure its the right way to. |
Try commenting out L634 in dfp.js in node-google-dfp-wrapper.
This step is no longer needed. It is expecting parameters that are not longer included in this example script so it errors out. @JuanCaicedo We should see how we can remove or only optionally call this in node-google-dfp-wrapper in a backwards compatible way. |
I'm experiencing the same error message as @brianibok, I tried the above fix @nanek without luck. Will continue to investigate.. EDIT: just to add more detail to my comment, @nanek after commenting out line 634 in dfp.js in node-google-dfp-wrapper, I get a new error message when running 'node scripts/create-line-items.js ...': |
Hi, I had the same issue and commenting out replaceAdUnitName line fixed it. But now I'm having trouble with the custom targeting and this query... { filterStatement: { query: 'Where customTargetingKeyId like '510964' and name like '1.00'' } } This returns.... GET_VALUES_BY_STATEMENT_MUST_CONTAIN_KEY_ID And I can't work out why! Any ideas? Thanks |
If it helps anyone I fixed the above by creating a new query with = instead of 'like' for the Key ID... var query = new nodeGoogleDfp.Statement("Where customTargetingKeyId = 510964 and name like '1.00'"); |
Copied from nanek/node-google-dfp-wrapper#24 by @brianibok
Hi All,
Getting the error below when I try to run the script to generate the line-items:
node scripts/create-line-items.js --order ORDER_NAME --start 1 --end 1
Error:
Progress [=-] 50% 0.0screating line items failed
because Error: soap:Server: [PublisherQueryLanguageSyntaxError.UNPARSABLE @ Unable to parse query: 'Where '
Syntax error at line 0, column 0.]
However no modifications were made to the script
The text was updated successfully, but these errors were encountered: