Create Demand Gen Campaign using ads API

56 views
Skip to first unread message

Aman Ansari

unread,
Oct 1, 2024, 8:12:50 AM10/1/24
to Google Ads API and AdWords API Forum
Hi,
I am trying to create a Demand Gen Campaign using the AdWords API with the official Google Ads PHP library.

V17\GoogleAdsClientBuilder" not found.

However, I am facing errors related to modules, even though they are imported correctly. I have also referred to the documentation of the PHP library but didn't find any solutions.

Please check the thread link below, as my issue is exactly the same.
https://github.com/googleads/google-ads-php/issues/1041

Google Ads API Forum Advisor

unread,
Oct 1, 2024, 12:42:46 PM10/1/24
to ansar...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

As mentioned in the issue tracker, that the issue was fixed in PR #1043. They will release the new version of the client library later. But you can check out the code in that pull request right now if you wish. You can follow the release notes for the new version of the client library which will be released later. As this error is specific to the client library, if you still encounter this issue, I would suggest you create a "New issue" with the developer who maintains the PHP client library using this link.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGbb6:ref" (ADR-00270235)

Thanks,
 
Google Logo Google Ads API Team


Aman Ansari

unread,
Oct 28, 2024, 9:05:22 AM10/28/24
to Google Ads API and AdWords API Forum
Hi,

I have switched to python library for Demand Gen Campaigns and I can successfully create Demand Gen Campaigns using API.
I need your help in a option of a  Demand Gen Campaigns Ad,  button called "Get vertical and square versions of your videos" under ad is not enabled by default and I cannot find any parameter to enable this button.
I have attached an image for your reference.
Screenshot 2024-10-28 133120.png
Reply all
Reply to author
Forward
0 new messages