-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While updaing google campaigns using API i keep getting call to undefined method error for a google ads api method #1039
Comments
Could you share your whole code? And do you use C or PHP implementations? |
Sure here is the code:
Let me know if there's anything else you need from me |
Note: I removed some personal identifiers from you answer.
Could you please answer another question of mine? |
i use PHP implementation: |
And one more thing, this error only happens when i use the target_cpa value. Updating status is not an issue |
@fiboknacky any updates? |
Hello @kshitizdhakalpsq, Sorry for this late reply. I was on vacation. One of the possible causes would be you've installed the C implementation as well and they're kind of confusing the system like described in this comment. |
v22.1.0
V16
Your environment: Lumen
protobuf
is used or not: 4.27.3.grpc
is used or not:1.59.1.grpc
orrest
): grpc.Description of the bug:
Call to undefined method Google\Protobuf\FieldDescriptor::getRealContainingOneof()
Steps to reproduce:
while using:
$campaign = new Campaign($googleParams);
$campaignOperations = [];
$campaignOperation = new CampaignOperation();
$campaignOperation->setUpdate($campaign);
$campaignOperation->setUpdateMask(FieldMasks::allSetFieldsOf($campaign));
Expected behavior:
Campaign Update with no error, This happens when i go into the google ads api library and comment the line using
getRealContainingOneof
methodRequest/Response Logs:
Im not getting any response logs, im just stuck in the error previously mentioned and the logs appear when i comment out the method name and the intended operation is successful
Please let me know if you need any more information from my side
The text was updated successfully, but these errors were encountered: