I have looked at the code samples. I can loop through an adgroup
keyword list and see the bid:
foreach (AdGroupCriterion adGroupCriterion in
adGroupCriterionPage.entries)
{
if (adGroupCriterion.criterion is Keyword)
{
bidAmount = ((adGroupCriterion as
BiddableAdGroupCriterion).bids as
ManualCPCAdGroupCriterionBids).maxCpc.amount.microAmount;
Keyword keyword =
(Keyword)adGroupCriterion.criterion;
this.ListBox3.Items.Add((bidAmount/1000000) +
" - " + keyword.id + "-" + "," + keyword.text + "," +
keyword.matchType);
i just can not seem to understand how to update
the bid.
this sample throws me off I do not understand or get the criterion:
long adGroupId = long.Parse(_T("INSERT_AD_GROUP_ID_HERE"));
long criterionId = long.Parse(_T("INSERT_CRITERION_ID_HERE"));
I can get the adGroupId & campaignid I can get the keywordif,text and
type. I just dont understand getting the criterionid (for use with the
keyword) where does that come from and how do I get it to use it to
change the maxcpc for the keyword.?.
I am coding in csharp, so java and php examples do not help. Thanks
for any input or help.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en