-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathppc-optimizer.gcs.ai.yaml
69 lines (69 loc) · 1.93 KB
/
ppc-optimizer.gcs.ai.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
openapi: 3.0.1
info:
title: CompetitorPPCAds
description: Discover your competitors' best PPC ads by entering their website address.
version: 'v1'
servers:
- url: https://ppc-optimizer.gcs.ai
paths:
/api/optimize:
get:
operationId: getOptimizedAdHistory
summary: Get the PPC ad history of a domain
description: Returns the latest competitor ads data for the given domain.
parameters:
- in: query
name: domain
schema:
type: string
required: true
description: The domain for which to retrieve the PPC ad history.
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/getOptimizedAdHistoryResponse'
"400":
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/errorResponse'
"500":
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorResponse'
components:
schemas:
getOptimizedAdHistoryResponse:
type: object
properties:
keywords:
type: array
items:
type: object
properties:
keyword:
type: string
ads:
type: array
items:
type: object
properties:
title:
type: string
url:
type: string
body:
type: string
description: The latest PPC ad history of the requested domain.
errorResponse:
type: object
properties:
error:
type: string
description: A human-readable error message.