Here is the code I use:

// Create an upload conversion for offline conversion imports.
$conversionTracker = new UploadConversion();
$trackerName = 'domain_host';
$conversionTracker->setName($trackerName);
$conversionTracker->setViewthroughLookbackWindow(30);
$conversionTracker->setCtcLookbackWindow(90);

// Create operation.
$operation = new ConversionTrackerOperation();
$operation->setOperand($conversionTracker);
$operation->setOperator(Operator::ADD);

// Create the conversion tracker on the server.
$adwordsService->mutate([$operation]);

On Thursday, September 30, 2021 at 5:48:02 PM UTC+3 Titus Filip wrote:

> Hello<
>
> I try to create an upload conversion for offline conversion imports but I 
> have an error "ConversionTrackingError.DOMAIN_EXCEPTION @ operations[0]".
> I check the description for this error "An exception occurred in the 
> domain layer during an attempt to process a // ConversionTypeOperation." 
> but is too generic and it doesn't help me to find what is the problem.
>
> I would like to know based on that error where the problem could be? Could 
> the problem be with my code (it worked fine until now) ? or something 
> related to that google account ?
>
> I'm using Adwords API v201809,  php library googleads 
>
> Thanks,
> Titus

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/68ab35fb-e9cd-4764-88d1-e51d3b93fd5bn%40googlegroups.com.

Reply via email to