I'm trying to set the *campaign objective* while creating a new campaign
using the *Google Ads API (V18)*, but the class
Google\Ads\GoogleAds\V18\Enums\CampaignObjectiveEnum\CampaignObjective is
not found.
- *Environment:* Google Ads API V18, PHP SDK
- *Steps Taken:*
1. Verified namespace and API version.
2. Attempted to use CampaignObjectiveEnum\CampaignObjective but
encountered a "Class Not Found" error.
3. Checked the documentation, but campaign objectives don’t seem
directly configurable via the API.
- *Questions:*
1. Is it possible to programmatically set a campaign objective when
creating a campaign?
2. If not, is there an alternative method to apply a campaign
objective after campaign creation?
3. Are there any planned updates to the API that will allow setting
objectives via API?
Any help or insights would be appreciated!
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/adwords-api/6092a95b-8339-4ac8-9d87-a90919289df0n%40googlegroups.com.