Hi,
Extract of my code PHP / example in google api php
// $customerId is account number 1231231234 from 123-123-1234
// $conversionActionId is number after AW-XXXXXXX
$data = array(
'conversion_action' =>
\Google\Ads\GoogleAds\Util\V9\ResourceNames::forConversionAction($customerId,
$conversionActionId),
'conversion_value' => $conversionValue,
'conversion_date_time' => $conversionDateTime,
'currency_code' => 'EUR' );
$clickConversion = new
\Google\Ads\GoogleAds\V9\Services\ClickConversion($data);
$clickConversion->setGclid($gclid);
$conversionUploadServiceClient =
$googleAdsClient->getConversionUploadServiceClient();
/** @var UploadClickConversionsResponse $response */
$response = $conversionUploadServiceClient->uploadClickConversions(
$customerId, [$clickConversion], true );
In my console in Google Ads, in Tools and settings > Measure > Conversions,
i have a list of conversion name. And i search to push lead converted,
defined by GCLID in this one specific conversion name with Google API php.
My question : how can i defined conversionName in clickConversion
properties ?
Thanks for your help
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit
https://groups.google.com/d/msgid/adwords-api/b1556b71-f820-4c1d-9342-681f8e9d527dn%40googlegroups.com.