Conversions API Gateway untuk Multiple Accounts Control Plane API: Referensi

Konfigurasi Perutean Data Akun

Memperbarui Perutean Data

Memungkinkan menentukan domain pihak pertama untuk Pixel guna berkomunikasi dengan Gateway. Detail selengkapnya di sini.

Skema

POST https://{capig_domain}/capig/graphql/ 
_________________________________________________________________________________________________________________
      
mutation IngressEditingModalMutation(
 $tenantId: ID!
 $input: IngressDomainInput
) {
 tenantMutations(tenantId: $tenantId) {
   upsertIngressDomain(input: $input) {
     id
     ingress
     cnameResolveSuccess
     tenantName
     enhancementTenantIngressVerifiedResult {
       id
       tenantIngressVerified
     }
   }
 }
}
_________________________________________________________________________________________________________
tenantId: ID!
_______________________________________________________________________________________________________
input IngressDomainInput {
  ingress: String!
  targetDomain: String!
}
     

Kolom

KolomDeskripsi

tenantId
String

Wajib

Pengidentifikasi unik akun


IngressDomainInput

KolomDeskripsi

ingress
String

Wajib

Subdomain baru yang perlu diperbarui

targetDomain
String

Wajib

Domain Gateway Mitra


Pengembalian

KolomDeskripsi

IngressDomain
IngressDomain

Objek domain masuk


Kode Kesalahan

KodeDeskripsi

401

Tidak diotorisasi untuk meningkatkan domain masuk

500

Kesalahan server internal


Contoh Permintaan

Mutasi

 mutation IngressEditingModalMutation(
$tenantId: ID!
$input: IngressDomainInput
) {
tenantMutations(tenantId: $tenantId) {
  upsertIngressDomain(input: $input) {
    id
    ingress
    cnameResolveSuccess
    enhancementTenantIngressVerifiedResult {
      id
      tenantIngressVerified
    }
  }
}
}
     

Variabel

{
  "tenantId": "IaoreXfj",
  "input": {
      "ingress": "capig.advertiser.com",
      "targetDomain": "capig.targetDomain.com"
  }
}
     

Contoh Tanggapan

{
   "data": {
       "tenantMutations": {
           "upsertIngressDomain": {
               "id": "IaoreXfj:ingress",
               "ingress": "capig.advertiser.com",
               "cnameResolveSuccess": true,
               "enhancementTenantIngressVerifiedResult": {
                   "id": "IaoreXfj:tenantIngressVerified",
                   "tenantIngressVerified": true
               }
           }
       }