location bids adjustments through api

649 views
Skip to first unread message

techpoi...@gmail.com

unread,
Jun 12, 2013, 12:40:02 AM6/12/13
to adwor...@googlegroups.com
Hi,

Using CampaignCriterionService, we are getting entries for [criterion] => Location, but it shows blank locationNames for all. 

I think it is not possible to change location bids adjustments using API. Is there any alternate way, like can i delete all location entries and add them again without bids adjustments using API.

My basic requirement is to reset/remove all bids adjustments for all locations under campaign settings.


Takeshi Hagikura (AdWords API Team)

unread,
Jun 14, 2013, 5:42:22 AM6/14/13
to adwor...@googlegroups.com
Hi 

Currently it's not supported to adjust bid modifier for Location through API.
But I think it's different that you can't get the locationName. 

If you include "LocationName" in your selector, you should get the locationName.
Please see this reference for all selectable fields.

Best,
- Takeshi, AdWords API Team

Kenny Chung

unread,
Jul 1, 2013, 6:24:26 AM7/1/13
to adwor...@googlegroups.com
Hi,

Is this feature likely to be implemented in the future?

Regards,

Kenny

Anash P. Oommen (AdWords API Team)

unread,
Jul 2, 2013, 5:07:38 AM7/2/13
to adwor...@googlegroups.com
Hi Kenny,

We have added this item to the feature request sheet, this may be implemented in a future version of AdWords API. I don't have insights on when it may become available.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Jared

unread,
Sep 19, 2013, 12:49:41 PM9/19/13
to adwor...@googlegroups.com
Hello Anash, Takeshi,

Is there an update on this? Any expectation of this being implemented? Thanks

Takeshi Hagikura (AdWords API Team)

unread,
Sep 20, 2013, 1:55:27 AM9/20/13
to adwor...@googlegroups.com
Hi Jared,

It's still on the roadmap, but at the moment we can't tell you when this will be available. 

Best,
- Takeshi, AdWords API Team

Derrick Pelletier

unread,
Oct 22, 2013, 6:41:08 PM10/22/13
to adwor...@googlegroups.com
Hi Takeshi,

Just checking in for another update. Any developments, or word of a date, on when this will be available now that v201309 is out?

Thanks,
Derrick

Jeremy Aube

unread,
Oct 24, 2013, 4:38:30 PM10/24/13
to adwor...@googlegroups.com

Derrick Pelletier

unread,
Oct 24, 2013, 4:43:27 PM10/24/13
to adwor...@googlegroups.com
Ah! Thanks Jeremy, not sure how I missed that. What a relief.

TokTok.p49 Tig

unread,
Jan 3, 2020, 12:37:03 PM1/3/20
to AdWords API and Google Ads API Forum

 $campaignCriterionService = $adWordsServices->get($sessionCampaignCriterionService::class);

        $location = new Location();
        $location->setId(id);

        $campaignCriterion = new CampaignCriterion();
        $campaignCriterion->setCampaignId(id);
        $campaignCriterion->setCriterion($location);
        $campaignCriterion->setBidModifier(3.0);

        $operation = new CampaignCriterionOperation();
        $operation->setOperand($campaignCriterion);
        $operation->setOperator(Operator::SET);
        $operations[] = $operation;

        $result = $campaignCriterionService->mutate($operations);
check this code.

Google Ads API Forum Advisor Prod

unread,
Jan 6, 2020, 10:10:32 AM1/6/20
to nys...@gmail.com, adwor...@googlegroups.com
Hello,

Your code looks fine. If you are having issues, please create a new thread with your issues since this is a very old thread.

Regards,
Anthony
Google Ads API Team

ref:_00D1U1174p._5001UOFn2i:ref
Reply all
Reply to author
Forward
0 new messages