Default Max. CPC for adgroup

554 views
Skip to first unread message

opalepatrick

unread,
Oct 31, 2011, 7:18:19 AM10/31/11
to adwor...@googlegroups.com

opalepatrick

unread,
Oct 31, 2011, 10:55:16 AM10/31/11
to adwor...@googlegroups.com
OK I can see that it is AdGroupService, so now I could do with an example for using the bid multiplier (in php preferably) but any language would help

opalepatrick

unread,
Oct 31, 2011, 11:07:21 AM10/31/11
to adwor...@googlegroups.com
I want to try an adapatation of the status update stuff.

    while ($row = mysql_fetch_assoc($result)) {
        // Create ad group with updated bid.
        $adGroup = new AdGroup();
        $adGroup->id = (float) $row['adgid'];
        $adGroup->multiplier = 0.75;
        // Create operations.
        $operation = new AdGroupOperation();
        $operation->operand = $adGroup;
        $operation->operator = 'SET';
        $newops[] = $operation;
    }
    $operations = $newops;

Will this adapt the adgroup max default cpc by 0.75?

Kevin Winter

unread,
Nov 2, 2011, 9:49:32 AM11/2/11
to adwor...@googlegroups.com

hpode...@gmail.com

unread,
Jul 18, 2013, 11:24:47 AM7/18/13
to adwor...@googlegroups.com
The sample link return page not found.
Could you please kindly share a sample on how to update Default Max CPC bit to a specific AdGroup?

Thanks in advance
Roberto

Paul Matthews (AdWords API Team)

unread,
Jul 22, 2013, 7:07:28 AM7/22/13
to adwor...@googlegroups.com
Hi Roberto,

The content from this topic is no longer relevant to all current versions of the API, as it was last posted to in 2011.

For general information about bidding, please see the bidding guide in our docs. The previously named MaxCpc is now exposed as CpcBid.bid in the latest version of the API.

For example code on setting the bidding strategy, each library ships with an add ad group example, which contains the relevant code. Here is a link to the java AddAdGroups.java example.

Regards,

- Paul, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages