## Prerequisites

### Google Ads API (Enabling Enhanced Conversions for account)

Visit Google Ads -> Goals -> Settings -> Enhanced Conversions

### Creaing Conversion Action

1. New Conversion Action
2. Select Create Conversion action manually
3. Select Purchase as Goal/Category
4. Set conversion name to Purchase
5. Select Use different values for each conversion
6. Click Done

### Obtaining Conversion Action ID

1. Click TEST API from the config to list all available conversion actions

### Google Ads API (Installing Libraries)

Run Composer commands:




### Google Ads API dealys / Missing Conversion Values


#### Delays

Please note that as for the reflected conversion values, if the Google Ads API uploads were successful, then the reflected values you are seeing in the API could either be encountering a delay in reflecting in the data freshness guide, and as also mentioned in our guide that it may take up to 3 hours for imported conversion statistics to appear in your Google Ads account for last-click attribution and Conversions attributed using attribution models other than “Last click” are typically delayed up to 15 hours. This may also possibly be performance related.

#### Dates

Uploaded conversions will be reflected in reports for the impression date of the original click, not the date of the upload request or the date of the conversion_date_time of the ClickConversion. That said, your uploaded conversions and their associated conversion values may reflect at a different date.

### Resources 

https://developers.google.com/google-ads/api/samples/upload-store-sales-transactions


### Example CALL

$this->ads->adjust($order->getId(), date('Y-m-d h:i:s+00:00'), $agent);