Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Deps/gtm-oauth2
Submodule gtm-oauth2 updated 2 files
+54 −0 .travis.sh
+11 −0 .travis.yml
2 changes: 1 addition & 1 deletion Deps/gtm-session-fetcher
8 changes: 8 additions & 0 deletions GoogleAPIClientForREST.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ Pod::Spec.new do |s|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Source/GeneratedServices/Classroom/*.{h,m}'
end
s.subspec 'CloudDebugger' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Source/GeneratedServices/CloudDebugger/*.{h,m}'
end
s.subspec 'CloudMonitoring' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Source/GeneratedServices/CloudMonitoring/*.{h,m}'
Expand All @@ -125,6 +129,10 @@ Pod::Spec.new do |s|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Source/GeneratedServices/Compute/*.{h,m}'
end
s.subspec 'ConsumerSurveys' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Source/GeneratedServices/ConsumerSurveys/*.{h,m}'
end
s.subspec 'Container' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Source/GeneratedServices/Container/*.{h,m}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
@class GTLRAdExchangeBuyer_ContactInformation;
@class GTLRAdExchangeBuyer_Creative;
@class GTLRAdExchangeBuyer_CreativeCorrectionsItem;
@class GTLRAdExchangeBuyer_CreativeCorrectionsItemContextsItem;
@class GTLRAdExchangeBuyer_CreativeFilteringReasons;
@class GTLRAdExchangeBuyer_CreativeFilteringReasonsReasonsItem;
@class GTLRAdExchangeBuyer_CreativeNativeAd;
Expand Down Expand Up @@ -495,6 +496,12 @@ NS_ASSUME_NONNULL_BEGIN
/** Resource type. */
@property(copy, nullable) NSString *kind;

/**
* Detected languages for this creative. Read-only. This field should not be
* set in requests.
*/
@property(strong, nullable) NSArray<NSString *> *languages;

/** If nativeAd is set, HTMLSnippet and videoURL should not be set. */
@property(strong, nullable) GTLRAdExchangeBuyer_CreativeNativeAd *nativeAd;

Expand Down Expand Up @@ -571,6 +578,9 @@ NS_ASSUME_NONNULL_BEGIN
*/
@interface GTLRAdExchangeBuyer_CreativeCorrectionsItem : GTLRObject

/** All known serving contexts containing serving status information. */
@property(strong, nullable) NSArray<GTLRAdExchangeBuyer_CreativeCorrectionsItemContextsItem *> *contexts;

/** Additional details about the correction. */
@property(strong, nullable) NSArray<NSString *> *details;

Expand Down Expand Up @@ -671,6 +681,37 @@ NS_ASSUME_NONNULL_BEGIN
@end


/**
* GTLRAdExchangeBuyer_CreativeCorrectionsItemContextsItem
*/
@interface GTLRAdExchangeBuyer_CreativeCorrectionsItemContextsItem : GTLRObject

/**
* Only set when contextType=AUCTION_TYPE. Represents the auction types this
* correction applies to.
*/
@property(strong, nullable) NSArray<NSString *> *auctionType;

/** The type of context (e.g., location, platform, auction type, SSL-ness). */
@property(copy, nullable) NSString *contextType;

/**
* Only set when contextType=LOCATION. Represents the geo criterias this
* correction applies to.
*
* Uses NSNumber of intValue.
*/
@property(strong, nullable) NSArray<NSNumber *> *geoCriteriaId;

/**
* Only set when contextType=PLATFORM. Represents the platforms this correction
* applies to.
*/
@property(strong, nullable) NSArray<NSString *> *platform;

@end


/**
* GTLRAdExchangeBuyer_CreativeFilteringReasonsReasonsItem
*/
Expand Down Expand Up @@ -978,6 +1019,14 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property(strong, nullable) NSNumber *currencyConversionTimeMs;

/**
* The DFP line item id associated with this deal. For features like CPD,
* buyers can retrieve the DFP line item for billing reconciliation.
*
* Uses NSNumber of longLongValue.
*/
@property(strong, nullable) NSNumber *dfpLineItemId;

/**
* The original contracted quantity (# impressions) for this deal. To ensure
* delivery, sometimes publisher will book the deal with a impression buffer,
Expand Down Expand Up @@ -1128,9 +1177,21 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property(strong, nullable) NSNumber *identifier;

/** Name of the dimension mainly for debugging purposes. */
/**
* Name of the dimension mainly for debugging purposes, except for the case of
* CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids.
*/
@property(copy, nullable) NSString *name;

/**
* Percent of total impressions for a dimension type. e.g. {dimension_type:
* 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} Gender
* MALE is 60% of all impressions which have gender.
*
* Uses NSNumber of intValue.
*/
@property(strong, nullable) NSNumber *percentage;

@end


Expand Down Expand Up @@ -2440,6 +2501,9 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property(strong, nullable) GTLRAdExchangeBuyer_TargetingValueSize *size;

/** The skippable ad type for video size. */
@property(copy, nullable) NSString *skippableAdType;

@end


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,10 @@ @implementation GTLRAdExchangeBuyer_Creative
@dynamic accountId, adChoicesDestinationUrl, advertiserId, advertiserName,
agencyId, apiUploadTimestamp, attribute, buyerCreativeId,
clickThroughUrl, corrections, dealsStatus, filteringReasons, height,
HTMLSnippet, impressionTrackingUrl, kind, nativeAd, openAuctionStatus,
productCategories, restrictedCategories, sensitiveCategories,
servingRestrictions, vendorType, version, videoURL, width;
HTMLSnippet, impressionTrackingUrl, kind, languages, nativeAd,
openAuctionStatus, productCategories, restrictedCategories,
sensitiveCategories, servingRestrictions, vendorType, version,
videoURL, width;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
Expand All @@ -262,6 +263,7 @@ @implementation GTLRAdExchangeBuyer_Creative
@"clickThroughUrl" : [NSString class],
@"corrections" : [GTLRAdExchangeBuyer_CreativeCorrectionsItem class],
@"impressionTrackingUrl" : [NSString class],
@"languages" : [NSString class],
@"productCategories" : [NSNumber class],
@"restrictedCategories" : [NSNumber class],
@"sensitiveCategories" : [NSNumber class],
Expand All @@ -280,10 +282,11 @@ @implementation GTLRAdExchangeBuyer_Creative
//

@implementation GTLRAdExchangeBuyer_CreativeCorrectionsItem
@dynamic details, reason;
@dynamic contexts, details, reason;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
@"contexts" : [GTLRAdExchangeBuyer_CreativeCorrectionsItemContextsItem class],
@"details" : [NSString class]
};
return map;
Expand Down Expand Up @@ -348,6 +351,26 @@ @implementation GTLRAdExchangeBuyer_CreativeServingRestrictionsItem
@end


// ----------------------------------------------------------------------------
//
// GTLRAdExchangeBuyer_CreativeCorrectionsItemContextsItem
//

@implementation GTLRAdExchangeBuyer_CreativeCorrectionsItemContextsItem
@dynamic auctionType, contextType, geoCriteriaId, platform;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
@"auctionType" : [NSString class],
@"geoCriteriaId" : [NSNumber class],
@"platform" : [NSString class]
};
return map;
}

@end


// ----------------------------------------------------------------------------
//
// GTLRAdExchangeBuyer_CreativeFilteringReasonsReasonsItem
Expand Down Expand Up @@ -506,7 +529,8 @@ @implementation GTLRAdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms
//

@implementation GTLRAdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo
@dynamic currencyConversionTimeMs, originalContractedQuantity, price;
@dynamic currencyConversionTimeMs, dfpLineItemId, originalContractedQuantity,
price;
@end


Expand Down Expand Up @@ -634,7 +658,7 @@ @implementation GTLRAdExchangeBuyer_Dimension
//

@implementation GTLRAdExchangeBuyer_DimensionDimensionValue
@dynamic identifier, name;
@dynamic identifier, name, percentage;

+ (NSDictionary<NSString *, NSString *> *)propertyToJSONKeyMap {
return @{ @"identifier" : @"id" };
Expand Down Expand Up @@ -1133,7 +1157,7 @@ @implementation GTLRAdExchangeBuyer_TargetingValue
//

@implementation GTLRAdExchangeBuyer_TargetingValueCreativeSize
@dynamic companionSizes, creativeSizeType, size;
@dynamic companionSizes, creativeSizeType, size, skippableAdType;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ GTLR_EXTERN NSString * const kGTLRAdExchangeBuyerII_Client_EntityType_Agency;
*/
GTLR_EXTERN NSString * const kGTLRAdExchangeBuyerII_Client_EntityType_Brand;
/**
* A placeholder for an undefined client entity type.
* A placeholder for an undefined client entity type. Should not be used.
*
* Value: "ENTITY_TYPE_UNSPECIFIED"
*/
Expand Down Expand Up @@ -209,8 +209,8 @@ GTLR_EXTERN NSString * const kGTLRAdExchangeBuyerII_ClientUser_Status_UserStatus
* @arg @c kGTLRAdExchangeBuyerII_Client_EntityType_Brand A brand. (Value:
* "BRAND")
* @arg @c kGTLRAdExchangeBuyerII_Client_EntityType_EntityTypeUnspecified A
* placeholder for an undefined client entity type. (Value:
* "ENTITY_TYPE_UNSPECIFIED")
* placeholder for an undefined client entity type. Should not be used.
* (Value: "ENTITY_TYPE_UNSPECIFIED")
*/
@property(copy, nullable) NSString *entityType;

Expand Down
Loading