I believe this is coming from my addKeyword function:

<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type=
"RequiredError">
<fieldPath>operations[6].operand.criterion.text</fieldPath>
<fieldPathElements>
<field>operations</field>
<index>6</index>
</fieldPathElements>
<fieldPathElements>
<field>operand</field>
</fieldPathElements>
<fieldPathElements>
<field>criterion</field>
</fieldPathElements>
<fieldPathElements>
<field>text</field>
</fieldPathElements>
<trigger/>
<errorString>RequiredError.REQUIRED</errorString>
<ApiError.Type>RequiredError</ApiError.Type>
<reason>REQUIRED</reason>
</errors>

Do we know what's causing this? Here's the code within the function:

  $keyword = new Keyword();
  $keyword->text = $keywordToAdd;
  $keyword->matchType = $match_type;

  $adGroupCriterion = new BiddableAdGroupCriterion();
  $adGroupCriterion->adGroupId = $adGroupId;
  $adGroupCriterion->criterion = $keyword;
  $adGroupCriterion->userStatus = $status;

  $urlList = new UrlList();
  $urlList->urls = $finalUrls;
  $adGroupCriterion->finalUrls = $urlList;

  $operation = new AdGroupCriterionOperation();
  $operation->operand = $adGroupCriterion;
  $operation->operator = 'ADD';

  return $operation;


-- 
Feedonomics just launched *FeedSPIā„¢*, an innovative technology that allows 
you to create the* ultimate custom labels* based on the Google Shopping 
competitive pricing landscape. These custom labels allow you to reduce bids 
when your products are priced higher, and raise bids when your products are 
cheaper. Ask me about *FeedSPIā„¢ *today!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/15feeab2-b0cd-49e1-8a07-c7923a560dd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • RequiredError.R... sam
    • Re: Requir... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to