I should note, this is happening on all keywords with a space. Example:
+ABCD +EF
On Wednesday, October 2, 2013 4:21:26 PM UTC-4, goingdev wrote:
>
> Using the API (201306) I'm trying to upload a phrase, exact and broad
> (with modifier) keyword to a campaign and an adgroup in a different
> campaign.
>
> All three keywords uploaded successfully to the adgroup but only the
> phrase and exact keyword was uploaded to the campaign.
>
> Here's the piece of code that uploads the negative keyword to the campaign:
>
> public static CampaignCriterionOperation
>>> GetCampaignNegativeKeywordOperation(string keywordText,
>>> Google.Api.Ads.AdWords.v201306.KeywordMatchType keywordMatchType, long
>>> campaignID, Google.Api.Ads.AdWords.v201306.Operator operat)
>>
>> {
>>
>> Keyword keyword = new Keyword
>>
>> {
>>
>> text = keywordText,
>>
>> matchType = keywordMatchType
>>
>> };
>>
>> NegativeCampaignCriterion criterion = new
>>> NegativeCampaignCriterion
>>
>> {
>>
>> campaignId = campaignID,
>>
>> criterion = keyword
>>
>> };
>>
>> CampaignCriterionOperation operation = new
>>> CampaignCriterionOperation
>>
>> {
>>
>> @operator = operat,
>>
>> operand = criterion
>>
>> };
>>
>>
>>> return operation;
>>
>> }
>>
>>
>>
> I can't seem to figure out where I'm going wrong. Any help is appreciated.
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.