change bid to display Network

43 views
Skip to first unread message

t...@jooble.mygbiz.com

unread,
Nov 1, 2013, 8:42:18 AM11/1/13
to adwor...@googlegroups.com
I know how to change Default max cpc
it looks like:
List<Operation> operations = new List<Operation>();

foreach (KeyValuePair<long, double> keyValuePair in margin)
{
AdGroupOperation operation = new AdGroupOperation {@operator = Operator.SET};
// Update the ad group.
var amount = Convert.ToInt64(keyValuePair.Value * 1000000);
var costsPerClickBid = new CpcBid {bid = new Money {microAmount = amount}};
var biddingConfig = new BiddingStrategyConfiguration {bids = new Bids[1]};
biddingConfig.bids[0] = costsPerClickBid;
biddingConfig.biddingScheme;
var adGroup = new AdGroup
{
status = AdGroupStatus.ENABLED,
biddingStrategyConfiguration = biddingConfig,
id = keyValuePair.Key
};
operation.operand = adGroup;
operations.Add(operation);
}
BulkMutateJobPolicy policy = new BulkMutateJobPolicy();
policy.prerequisiteJobIds = new long[] { };

SimpleMutateJob job = mutateJobService.mutate(operations.ToArray(), policy);



But we use display network and i want to change displayNetworkMaxCPC
How could i do this?

Takeshi Hagikura (AdWords API Team)

unread,
Nov 6, 2013, 5:02:58 AM11/6/13
to adwor...@googlegroups.com
Hi, 

Please use contentBid for max cpc for content. 

Best,
- Takeshi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages