Hello,
When I try to use the AccountId in a WHERE clause in an AWQL-generated 
report to get all Campaigns for a certain account, for example:

SELECT AccountId, Name, CampaignId, Clicks, Cost, Impressions, Conversions, 
AdNetworkType1, AdNetworkType2, ClickType, Status FROM 
CAMPAIGN_PERFORMANCE_REPORT WHERE *AccountId = 1234567890* DURING 
LAST_30_DAYS

(AccountId is a dummy value in this example - for my tests, I used my test 
account id)

I get errors. In the CampaignPerformanceReport, I get an INVALID_PREDICATE, 
while a similar query with a AccountPerformanceReport type even throughs an 
Internal Server Error.

I guess the problem is the length of the AccountId field, because something 
like
*WHERE AccountId = 0
*works perfectly (unluckily, my account id is 10 digits long).

Any ideas?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to