Hello, 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.
That being said, if you try to add a keyword into an ad group that already has a keyword with the same text and match type, nothing disastrous should happen. The existing keyword (including click history) should be maintained. You'll be charged for the keyword addition, though. Cheers, -Jeff Posnick, AdWords API Team On Jul 13, 3:50 pm, notalian <[email protected]> wrote: > 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/trun... > > // Add keyword if there are no policy violations. > if (errors == null) { > Criterion[] criteria = service.addCriteria( > new Criterion[] {keyword}); > > Please refer us to the documentation that we should look at or suggest > what we should do. We'd appreciate any help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~----------~----~----~----~------~----~------~--~---
