Hi,
DCM Account: 2210785
User profile ID: 9408147
We use PHP language and Google\Client libraries for authorization and Google\Service\Dfareporting with scope [DFAREPORTING, DDMCONVERSIONS] for sending conversions.
The conversion generation code looks like this:
```
$conversion = new Conversion();
$conversion->setFloodlightActivityId($floodlightActivityId);
$conversion->setFloodlightConfigurationId($floodlightConfigurationId);
$conversion->setTimestampMicros($timestampMicros);
$conversion->setOrdinal($ordinal);
$conversion->setMatchId($vbbHash);
```
Conversions are sent via a Batch request:
```
$batchInsertRequest = new ConversionsBatchInsertRequest();
$batchInsertRequest->setConversions([ $conversion ]);
$response = $gcmService->conversions->batchinsert($userProfileId, $batchInsertRequest);
```
When I request I receive the following response:
```
{
"error": {
"code": 403,
"message": "The caller does not have permission",
"errors": [
{
"message": "The caller does not have permission",
"domain": "global",
"reason": "forbidden"
}
],
"status": "PERMISSION_DENIED"
}
}
```
четверг, 6 июня 2024 г. в 21:03:09 UTC+3, DCM API (DoubleClick Campaign Mgr):