MCPcopy Create free account

hub / github.com/SaadBelfqih/apple-ads-cli / functions

Functions188 in github.com/SaadBelfqih/apple-ads-cli

↓ 82 callersFunctionprintOutput
(data any)
cmd/root.go:118
↓ 28 callersMethodPost
Post performs a POST request with a JSON body.
internal/api/client.go:61
↓ 24 callersMethodGet
(campaignID, adGroupID, adID int64)
internal/api/ads.go:31
↓ 20 callersMethodNegatives
()
internal/api/negatives.go:14
↓ 16 callersMethodList
(campaignID, adGroupID int64, limit, offset int)
internal/api/ads.go:44
↓ 15 callersMethodKeywords
()
internal/api/keywords.go:14
↓ 12 callersFunctioncollectAllSelectorPaginated
(sel *types.Selector, pageSize int, fetch func(*types.Selector) ([]T, *types.PageDetail, error))
cmd/pagination.go:53
↓ 11 callersMethodAdGroups
()
internal/api/adgroups.go:15
↓ 11 callersMethodAds
()
internal/api/ads.go:14
↓ 11 callersFunctionparseJSONInput
parseJSONInput parses JSON from --from-json flag (inline, @file, or - for stdin).
cmd/helpers.go:61
↓ 10 callersMethodFind
(campaignID, adGroupID int64, selector *types.Selector)
internal/api/ads.go:65
↓ 10 callersMethodProductPages
()
internal/api/product_pages.go:14
↓ 10 callersFunctioncollectAllOffsetPaginated
(pageSize, startOffset int, fetch func(limit, offset int) ([]T, *types.PageDetail, error))
cmd/pagination.go:18
↓ 9 callersMethodCampaigns
Campaigns returns a CampaignService.
internal/api/campaigns.go:17
↓ 9 callersFunctionparseSelector
parseSelector parses a selector from --selector-json flag or inline flags.
cmd/helpers.go:14
↓ 8 callersMethodAdRejections
()
internal/api/ad_rejections.go:14
↓ 8 callersMethodCreate
(campaignID, adGroupID int64, req *types.AdCreate)
internal/api/ads.go:18
↓ 8 callersFunctionokJSON
(body string)
internal/api/paths_test.go:27
↓ 7 callersMethodPut
Put performs a PUT request with a JSON body.
internal/api/client.go:66
↓ 7 callersFunctionmoneyFromAmount
(amount string)
cmd/helpers.go:160
↓ 6 callersMethodCreatives
()
internal/api/creatives.go:14
↓ 6 callersFunctionparseSelectorJSON
parseSelectorJSON parses JSON from a string or @file.
cmd/helpers.go:35
↓ 6 callersFunctionprompt
(reader *bufio.Reader, label, defaultVal string)
internal/config/config.go:191
↓ 5 callersMethodApps
()
internal/api/apps.go:15
↓ 5 callersMethodBudgetOrders
()
internal/api/budgetorders.go:14
↓ 5 callersMethodDelete
(campaignID, adGroupID, adID int64)
internal/api/ads.go:103
↓ 5 callersMethodReports
()
internal/api/reports.go:14
↓ 5 callersMethodUpdate
(campaignID, adGroupID, adID int64, req *types.AdUpdate)
internal/api/ads.go:90
↓ 5 callersFunctionaddReportFlags
(cmd *cobra.Command)
cmd/reports.go:49
↓ 5 callersFunctionbuildReportRequest
(cmd *cobra.Command)
cmd/reports.go:13
↓ 5 callersFunctionnewTestClient
(t *testing.T, orgID string, rt roundTripFunc)
internal/api/paths_test.go:17
↓ 5 callersFunctionprintRawJSON
(data []byte)
cmd/root.go:122
↓ 4 callersMethodACLs
ACLs returns an ACLService.
internal/api/acls.go:16
↓ 4 callersMethodGet
(productPageID string, adamID int64)
internal/api/product_pages.go:31
↓ 4 callersMethodImpressionShare
()
internal/api/impression_share.go:14
↓ 4 callersFunctionnormalizeCurrencyCode
(v string)
cmd/helpers.go:95
↓ 3 callersMethodDeleteWithBody
DeleteWithBody performs a POST-as-DELETE (for bulk delete endpoints).
internal/api/client.go:76
↓ 3 callersMethodFindAssets
(adamID int64, selector *types.Selector)
internal/api/ad_rejections.go:43
↓ 3 callersMethodSearch
(query, countryCode, entity string, limit int)
internal/api/geo.go:19
↓ 3 callersFunctioncompareVersions
(latestTag, current string)
internal/updatecheck/updatecheck.go:87
↓ 3 callersFunctionconfigPath
()
internal/config/config.go:44
↓ 3 callersMethoddoJSON
(method, path string, body any)
internal/api/client.go:80
↓ 3 callersFunctionisSafeToRetry
(method, path string)
internal/api/client.go:188
↓ 3 callersFunctionunmarshalWithNumbers
unmarshalWithNumbers uses json.Decoder with UseNumber() to preserve integer precision.
internal/output/table.go:62
↓ 2 callersMethodAdGroupCreate
Ad group-level negative keywords
internal/api/negatives.go:104
↓ 2 callersMethodAdGroupDelete
(campaignID, adGroupID int64, keywordIDs []int64)
internal/api/negatives.go:179
↓ 2 callersMethodAdGroupFind
(campaignID, adGroupID int64, selector *types.Selector)
internal/api/negatives.go:152
↓ 2 callersMethodAdGroupList
(campaignID, adGroupID int64, limit, offset int)
internal/api/negatives.go:131
↓ 2 callersMethodCampaignCreate
Campaign-level negative keywords
internal/api/negatives.go:20
↓ 2 callersMethodCampaignDelete
(campaignID int64, keywordIDs []int64)
internal/api/negatives.go:95
↓ 2 callersMethodCampaignFind
(campaignID int64, selector *types.Selector)
internal/api/negatives.go:68
↓ 2 callersMethodCampaignList
(campaignID int64, limit, offset int)
internal/api/negatives.go:47
↓ 2 callersMethodCountries
()
internal/api/product_pages.go:57
↓ 2 callersMethodDeleteOne
DeleteOne deletes a single keyword.
internal/api/keywords.go:115
↓ 2 callersMethodDeviceSizes
()
internal/api/product_pages.go:69
↓ 2 callersMethodError
()
internal/api/errors.go:19
↓ 2 callersMethodFindAll
(selector *types.Selector)
internal/api/ads.go:78
↓ 2 callersMethodFindCampaign
(campaignID int64, selector *types.Selector)
internal/api/keywords.go:79
↓ 2 callersMethodGeo
()
internal/api/geo.go:15
↓ 2 callersMethodGet
Get performs a GET request.
internal/api/client.go:56
↓ 2 callersFunctionLoad
()
internal/config/config.go:52
↓ 2 callersMethodLocales
(productPageID string, adamID int64)
internal/api/product_pages.go:44
↓ 2 callersFunctionPrint
Print outputs data in the specified format.
internal/output/output.go:17
↓ 2 callersMethodValidate
()
internal/config/config.go:122
↓ 2 callersMethodValidateAuth
()
internal/config/config.go:103
↓ 2 callersMethoddo
(method, path string, body io.Reader)
internal/api/client.go:100
↓ 2 callersMethoddoWithRetry
(method, path string, body io.Reader, bodyBytes []byte)
internal/api/client.go:104
↓ 2 callersFunctioneffectivePageSize
(pageSize int)
cmd/pagination.go:11
↓ 2 callersFunctionfetchDocPage
(client *http.Client, docPath string)
tools/appleadsdocsindex/main.go:134
↓ 2 callersFunctionfetchLatestRelease
(ctx context.Context, repo string)
internal/updatecheck/updatecheck.go:146
↓ 2 callersFunctionflattenMap
(m map[string]any, prefix string)
internal/output/table.go:106
↓ 2 callersFunctiongetOutputFormat
()
cmd/root.go:107
↓ 2 callersFunctionnormalizeSemver
(s string)
internal/updatecheck/updatecheck.go:76
↓ 2 callersFunctionparseIDList
(s string)
cmd/negatives.go:357
↓ 2 callersFunctionparseRetryAfter
(headerValue string)
internal/api/client.go:166
↓ 2 callersFunctionprintJSON
(w io.Writer, data any)
internal/output/json.go:8
↓ 2 callersFunctionreadStdin
()
cmd/helpers.go:85
↓ 2 callersFunctionrepoFromEnv
()
internal/updatecheck/updatecheck.go:52
↓ 2 callersFunctionshouldFetch
(ref docRef)
tools/appleadsdocsindex/main.go:121
↓ 2 callersFunctionversionLine
()
cmd/version.go:18
↓ 2 callersFunctionwriteCache
(path string, c *cacheFile)
internal/updatecheck/updatecheck.go:113
↓ 2 callersFunctionwriteTopicSections
(b *bytes.Buffer, p *docPage)
tools/appleadsdocsindex/main.go:265
↓ 1 callersMethodAdGroupGet
(campaignID, adGroupID, keywordID int64)
internal/api/negatives.go:118
↓ 1 callersMethodAdGroupUpdate
(campaignID, adGroupID int64, keywords []types.NegativeKeyword)
internal/api/negatives.go:165
↓ 1 callersMethodCampaignGet
(campaignID, keywordID int64)
internal/api/negatives.go:34
↓ 1 callersMethodCampaignUpdate
(campaignID int64, keywords []types.NegativeKeyword)
internal/api/negatives.go:81
↓ 1 callersFunctionCheckLatest
CheckLatest prints the latest release info (intended for `aads update --check`).
internal/updatecheck/updatecheck.go:243
↓ 1 callersMethodDelete
Delete bulk-deletes keywords by IDs.
internal/api/keywords.go:107
↓ 1 callersMethodDetails
(adamID int64)
internal/api/apps.go:53
↓ 1 callersMethodEligibility
(selector *types.Selector)
internal/api/apps.go:41
↓ 1 callersFunctionEnabled
()
internal/updatecheck/updatecheck.go:27
↓ 1 callersFunctionExecute
()
cmd/root.go:89
↓ 1 callersMethodGet
Get retrieves a single campaign by ID.
internal/api/campaigns.go:36
↓ 1 callersMethodGet
(orderID int64)
internal/api/budgetorders.go:30
↓ 1 callersMethodGet
(geoID string)
internal/api/geo.go:41
↓ 1 callersMethodGet
(reportID int64)
internal/api/impression_share.go:30
↓ 1 callersMethodGet
(campaignID, adGroupID int64, fields string)
internal/api/adgroups.go:31
↓ 1 callersMethodGet
(creativeID int64)
internal/api/creatives.go:30
↓ 1 callersMethodGet
(campaignID, adGroupID, keywordID int64)
internal/api/keywords.go:32
↓ 1 callersMethodInvalidate
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