What has happened recently is that the Ad Params have stopped working
accurately for two accounts (it seems fine for the other 7 accounts).
These are large accounts with many keywords (and high volume, 100ks
clicks per month). Not all are broken and the ones that are definately
have more than enough room for the ad param. This has also been
working fine for the last 6 months or so, but it seems in the last
week or two that has stopped and it has corrupted.
To confirm it isn’t an issue with the way our system interacted with
Ad Words I downloaded the Google AdWords .NET Library and used that to
update a keyword ad param and it didn’t work either (see below).

It appears that when setting up two Ad Params it sets one but not the
other, sometimes it sets the Ad Param 1, and “unsets” Ad Param 2, and
vice versa.


      // Prepare for setting ad parameters.
      AdParam priceParam = new AdParam();
      priceParam.adGroupId = adgroupId;
      priceParam.criterionId = keywordId;
      priceParam.paramIndex = 1;
      priceParam.insertionText = "221";

      AdParamOperation priceOperation = new AdParamOperation();
      priceOperation.@operator = Operator.SET;
      priceOperation.operand = priceParam;

      AdParam seatParam = new AdParam();
      seatParam.adGroupId = adgroupId;
      seatParam.criterionId = keywordId;
      seatParam.paramIndex = 2;
      seatParam.insertionText = "281";

      AdParamOperation seatOperation = new AdParamOperation();
      seatOperation.@operator = Operator.SET;
      seatOperation.operand = seatParam;

      try {
        // Set ad parameters.
        AdParam [] newAdParams = adParamService.mutate(new
AdParamOperation[]
            {priceOperation, seatOperation});
        if (newAdParams != null) {
          Console.WriteLine("Ad parameters were successfully
updated.");
        } else {
          Console.WriteLine("No ad parameters were set.");
        }
      } catch (Exception ex) {
        Console.WriteLine("Failed to set ad ad parameter(s). Exception
says \"{0}\"", ex.Message);
      }

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

Reply via email to