Solved

Google Adwords Add or Update Keywords

Posted on 2009-07-13
1
411 Views
Last Modified: 2013-11-10
We are trying to use Adwords API to add keyword to an existing adgroup. We'd like to implement it so it ignores keywords that already exist and inserts only the ones that do not exist in the adgroup.

Currently, API inserts all keywords which results in duplicate keywords. We are using code found on this page:
http://adwords-api-dotnet-samples.googlecode.com/svn-history/r25/trunk/src/AddKeyword.cs
Please refer us to the documentation that we should look at or suggest what we should do. We'd appreciate any help.
// Add keyword if there are no policy violations.
        if (errors == null) {
          Criterion[] criteria = service.addCriteria(
            new Criterion[] {keyword});

Open in new window

0
Comment
Question by:zakali
1 Comment
 

Accepted Solution

by:
zakali earned 0 total points
ID: 24849744
This comment from Goo API team suggests that this may not be possible. "The recommended solution would be to keep track of which keywords are currently in a given ad group, and don't attempt add identical keywords to the same ad group."
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Studio 2013  Distorts Chrome Browser 2 182
PHP v5.4 and Class 'mysqli' not found  error 8 161
Search on a site 5 112
WCAG (Web Content Accessibility Guidelines) levels 3 101
In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question