Drupal Google Ads Api

49 views
Skip to first unread message

Kumerasen Madurai

unread,
May 17, 2022, 8:41:25 AM5/17/22
to Google Ads API and AdWords API Forum
Hi team,

I am getting following error when i run the AddCompleteCampaignsUsingBatchJob.php

The operation is not allowed for the given context., at mutate_operations[0].campaign_budget_operation

Can you please guide me to resolve this error

Thank you,
Kumerasen

Google Ads API Forum Advisor

unread,
May 17, 2022, 11:11:28 AM5/17/22
to kume...@bwcubesmart.com, adwor...@googlegroups.com

Hi Kumerasen,

Thanks for reaching out to the Google Ads API Forum.

For us to investigate further on the encountered error “operation is not allowed for the given context”, could you provide us with the complete request and response logs with the request-id, so our team can better check?

For the client library, logging can be enabled by navigating to the Client libraries > Your client library (select PHP) > Logging documentation, which you can access from this link. You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2atWLP:ref

Kumerasen Madurai

unread,
May 17, 2022, 11:31:04 AM5/17/22
to Google Ads API and AdWords API Forum
Hi team, 

Thank you for your response,

I have added request and response also request id to sent to author,

I hope to response back.

Thank you,
Kumerasen

Google Ads API Forum Advisor

unread,
May 18, 2022, 10:18:22 AM5/18/22
to kume...@bwcubesmart.com, adwor...@googlegroups.com
Hello Kumerasen,

Thanks for replying back to us. As Yasar mentioned in the previous response, for us to investigate the issue further, could you please provide us with the complete logs within the format of the request and response logs with request-id and request-header generated on your end, so that our team may take a closer look at the issue you’re experiencing.

For the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. PHP) > Logging documentation, which you can access from this link.

Please send the requested details via the Reply privately to the author option. If this option is not available, you may send the details directly to our googleadsapi-support@google.com alias by referring to this thread.

Best Regards,
Google Logo
Jakeia
Google Ads API Team
 

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