Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SaadBelfqih/apple-ads-cli
/ functions
Functions
188 in github.com/SaadBelfqih/apple-ads-cli
⨍
Functions
188
◇
Types & classes
96
↓ 82 callers
Function
printOutput
(data any)
cmd/root.go:118
↓ 28 callers
Method
Post
Post performs a POST request with a JSON body.
internal/api/client.go:61
↓ 24 callers
Method
Get
(campaignID, adGroupID, adID int64)
internal/api/ads.go:31
↓ 20 callers
Method
Negatives
()
internal/api/negatives.go:14
↓ 16 callers
Method
List
(campaignID, adGroupID int64, limit, offset int)
internal/api/ads.go:44
↓ 15 callers
Method
Keywords
()
internal/api/keywords.go:14
↓ 12 callers
Function
collectAllSelectorPaginated
(sel *types.Selector, pageSize int, fetch func(*types.Selector) ([]T, *types.PageDetail, error))
cmd/pagination.go:53
↓ 11 callers
Method
AdGroups
()
internal/api/adgroups.go:15
↓ 11 callers
Method
Ads
()
internal/api/ads.go:14
↓ 11 callers
Function
parseJSONInput
parseJSONInput parses JSON from --from-json flag (inline, @file, or - for stdin).
cmd/helpers.go:61
↓ 10 callers
Method
Find
(campaignID, adGroupID int64, selector *types.Selector)
internal/api/ads.go:65
↓ 10 callers
Method
ProductPages
()
internal/api/product_pages.go:14
↓ 10 callers
Function
collectAllOffsetPaginated
(pageSize, startOffset int, fetch func(limit, offset int) ([]T, *types.PageDetail, error))
cmd/pagination.go:18
↓ 9 callers
Method
Campaigns
Campaigns returns a CampaignService.
internal/api/campaigns.go:17
↓ 9 callers
Function
parseSelector
parseSelector parses a selector from --selector-json flag or inline flags.
cmd/helpers.go:14
↓ 8 callers
Method
AdRejections
()
internal/api/ad_rejections.go:14
↓ 8 callers
Method
Create
(campaignID, adGroupID int64, req *types.AdCreate)
internal/api/ads.go:18
↓ 8 callers
Function
okJSON
(body string)
internal/api/paths_test.go:27
↓ 7 callers
Method
Put
Put performs a PUT request with a JSON body.
internal/api/client.go:66
↓ 7 callers
Function
moneyFromAmount
(amount string)
cmd/helpers.go:160
↓ 6 callers
Method
Creatives
()
internal/api/creatives.go:14
↓ 6 callers
Function
parseSelectorJSON
parseSelectorJSON parses JSON from a string or @file.
cmd/helpers.go:35
↓ 6 callers
Function
prompt
(reader *bufio.Reader, label, defaultVal string)
internal/config/config.go:191
↓ 5 callers
Method
Apps
()
internal/api/apps.go:15
↓ 5 callers
Method
BudgetOrders
()
internal/api/budgetorders.go:14
↓ 5 callers
Method
Delete
(campaignID, adGroupID, adID int64)
internal/api/ads.go:103
↓ 5 callers
Method
Reports
()
internal/api/reports.go:14
↓ 5 callers
Method
Update
(campaignID, adGroupID, adID int64, req *types.AdUpdate)
internal/api/ads.go:90
↓ 5 callers
Function
addReportFlags
(cmd *cobra.Command)
cmd/reports.go:49
↓ 5 callers
Function
buildReportRequest
(cmd *cobra.Command)
cmd/reports.go:13
↓ 5 callers
Function
newTestClient
(t *testing.T, orgID string, rt roundTripFunc)
internal/api/paths_test.go:17
↓ 5 callers
Function
printRawJSON
(data []byte)
cmd/root.go:122
↓ 4 callers
Method
ACLs
ACLs returns an ACLService.
internal/api/acls.go:16
↓ 4 callers
Method
Get
(productPageID string, adamID int64)
internal/api/product_pages.go:31
↓ 4 callers
Method
ImpressionShare
()
internal/api/impression_share.go:14
↓ 4 callers
Function
normalizeCurrencyCode
(v string)
cmd/helpers.go:95
↓ 3 callers
Method
DeleteWithBody
DeleteWithBody performs a POST-as-DELETE (for bulk delete endpoints).
internal/api/client.go:76
↓ 3 callers
Method
FindAssets
(adamID int64, selector *types.Selector)
internal/api/ad_rejections.go:43
↓ 3 callers
Method
Search
(query, countryCode, entity string, limit int)
internal/api/geo.go:19
↓ 3 callers
Function
compareVersions
(latestTag, current string)
internal/updatecheck/updatecheck.go:87
↓ 3 callers
Function
configPath
()
internal/config/config.go:44
↓ 3 callers
Method
doJSON
(method, path string, body any)
internal/api/client.go:80
↓ 3 callers
Function
isSafeToRetry
(method, path string)
internal/api/client.go:188
↓ 3 callers
Function
unmarshalWithNumbers
unmarshalWithNumbers uses json.Decoder with UseNumber() to preserve integer precision.
internal/output/table.go:62
↓ 2 callers
Method
AdGroupCreate
Ad group-level negative keywords
internal/api/negatives.go:104
↓ 2 callers
Method
AdGroupDelete
(campaignID, adGroupID int64, keywordIDs []int64)
internal/api/negatives.go:179
↓ 2 callers
Method
AdGroupFind
(campaignID, adGroupID int64, selector *types.Selector)
internal/api/negatives.go:152
↓ 2 callers
Method
AdGroupList
(campaignID, adGroupID int64, limit, offset int)
internal/api/negatives.go:131
↓ 2 callers
Method
CampaignCreate
Campaign-level negative keywords
internal/api/negatives.go:20
↓ 2 callers
Method
CampaignDelete
(campaignID int64, keywordIDs []int64)
internal/api/negatives.go:95
↓ 2 callers
Method
CampaignFind
(campaignID int64, selector *types.Selector)
internal/api/negatives.go:68
↓ 2 callers
Method
CampaignList
(campaignID int64, limit, offset int)
internal/api/negatives.go:47
↓ 2 callers
Method
Countries
()
internal/api/product_pages.go:57
↓ 2 callers
Method
DeleteOne
DeleteOne deletes a single keyword.
internal/api/keywords.go:115
↓ 2 callers
Method
DeviceSizes
()
internal/api/product_pages.go:69
↓ 2 callers
Method
Error
()
internal/api/errors.go:19
↓ 2 callers
Method
FindAll
(selector *types.Selector)
internal/api/ads.go:78
↓ 2 callers
Method
FindCampaign
(campaignID int64, selector *types.Selector)
internal/api/keywords.go:79
↓ 2 callers
Method
Geo
()
internal/api/geo.go:15
↓ 2 callers
Method
Get
Get performs a GET request.
internal/api/client.go:56
↓ 2 callers
Function
Load
()
internal/config/config.go:52
↓ 2 callers
Method
Locales
(productPageID string, adamID int64)
internal/api/product_pages.go:44
↓ 2 callers
Function
Print
Print outputs data in the specified format.
internal/output/output.go:17
↓ 2 callers
Method
Validate
()
internal/config/config.go:122
↓ 2 callers
Method
ValidateAuth
()
internal/config/config.go:103
↓ 2 callers
Method
do
(method, path string, body io.Reader)
internal/api/client.go:100
↓ 2 callers
Method
doWithRetry
(method, path string, body io.Reader, bodyBytes []byte)
internal/api/client.go:104
↓ 2 callers
Function
effectivePageSize
(pageSize int)
cmd/pagination.go:11
↓ 2 callers
Function
fetchDocPage
(client *http.Client, docPath string)
tools/appleadsdocsindex/main.go:134
↓ 2 callers
Function
fetchLatestRelease
(ctx context.Context, repo string)
internal/updatecheck/updatecheck.go:146
↓ 2 callers
Function
flattenMap
(m map[string]any, prefix string)
internal/output/table.go:106
↓ 2 callers
Function
getOutputFormat
()
cmd/root.go:107
↓ 2 callers
Function
normalizeSemver
(s string)
internal/updatecheck/updatecheck.go:76
↓ 2 callers
Function
parseIDList
(s string)
cmd/negatives.go:357
↓ 2 callers
Function
parseRetryAfter
(headerValue string)
internal/api/client.go:166
↓ 2 callers
Function
printJSON
(w io.Writer, data any)
internal/output/json.go:8
↓ 2 callers
Function
readStdin
()
cmd/helpers.go:85
↓ 2 callers
Function
repoFromEnv
()
internal/updatecheck/updatecheck.go:52
↓ 2 callers
Function
shouldFetch
(ref docRef)
tools/appleadsdocsindex/main.go:121
↓ 2 callers
Function
versionLine
()
cmd/version.go:18
↓ 2 callers
Function
writeCache
(path string, c *cacheFile)
internal/updatecheck/updatecheck.go:113
↓ 2 callers
Function
writeTopicSections
(b *bytes.Buffer, p *docPage)
tools/appleadsdocsindex/main.go:265
↓ 1 callers
Method
AdGroupGet
(campaignID, adGroupID, keywordID int64)
internal/api/negatives.go:118
↓ 1 callers
Method
AdGroupUpdate
(campaignID, adGroupID int64, keywords []types.NegativeKeyword)
internal/api/negatives.go:165
↓ 1 callers
Method
CampaignGet
(campaignID, keywordID int64)
internal/api/negatives.go:34
↓ 1 callers
Method
CampaignUpdate
(campaignID int64, keywords []types.NegativeKeyword)
internal/api/negatives.go:81
↓ 1 callers
Function
CheckLatest
CheckLatest prints the latest release info (intended for `aads update --check`).
internal/updatecheck/updatecheck.go:243
↓ 1 callers
Method
Delete
Delete bulk-deletes keywords by IDs.
internal/api/keywords.go:107
↓ 1 callers
Method
Details
(adamID int64)
internal/api/apps.go:53
↓ 1 callers
Method
Eligibility
(selector *types.Selector)
internal/api/apps.go:41
↓ 1 callers
Function
Enabled
()
internal/updatecheck/updatecheck.go:27
↓ 1 callers
Function
Execute
()
cmd/root.go:89
↓ 1 callers
Method
Get
Get retrieves a single campaign by ID.
internal/api/campaigns.go:36
↓ 1 callers
Method
Get
(orderID int64)
internal/api/budgetorders.go:30
↓ 1 callers
Method
Get
(geoID string)
internal/api/geo.go:41
↓ 1 callers
Method
Get
(reportID int64)
internal/api/impression_share.go:30
↓ 1 callers
Method
Get
(campaignID, adGroupID int64, fields string)
internal/api/adgroups.go:31
↓ 1 callers
Method
Get
(creativeID int64)
internal/api/creatives.go:30
↓ 1 callers
Method
Get
(campaignID, adGroupID, keywordID int64)
internal/api/keywords.go:32
↓ 1 callers
Method
Invalidate
Invalidate clears the cached access token so the next Token() call refreshes.
internal/api/auth.go:145
next →
1–100 of 188, ranked by callers