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
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • 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.

      Let your business shine with Listings AI
      Moz Local

      Let your business shine with Listings AI

      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.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • 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.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • 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.

      • 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
    20711
    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

            • TZ1982

              Top of funnel google ads campaign not hardly converting, why?

              Hi, I really hope someone can help me with this.  I'm running two search ad campaigns and a google shopping campaign in google ads. The search campaigns are targeting top-of-funnel keywords as the business doesn't have universally known collections which everyone would search for so they are just unique to my business.  So the campaigns are driving traffic but really converting whereas google shopping is converting because searchers are looking for particular products so they're lower down the funnel closer to aking a purchase decision. I feel I've optimised the campaign well and for the most part, most keywords have 7/10 quality score. The landing page seems fine. However, our offering wasn't as strong as competitors so we've offered a discount the same as them to compete. Since I started google ads we have nearly doubled our monthly revenue and the product types targeted in campaigns have increased in quantity sold so it seems it's having an effect but the campaigns aren't showing a good performance. Does anyone have any suggestions or input that could help me? I looked at first interaction attribution model and even there it's not performing well which makes this even more difficult to resolve. I'm thinking I should enable USER id feature in Google analytics so i can track signed in users across devices which may then help attribute sales to paid search channel as I saw in search console that the keyword that generates the most traffic to the site is our brand name and we're not a well-known brand so makes me think they may be starting their buyer's journey on a work computer on their mobile and finishing on their computer at home as an example.  However, I don't believe this will be the main cause or solution as I would only have data for signed in users which still won't give me the full picture. Also if the campaign is optimised effectively but conversions are minimal could not having many conversions affect quality score? If someone can help or provide me with a different perspective it would be much appreciated. Please let me know if I need to clarify or explain further. I hope I've made myself clear. Thanks, T

              Paid Search Marketing | | TZ1982
              0
            • RCDesign74

              AdWords & Iframes?

              We have a client that has syndicated content across a variety of domains. They have no access to the domain/hosting for the site that the content is being syndicated on, but would like to run PPC campaigns to these pages. The page is a header, footer and then the main page content is inside of an iframe, and I was wondering if Google will even allow that to be used as a landing page for a PPC campaign? Thanks!

              Paid Search Marketing | | RCDesign74
              0
            • 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
            • Whittie

              Quick Question: Anchor links on Adwords main URL?

              Is it OK to use anchor links on the main URL of an advert on Google Adwords? Example: www.example.com/#example Had a little Google, and not much was returned on the topic. Many Thanks, Alex

              Paid Search Marketing | | Whittie
              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
            • Instabill

              AdWords Sitelinks Disapproved

              Hello,
              I cannot find a justifiable reason as to why Google AdWords has disapproved my sitelinks. 1. My link text is descriptive of each page. For instance, I use the link text "Merchant Accounts" for the URL http://www.instabill.com/services/merchant-accounts/ 2. I have four extensions within one campaign. Each have 5 sitelinks with all the same link text and destination URLs. However, only two of the "Merchant Accounts" sitelinks were disapproved from two out of the four extensions. Two "High Risk Accounts" linking to our High Risk Merchant Accounts page were disapproved out of my four extensions, one "Industries We Serve" to our eCommerce Industries page was disapproved, and one "Offshore Accounts to our Offshore Merchant Accounts page was disapproved. Why are some disapproved and not all? 3. I use Daddy Analytics to generate my destination URLs for tracking purposes, but I do not see this as being an issue since the URL still begins with the URL in bullet point 1. After reading a few threads within the AdWords community and reading the AdWords Sitelinks Guidelines, I feel as if I have followed the guidelines. Any helpful advice would be appreciated.

              Paid Search Marketing | | Instabill
              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
            • SWKurt

              Does anybody know of a good bulk import http response checker? The one I was using has disappeared and I can only find checkers that only take one URL at a time.

              An example of something I'm looking for but I want to check multiple checkers: http://web-sniffer.net/

              Paid Search Marketing | | SWKurt
              0

            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
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation 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.