pinterest_sdk 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +70 -0
- data/README.md +319 -0
- data/Rakefile +10 -0
- data/bin/bundle +114 -0
- data/bin/byebug +27 -0
- data/bin/coderay +27 -0
- data/bin/htmldiff +27 -0
- data/bin/ldiff +27 -0
- data/bin/pry +27 -0
- data/bin/rake +27 -0
- data/bin/rspec +27 -0
- data/bin/rubocop +27 -0
- data/bin/ruby-parse +27 -0
- data/bin/ruby-rewrite +27 -0
- data/docs/Account.md +24 -0
- data/docs/ActionType.md +15 -0
- data/docs/AdAccount.md +26 -0
- data/docs/AdAccountOwner.md +18 -0
- data/docs/AdAccountsApi.md +929 -0
- data/docs/AdGroupResponse.md +62 -0
- data/docs/AdGroupResponseAllOf.md +48 -0
- data/docs/AdGroupResponseAllOf1.md +30 -0
- data/docs/AdGroupSummaryStatus.md +15 -0
- data/docs/AdResponse.md +70 -0
- data/docs/AdResponseAllOf.md +48 -0
- data/docs/AdResponseAllOf1.md +38 -0
- data/docs/AdsAnalyticsCreateAsyncRequest.md +62 -0
- data/docs/AdsAnalyticsCreateAsyncRequestAllOf.md +32 -0
- data/docs/AdsAnalyticsCreateAsyncRequestAllOf1.md +22 -0
- data/docs/AdsAnalyticsCreateAsyncResponse.md +22 -0
- data/docs/AdsAnalyticsFilterColumn.md +15 -0
- data/docs/AdsAnalyticsFilterOperator.md +15 -0
- data/docs/AdsAnalyticsGetAsyncResponse.md +22 -0
- data/docs/AdsAnalyticsMetricsFilter.md +22 -0
- data/docs/AdsAnalyticsTargetingType.md +15 -0
- data/docs/AnalyticsMetricsResponse.md +20 -0
- data/docs/AnalyticsMetricsResponseDailyMetrics.md +22 -0
- data/docs/AvailabilityFilter.md +18 -0
- data/docs/BatchOperation.md +15 -0
- data/docs/BatchOperationStatus.md +15 -0
- data/docs/Board.md +26 -0
- data/docs/BoardOwner.md +18 -0
- data/docs/BoardSection.md +20 -0
- data/docs/BoardUpdate.md +22 -0
- data/docs/BoardsApi.md +811 -0
- data/docs/BrandFilter.md +18 -0
- data/docs/CampaignCommon.md +34 -0
- data/docs/CampaignResponse.md +44 -0
- data/docs/CampaignResponseAllOf.md +18 -0
- data/docs/CampaignResponseAllOf1.md +24 -0
- data/docs/CampaignSummaryStatus.md +15 -0
- data/docs/CatalogsApi.md +939 -0
- data/docs/CatalogsDbItem.md +22 -0
- data/docs/CatalogsFeed.md +42 -0
- data/docs/CatalogsFeedCredentials.md +20 -0
- data/docs/CatalogsFeedIngestionDetails.md +20 -0
- data/docs/CatalogsFeedIngestionErrors.md +26 -0
- data/docs/CatalogsFeedIngestionInfo.md +22 -0
- data/docs/CatalogsFeedProcessingResult.md +30 -0
- data/docs/CatalogsFeedProcessingResultFields.md +24 -0
- data/docs/CatalogsFeedProcessingSchedule.md +20 -0
- data/docs/CatalogsFeedProcessingStatus.md +15 -0
- data/docs/CatalogsFeedProductCounts.md +18 -0
- data/docs/CatalogsFeedValidationDetails.md +20 -0
- data/docs/CatalogsFeedValidationErrors.md +84 -0
- data/docs/CatalogsFeedValidationWarnings.md +106 -0
- data/docs/CatalogsFeedsCreateRequest.md +34 -0
- data/docs/CatalogsFeedsUpdateRequest.md +32 -0
- data/docs/CatalogsFormat.md +15 -0
- data/docs/CatalogsItems.md +18 -0
- data/docs/CatalogsItemsBatch.md +26 -0
- data/docs/CatalogsItemsBatchRequest.md +24 -0
- data/docs/CatalogsProductGroup.md +34 -0
- data/docs/CatalogsProductGroupCreateRequest.md +24 -0
- data/docs/CatalogsProductGroupCurrencyCriteria.md +20 -0
- data/docs/CatalogsProductGroupFilterKeys.md +68 -0
- data/docs/CatalogsProductGroupFilters.md +20 -0
- data/docs/CatalogsProductGroupFiltersAllOf.md +18 -0
- data/docs/CatalogsProductGroupFiltersAnyOf.md +18 -0
- data/docs/CatalogsProductGroupMultipleStringCriteria.md +20 -0
- data/docs/CatalogsProductGroupMultipleStringListCriteria.md +20 -0
- data/docs/CatalogsProductGroupPricingCriteria.md +22 -0
- data/docs/CatalogsProductGroupStatus.md +15 -0
- data/docs/CatalogsProductGroupType.md +15 -0
- data/docs/CatalogsProductGroupUpdateRequest.md +24 -0
- data/docs/CatalogsStatus.md +15 -0
- data/docs/ConditionFilter.md +18 -0
- data/docs/ConversionAttributionWindowDays.md +15 -0
- data/docs/ConversionReportAttributionType.md +15 -0
- data/docs/ConversionReportTimeType.md +15 -0
- data/docs/Country.md +15 -0
- data/docs/Currency.md +15 -0
- data/docs/CurrencyFilter.md +18 -0
- data/docs/CustomLabel0Filter.md +18 -0
- data/docs/CustomLabel1Filter.md +18 -0
- data/docs/CustomLabel2Filter.md +18 -0
- data/docs/CustomLabel3Filter.md +18 -0
- data/docs/CustomLabel4Filter.md +18 -0
- data/docs/DataOutputFormat.md +15 -0
- data/docs/EntityStatus.md +15 -0
- data/docs/Error.md +20 -0
- data/docs/FeedFields.md +36 -0
- data/docs/GenderFilter.md +18 -0
- data/docs/GoogleProductCategory0Filter.md +18 -0
- data/docs/GoogleProductCategory1Filter.md +18 -0
- data/docs/GoogleProductCategory2Filter.md +18 -0
- data/docs/GoogleProductCategory3Filter.md +18 -0
- data/docs/GoogleProductCategory4Filter.md +18 -0
- data/docs/GoogleProductCategory5Filter.md +18 -0
- data/docs/GoogleProductCategory6Filter.md +18 -0
- data/docs/Granularity.md +15 -0
- data/docs/ImageDetails.md +22 -0
- data/docs/ItemAttributes.md +104 -0
- data/docs/ItemBatchRecord.md +20 -0
- data/docs/ItemGroupIdFilter.md +18 -0
- data/docs/ItemIdFilter.md +18 -0
- data/docs/ItemProcessingRecord.md +24 -0
- data/docs/ItemProcessingStatus.md +15 -0
- data/docs/ItemValidationEvent.md +22 -0
- data/docs/Language.md +15 -0
- data/docs/MaxPriceFilter.md +18 -0
- data/docs/MediaApi.md +221 -0
- data/docs/MediaUpload.md +24 -0
- data/docs/MediaUploadAllOf.md +24 -0
- data/docs/MediaUploadAllOfUploadParameters.md +32 -0
- data/docs/MediaUploadDetails.md +22 -0
- data/docs/MediaUploadRequest.md +18 -0
- data/docs/MediaUploadStatus.md +15 -0
- data/docs/MediaUploadType.md +15 -0
- data/docs/MetricsReportingLevel.md +15 -0
- data/docs/MinPriceFilter.md +18 -0
- data/docs/NonNullableCatalogsCurrency.md +15 -0
- data/docs/NullableCurrency.md +15 -0
- data/docs/OauthAccessTokenRequest.md +18 -0
- data/docs/OauthAccessTokenRequestCode.md +20 -0
- data/docs/OauthAccessTokenRequestCodeAllOf.md +20 -0
- data/docs/OauthAccessTokenRequestRefresh.md +20 -0
- data/docs/OauthAccessTokenRequestRefreshAllOf.md +20 -0
- data/docs/OauthAccessTokenResponse.md +26 -0
- data/docs/OauthAccessTokenResponseCode.md +20 -0
- data/docs/OauthAccessTokenResponseCodeAllOf.md +20 -0
- data/docs/OauthAccessTokenResponseRefresh.md +15 -0
- data/docs/OauthApi.md +72 -0
- data/docs/ObjectiveType.md +15 -0
- data/docs/PacingDeliveryType.md +15 -0
- data/docs/Paginated.md +20 -0
- data/docs/Pin.md +38 -0
- data/docs/PinMedia.md +18 -0
- data/docs/PinMediaSource.md +81 -0
- data/docs/PinMediaSourceImageBase64.md +22 -0
- data/docs/PinMediaSourceImageURL.md +20 -0
- data/docs/PinMediaSourceVideoID.md +22 -0
- data/docs/PinMediaWithImage.md +18 -0
- data/docs/PinMediaWithImageAllOf.md +18 -0
- data/docs/PinPromotionSummaryStatus.md +15 -0
- data/docs/PinsApi.md +304 -0
- data/docs/PlacementGroupType.md +15 -0
- data/docs/ProductAvailabilityType.md +15 -0
- data/docs/ProductGroupSummaryStatus.md +15 -0
- data/docs/ProductType0Filter.md +18 -0
- data/docs/ProductType1Filter.md +18 -0
- data/docs/ProductType2Filter.md +18 -0
- data/docs/ProductType3Filter.md +18 -0
- data/docs/ProductType4Filter.md +18 -0
- data/docs/ReportingColumnAsync.md +15 -0
- data/docs/TargetingTypeFilter.md +18 -0
- data/docs/TrackingUrls.md +26 -0
- data/docs/UserAccountApi.md +165 -0
- data/git_push.sh +57 -0
- data/lib/pinterest_sdk/api/ad_accounts_api.rb +1287 -0
- data/lib/pinterest_sdk/api/boards_api.rb +888 -0
- data/lib/pinterest_sdk/api/catalogs_api.rb +965 -0
- data/lib/pinterest_sdk/api/media_api.rb +229 -0
- data/lib/pinterest_sdk/api/oauth_api.rb +96 -0
- data/lib/pinterest_sdk/api/pins_api.rb +330 -0
- data/lib/pinterest_sdk/api/user_account_api.rb +201 -0
- data/lib/pinterest_sdk/api_client.rb +390 -0
- data/lib/pinterest_sdk/api_error.rb +57 -0
- data/lib/pinterest_sdk/configuration.rb +285 -0
- data/lib/pinterest_sdk/models/account.rb +280 -0
- data/lib/pinterest_sdk/models/action_type.rb +39 -0
- data/lib/pinterest_sdk/models/ad_account.rb +254 -0
- data/lib/pinterest_sdk/models/ad_account_owner.rb +219 -0
- data/lib/pinterest_sdk/models/ad_group_response.rb +555 -0
- data/lib/pinterest_sdk/models/ad_group_response_all_of.rb +427 -0
- data/lib/pinterest_sdk/models/ad_group_response_all_of1.rb +329 -0
- data/lib/pinterest_sdk/models/ad_group_summary_status.rb +41 -0
- data/lib/pinterest_sdk/models/ad_response.rb +640 -0
- data/lib/pinterest_sdk/models/ad_response_all_of.rb +455 -0
- data/lib/pinterest_sdk/models/ad_response_all_of1.rb +409 -0
- data/lib/pinterest_sdk/models/ads_analytics_create_async_request.rb +831 -0
- data/lib/pinterest_sdk/models/ads_analytics_create_async_request_all_of.rb +356 -0
- data/lib/pinterest_sdk/models/ads_analytics_create_async_request_all_of1.rb +253 -0
- data/lib/pinterest_sdk/models/ads_analytics_create_async_response.rb +237 -0
- data/lib/pinterest_sdk/models/ads_analytics_filter_column.rb +37 -0
- data/lib/pinterest_sdk/models/ads_analytics_filter_operator.rb +37 -0
- data/lib/pinterest_sdk/models/ads_analytics_get_async_response.rb +238 -0
- data/lib/pinterest_sdk/models/ads_analytics_metrics_filter.rb +254 -0
- data/lib/pinterest_sdk/models/ads_analytics_targeting_type.rb +48 -0
- data/lib/pinterest_sdk/models/analytics_metrics_response.rb +233 -0
- data/lib/pinterest_sdk/models/analytics_metrics_response_daily_metrics.rb +275 -0
- data/lib/pinterest_sdk/models/availability_filter.rb +223 -0
- data/lib/pinterest_sdk/models/batch_operation.rb +38 -0
- data/lib/pinterest_sdk/models/batch_operation_status.rb +37 -0
- data/lib/pinterest_sdk/models/board.rb +301 -0
- data/lib/pinterest_sdk/models/board_owner.rb +218 -0
- data/lib/pinterest_sdk/models/board_section.rb +252 -0
- data/lib/pinterest_sdk/models/board_update.rb +272 -0
- data/lib/pinterest_sdk/models/brand_filter.rb +223 -0
- data/lib/pinterest_sdk/models/campaign_common.rb +352 -0
- data/lib/pinterest_sdk/models/campaign_response.rb +435 -0
- data/lib/pinterest_sdk/models/campaign_response_all_of.rb +245 -0
- data/lib/pinterest_sdk/models/campaign_response_all_of1.rb +248 -0
- data/lib/pinterest_sdk/models/campaign_summary_status.rb +41 -0
- data/lib/pinterest_sdk/models/catalogs_db_item.rb +236 -0
- data/lib/pinterest_sdk/models/catalogs_feed.rb +368 -0
- data/lib/pinterest_sdk/models/catalogs_feed_credentials.rb +240 -0
- data/lib/pinterest_sdk/models/catalogs_feed_ingestion_details.rb +237 -0
- data/lib/pinterest_sdk/models/catalogs_feed_ingestion_errors.rb +288 -0
- data/lib/pinterest_sdk/models/catalogs_feed_ingestion_info.rb +236 -0
- data/lib/pinterest_sdk/models/catalogs_feed_processing_result.rb +296 -0
- data/lib/pinterest_sdk/models/catalogs_feed_processing_result_fields.rb +261 -0
- data/lib/pinterest_sdk/models/catalogs_feed_processing_schedule.rb +291 -0
- data/lib/pinterest_sdk/models/catalogs_feed_processing_status.rb +43 -0
- data/lib/pinterest_sdk/models/catalogs_feed_product_counts.rb +220 -0
- data/lib/pinterest_sdk/models/catalogs_feed_validation_details.rb +237 -0
- data/lib/pinterest_sdk/models/catalogs_feed_validation_errors.rb +515 -0
- data/lib/pinterest_sdk/models/catalogs_feed_validation_warnings.rb +614 -0
- data/lib/pinterest_sdk/models/catalogs_feeds_create_request.rb +313 -0
- data/lib/pinterest_sdk/models/catalogs_feeds_update_request.rb +288 -0
- data/lib/pinterest_sdk/models/catalogs_format.rb +38 -0
- data/lib/pinterest_sdk/models/catalogs_items.rb +222 -0
- data/lib/pinterest_sdk/models/catalogs_items_batch.rb +262 -0
- data/lib/pinterest_sdk/models/catalogs_items_batch_request.rb +249 -0
- data/lib/pinterest_sdk/models/catalogs_product_group.rb +345 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_create_request.rb +284 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_currency_criteria.rb +237 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_filter_keys.rb +617 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_filters.rb +252 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_filters_all_of.rb +220 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_filters_any_of.rb +220 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_multiple_string_criteria.rb +239 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_multiple_string_list_criteria.rb +239 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_pricing_criteria.rb +251 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_status.rb +37 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_type.rb +42 -0
- data/lib/pinterest_sdk/models/catalogs_product_group_update_request.rb +284 -0
- data/lib/pinterest_sdk/models/catalogs_status.rb +37 -0
- data/lib/pinterest_sdk/models/condition_filter.rb +223 -0
- data/lib/pinterest_sdk/models/conversion_attribution_window_days.rb +39 -0
- data/lib/pinterest_sdk/models/conversion_report_attribution_type.rb +37 -0
- data/lib/pinterest_sdk/models/conversion_report_time_type.rb +37 -0
- data/lib/pinterest_sdk/models/country.rb +282 -0
- data/lib/pinterest_sdk/models/currency.rb +60 -0
- data/lib/pinterest_sdk/models/currency_filter.rb +223 -0
- data/lib/pinterest_sdk/models/custom_label0_filter.rb +223 -0
- data/lib/pinterest_sdk/models/custom_label1_filter.rb +223 -0
- data/lib/pinterest_sdk/models/custom_label2_filter.rb +223 -0
- data/lib/pinterest_sdk/models/custom_label3_filter.rb +223 -0
- data/lib/pinterest_sdk/models/custom_label4_filter.rb +223 -0
- data/lib/pinterest_sdk/models/data_output_format.rb +37 -0
- data/lib/pinterest_sdk/models/entity_status.rb +38 -0
- data/lib/pinterest_sdk/models/error.rb +237 -0
- data/lib/pinterest_sdk/models/feed_fields.rb +332 -0
- data/lib/pinterest_sdk/models/gender_filter.rb +223 -0
- data/lib/pinterest_sdk/models/google_product_category0_filter.rb +223 -0
- data/lib/pinterest_sdk/models/google_product_category1_filter.rb +223 -0
- data/lib/pinterest_sdk/models/google_product_category2_filter.rb +223 -0
- data/lib/pinterest_sdk/models/google_product_category3_filter.rb +223 -0
- data/lib/pinterest_sdk/models/google_product_category4_filter.rb +223 -0
- data/lib/pinterest_sdk/models/google_product_category5_filter.rb +223 -0
- data/lib/pinterest_sdk/models/google_product_category6_filter.rb +223 -0
- data/lib/pinterest_sdk/models/granularity.rb +40 -0
- data/lib/pinterest_sdk/models/image_details.rb +281 -0
- data/lib/pinterest_sdk/models/item_attributes.rb +833 -0
- data/lib/pinterest_sdk/models/item_batch_record.rb +229 -0
- data/lib/pinterest_sdk/models/item_group_id_filter.rb +223 -0
- data/lib/pinterest_sdk/models/item_id_filter.rb +223 -0
- data/lib/pinterest_sdk/models/item_processing_record.rb +253 -0
- data/lib/pinterest_sdk/models/item_processing_status.rb +38 -0
- data/lib/pinterest_sdk/models/item_validation_event.rb +240 -0
- data/lib/pinterest_sdk/models/language.rb +96 -0
- data/lib/pinterest_sdk/models/max_price_filter.rb +223 -0
- data/lib/pinterest_sdk/models/media_upload.rb +255 -0
- data/lib/pinterest_sdk/models/media_upload_all_of.rb +247 -0
- data/lib/pinterest_sdk/models/media_upload_all_of_upload_parameters.rb +282 -0
- data/lib/pinterest_sdk/models/media_upload_details.rb +254 -0
- data/lib/pinterest_sdk/models/media_upload_request.rb +224 -0
- data/lib/pinterest_sdk/models/media_upload_status.rb +39 -0
- data/lib/pinterest_sdk/models/media_upload_type.rb +36 -0
- data/lib/pinterest_sdk/models/metrics_reporting_level.rb +47 -0
- data/lib/pinterest_sdk/models/min_price_filter.rb +223 -0
- data/lib/pinterest_sdk/models/non_nullable_catalogs_currency.rb +198 -0
- data/lib/pinterest_sdk/models/nullable_currency.rb +199 -0
- data/lib/pinterest_sdk/models/oauth_access_token_request_code.rb +272 -0
- data/lib/pinterest_sdk/models/oauth_access_token_request_code_all_of.rb +237 -0
- data/lib/pinterest_sdk/models/oauth_access_token_request_refresh.rb +267 -0
- data/lib/pinterest_sdk/models/oauth_access_token_request_refresh_all_of.rb +232 -0
- data/lib/pinterest_sdk/models/oauth_access_token_response.rb +316 -0
- data/lib/pinterest_sdk/models/oauth_access_token_response_code.rb +272 -0
- data/lib/pinterest_sdk/models/oauth_access_token_response_code_all_of.rb +237 -0
- data/lib/pinterest_sdk/models/oauth_access_token_response_refresh.rb +243 -0
- data/lib/pinterest_sdk/models/objective_type.rb +43 -0
- data/lib/pinterest_sdk/models/pacing_delivery_type.rb +37 -0
- data/lib/pinterest_sdk/models/paginated.rb +235 -0
- data/lib/pinterest_sdk/models/pin.rb +359 -0
- data/lib/pinterest_sdk/models/pin_media.rb +224 -0
- data/lib/pinterest_sdk/models/pin_media_source.rb +58 -0
- data/lib/pinterest_sdk/models/pin_media_source_image_base64.rb +319 -0
- data/lib/pinterest_sdk/models/pin_media_source_image_url.rb +272 -0
- data/lib/pinterest_sdk/models/pin_media_source_video_id.rb +307 -0
- data/lib/pinterest_sdk/models/pin_media_with_image.rb +233 -0
- data/lib/pinterest_sdk/models/pin_media_with_image_all_of.rb +220 -0
- data/lib/pinterest_sdk/models/pin_promotion_summary_status.rb +41 -0
- data/lib/pinterest_sdk/models/placement_group_type.rb +39 -0
- data/lib/pinterest_sdk/models/product_availability_type.rb +39 -0
- data/lib/pinterest_sdk/models/product_group_summary_status.rb +39 -0
- data/lib/pinterest_sdk/models/product_type0_filter.rb +223 -0
- data/lib/pinterest_sdk/models/product_type1_filter.rb +223 -0
- data/lib/pinterest_sdk/models/product_type2_filter.rb +223 -0
- data/lib/pinterest_sdk/models/product_type3_filter.rb +223 -0
- data/lib/pinterest_sdk/models/product_type4_filter.rb +223 -0
- data/lib/pinterest_sdk/models/reporting_column_async.rb +549 -0
- data/lib/pinterest_sdk/models/targeting_type_filter.rb +245 -0
- data/lib/pinterest_sdk/models/tracking_urls.rb +340 -0
- data/lib/pinterest_sdk/version.rb +15 -0
- data/lib/pinterest_sdk.rb +192 -0
- data/pinterest_sdk.gemspec +38 -0
- data/spec/api/ad_accounts_api_spec.rb +234 -0
- data/spec/api/boards_api_spec.rb +181 -0
- data/spec/api/catalogs_api_spec.rb +200 -0
- data/spec/api/media_api_spec.rb +72 -0
- data/spec/api/oauth_api_spec.rb +47 -0
- data/spec/api/pins_api_spec.rb +90 -0
- data/spec/api/user_account_api_spec.rb +66 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_spec.rb +56 -0
- data/spec/models/action_type_spec.rb +28 -0
- data/spec/models/ad_account_owner_spec.rb +34 -0
- data/spec/models/ad_account_spec.rb +58 -0
- data/spec/models/ad_group_response_all_of1_spec.rb +70 -0
- data/spec/models/ad_group_response_all_of_spec.rb +132 -0
- data/spec/models/ad_group_response_spec.rb +174 -0
- data/spec/models/ad_group_summary_status_spec.rb +28 -0
- data/spec/models/ad_response_all_of1_spec.rb +102 -0
- data/spec/models/ad_response_all_of_spec.rb +128 -0
- data/spec/models/ad_response_spec.rb +202 -0
- data/spec/models/ads_analytics_create_async_request_all_of1_spec.rb +46 -0
- data/spec/models/ads_analytics_create_async_request_all_of_spec.rb +76 -0
- data/spec/models/ads_analytics_create_async_request_spec.rb +166 -0
- data/spec/models/ads_analytics_create_async_response_spec.rb +46 -0
- data/spec/models/ads_analytics_filter_column_spec.rb +28 -0
- data/spec/models/ads_analytics_filter_operator_spec.rb +28 -0
- data/spec/models/ads_analytics_get_async_response_spec.rb +46 -0
- data/spec/models/ads_analytics_metrics_filter_spec.rb +46 -0
- data/spec/models/ads_analytics_targeting_type_spec.rb +28 -0
- data/spec/models/analytics_metrics_response_daily_metrics_spec.rb +50 -0
- data/spec/models/analytics_metrics_response_spec.rb +40 -0
- data/spec/models/availability_filter_spec.rb +34 -0
- data/spec/models/batch_operation_spec.rb +28 -0
- data/spec/models/batch_operation_status_spec.rb +28 -0
- data/spec/models/board_owner_spec.rb +34 -0
- data/spec/models/board_section_spec.rb +40 -0
- data/spec/models/board_spec.rb +62 -0
- data/spec/models/board_update_spec.rb +50 -0
- data/spec/models/brand_filter_spec.rb +34 -0
- data/spec/models/campaign_common_spec.rb +82 -0
- data/spec/models/campaign_response_all_of1_spec.rb +52 -0
- data/spec/models/campaign_response_all_of_spec.rb +34 -0
- data/spec/models/campaign_response_spec.rb +112 -0
- data/spec/models/campaign_summary_status_spec.rb +28 -0
- data/spec/models/catalogs_db_item_spec.rb +46 -0
- data/spec/models/catalogs_feed_credentials_spec.rb +40 -0
- data/spec/models/catalogs_feed_ingestion_details_spec.rb +40 -0
- data/spec/models/catalogs_feed_ingestion_errors_spec.rb +62 -0
- data/spec/models/catalogs_feed_ingestion_info_spec.rb +46 -0
- data/spec/models/catalogs_feed_processing_result_fields_spec.rb +52 -0
- data/spec/models/catalogs_feed_processing_result_spec.rb +70 -0
- data/spec/models/catalogs_feed_processing_schedule_spec.rb +44 -0
- data/spec/models/catalogs_feed_processing_status_spec.rb +28 -0
- data/spec/models/catalogs_feed_product_counts_spec.rb +34 -0
- data/spec/models/catalogs_feed_spec.rb +106 -0
- data/spec/models/catalogs_feed_validation_details_spec.rb +40 -0
- data/spec/models/catalogs_feed_validation_errors_spec.rb +232 -0
- data/spec/models/catalogs_feed_validation_warnings_spec.rb +298 -0
- data/spec/models/catalogs_feeds_create_request_spec.rb +82 -0
- data/spec/models/catalogs_feeds_update_request_spec.rb +76 -0
- data/spec/models/catalogs_format_spec.rb +28 -0
- data/spec/models/catalogs_items_batch_request_spec.rb +52 -0
- data/spec/models/catalogs_items_batch_spec.rb +58 -0
- data/spec/models/catalogs_items_spec.rb +34 -0
- data/spec/models/catalogs_product_group_create_request_spec.rb +52 -0
- data/spec/models/catalogs_product_group_currency_criteria_spec.rb +40 -0
- data/spec/models/catalogs_product_group_filter_keys_spec.rb +184 -0
- data/spec/models/catalogs_product_group_filters_all_of_spec.rb +34 -0
- data/spec/models/catalogs_product_group_filters_any_of_spec.rb +34 -0
- data/spec/models/catalogs_product_group_filters_spec.rb +40 -0
- data/spec/models/catalogs_product_group_multiple_string_criteria_spec.rb +40 -0
- data/spec/models/catalogs_product_group_multiple_string_list_criteria_spec.rb +40 -0
- data/spec/models/catalogs_product_group_pricing_criteria_spec.rb +46 -0
- data/spec/models/catalogs_product_group_spec.rb +82 -0
- data/spec/models/catalogs_product_group_status_spec.rb +28 -0
- data/spec/models/catalogs_product_group_type_spec.rb +28 -0
- data/spec/models/catalogs_product_group_update_request_spec.rb +52 -0
- data/spec/models/catalogs_status_spec.rb +28 -0
- data/spec/models/condition_filter_spec.rb +34 -0
- data/spec/models/conversion_attribution_window_days_spec.rb +28 -0
- data/spec/models/conversion_report_attribution_type_spec.rb +28 -0
- data/spec/models/conversion_report_time_type_spec.rb +28 -0
- data/spec/models/country_spec.rb +28 -0
- data/spec/models/currency_filter_spec.rb +34 -0
- data/spec/models/currency_spec.rb +28 -0
- data/spec/models/custom_label0_filter_spec.rb +34 -0
- data/spec/models/custom_label1_filter_spec.rb +34 -0
- data/spec/models/custom_label2_filter_spec.rb +34 -0
- data/spec/models/custom_label3_filter_spec.rb +34 -0
- data/spec/models/custom_label4_filter_spec.rb +34 -0
- data/spec/models/data_output_format_spec.rb +28 -0
- data/spec/models/entity_status_spec.rb +28 -0
- data/spec/models/error_spec.rb +40 -0
- data/spec/models/feed_fields_spec.rb +88 -0
- data/spec/models/gender_filter_spec.rb +34 -0
- data/spec/models/google_product_category0_filter_spec.rb +34 -0
- data/spec/models/google_product_category1_filter_spec.rb +34 -0
- data/spec/models/google_product_category2_filter_spec.rb +34 -0
- data/spec/models/google_product_category3_filter_spec.rb +34 -0
- data/spec/models/google_product_category4_filter_spec.rb +34 -0
- data/spec/models/google_product_category5_filter_spec.rb +34 -0
- data/spec/models/google_product_category6_filter_spec.rb +34 -0
- data/spec/models/granularity_spec.rb +28 -0
- data/spec/models/image_details_spec.rb +46 -0
- data/spec/models/item_attributes_spec.rb +292 -0
- data/spec/models/item_batch_record_spec.rb +40 -0
- data/spec/models/item_group_id_filter_spec.rb +34 -0
- data/spec/models/item_id_filter_spec.rb +34 -0
- data/spec/models/item_processing_record_spec.rb +52 -0
- data/spec/models/item_processing_status_spec.rb +28 -0
- data/spec/models/item_validation_event_spec.rb +46 -0
- data/spec/models/language_spec.rb +28 -0
- data/spec/models/max_price_filter_spec.rb +34 -0
- data/spec/models/media_upload_all_of_spec.rb +52 -0
- data/spec/models/media_upload_all_of_upload_parameters_spec.rb +76 -0
- data/spec/models/media_upload_details_spec.rb +46 -0
- data/spec/models/media_upload_request_spec.rb +34 -0
- data/spec/models/media_upload_spec.rb +52 -0
- data/spec/models/media_upload_status_spec.rb +28 -0
- data/spec/models/media_upload_type_spec.rb +28 -0
- data/spec/models/metrics_reporting_level_spec.rb +28 -0
- data/spec/models/min_price_filter_spec.rb +34 -0
- data/spec/models/non_nullable_catalogs_currency_spec.rb +28 -0
- data/spec/models/nullable_currency_spec.rb +28 -0
- data/spec/models/oauth_access_token_request_code_all_of_spec.rb +40 -0
- data/spec/models/oauth_access_token_request_code_spec.rb +40 -0
- data/spec/models/oauth_access_token_request_refresh_all_of_spec.rb +40 -0
- data/spec/models/oauth_access_token_request_refresh_spec.rb +40 -0
- data/spec/models/oauth_access_token_request_spec.rb +38 -0
- data/spec/models/oauth_access_token_response_code_all_of_spec.rb +40 -0
- data/spec/models/oauth_access_token_response_code_spec.rb +40 -0
- data/spec/models/oauth_access_token_response_refresh_spec.rb +28 -0
- data/spec/models/oauth_access_token_response_spec.rb +62 -0
- data/spec/models/objective_type_spec.rb +28 -0
- data/spec/models/pacing_delivery_type_spec.rb +28 -0
- data/spec/models/paginated_spec.rb +40 -0
- data/spec/models/pin_media_source_image_base64_spec.rb +54 -0
- data/spec/models/pin_media_source_image_url_spec.rb +44 -0
- data/spec/models/pin_media_source_spec.rb +43 -0
- data/spec/models/pin_media_source_video_id_spec.rb +50 -0
- data/spec/models/pin_media_spec.rb +34 -0
- data/spec/models/pin_media_with_image_all_of_spec.rb +34 -0
- data/spec/models/pin_media_with_image_spec.rb +34 -0
- data/spec/models/pin_promotion_summary_status_spec.rb +28 -0
- data/spec/models/pin_spec.rb +94 -0
- data/spec/models/placement_group_type_spec.rb +28 -0
- data/spec/models/product_availability_type_spec.rb +28 -0
- data/spec/models/product_group_summary_status_spec.rb +28 -0
- data/spec/models/product_type0_filter_spec.rb +34 -0
- data/spec/models/product_type1_filter_spec.rb +34 -0
- data/spec/models/product_type2_filter_spec.rb +34 -0
- data/spec/models/product_type3_filter_spec.rb +34 -0
- data/spec/models/product_type4_filter_spec.rb +34 -0
- data/spec/models/reporting_column_async_spec.rb +28 -0
- data/spec/models/targeting_type_filter_spec.rb +34 -0
- data/spec/models/tracking_urls_spec.rb +58 -0
- data/spec/spec_helper.rb +111 -0
- metadata +726 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsDbItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **Time** | | [optional] |
|
8
|
+
| **id** | **String** | | [optional] |
|
9
|
+
| **updated_at** | **Time** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'pinterest_sdk'
|
15
|
+
|
16
|
+
instance = PinterestSdkClient::CatalogsDbItem.new(
|
17
|
+
created_at: 2022-03-14T15:15:22Z,
|
18
|
+
id: null,
|
19
|
+
updated_at: 2022-03-14T15:16:34Z
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeed
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **Time** | | [optional] |
|
8
|
+
| **id** | **String** | | [optional] |
|
9
|
+
| **updated_at** | **Time** | | [optional] |
|
10
|
+
| **default_country** | [**Country**](Country.md) | | |
|
11
|
+
| **default_availability** | [**ProductAvailabilityType**](ProductAvailabilityType.md) | | |
|
12
|
+
| **default_currency** | [**NullableCurrency**](NullableCurrency.md) | | |
|
13
|
+
| **name** | **String** | A human-friendly name associated to a given feed. This value is currently nullable due to historical reasons. It is expected to become non-nullable in the future. | |
|
14
|
+
| **format** | [**CatalogsFormat**](CatalogsFormat.md) | | |
|
15
|
+
| **default_locale** | **String** | The locale used within a feed for product descriptions. | |
|
16
|
+
| **credentials** | [**CatalogsFeedCredentials**](CatalogsFeedCredentials.md) | | |
|
17
|
+
| **location** | **String** | The URL where a feed is available for download. This URL is what Pinterest will use to download a feed for processing. | |
|
18
|
+
| **preferred_processing_schedule** | [**CatalogsFeedProcessingSchedule**](CatalogsFeedProcessingSchedule.md) | | |
|
19
|
+
| **status** | [**CatalogsStatus**](CatalogsStatus.md) | | |
|
20
|
+
|
21
|
+
## Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'pinterest_sdk'
|
25
|
+
|
26
|
+
instance = PinterestSdkClient::CatalogsFeed.new(
|
27
|
+
created_at: 2022-03-14T15:15:22Z,
|
28
|
+
id: null,
|
29
|
+
updated_at: 2022-03-14T15:16:34Z,
|
30
|
+
default_country: null,
|
31
|
+
default_availability: null,
|
32
|
+
default_currency: null,
|
33
|
+
name: null,
|
34
|
+
format: null,
|
35
|
+
default_locale: en_US,
|
36
|
+
credentials: null,
|
37
|
+
location: null,
|
38
|
+
preferred_processing_schedule: null,
|
39
|
+
status: null
|
40
|
+
)
|
41
|
+
```
|
42
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedCredentials
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **password** | **String** | The required password for downloading a feed. | |
|
8
|
+
| **username** | **String** | The required username for downloading a feed. | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'pinterest_sdk'
|
14
|
+
|
15
|
+
instance = PinterestSdkClient::CatalogsFeedCredentials.new(
|
16
|
+
password: null,
|
17
|
+
username: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedIngestionDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **errors** | [**CatalogsFeedIngestionErrors**](CatalogsFeedIngestionErrors.md) | | |
|
8
|
+
| **info** | [**CatalogsFeedIngestionInfo**](CatalogsFeedIngestionInfo.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'pinterest_sdk'
|
14
|
+
|
15
|
+
instance = PinterestSdkClient::CatalogsFeedIngestionDetails.new(
|
16
|
+
errors: null,
|
17
|
+
info: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedIngestionErrors
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **image_download_error** | **Integer** | | [optional] |
|
8
|
+
| **image_download_connection_timeout** | **Integer** | | [optional] |
|
9
|
+
| **image_format_unrecognize** | **Integer** | | [optional] |
|
10
|
+
| **line_level_internal_error** | **Integer** | | [optional] |
|
11
|
+
| **large_product_count_decrease** | **Integer** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'pinterest_sdk'
|
17
|
+
|
18
|
+
instance = PinterestSdkClient::CatalogsFeedIngestionErrors.new(
|
19
|
+
image_download_error: null,
|
20
|
+
image_download_connection_timeout: null,
|
21
|
+
image_format_unrecognize: null,
|
22
|
+
line_level_internal_error: null,
|
23
|
+
large_product_count_decrease: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedIngestionInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **in_stock** | **Integer** | | [optional] |
|
8
|
+
| **out_of_stock** | **Integer** | | [optional] |
|
9
|
+
| **preorder** | **Integer** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'pinterest_sdk'
|
15
|
+
|
16
|
+
instance = PinterestSdkClient::CatalogsFeedIngestionInfo.new(
|
17
|
+
in_stock: null,
|
18
|
+
out_of_stock: null,
|
19
|
+
preorder: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedProcessingResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **Time** | | [optional] |
|
8
|
+
| **id** | **String** | | [optional] |
|
9
|
+
| **updated_at** | **Time** | | [optional] |
|
10
|
+
| **ingestion_details** | [**CatalogsFeedIngestionDetails**](CatalogsFeedIngestionDetails.md) | | |
|
11
|
+
| **status** | [**CatalogsFeedProcessingStatus**](CatalogsFeedProcessingStatus.md) | | |
|
12
|
+
| **product_counts** | [**CatalogsFeedProductCounts**](CatalogsFeedProductCounts.md) | | |
|
13
|
+
| **validation_details** | [**CatalogsFeedValidationDetails**](CatalogsFeedValidationDetails.md) | | |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'pinterest_sdk'
|
19
|
+
|
20
|
+
instance = PinterestSdkClient::CatalogsFeedProcessingResult.new(
|
21
|
+
created_at: 2022-03-14T15:15:22Z,
|
22
|
+
id: null,
|
23
|
+
updated_at: 2022-03-14T15:16:34Z,
|
24
|
+
ingestion_details: null,
|
25
|
+
status: null,
|
26
|
+
product_counts: null,
|
27
|
+
validation_details: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedProcessingResultFields
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **ingestion_details** | [**CatalogsFeedIngestionDetails**](CatalogsFeedIngestionDetails.md) | | |
|
8
|
+
| **status** | [**CatalogsFeedProcessingStatus**](CatalogsFeedProcessingStatus.md) | | |
|
9
|
+
| **product_counts** | [**CatalogsFeedProductCounts**](CatalogsFeedProductCounts.md) | | |
|
10
|
+
| **validation_details** | [**CatalogsFeedValidationDetails**](CatalogsFeedValidationDetails.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'pinterest_sdk'
|
16
|
+
|
17
|
+
instance = PinterestSdkClient::CatalogsFeedProcessingResultFields.new(
|
18
|
+
ingestion_details: null,
|
19
|
+
status: null,
|
20
|
+
product_counts: null,
|
21
|
+
validation_details: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedProcessingSchedule
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **time** | **String** | A time in format HH:MM with leading 0 (zero) | |
|
8
|
+
| **timezone** | **String** | The timezone considered for the processing schedule time. | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'pinterest_sdk'
|
14
|
+
|
15
|
+
instance = PinterestSdkClient::CatalogsFeedProcessingSchedule.new(
|
16
|
+
time: 02:59,
|
17
|
+
timezone: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedProcessingStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'pinterest_sdk'
|
12
|
+
|
13
|
+
instance = PinterestSdkClient::CatalogsFeedProcessingStatus.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedProductCounts
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **original** | **Integer** | The number of products in the feed file | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'pinterest_sdk'
|
13
|
+
|
14
|
+
instance = PinterestSdkClient::CatalogsFeedProductCounts.new(
|
15
|
+
original: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedValidationDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **errors** | [**CatalogsFeedValidationErrors**](CatalogsFeedValidationErrors.md) | | |
|
8
|
+
| **warnings** | [**CatalogsFeedValidationWarnings**](CatalogsFeedValidationWarnings.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'pinterest_sdk'
|
14
|
+
|
15
|
+
instance = PinterestSdkClient::CatalogsFeedValidationDetails.new(
|
16
|
+
errors: null,
|
17
|
+
warnings: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedValidationErrors
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **fetch_error** | **Integer** | | [optional] |
|
8
|
+
| **fetch_inactive_feed_error** | **Integer** | | [optional] |
|
9
|
+
| **encoding_error** | **Integer** | | [optional] |
|
10
|
+
| **delimiter_error** | **Integer** | | [optional] |
|
11
|
+
| **required_columns_missing** | **Integer** | | [optional] |
|
12
|
+
| **image_link_invalid** | **Integer** | | [optional] |
|
13
|
+
| **itemid_missing** | **Integer** | | [optional] |
|
14
|
+
| **title_missing** | **Integer** | | [optional] |
|
15
|
+
| **description_missing** | **Integer** | | [optional] |
|
16
|
+
| **product_category_invalid** | **Integer** | | [optional] |
|
17
|
+
| **product_link_missing** | **Integer** | | [optional] |
|
18
|
+
| **image_link_missing** | **Integer** | | [optional] |
|
19
|
+
| **availability_invalid** | **Integer** | | [optional] |
|
20
|
+
| **product_price_invalid** | **Integer** | | [optional] |
|
21
|
+
| **link_format_invalid** | **Integer** | | [optional] |
|
22
|
+
| **parse_line_error** | **Integer** | | [optional] |
|
23
|
+
| **adwords_format_invalid** | **Integer** | | [optional] |
|
24
|
+
| **product_category_missing** | **Integer** | | [optional] |
|
25
|
+
| **internal_service_error** | **Integer** | | [optional] |
|
26
|
+
| **no_verified_domain** | **Integer** | | [optional] |
|
27
|
+
| **adult_invalid** | **Integer** | | [optional] |
|
28
|
+
| **invalid_domain** | **Integer** | | [optional] |
|
29
|
+
| **feed_length_too_long** | **Integer** | | [optional] |
|
30
|
+
| **link_length_too_long** | **Integer** | | [optional] |
|
31
|
+
| **malformed_xml** | **Integer** | | [optional] |
|
32
|
+
| **redirect_invalid** | **Integer** | | [optional] |
|
33
|
+
| **price_missing** | **Integer** | | [optional] |
|
34
|
+
| **feed_too_small** | **Integer** | | [optional] |
|
35
|
+
| **condition_invalid** | **Integer** | | [optional] |
|
36
|
+
| **shopify_no_products** | **Integer** | | [optional] |
|
37
|
+
| **max_items_per_item_group_exceeded** | **Integer** | | [optional] |
|
38
|
+
| **item_main_image_download_failure** | **Integer** | | [optional] |
|
39
|
+
| **pinjoin_content_unsafe** | **Integer** | | [optional] |
|
40
|
+
| **blocklisted_image_signature** | **Integer** | | [optional] |
|
41
|
+
|
42
|
+
## Example
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
require 'pinterest_sdk'
|
46
|
+
|
47
|
+
instance = PinterestSdkClient::CatalogsFeedValidationErrors.new(
|
48
|
+
fetch_error: null,
|
49
|
+
fetch_inactive_feed_error: null,
|
50
|
+
encoding_error: null,
|
51
|
+
delimiter_error: null,
|
52
|
+
required_columns_missing: null,
|
53
|
+
image_link_invalid: null,
|
54
|
+
itemid_missing: null,
|
55
|
+
title_missing: null,
|
56
|
+
description_missing: null,
|
57
|
+
product_category_invalid: null,
|
58
|
+
product_link_missing: null,
|
59
|
+
image_link_missing: null,
|
60
|
+
availability_invalid: null,
|
61
|
+
product_price_invalid: null,
|
62
|
+
link_format_invalid: null,
|
63
|
+
parse_line_error: null,
|
64
|
+
adwords_format_invalid: null,
|
65
|
+
product_category_missing: null,
|
66
|
+
internal_service_error: null,
|
67
|
+
no_verified_domain: null,
|
68
|
+
adult_invalid: null,
|
69
|
+
invalid_domain: null,
|
70
|
+
feed_length_too_long: null,
|
71
|
+
link_length_too_long: null,
|
72
|
+
malformed_xml: null,
|
73
|
+
redirect_invalid: null,
|
74
|
+
price_missing: null,
|
75
|
+
feed_too_small: null,
|
76
|
+
condition_invalid: null,
|
77
|
+
shopify_no_products: null,
|
78
|
+
max_items_per_item_group_exceeded: null,
|
79
|
+
item_main_image_download_failure: null,
|
80
|
+
pinjoin_content_unsafe: null,
|
81
|
+
blocklisted_image_signature: null
|
82
|
+
)
|
83
|
+
```
|
84
|
+
|
@@ -0,0 +1,106 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedValidationWarnings
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **title_length_too_long** | **Integer** | | [optional] |
|
8
|
+
| **description_length_too_long** | **Integer** | | [optional] |
|
9
|
+
| **gender_invalid** | **Integer** | | [optional] |
|
10
|
+
| **age_group_invalid** | **Integer** | | [optional] |
|
11
|
+
| **size_type_invalid** | **Integer** | | [optional] |
|
12
|
+
| **link_format_warning** | **Integer** | | [optional] |
|
13
|
+
| **duplicate_products** | **Integer** | | [optional] |
|
14
|
+
| **duplicate_links** | **Integer** | | [optional] |
|
15
|
+
| **sales_price_invalid** | **Integer** | | [optional] |
|
16
|
+
| **product_category_depth_warning** | **Integer** | | [optional] |
|
17
|
+
| **adwords_same_as_link** | **Integer** | | [optional] |
|
18
|
+
| **duplicate_headers** | **Integer** | | [optional] |
|
19
|
+
| **fetch_same_signature** | **Integer** | | [optional] |
|
20
|
+
| **adwords_format_warning** | **Integer** | | [optional] |
|
21
|
+
| **additional_image_link_warning** | **Integer** | | [optional] |
|
22
|
+
| **image_link_warning** | **Integer** | | [optional] |
|
23
|
+
| **shipping_invalid** | **Integer** | | [optional] |
|
24
|
+
| **tax_invalid** | **Integer** | | [optional] |
|
25
|
+
| **shipping_weight_invalid** | **Integer** | | [optional] |
|
26
|
+
| **expiration_date_invalid** | **Integer** | | [optional] |
|
27
|
+
| **availability_date_invalid** | **Integer** | | [optional] |
|
28
|
+
| **sale_date_invalid** | **Integer** | | [optional] |
|
29
|
+
| **weight_unit_invalid** | **Integer** | | [optional] |
|
30
|
+
| **is_bundle_invalid** | **Integer** | | [optional] |
|
31
|
+
| **updated_time_invalid** | **Integer** | | [optional] |
|
32
|
+
| **custom_label_length_too_long** | **Integer** | | [optional] |
|
33
|
+
| **product_type_length_too_long** | **Integer** | | [optional] |
|
34
|
+
| **too_many_additional_image_links** | **Integer** | | [optional] |
|
35
|
+
| **multipack_invalid** | **Integer** | | [optional] |
|
36
|
+
| **indexed_product_count_large_delta** | **Integer** | | [optional] |
|
37
|
+
| **item_additional_image_download_failure** | **Integer** | | [optional] |
|
38
|
+
| **optional_product_category_missing** | **Integer** | | [optional] |
|
39
|
+
| **optional_product_category_invalid** | **Integer** | | [optional] |
|
40
|
+
| **optional_condition_missing** | **Integer** | | [optional] |
|
41
|
+
| **optional_condition_invalid** | **Integer** | | [optional] |
|
42
|
+
| **ios_deep_link_invalid** | **Integer** | | [optional] |
|
43
|
+
| **android_deep_link_invalid** | **Integer** | | [optional] |
|
44
|
+
| **availability_normalized** | **Integer** | | [optional] |
|
45
|
+
| **condition_normalized** | **Integer** | | [optional] |
|
46
|
+
| **gender_normalized** | **Integer** | | [optional] |
|
47
|
+
| **size_type_normalized** | **Integer** | | [optional] |
|
48
|
+
| **age_group_normalized** | **Integer** | | [optional] |
|
49
|
+
| **utm_source_auto_corrected** | **Integer** | | [optional] |
|
50
|
+
| **country_does_not_map_to_currency** | **Integer** | | [optional] |
|
51
|
+
| **min_ad_price_invalid** | **Integer** | | [optional] |
|
52
|
+
|
53
|
+
## Example
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
require 'pinterest_sdk'
|
57
|
+
|
58
|
+
instance = PinterestSdkClient::CatalogsFeedValidationWarnings.new(
|
59
|
+
title_length_too_long: null,
|
60
|
+
description_length_too_long: null,
|
61
|
+
gender_invalid: null,
|
62
|
+
age_group_invalid: null,
|
63
|
+
size_type_invalid: null,
|
64
|
+
link_format_warning: null,
|
65
|
+
duplicate_products: null,
|
66
|
+
duplicate_links: null,
|
67
|
+
sales_price_invalid: null,
|
68
|
+
product_category_depth_warning: null,
|
69
|
+
adwords_same_as_link: null,
|
70
|
+
duplicate_headers: null,
|
71
|
+
fetch_same_signature: null,
|
72
|
+
adwords_format_warning: null,
|
73
|
+
additional_image_link_warning: null,
|
74
|
+
image_link_warning: null,
|
75
|
+
shipping_invalid: null,
|
76
|
+
tax_invalid: null,
|
77
|
+
shipping_weight_invalid: null,
|
78
|
+
expiration_date_invalid: null,
|
79
|
+
availability_date_invalid: null,
|
80
|
+
sale_date_invalid: null,
|
81
|
+
weight_unit_invalid: null,
|
82
|
+
is_bundle_invalid: null,
|
83
|
+
updated_time_invalid: null,
|
84
|
+
custom_label_length_too_long: null,
|
85
|
+
product_type_length_too_long: null,
|
86
|
+
too_many_additional_image_links: null,
|
87
|
+
multipack_invalid: null,
|
88
|
+
indexed_product_count_large_delta: null,
|
89
|
+
item_additional_image_download_failure: null,
|
90
|
+
optional_product_category_missing: null,
|
91
|
+
optional_product_category_invalid: null,
|
92
|
+
optional_condition_missing: null,
|
93
|
+
optional_condition_invalid: null,
|
94
|
+
ios_deep_link_invalid: null,
|
95
|
+
android_deep_link_invalid: null,
|
96
|
+
availability_normalized: null,
|
97
|
+
condition_normalized: null,
|
98
|
+
gender_normalized: null,
|
99
|
+
size_type_normalized: null,
|
100
|
+
age_group_normalized: null,
|
101
|
+
utm_source_auto_corrected: null,
|
102
|
+
country_does_not_map_to_currency: null,
|
103
|
+
min_ad_price_invalid: null
|
104
|
+
)
|
105
|
+
```
|
106
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedsCreateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **default_country** | [**Country**](Country.md) | | [optional] |
|
8
|
+
| **default_availability** | [**ProductAvailabilityType**](ProductAvailabilityType.md) | | [optional] |
|
9
|
+
| **default_currency** | [**NullableCurrency**](NullableCurrency.md) | | [optional] |
|
10
|
+
| **name** | **String** | A human-friendly name associated to a given feed. | |
|
11
|
+
| **format** | [**CatalogsFormat**](CatalogsFormat.md) | | |
|
12
|
+
| **default_locale** | **String** | The locale used within a feed for product descriptions. | [optional] |
|
13
|
+
| **credentials** | [**CatalogsFeedCredentials**](CatalogsFeedCredentials.md) | | [optional] |
|
14
|
+
| **location** | **String** | The URL where a feed is available for download. This URL is what Pinterest will use to download a feed for processing. | |
|
15
|
+
| **preferred_processing_schedule** | [**CatalogsFeedProcessingSchedule**](CatalogsFeedProcessingSchedule.md) | | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'pinterest_sdk'
|
21
|
+
|
22
|
+
instance = PinterestSdkClient::CatalogsFeedsCreateRequest.new(
|
23
|
+
default_country: null,
|
24
|
+
default_availability: null,
|
25
|
+
default_currency: null,
|
26
|
+
name: null,
|
27
|
+
format: null,
|
28
|
+
default_locale: en_US,
|
29
|
+
credentials: null,
|
30
|
+
location: null,
|
31
|
+
preferred_processing_schedule: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFeedsUpdateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **default_availability** | [**ProductAvailabilityType**](ProductAvailabilityType.md) | | [optional] |
|
8
|
+
| **default_currency** | [**NullableCurrency**](NullableCurrency.md) | | [optional] |
|
9
|
+
| **name** | **String** | A human-friendly name associated to a given feed. | [optional] |
|
10
|
+
| **format** | [**CatalogsFormat**](CatalogsFormat.md) | | [optional] |
|
11
|
+
| **credentials** | [**CatalogsFeedCredentials**](CatalogsFeedCredentials.md) | | [optional] |
|
12
|
+
| **location** | **String** | The URL where a feed is available for download. This URL is what Pinterest will use to download a feed for processing. | [optional] |
|
13
|
+
| **preferred_processing_schedule** | [**CatalogsFeedProcessingSchedule**](CatalogsFeedProcessingSchedule.md) | | [optional] |
|
14
|
+
| **status** | [**CatalogsStatus**](CatalogsStatus.md) | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'pinterest_sdk'
|
20
|
+
|
21
|
+
instance = PinterestSdkClient::CatalogsFeedsUpdateRequest.new(
|
22
|
+
default_availability: null,
|
23
|
+
default_currency: null,
|
24
|
+
name: null,
|
25
|
+
format: null,
|
26
|
+
credentials: null,
|
27
|
+
location: null,
|
28
|
+
preferred_processing_schedule: null,
|
29
|
+
status: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsFormat
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'pinterest_sdk'
|
12
|
+
|
13
|
+
instance = PinterestSdkClient::CatalogsFormat.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsItems
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **items** | [**Array<ItemBatchRecord>**](ItemBatchRecord.md) | Array with catalogs items | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'pinterest_sdk'
|
13
|
+
|
14
|
+
instance = PinterestSdkClient::CatalogsItems.new(
|
15
|
+
items: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsItemsBatch
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **items** | [**Array<ItemProcessingRecord>**](ItemProcessingRecord.md) | Array with the catalogs items processing records part of the catalogs items batch | [optional] |
|
8
|
+
| **batch_id** | **String** | Id of the catalogs items batch | [optional] |
|
9
|
+
| **created_time** | **Time** | Time of the batch creation: YYYY-MM-DD'T'hh:mm:ssTZD | [optional][readonly] |
|
10
|
+
| **completed_time** | **Time** | Time of the batch completion: YYYY-MM-DD'T'hh:mm:ssTZD | [optional][readonly] |
|
11
|
+
| **status** | [**BatchOperationStatus**](BatchOperationStatus.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'pinterest_sdk'
|
17
|
+
|
18
|
+
instance = PinterestSdkClient::CatalogsItemsBatch.new(
|
19
|
+
items: null,
|
20
|
+
batch_id: 595953100599279259-66753b9bb65c46c49bd8503b27fecf9e,
|
21
|
+
created_time: 2020-01-01T20:10:40Z,
|
22
|
+
completed_time: 2022-03-10T15:37:10Z,
|
23
|
+
status: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsItemsBatchRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **country** | [**Country**](Country.md) | | [optional] |
|
8
|
+
| **language** | [**Language**](Language.md) | | [optional] |
|
9
|
+
| **operation** | [**BatchOperation**](BatchOperation.md) | | [optional] |
|
10
|
+
| **items** | [**Array<ItemBatchRecord>**](ItemBatchRecord.md) | Array with catalogs items | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'pinterest_sdk'
|
16
|
+
|
17
|
+
instance = PinterestSdkClient::CatalogsItemsBatchRequest.new(
|
18
|
+
country: null,
|
19
|
+
language: null,
|
20
|
+
operation: null,
|
21
|
+
items: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# PinterestSdkClient::CatalogsProductGroup
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | ID of the catalog product group. | |
|
8
|
+
| **name** | **String** | Name of catalog product group | [optional] |
|
9
|
+
| **description** | **String** | | [optional] |
|
10
|
+
| **filters** | [**CatalogsProductGroupFilters**](CatalogsProductGroupFilters.md) | | |
|
11
|
+
| **type** | [**CatalogsProductGroupType**](CatalogsProductGroupType.md) | | [optional] |
|
12
|
+
| **status** | [**CatalogsProductGroupStatus**](CatalogsProductGroupStatus.md) | | [optional] |
|
13
|
+
| **feed_id** | **String** | id of the catalogs feed belonging to this catalog product group | [optional] |
|
14
|
+
| **created_at** | **Integer** | Unix timestamp in seconds of when catalog product group was created. | [optional] |
|
15
|
+
| **updated_at** | **Integer** | Unix timestamp in seconds of last time catalog product group was updated. | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'pinterest_sdk'
|
21
|
+
|
22
|
+
instance = PinterestSdkClient::CatalogsProductGroup.new(
|
23
|
+
id: 2680059592705,
|
24
|
+
name: Most Popular,
|
25
|
+
description: null,
|
26
|
+
filters: null,
|
27
|
+
type: null,
|
28
|
+
status: null,
|
29
|
+
feed_id: null,
|
30
|
+
created_at: 1621350033000,
|
31
|
+
updated_at: 1622742155000
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|