Hi,
What i am trying to do, is to set every keyword within an adgroup to
have the same two adparamaters..

The idea is to update adverts with latest prices.

I can get the standard single mutate to work, however, when i try to
get the bulk mutate to run i get the error:
"Unable to create an instance of
com.google.ads.api.services.job.bulkmutate.v200909.jaxbgen.Operation"

I have tried using the example that comes with the php api lib, and
making a few changes to the function below.
Pretty much the rest of the example script remains the same...

Any help on this would be greatly received. :)




Here is a my example function.. i am using the same keyword ID and
only running one as a test..

//// Function to create the adparam
function CreateAdGroupCriterionOperations() {
  // Create keyword.


  $adGroupId = '3060196938';
  $keywordId = '11863432';

  // Create ad parameters.
  $adParam1 = new AdParam($adGroupId, $keywordId, '100', 1);
  $adParam2 = new AdParam($adGroupId, $keywordId, '$40', 2);

  // Create operations.
  $adParamOperation1 = new AdParamOperation();
  $adParamOperation1->operand = $adParam1;
  $adParamOperation1->operator = 'SET';

  $adParamOperation2 = new AdParamOperation();
  $adParamOperation2->operand = $adParam2;
  $adParamOperation2->operator = 'SET';

  $operations = array($adParamOperation1, $adParamOperation2);

  return array($operations);
}
///////////////////


-- 
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-...@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.

Reply via email to