Can not create experiemnt for a campaign

382 views
Skip to first unread message

Sany Ahmed

unread,
Jun 4, 2015, 11:33:00 PM6/4/15
to adwor...@googlegroups.com
Hi,

As I am successful to create experiments on campaigns & start/end/remove as my requirements using php adword api v201502 but i am stuck to create an experiment on some campaign.It throws CANNOT_CREATE_EXPERIMENT_FOR_BIDDING_STRATEGY.

How to solve this
CANNOT_CREATE_EXPERIMENT_FOR_BIDDING_STRATEGY error?
Can you please provide some code for checking experiment exists or not before adding experiments?


Thanks
Sany

Josh Radcliff (AdWords API Team)

unread,
Jun 5, 2015, 11:31:50 AM6/5/15
to adwor...@googlegroups.com, san...@gmail.com
Hi Sany,

That error means that the campaign or its ad groups are not eligible for experiments. The following conditions will make a campaign ineligible:
  • The campaign is using the PERCENT_CPA bidding strategy
  • The campaign is using a shared bidding strategy
  • One or more of the campaign's ad groups has a bidding strategy override
You can check for these conditions by inspecting the Campaign.biddingStrategyConfiguration and AdGroup.biddingStrategyConfiguration before attempting to create your experiments.

Cheers,
Josh, AdWords API Team

Sany Ahmed

unread,
Jun 6, 2015, 1:42:33 AM6/6/15
to adwor...@googlegroups.com, san...@gmail.com
Hi Josh,

Thanks for your reply. But my campaign's BiddingStrategyType is MANUAL_CPC i.e cpc

Can you explain "One or more of the campaign's ad groups has a bidding strategy override"?
How can i check experiment is already created on campaign before adding experiment?

Thanks
Sany

Josh Radcliff (AdWords API Team)

unread,
Jun 8, 2015, 10:18:52 AM6/8/15
to adwor...@googlegroups.com, san...@gmail.com
Hi Sany,

You can check if your ad group has a bidding strategy set by retrieving the AdGroup and checking its biddingStrategyConfiguration.biddingStrategySource. If that field is set to ADGROUP, then the ad group has an ad group-level bidding strategy override.

To determine if a campaign already has an experiment, you can issue an ExperimentService.get with a Predicate on CampaignId = your_campaign_id and Status = ENABLED.

Cheers,
Josh, AdWords API Team

Sarah Riddell

unread,
Jun 13, 2015, 11:55:42 AM6/13/15
to adwor...@googlegroups.com, san...@gmail.com
Hi Josh,

Thanks for you reply.

 Thanks
 Sany
Reply all
Reply to author
Forward
0 new messages