Bulk sending operations via mutate and checking current api connections

59 views
Skip to first unread message

Darren thinkston

unread,
Aug 31, 2020, 1:32:09 PM8/31/20
to AdWords API and Google Ads API Forum
Hi,

Firstly I wanted to check that I have this right as we were recently rate limited for 24 hours as our automation program has grown. I modified it so that in theory it just does one call instead of x calls per keyword bid.

In a nutshell what I have done is built multiple operators for the AdGroupCriterionOperation Like :

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

Into the $operations array and sent them in one single mutate like :

$adGroupCriterionService->mutate( $operations );

I wanted to confirm that this will make just one call to the API and that it doestn unpack it and count the operations as calls.

Also is there a way for me to check how many calls we're making and from where it may be coming from?
e.g. 100 request to AdGroupCriterionService


Google Ads API Forum Advisor Prod

unread,
Aug 31, 2020, 4:15:23 PM8/31/20
to darren.ch...@usergain.com, adwor...@googlegroups.com
Hi Darren,

Each item in your API call will count as one operation. You can find more details here. Unfortunately, there is no way to check how many operations you've made in a day. 

Regards,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 
 

ref:_00D1U1174p._5004Q23w2QW:ref

Darren thinkston

unread,
Aug 31, 2020, 6:25:08 PM8/31/20
to AdWords API and Google Ads API Forum
Hi Anthony,

Thanks for getting back to me.

Ok so in the case of setting a keyword bid via the CrierionServices using mutate. Is there another way for me to change the keyword bids without each bid change costing an operation?

Regards Darren

Google Ads API Forum Advisor Prod

unread,
Sep 1, 2020, 9:55:30 AM9/1/20
to darren.ch...@usergain.com, adwor...@googlegroups.com
Hi Darren,

Unfortunately, there is no workaround for this in the API. You could use bulk uploads from the UI. This will allow you to make changes to your account in bulk based on a spreadsheet.

Regards,
Anthony
Google Ads API Team

ref:_00D1U1174p._5004Q23w2QW:ref

Darren USG

unread,
Sep 2, 2020, 6:30:15 AM9/2/20
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Hi Anthony,

Looks interesting. So by doing this would this count as one operation or does it bypass the operations?

--
Darren Chamberlain
darren.ch...@usergain.com
Desk tracking: [DESK-bcdb-1g288c]

Google Ads API Forum Advisor Prod

unread,
Sep 2, 2020, 11:37:57 AM9/2/20
to darren.ch...@usergain.com, adwor...@googlegroups.com
Hi Darren,

Bulk uploads are done through the UI so it won't cost you any API operations.

Cheers,

Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


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