• majorAlexa

        See all notifications

        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
        • My Q&A
        • 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
        20720
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        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

                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

                • MWM3772

                  Do IP and/or DNS changes impact Paid search (Adwords, Bing, etc.)

                  What impact (if any) does IP or DNS changes, have on paid search campaigns? We recently performed an upgrade to our sites that required a datacenter change (but within the same region East US)  and DNS change.  We believe there may have been an impact to our ad campaigns in the form of suppression of our ads following the change, specifically - Google Adwords. Is there any information regarding this issue or has anyone experienced this before? Thanks

                  Paid Search Marketing | | MWM3772
                  1
                • DanDeceuster

                  Can a third-party advertising agency lock me out of Adwords?

                  Hey all, I've just started at a new company. We spend quite a bit on Adwords and I'm tasked with seeing how that is going and assessing that spend. The problem is, Adwords and Youtube ads have been given to a third-party advertising agency. They are only willing to share the number of clicks, cost and conversions, stuff like that. They refuse to give us access to the account. Is this legal? I mostly want to get in there to look at keyword history, see what we have bid on, how often it was searched, stuff like that. But they won't let us in and I'm wondering if they are required to let us look at our account as I would think they are. Please help!

                  Paid Search Marketing | | DanDeceuster
                  2
                • 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
                • 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
                • howlusa

                  World Localities in AdWords?

                  If I target the topic "World Localities>San Antonio", what type of sites my ads will be display? Are they sites about San Antonio, like tourism guides or event listings? Or are they related to San Antonio, like a university or flower shop in San Antonio?

                  Paid Search Marketing | | howlusa
                  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
                • digitalarts

                  Adwords budget for different days of the week

                  We operate a Google Adwords campaign that clearly performs better conversion wise on Monday, Tuesday and Wednesdays ... What is the best way to stack a higher daily budget on specifc days in Adwords - There doesn't appear to be any formal way of doing this and the advice online is mixed...

                  Paid Search Marketing | | digitalarts
                  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.