Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. Digital Marketing
    3. Paid Search Marketing
    4. How do I find AdWords campaign and adgroup ID numbers?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    How do I find AdWords campaign and adgroup ID numbers?

    Paid Search Marketing
    4
    4
    20706
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • Ericc22
      Ericc22 last edited by

      Is the only way to get them through the AdWords API? If so, how do I do that?

      1 Reply Last reply Reply Quote 0
      • hellemans
        hellemans last edited by

        The are Campagne/campagne-ID in Analytics.

        Found out btw that ~25-30% on GEO targeted campaigns bring in different (out of GEO targeted zone) traffic...so make sure to keep this in mind...

        1 Reply Last reply Reply Quote 0
        • JasmineA
          JasmineA last edited by

          I think you can pull down a secondary dimension in GA for AdGroup/Campaign ID, also.

          1 Reply Last reply Reply Quote 1
          • David-Kley
            David-Kley last edited by

            You'll need to request all ad groups in the campaign and choose the one with the same name.

            It is possible to get adgroup id. It is part of AdGroupAd type, and can be retrieved using "AdGroupId" as selector name. Then you would retrieve the field as $googleAd->adGroupId. More details here:

            http://code.google.com/apis/adwords/docs/reference/latest/AdGroupAdService.AdGroupAd.html

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Got a burning SEO question?

            Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


            Start my free trial


            Browse Questions

            Explore more categories

            • Moz Tools

              Chat with the community about the Moz tools.

            • SEO Tactics

              Discuss the SEO process with fellow marketers

            • Community

              Discuss industry events, jobs, and news!

            • Digital Marketing

              Chat about tactics outside of SEO

            • Research & Trends

              Dive into research and trends in the search industry.

            • Support

              Connect on product support and feature requests.

            • See all categories

            Related Questions

            • devdan

              Moving from old GTM to New Version of GTM - Analytic & Adwords transaction and revenue stop refelecting

              Hi Guys, I am moving from old version of tag manager to new version of tag manager. But when i do so at that time in my google analytic 1) my adwords transaction, revenue and ecommerce conversion rate stop showing. 2) In ecommerce -overview also transaction, revenenue and ecommermce conversion rate stop showing. Can any one tell me what is the issue? I am sharing with you the details configuration of my old tag manager and new version of tag manager - I am using google analytic having id - UA-12345678-9 I am using old version of google tag manager in that i have configure 5 tags - a) google adwords conversion tracking
              b) GA pageview tracking
              c) google remarketing
              d) GA conversion tracking
              e) twitter conversion tracking I did following configuration for all - Tag Name - google adwords conversion tracking
              tag type - Adwords conversion tracking
              conversion id - 123123123 ( from adwords)
              conversion lable - sdfsnfs-sfsf ( from adowrds) Firing rule -{{url}} contains ordersuccessful.aspx
              {{event}} equals gtm.dom save Google Analytic PageView Tracking
              Tag Type - classic Google Analytic
              web properid id - UA-12345678-9
              track type - page view Firing rule - all pages save GA conversion Tracking
              tag type - classic google analytics
              web property id - UA-12345678-9
              track type - transaction Firing rule -{{url}} contains ordersuccessful.aspx
              {{event}} equals gtm.dom By above configuration everything work fine with google analytic. In New versoin of tag mananger following configuration i did - Adwords conversion tracking
              Choose Product - Google Adwords
              choose tag type - adwords conversion tracking
              configure tag - conversion id - taken from adwords
              conversion label - taken from adwords
              conversion value - {{google_conversion_value}}
              Fire on - Name - order successful page
              type - custom event
              Filter- Page url contains ordersuccessful.aspx
              event equals gtm.dom save Choose Product - Google Analytic,
              choose tag type - universal analytic
              configure tag - tracking id - UA-12345678-9, track type - page view Fire on - All pages save GA conversion tracking Choose Product - Google Analytic,
              choose tag type - universal analytic
              configure tag - tracking id - UA-12345678-9, track type - transaction Fire on - Name - order successful page
              type - custom event
              Filter- Page url contains ordersuccessful.aspx
              event equals gtm.dom save By above configuration my analytic stop reflecting transaction, revenue, ecommerce conversion rate for adwords and ecommerce overview. Thanks!

              Paid Search Marketing | | devdan
              0
            • EvansHunt

              Google URL Builder / Campaign Tracking on two Different Domain using the Same Analytics Code

              Hey Everyone, I think I know the answer to this but I'd like to get some confirmation. I currently have a landing page at "www.xyz.com", it's a separate domain in which only the landing page exists and not a vanity URL which redirects. However, the navigation and all the links on  "www.xyz.com" actually link out to "www.abc.com". The domain / landing page  "xyz" has the same analytics tracking code as domain "www.abc.com". My question is this, if I use Google URL builder to create custom URL's to track for each ad that I'm running in Adwords, will this data show up in the analytics of "abc" even though it's a separate domain because it has the same analytics code? In other words, does campaign data show only if the domain and the google analytics code line up, or does the domain not matter and as long as you have the same analytics code (despite two separate domains) that campaign data (built through Google URL builder) will show? My hunch and best guess it that as long as the analytics code is the same (regardless of a separate domain) that the data in campaign will show with the custom URL's I build. I'm aware that I can test this and I will but I'd like to get an idea from the community first to make things easier. Anybody have experience with this? Answers greatly appreciated! Thanks!

              Paid Search Marketing | | EvansHunt
              0
            • ydop

              OK to have a modal pop-up on an AdWords landing page?

              We're about to launch an AdWords campaign targeting users who are searching for hand-crafted furniture. The website we're sending users to has a large inventory of furniture, and all if it is hand-crafted. But there currently is no page on the site specifically communicating that all the furniture on the site is hand-crafted. So, rather than dump the user right into browsing the inventory, we want to put an intermediate step in place to say, in essence, "Hey, welcome, yes, we have lots of handcrafted furniture. In fact, all of it is hand-crafted. Here, have a look around." The art director on the project is suggesting that a modal pop-up would be perfect for this scenario. It would greet the user, who could then dismiss the pop-up and move into the site. I have two concerns about using a modal, though: Does a modal violate Google's policy against pop-ups that open new windows? Assuming we trigger the modal using Javascript, will AdsBot have any trouble crawling the content of the modal, such that it could hurt the landing page component of our quality score?

              Paid Search Marketing | | ydop
              0
            • SSFCU

              AdWords training resources

              Hi guys, Aside from Google certification, can anyone suggest a good training program for Adwords? I'm studying their materials, but more formal training, where I can be tested in my knowledge and improve in certain areas as necessary. I want something with videos with demonstrations. Going from organic SEO to SEM and am frightened! Thanks,
              Sarah

              Paid Search Marketing | | SSFCU
              0
            • danny.wood

              Broad vs. Exact in Brand Campaign

              Hey guys, I was looking through my "Brand" campaign, and I noticed that my costs are running a little higher than I'd like to be spending. I've got my brand search term (Strutta) set on broad, since I just recently started the brand campaign about 2-weeks ago. However, I've noticed that I'm spending around $1 on most clicks even though my QS is at 9/10. In my previous experience, I've been able to pay pennies on brand search terms. I know that I have a competitor that's trying to snipe my brand searches, but I don't really want to be paying this much for branded clicks. Would it be a good idea to check my search terms, build out a larger list of exact match terms, and just go with exact match? Do you guys usually use broad in your Brand campaigns, or exact?

              Paid Search Marketing | | danny.wood
              0
            • brettgus

              How long does it ramp up a PPC campaign?

              I was speaking to a SEO the other day.  He is going to be working on an ecommerce site soon.  I was suggesting that he might want to augment his SEO efforts with PPC in order to be able to show some results in the near term, as it would most likely take some time for his SEO work to be showing results. His response was that while he hasn't utilized them as much, he's found that it can take 3-6 months to get a PPC campaign to really make money.  I'm just curious if you guys feel that this is an accurate statement?

              Paid Search Marketing | | brettgus
              0
            • ProjectLabs

              What audience size do you need for a successful retargeting campaign?

              I recently launched a trial of a retargeting campaign but after a month I have only 100 impressions and 0 clickthroughs. I am working in a competitive space but I placed a relatively low bid because I read that retargeting campaign banner ads should cost less. The number of people who have been added to the retargeting list by visiting the site is under 10,000. What do you think is most likely to be the problem causing a low number of impressions and clickthroughs? Can a retargeting campaign be successful with a small audience size?

              Paid Search Marketing | | ProjectLabs
              0
            • Unity

              Adwords: Brand ads appear bottom of SERPs

              Hello, I'm running a sale promotion on a brand only Adwords campaign (I have the only account with trademark authorization) and have noticed that my ads are appearing at the bottom of the first page on Google. This happened last week so I split the campaign into three Adgroups and that fixed the problem but today I'm running brand only and there is no way to separate them. CPC has also increased dramatically. Normally it's less than 10 cents and now it's sitting at between $2-$4. Has anyone else seen this? Any ideas/advice on how to stop this happening? It's playing havoc with my CTR and conversions. Much thanks,
              Davinia

              Paid Search Marketing | | Unity
              2

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy

            Looks like your connection to Moz was lost, please wait while we try to reconnect.