I was able to add a new keyword with a new bet to the group.
$keyword = new Keyword();
$keyword->setText('TEST WORD');
$keyword->setMatchType(KeywordMatchType::BROAD);
But how do I change the bet of an existing keyword by knowing keywordID?
It does not work:
$keywordID = 1234567890;
$keyword = new Keyword($keywordID);
среда, 4 сентября 2019 г., 9:14:29 UTC+3 пользователь adsapiforumadvisor
написал:
>
> Hi Dmitry,
>
> Yes, the AdGroupService.mutate() sets bid on an ad group level. You can
> also set bids on keywords individually using
> the AdGroupCriterionService.mutate(). You can refer to this sample code
> <https://developers.google.com/adwords/api/docs/samples/java/basic-operations#add-keywords-to-an-ad-group>
>
> (also available in different languages) on how to add keywords with bids.
>
> Regards,
> Dannison
> Google Ads API Team
>
> ref:_00D1U1174p._5001UHFS8N:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/5c00ff5d-4148-45b4-870d-3508c340599c%40googlegroups.com.