Skip to Content
Google Advertising Tools
book

Google Advertising Tools

by Harold Davis
January 2006
Beginner to intermediate
366 pages
11h 42m
English
O'Reilly Media, Inc.
Content preview from Google Advertising Tools

Chapter 15. Navigating the AdWords Objects Hierarchy

In the real world, the most sensible use for the AdWords API is to integrate with systems that manage massive amounts of advertising. It makes sense to create custom AdWords API web service code if you are managing thousands of campaigns, ads, and keywords—on your own account or as an ad agency on behalf of clients.

Complex inventory systems that automatically publish AdWords ads when inventory items meet certain criteria—and revise these ads when an item goes out of stock—are also good candidates for automated interaction with the AdWords API.

In either of these cases, or to program any application that interacts with existing AdWords objects, you need to know how to navigate the hierarchy of existing AdWords objects in code. Starting with the authentication information for an account, you can programmatically access campaigns, ads, and the elements that make up ads (such as keywords).

This chapter shows you how to work your way from account information to campaign to AdGroup level, getting as granular as you’d like, all using C# and Visual Studio.NET .

Tip

C# .NET is appropriate to a technique that is most likely to be used in larger shops and allows a focus on the relationship of the AdWords classes and objects, rather than the XML of the AdWords API web services.

Working with the AdWords API Web Services

Visual Studio.NET provides excellent tools for working with web services. When you reference a web service in Visual Studio, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

The Truth About Pay-Per-Click Search Advertising

The Truth About Pay-Per-Click Search Advertising

Kevin Lee
Google Advertising Tools, 2nd Edition

Google Advertising Tools, 2nd Edition

Harold Davis, David Iwanow
How to Develop a Great Digital Strategy

How to Develop a Great Digital Strategy

Jeanne W. Ross, Cynthia M. Beath, Ina M. Sebastian

Publisher Resources

ISBN: 0596101082Errata Page