Hi Swetha,
thanks for your answer. The problem is, we are doing it the way you describe it, but if we resend the AdGroup oder KeywordOperations with an ExemptionRequest the temporary IDs are wrong. Here is a dump of the error:
object(MutateResult)#4184 (3) {
["result"]=>
NULL
["errorList"]=>
object(ErrorList)#4186 (1) {
["errors"]=>
object(EntityNotFound)#4062 (6) {
["reason"]=>
string(10) "INVALID_ID"
["fieldPath"]=>
string(31) "operations[1].operand.adGroupId"
["trigger"]=>
string(16) "TempAdGroupId: 3"
["errorString"]=>
string(25) "EntityNotFound.INVALID_ID"
["ApiErrorType"]=>
string(14) "EntityNotFound"
["_parameterMap":"ApiError":private]=>
array(1) {
["ApiError.Type"]=>
string(12) "ApiErrorType"
}
}
}
["index"]=>
int(1)
}
How do we handle it? Because we create everything with temporary IDs first (campaign, adgroup, adgroupad, keywords), and if there is an exemptable error (e.g. pharma), we want to resend the operation with the exemption request.
Thanks,
Christian