Results 1 to 2 of 2
  1. #1
    jbarth's Avatar
    jbarth is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    San Mateo, CA
    Posts
    1

    Access for Adwords Data


    Hi everyone!

    Bear with me as this is my first post, and I'm a database & Access newbie. My search on the web has drawn a blank for an Access package that I can use to analyze Adwords data, so I've taken it upon myself to create one that works for my needs. I've hit my first roadblock that I haven't figured out how to get around. I'm planning to load in the data in every month, and using the first day of that month as the Date. The data in the table has columns of:

    ID, Date, Search term, Ad group, Campaign, Match Type, Clicks, Impressions, Cost, Avg position, Conversions

    What I want to do in a query is look at all search terms that have a certain keyword or phrase in them from different time periods within one query. I've got it working such that I can show the data for one time period at a time (that may include multiple months). What I want to find is all the search terms that have a keyword in them, and see the data over the last month, the last 3 months, and the last 6 months, but I can't figure out how to get all of these returned in one query, instead of having me alter the query to look at one month, then re-run it for 3 months, then re-run it for 6 months. So I want the columns to look like:

    Search term, 1 mo clicks, 1 mo conversions, 3 mo clicks, 3 mo conversions, 6 mo clicks, 6 mo conversions

    Can I do this within 1 query? Or do I have to build multiple queries and create a report that gathers data from all of them?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    No matter what, looks complicated.

    One approach could be multiple queries that are joined on the search term. You can leave them as multiple saved Access queries or build one SQL statement with nested subqueries in the SQL View of query designer.

    Alternative might be domain aggregate functions (DCount, DSum, etc) within one query.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 08-10-2012, 12:28 AM
  2. Can't use data access pages to enter data
    By ellie1 in forum Access
    Replies: 2
    Last Post: 04-21-2012, 12:32 AM
  3. Importing data from PDF to Access
    By jigg14 in forum Import/Export Data
    Replies: 1
    Last Post: 02-10-2012, 12:57 AM
  4. Access Data Repeats
    By coreytba3 in forum Access
    Replies: 1
    Last Post: 08-04-2011, 01:00 PM
  5. Access Programming and Access Data Page
    By frmdread67 in forum Programming
    Replies: 0
    Last Post: 03-19-2008, 03:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums